|
Functions |
int | dbusInit (void) |
void | dbusFree (void) |
| frees and closes the connection to DBus
|
int | dbusGetMessageString (DBusMessage *msg, char **s, int no) |
| get a string argument from a dbus messsage
|
int | dbusGetMessageInteger (DBusMessage *msg, int *i, int no) |
| get an integer argument from a dbus messsage
|
int | dbusGetMessageErrorID (DBusMessage *msg, unsigned *error_id) |
| get the DBUS_ERROR id from a reply
|
unsigned | dbusSendMessageGeneric (int msg_type, DBusMessage **reply, const char *method, int first_arg_type, va_list var_args) |
unsigned | dbusSendSimpleMessage (int msg_type, const char *method) |
| Send a message to the powersave daemon and receive the reply.
|
unsigned | dbusSendSimpleMessageWithReply (int msg_type, DBusMessage **reply, const char *method) |
| send a message to the daemon and receive the reply
|
unsigned | dbusSendMessage (int msg_type, const char *method, int first_arg_type,...) |
| send message to the daemon with arguments
|
unsigned | dbusSendMessageWithReply (int msg_type, DBusMessage **reply, const char *method, int first_arg_type,...) |
| send a message to the daemon with arguments and receive the reply
|
dbus_int32_t | establishConnection (int capabilities, DBusConnection *connection) |
| establishes a connection to the daemon
|
Variables |
DBusConnection * | connection = NULL |
char * | DBus_Error_Array [REPLY_ERROR_MAX] |