summaryrefslogtreecommitdiffstats
path: root/src/sbus
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2015-01-21 13:47:28 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-02-17 15:59:55 +0100
commite3a7f7ee06cf0764838c45419bed97eb4cdf00f1 (patch)
tree2dca9f025eb436a13b0571f00165512a1e149957 /src/sbus
parent62ebed8582285bd24efba92b9a06366511507946 (diff)
downloadsssd-e3a7f7ee06cf0764838c45419bed97eb4cdf00f1.tar.gz
sssd-e3a7f7ee06cf0764838c45419bed97eb4cdf00f1.tar.xz
sssd-e3a7f7ee06cf0764838c45419bed97eb4cdf00f1.zip
sbus: add constant to represent subtree
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/sbus')
-rw-r--r--src/sbus/sssd_dbus.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sbus/sssd_dbus.h b/src/sbus/sssd_dbus.h
index 1de069741..6d2d5897a 100644
--- a/src/sbus/sssd_dbus.h
+++ b/src/sbus/sssd_dbus.h
@@ -54,6 +54,13 @@ struct sbus_request;
#define DBUS_ERROR_INIT { NULL, NULL, TRUE, 0, 0, 0, 0, NULL }
#endif /* DBUS_ERROR_INIT */
+/**
+ * Note: internal functions do not rely on the value of this constant to
+ * simplify implementation. If this connstant change, some functions in
+ * sssd_dbus_interface.c needs to be amended.
+ */
+#define SBUS_SUBTREE_SUFFIX "/*"
+
typedef int (*sbus_msg_handler_fn)(struct sbus_request *dbus_req,
void *handler_data);