ekg2
Struktury danych | Definicje | Definicje typów

Dokumentacja pliku plugins/dbus/dbus.h

#include <dbus/dbus.h>

Idź do kodu źródłowego tego pliku.

Struktury danych

struct  ekg2_dbus_iface_proto
struct  ekg2_dbus_iface_function

Definicje

#define DBUS_API_SUBJECT_TO_CHANGE
#define DBUS_ORG_FREEDESKTOP_IM_INTERFACE   "org.freedesktop.im"
#define EKG2_DBUS_IFACE_HANDLER(x)   DBusHandlerResult x(DBusConnection *conn, DBusMessage *msg, void *data)
#define EKG2_DBUS_CALL_HANDLER_VARIABLES
#define EKG2_DBUS_INIT_REPLY
#define EKG2_DBUS_ADD(type, x)
#define EKG2_DBUS_ADD_STRING(x)   EKG2_DBUS_ADD(DBUS_TYPE_STRING, x)
#define EKG2_DBUS_SEND_REPLY

Definicje typów

typedef struct
ekg2_dbus_iface_proto 
ekg2_dbus_iface_proto_t
typedef struct
ekg2_dbus_iface_function 
ekg2_dbus_iface_function_t

Dokumentacja definicji

#define DBUS_API_SUBJECT_TO_CHANGE
#define DBUS_ORG_FREEDESKTOP_IM_INTERFACE   "org.freedesktop.im"
#define EKG2_DBUS_ADD (   type,
 
)
Wartość:
do { \
                        if (!dbus_message_iter_append_basic(&args, type, (x) )) { \
                                debug("%s cannot allocate memory?\n", __FUNCTION__); \
                                ekg_oom_handler(); \
                        } \
                } while(0)
#define EKG2_DBUS_ADD_STRING (   x)    EKG2_DBUS_ADD(DBUS_TYPE_STRING, x)
#define EKG2_DBUS_CALL_HANDLER_VARIABLES
Wartość:
DBusMessage *reply; \
                DBusMessageIter args; \
                dbus_uint32_t serial = 0;
#define EKG2_DBUS_IFACE_HANDLER (   x)    DBusHandlerResult x(DBusConnection *conn, DBusMessage *msg, void *data)
#define EKG2_DBUS_INIT_REPLY
Wartość:
reply = dbus_message_new_method_return(msg); \
                dbus_message_iter_init_append(reply, &args)
#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; /* XXX */ \
                        } \
                        dbus_connection_flush(conn); \
                } while(0)

Dokumentacja definicji typów

 All Struktury Danych Pliki Funkcje Zmienne Definicje typów Wyliczenia Wartości wyliczeń Definicje