summaryrefslogtreecommitdiffstats
path: root/src/monitor/monitor_iface_generated.h
diff options
context:
space:
mode:
authorStef Walter <stefw@redhat.com>2014-01-10 11:08:16 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-02-24 11:15:02 +0100
commitc2cc119de8eac712c040b3993f41c967ff2278de (patch)
tree78d67aaa9467a1f5cf4ab5fcfe76c3eed7fb50c1 /src/monitor/monitor_iface_generated.h
parent769347ad4d35d43488eb98f980143495b0db415d (diff)
downloadsssd-c2cc119de8eac712c040b3993f41c967ff2278de.tar.gz
sssd-c2cc119de8eac712c040b3993f41c967ff2278de.tar.xz
sssd-c2cc119de8eac712c040b3993f41c967ff2278de.zip
sbus: Generate constants from interface definitions
This is not strictly necessary, but avoids duplicating data in mulitple places, and makes the interface definitions benefit dbus callers (a little). After applying this commit you may need to 'make clean' as the codegen has changed. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Sumit Bose <sbose@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/monitor/monitor_iface_generated.h')
-rw-r--r--src/monitor/monitor_iface_generated.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/monitor/monitor_iface_generated.h b/src/monitor/monitor_iface_generated.h
index cde774985..bd556616c 100644
--- a/src/monitor/monitor_iface_generated.h
+++ b/src/monitor/monitor_iface_generated.h
@@ -6,6 +6,28 @@
#include "sbus/sssd_dbus.h"
/* ------------------------------------------------------------------------
+ * DBus Constants
+ *
+ * Various constants of interface and method names mostly for use by clients
+ */
+
+/* constants for org.freedesktop.sssd.monitor */
+#define MON_SRV_IFACE "org.freedesktop.sssd.monitor"
+#define MON_SRV_IFACE_GETVERSION "getVersion"
+#define MON_SRV_IFACE_REGISTERSERVICE "RegisterService"
+
+/* constants for org.freedesktop.sssd.service */
+#define MON_CLI_IFACE "org.freedesktop.sssd.service"
+#define MON_CLI_IFACE_PING "ping"
+#define MON_CLI_IFACE_RESINIT "resInit"
+#define MON_CLI_IFACE_SHUTDOWN "shutDown"
+#define MON_CLI_IFACE_GOOFFLINE "goOffline"
+#define MON_CLI_IFACE_RESETOFFLINE "resetOffline"
+#define MON_CLI_IFACE_ROTATELOGS "rotateLogs"
+#define MON_CLI_IFACE_CLEARMEMCACHE "clearMemcache"
+#define MON_CLI_IFACE_CLEARENUMCACHE "clearEnumCache"
+
+/* ------------------------------------------------------------------------
* DBus Vtable handler structures
*
* These structures are filled in by implementors of the different