summaryrefslogtreecommitdiff
path: root/libnul.h
diff options
context:
space:
mode:
authorSøren Sandmann <sandmann@redhat.com>2009-04-02 14:08:38 -0400
committerSøren Sandmann <sandmann@redhat.com>2009-04-02 14:08:38 -0400
commit447de13cf36c22e674b5a6b3ae93f1c51fc4c8d5 (patch)
tree47c66ecd0ce3850c0f0874e5ee97a90f6f2578e0 /libnul.h
parent98a8963ee6c5c38a19cfd23dcd596b8b5e09a348 (diff)
parente102e8189f8abe9262bca75995cc85d0090b51d4 (diff)
Merge branch 'master' of git+ssh://sandmann@people.freedesktop.org/home/sandmann/libnul
Conflicts: dbus.c
Diffstat (limited to 'libnul.h')
-rw-r--r--libnul.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/libnul.h b/libnul.h
index e65c7da..611559c 100644
--- a/libnul.h
+++ b/libnul.h
@@ -237,6 +237,11 @@ nul_dbus_parameter_t *nul_dbus_parameter_out (const char *name,
const nul_dbus_type_t *type);
gboolean nul_dbus_service_start (nul_dbus_service_t *service);
void nul_dbus_service_stop (nul_dbus_service_t *service);
+void nul_dbus_service_set_callbacks (nul_dbus_service_t *service,
+ const char *name,
+ nul_dbus_function_t function,
+ gpointer data,
+ ...);
/* The returned values here are automatically freed at idle. You
* must copy them if you want to keep them around
@@ -246,12 +251,6 @@ const nul_dbus_type_t * nul_dbus_type_uint32 (void);
const nul_dbus_type_t * nul_dbus_type_string (void);
/* Using a service */
-typedef struct nul_dbus_Proxy nul_dbus_Proxy;
-
-nul_dbus_Proxy *nul_dbus_proxy_new_session_service (const char *bus_name,
- const char *object,
- const char *interface);
-
void nul_dbus_invoke (nul_dbus_service_t *service,
const char *method_desc,
nul_dbus_function_t callback,