22#ifndef N_DBUS_HELPER_H
23#define N_DBUS_HELPER_H
29 DBusConnection *connection,
86 const char *destination,
DBusHandlerResult(* NDBusFilterFunc)(NCore *core, DBusConnection *connection, DBusMessage *msg, void *userdata)
Definition core-dbus.h:28
void n_dbus_remove_match_by_cb(NCore *core, NDBusFilterFunc cb)
Remove DBus signal listening.
guint n_dbus_add_match(NCore *core, NDBusFilterFunc cb, void *userdata, DBusBusType type, const char *iface, const char *path, const char *member)
Start listening for DBus signal.
void n_dbus_remove_match_by_id(NCore *core, guint match_id)
Remove DBus signal listening.
void(* NDBusReplyFunc)(NCore *core, DBusMessage *msg, void *userdata)
Definition core-dbus.h:33
gboolean n_dbus_async_call_full(NCore *core, NDBusReplyFunc cb, void *userdata, DBusBusType type, DBusMessage *msg)
Make an asynchronous DBus call.
gboolean n_dbus_async_call(NCore *core, NDBusReplyFunc cb, void *userdata, DBusBusType type, const char *destination, const char *path, const char *iface, const char *method)
Make an asynchronous DBus call.
struct _NCore NCore
Internal core structure.
Definition core.h:26