Idź do kodu źródłowego tego pliku.
◆ DBUS_API_SUBJECT_TO_CHANGE
#define DBUS_API_SUBJECT_TO_CHANGE |
◆ DBUS_ORG_FREEDESKTOP_IM_INTERFACE
#define DBUS_ORG_FREEDESKTOP_IM_INTERFACE "org.freedesktop.im" |
◆ EKG2_DBUS_ADD
#define EKG2_DBUS_ADD |
( |
|
type, |
|
|
|
x |
|
) |
| |
Wartość:do { \
if (!dbus_message_iter_append_basic(&args, type, (x) )) { \
abort(); \
} \
} while(0)
◆ EKG2_DBUS_ADD_STRING
#define EKG2_DBUS_ADD_STRING |
( |
|
x | ) |
EKG2_DBUS_ADD(DBUS_TYPE_STRING, x) |
◆ EKG2_DBUS_CALL_HANDLER_VARIABLES
#define EKG2_DBUS_CALL_HANDLER_VARIABLES |
Wartość:DBusMessage *reply; \
DBusMessageIter args; \
dbus_uint32_t serial = 0;
◆ EKG2_DBUS_IFACE_HANDLER
#define EKG2_DBUS_IFACE_HANDLER |
( |
|
x | ) |
DBusHandlerResult x(DBusConnection *conn, DBusMessage *msg, void *data) |
◆ EKG2_DBUS_INIT_REPLY
#define EKG2_DBUS_INIT_REPLY |
Wartość:reply = dbus_message_new_method_return(msg); \
dbus_message_iter_init_append(reply, &args)
◆ EKG2_DBUS_SEND_REPLY
#define EKG2_DBUS_SEND_REPLY |
Wartość:do { \
if (!dbus_connection_send(
conn, reply, &serial)) { \
debug("Cannot send reply!\n"); \
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; \
} \
dbus_connection_flush(
conn); \
} while(0)
static DBusConnection * conn
Definition: dbus.c:37
◆ ekg2_dbus_iface_function_t
◆ ekg2_dbus_iface_proto_t