nss_iface_generated.h revision 04e870d99e72aa3160bdb6ab05d986fb4005c3ed
98N/A/* The following declarations are auto-generated from nss_iface.xml */
98N/A
606N/A#ifndef __NSS_IFACE_XML__
98N/A#define __NSS_IFACE_XML__
911N/A
851N/A#include "sbus/sssd_dbus.h"
98N/A
98N/A/* ------------------------------------------------------------------------
98N/A * DBus Constants
98N/A *
98N/A * Various constants of interface and method names mostly for use by clients
98N/A */
98N/A
98N/A/* constants for org.freedesktop.sssd.nss.MemoryCache */
98N/A#define IFACE_NSS_MEMORYCACHE "org.freedesktop.sssd.nss.MemoryCache"
98N/A#define IFACE_NSS_MEMORYCACHE_UPDATEINITGROUPS "UpdateInitgroups"
98N/A
98N/A/* ------------------------------------------------------------------------
98N/A * DBus handlers
98N/A *
98N/A * These structures are filled in by implementors of the different
98N/A * dbus interfaces to handle method calls.
98N/A *
98N/A * Handler functions of type sbus_msg_handler_fn accept raw messages,
98N/A * other handlers are typed appropriately. If a handler that is
98N/A * set to NULL is invoked it will result in a
98N/A * org.freedesktop.DBus.Error.NotSupported error for the caller.
98N/A *
98N/A * Handlers have a matching xxx_finish() function (unless the method has
98N/A * accepts raw messages). These finish functions the
98N/A * sbus_request_return_and_finish() with the appropriate arguments to
98N/A * construct a valid reply. Once a finish function has been called, the
98N/A * @dbus_req it was called with is freed and no longer valid.
98N/A */
98N/A
493N/A/* vtable for org.freedesktop.sssd.nss.MemoryCache */
98N/Astruct iface_nss_memorycache {
98N/A struct sbus_vtable vtable; /* derive from sbus_vtable */
851N/A int (*UpdateInitgroups)(struct sbus_request *req, void *data, const char *arg_user, const char *arg_domain, uint32_t arg_groups[], int len_groups);
98N/A};
911N/A
911N/A/* finish function for UpdateInitgroups */
911N/Aint iface_nss_memorycache_UpdateInitgroups_finish(struct sbus_request *req);
911N/A
98N/A/* ------------------------------------------------------------------------
606N/A * DBus Interface Metadata
606N/A *
606N/A * These structure definitions are filled in with the information about
606N/A * the interfaces, methods, properties and so on.
606N/A *
606N/A * The actual definitions are found in the accompanying C file next
606N/A * to this header.
98N/A */
98N/A
98N/A/* interface info for org.freedesktop.sssd.nss.MemoryCache */
493N/Aextern const struct sbus_interface_meta iface_nss_memorycache_meta;
493N/A
98N/A#endif /* __NSS_IFACE_XML__ */
705N/A