16 #define SPA_API_DBUS SPA_API_IMPL 18 #define SPA_API_DBUS static inline 31 #define SPA_TYPE_INTERFACE_DBus SPA_TYPE_INFO_INTERFACE_BASE "DBus" 33 #define SPA_VERSION_DBUS 0 42 #define SPA_DBUS_CONNECTION_EVENT_DESTROY 0 43 #define SPA_DBUS_CONNECTION_EVENT_DISCONNECTED 1 44 #define SPA_DBUS_CONNECTION_EVENT_NUM 2 47 #define SPA_VERSION_DBUS_CONNECTION_EVENTS 0 58 #define SPA_VERSION_DBUS_CONNECTION 1 113 #define SPA_VERSION_DBUS_METHODS 0 uint32_t version
Definition: dbus.h:61
spa_dbus_type
Definition: dbus.h:45
uint32_t version
Definition: dbus.h:129
#define spa_api_func_r(rtype, def, o, method, version,...)
Definition: hook.h:273
#define SPA_API_DBUS
Definition: dbus.h:25
A hook, contains the structure with functions and the data passed to the functions.
Definition: hook.h:427
void(* destroy)(void *data)
Definition: dbus.h:64
void(* disconnected)(void *data)
Definition: dbus.h:67
SPA_API_DBUS void spa_dbus_connection_add_listener(struct spa_dbus_connection *conn, struct spa_hook *listener, const struct spa_dbus_connection_events *events, void *data)
Definition: dbus.h:118
uint32_t version
Definition: dbus.h:73
The bus that started us, if any.
Definition: dbus.h:48
SPA_API_DBUS struct spa_dbus_connection * spa_dbus_get_connection(struct spa_dbus *dbus, enum spa_dbus_type type)
Definition: dbus.h:151
SPA_API_DBUS void spa_dbus_connection_destroy(struct spa_dbus_connection *conn)
Definition: dbus.h:112
The systemwide bus.
Definition: dbus.h:47
void(* add_listener)(struct spa_dbus_connection *conn, struct spa_hook *listener, const struct spa_dbus_connection_events *events, void *data)
Add a listener for events.
Definition: dbus.h:98
#define spa_api_method_r(rtype, def, type, o, method, version,...)
Definition: hook.h:291
struct spa_interface iface
Definition: dbus.h:43
The login session bus.
Definition: dbus.h:46
#define spa_api_func_v(o, method, version,...)
Definition: hook.h:268
SPA_API_DBUS void * spa_dbus_connection_get(struct spa_dbus_connection *conn)
Definition: dbus.h:106
void(* destroy)(struct spa_dbus_connection *conn)
Destroy a dbus connection wrapper.
Definition: dbus.h:91