pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pcmk-dbus.h File Reference
#include <dbus/dbus.h>
Include dependency graph for pcmk-dbus.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DBUS_TIMEOUT_USE_DEFAULT   -1
 

Functions

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 (DBusPendingCall *pending, DBusMessage *reply, DBusError *error)
 

Macro Definition Documentation

#define DBUS_TIMEOUT_USE_DEFAULT   -1

Definition at line 16 of file pcmk-dbus.h.

Function Documentation

G_GNUC_INTERNAL DBusConnection* pcmk_dbus_connect ( void  )

Definition at line 260 of file dbus.c.

G_GNUC_INTERNAL void pcmk_dbus_disconnect ( DBusConnection *  connection)

Definition at line 296 of file dbus.c.

G_GNUC_INTERNAL bool pcmk_dbus_find_error ( DBusPendingCall *  pending,
DBusMessage *  reply,
DBusError *  error 
)

Definition at line 331 of file dbus.c.

G_GNUC_INTERNAL char* pcmk_dbus_get_property ( DBusConnection *  connection,
const char *  target,
const char *  obj,
const gchar *  iface,
const char *  name,
void(*)(const char *name, const char *value, void *userdata)  callback,
void *  userdata,
DBusPendingCall **  pending,
int  timeout 
)
G_GNUC_INTERNAL DBusPendingCall* pcmk_dbus_send ( DBusMessage *  msg,
DBusConnection *  connection,
void(*)(DBusPendingCall *pending, void *user_data)  done,
void *  user_data,
int  timeout 
)

Definition at line 477 of file dbus.c.

G_GNUC_INTERNAL DBusMessage* pcmk_dbus_send_recv ( DBusMessage *  msg,
DBusConnection *  connection,
DBusError *  error,
int  timeout 
)

Definition at line 413 of file dbus.c.

G_GNUC_INTERNAL bool pcmk_dbus_type_check ( DBusMessage *  msg,
DBusMessageIter *  field,
int  expected,
const char *  function,
int  line 
)

Definition at line 517 of file dbus.c.