summaryrefslogtreecommitdiff
path: root/server/infopipe/sysbus.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-02-23 08:46:46 -0500
committerSimo Sorce <idra@samba.org>2009-02-23 10:26:22 -0500
commitf8469b71247b5a41cfdf0f54c25ceda1552e0ee9 (patch)
treee61b1ab3b30174ea76c05120acfbe02640377b0e /server/infopipe/sysbus.h
parent70901a109f546b0d5adcbb01430649cddf607e35 (diff)
downloadsssd-f8469b71247b5a41cfdf0f54c25ceda1552e0ee9.tar.gz
sssd-f8469b71247b5a41cfdf0f54c25ceda1552e0ee9.tar.bz2
sssd-f8469b71247b5a41cfdf0f54c25ceda1552e0ee9.zip
Attach the InfoPipe to the D-BUS system bus. InfoPipe is now capable of listening for requests to org.freeipa.sssd.infopipe
I made the sbus_add_connection function public so that I could use it for system bus connections. Adding initial framework for the InfoPipe Updating sysdb tests for the refactored sysdb methods.
Diffstat (limited to 'server/infopipe/sysbus.h')
-rw-r--r--server/infopipe/sysbus.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/server/infopipe/sysbus.h b/server/infopipe/sysbus.h
index f47219b7..f591365e 100644
--- a/server/infopipe/sysbus.h
+++ b/server/infopipe/sysbus.h
@@ -22,12 +22,14 @@
#ifndef SYSBUS_H_
#define SYSBUS_H_
-#define SYSBUS_GET_PARAM "getParam"
-
struct sysbus_ctx;
-int sysbus_init(TALLOC_CTX *mem_ctx, struct sysbus_ctx **sysbus, struct sbus_method *methods);
+int sysbus_init(TALLOC_CTX *mem_ctx, struct sysbus_ctx **sysbus,
+ struct event_context *ev, const char *dbus_name,
+ const char *interface, const char *path,
+ struct sbus_method *methods,
+ sbus_msg_handler_fn introspect_method);
-int sysbus_get_param(DBusMessage *message, void *data, DBusMessage **r);
+struct sbus_conn_ctx *sysbus_get_sbus_conn(struct sysbus_ctx *sysbus);
#endif /* SYSBUS_H_ */