diff options
author | Pavel Březina <pbrezina@redhat.com> | 2015-05-20 14:14:53 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-06-18 16:44:07 +0200 |
commit | f7adbb15dbdcb79e291f7cf361a400ce25f7b382 (patch) | |
tree | 44581d061f7c2ee1a1e00e24820c1be88654b990 /src/sbus/sssd_dbus.h | |
parent | c5184e9eeb0fd0bc4749677d2f74256515199b46 (diff) | |
download | sssd-f7adbb15dbdcb79e291f7cf361a400ce25f7b382.tar.gz sssd-f7adbb15dbdcb79e291f7cf361a400ce25f7b382.tar.xz sssd-f7adbb15dbdcb79e291f7cf361a400ce25f7b382.zip |
SBUS: Add support for <node /> in introspection
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/sbus/sssd_dbus.h')
-rw-r--r-- | src/sbus/sssd_dbus.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sbus/sssd_dbus.h b/src/sbus/sssd_dbus.h index 61c18ae28..818070fa5 100644 --- a/src/sbus/sssd_dbus.h +++ b/src/sbus/sssd_dbus.h @@ -80,6 +80,10 @@ typedef void (*sbus_conn_reconn_callback_fn)(struct sbus_connection *, int, void */ typedef int (*sbus_server_conn_init_fn)(struct sbus_connection *, void *); +typedef const char ** (* sbus_nodes_fn)(TALLOC_CTX *mem_ctx, + const char *path, + void *data); + enum { SBUS_CONN_TYPE_PRIVATE = 1, SBUS_CONN_TYPE_SHARED, @@ -177,6 +181,12 @@ int sbus_conn_register_iface(struct sbus_connection *conn, const char *object_path, void *handler_data); +void +sbus_conn_register_nodes(struct sbus_connection *conn, + const char *path, + sbus_nodes_fn nodes_fn, + void *data); + errno_t sbus_conn_reregister_paths(struct sbus_connection *conn); |