#include <stdbool.h>
#include <dbus/dbus.h>
#include <glib.h>
Go to the source code of this file.
|
G_GNUC_INTERNAL DBusConnection * | pcmk_dbus_connect (void) |
|
G_GNUC_INTERNAL void | pcmk_dbus_disconnect (DBusConnection *connection) |
|
G_GNUC_INTERNAL DBusPendingCall * | pcmk_dbus_send (DBusMessage *msg, DBusConnection *connection, void(*done)(DBusPendingCall *pending, void *user_data), void *user_data, int timeout) |
|
G_GNUC_INTERNAL DBusMessage * | pcmk_dbus_send_recv (DBusMessage *msg, DBusConnection *connection, DBusError *error, int timeout) |
|
G_GNUC_INTERNAL bool | pcmk_dbus_type_check (DBusMessage *msg, DBusMessageIter *field, int expected, const char *function, int line) |
|
G_GNUC_INTERNAL char * | pcmk_dbus_get_property (DBusConnection *connection, const char *target, const char *obj, const gchar *iface, const char *name, void(*callback)(const char *name, const char *value, void *userdata), void *userdata, DBusPendingCall **pending, int timeout) |
|
G_GNUC_INTERNAL bool | pcmk_dbus_find_error (const DBusPendingCall *pending, DBusMessage *reply, DBusError *error) |
|
◆ DBUS_TIMEOUT_USE_DEFAULT
#define DBUS_TIMEOUT_USE_DEFAULT -1 |
◆ pcmk_dbus_connect()
G_GNUC_INTERNAL DBusConnection * pcmk_dbus_connect |
( |
void | | ) |
|
◆ pcmk_dbus_disconnect()
G_GNUC_INTERNAL void pcmk_dbus_disconnect |
( |
DBusConnection * | connection | ) |
|
◆ pcmk_dbus_find_error()
G_GNUC_INTERNAL bool pcmk_dbus_find_error |
( |
const DBusPendingCall * | pending, |
|
|
DBusMessage * | reply, |
|
|
DBusError * | error ) |
◆ pcmk_dbus_get_property()
G_GNUC_INTERNAL char * pcmk_dbus_get_property |
( |
DBusConnection * | connection, |
|
|
const char * | target, |
|
|
const char * | obj, |
|
|
const gchar * | iface, |
|
|
const char * | name, |
|
|
void(* | callback )(const char *name, const char *value, void *userdata), |
|
|
void * | userdata, |
|
|
DBusPendingCall ** | pending, |
|
|
int | timeout ) |
◆ pcmk_dbus_send()
G_GNUC_INTERNAL DBusPendingCall * pcmk_dbus_send |
( |
DBusMessage * | msg, |
|
|
DBusConnection * | connection, |
|
|
void(* | done )(DBusPendingCall *pending, void *user_data), |
|
|
void * | user_data, |
|
|
int | timeout ) |
◆ pcmk_dbus_send_recv()
G_GNUC_INTERNAL DBusMessage * pcmk_dbus_send_recv |
( |
DBusMessage * | msg, |
|
|
DBusConnection * | connection, |
|
|
DBusError * | error, |
|
|
int | timeout ) |
◆ pcmk_dbus_type_check()
G_GNUC_INTERNAL bool pcmk_dbus_type_check |
( |
DBusMessage * | msg, |
|
|
DBusMessageIter * | field, |
|
|
int | expected, |
|
|
const char * | function, |
|
|
int | line ) |