monitor_iface_generated.h revision b76419cf8830440b46c20a15585562343c7b1924
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx/* The following declarations are auto-generated from monitor_iface.xml */
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx/* ------------------------------------------------------------------------
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx * DBus Constants
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx * Various constants of interface and method names mostly for use by clients
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx/* constants for org.freedesktop.sssd.monitor */
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx#define MON_SRV_IFACE_REGISTERSERVICE "RegisterService"
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx/* constants for org.freedesktop.sssd.service */
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx#define MON_CLI_IFACE_SYSBUSRECONNECT "sysbusReconnect"
cf3b56dc9c3033d7b20a3198b11865c1b311b6b4dirkx/* ------------------------------------------------------------------------
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx * DBus handlers
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx * These structures are filled in by implementors of the different
cf3b56dc9c3033d7b20a3198b11865c1b311b6b4dirkx * dbus interfaces to handle method calls.
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx * Handler functions of type sbus_msg_handler_fn accept raw messages,
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx * other handlers are typed appropriately. If a handler that is
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx * set to NULL is invoked it will result in a
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx * org.freedesktop.DBus.Error.NotSupported error for the caller.
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx * Handlers have a matching xxx_finish() function (unless the method has
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx * accepts raw messages). These finish functions the
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx * sbus_request_return_and_finish() with the appropriate arguments to
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx * construct a valid reply. Once a finish function has been called, the
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx * @dbus_req it was called with is freed and no longer valid.
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx/* vtable for org.freedesktop.sssd.monitor */
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx struct sbus_vtable vtable; /* derive from sbus_vtable */
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx/* vtable for org.freedesktop.sssd.service */
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx struct sbus_vtable vtable; /* derive from sbus_vtable */
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx/* ------------------------------------------------------------------------
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx * DBus Interface Metadata
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx * These structure definitions are filled in with the information about
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx * the interfaces, methods, properties and so on.
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx * The actual definitions are found in the accompanying C file next
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx * to this header.
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx/* interface info for org.freedesktop.sssd.monitor */
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkxextern const struct sbus_interface_meta mon_srv_iface_meta;
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx/* interface info for org.freedesktop.sssd.service */
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkxextern const struct sbus_interface_meta mon_cli_iface_meta;
c002c44ee5c7e7258f4ba5c162461c24a0c179c2dirkx#endif /* __MONITOR_IFACE_XML__ */