ifp_iface_generated.h revision 99b2352f909c548811617389641a9ccc3e17bc53
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* The following declarations are auto-generated from ifp_iface.xml */
e1e8390280254f7f0580d701e583f670643d4f3fnilgun
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#ifndef __IFP_IFACE_XML__
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define __IFP_IFACE_XML__
e1e8390280254f7f0580d701e583f670643d4f3fnilgun
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#include "sbus/sssd_dbus.h"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun
96ad5d81ee4a2cc66a4ae19893efc8aa6d06fae7jailletc/* ------------------------------------------------------------------------
e1e8390280254f7f0580d701e583f670643d4f3fnilgun * DBus Constants
e1e8390280254f7f0580d701e583f670643d4f3fnilgun *
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen * Various constants of interface and method names mostly for use by clients
2e545ce2450a9953665f701bb05350f0d3f26275nd */
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen/* constants for org.freedesktop.sssd.infopipe */
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP "org.freedesktop.sssd.infopipe"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_PING "Ping"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_LISTCOMPONENTS "ListComponents"
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen#define IFACE_IFP_LISTRESPONDERS "ListResponders"
3f08db06526d6901aa08c110b5bc7dde6bc39905nd#define IFACE_IFP_LISTBACKENDS "ListBackends"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_FINDMONITOR "FindMonitor"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_FINDRESPONDERBYNAME "FindResponderByName"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_FINDBACKENDBYNAME "FindBackendByName"
3f08db06526d6901aa08c110b5bc7dde6bc39905nd#define IFACE_IFP_GETUSERATTR "GetUserAttr"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_GETUSERGROUPS "GetUserGroups"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_FINDDOMAINBYNAME "FindDomainByName"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_LISTDOMAINS "ListDomains"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* constants for org.freedesktop.sssd.infopipe.Components */
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_COMPONENTS "org.freedesktop.sssd.infopipe.Components"
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung#define IFACE_IFP_COMPONENTS_CHANGEDEBUGLEVELTEMPORARILY "ChangeDebugLevelTemporarily"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_COMPONENTS_NAME "name"
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic#define IFACE_IFP_COMPONENTS_DEBUG_LEVEL "debug_level"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_COMPONENTS_ENABLED "enabled"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_COMPONENTS_TYPE "type"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_COMPONENTS_PROVIDERS "providers"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* constants for org.freedesktop.sssd.infopipe.Domains */
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS "org.freedesktop.sssd.infopipe.Domains"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_NAME "name"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_PROVIDER "provider"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_PRIMARY_SERVERS "primary_servers"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_BACKUP_SERVERS "backup_servers"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_MIN_ID "min_id"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_MAX_ID "max_id"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_REALM "realm"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_FOREST "forest"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_LOGIN_FORMAT "login_format"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_FULLY_QUALIFIED_NAME_FORMAT "fully_qualified_name_format"
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun#define IFACE_IFP_DOMAINS_ENUMERABLE "enumerable"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_USE_FULLY_QUALIFIED_NAMES "use_fully_qualified_names"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_SUBDOMAIN "subdomain"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_PARENT_DOMAIN "parent_domain"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* constants for org.freedesktop.sssd.infopipe.Domains.Domain */
2704de98885368683621b01c8f8f4e4b01557611takashi#define IFACE_IFP_DOMAINS_DOMAIN "org.freedesktop.sssd.infopipe.Domains.Domain"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_DOMAIN_ISONLINE "IsOnline"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_DOMAIN_LISTSERVICES "ListServices"
b9f522ae1c0ed2bf3fc4444245bf28b2e2449a65nd#define IFACE_IFP_DOMAINS_DOMAIN_ACTIVESERVER "ActiveServer"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_DOMAIN_LISTSERVERS "ListServers"
c38e2a97e43fc69b22f6b03c6d2f60e3bd705f89sf
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* constants for org.freedesktop.sssd.infopipe.Cache */
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_CACHE "org.freedesktop.sssd.infopipe.Cache"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_CACHE_LIST "List"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_CACHE_LISTBYDOMAIN "ListByDomain"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* constants for org.freedesktop.sssd.infopipe.Cache.Object */
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_CACHE_OBJECT "org.freedesktop.sssd.infopipe.Cache.Object"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_CACHE_OBJECT_STORE "Store"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_CACHE_OBJECT_REMOVE "Remove"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* constants for org.freedesktop.sssd.infopipe.Users */
2704de98885368683621b01c8f8f4e4b01557611takashi#define IFACE_IFP_USERS "org.freedesktop.sssd.infopipe.Users"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_USERS_FINDBYNAME "FindByName"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_USERS_FINDBYID "FindByID"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_USERS_FINDBYCERTIFICATE "FindByCertificate"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_USERS_LISTBYNAME "ListByName"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_USERS_LISTBYDOMAINANDNAME "ListByDomainAndName"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun/* constants for org.freedesktop.sssd.infopipe.Users.User */
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun#define IFACE_IFP_USERS_USER "org.freedesktop.sssd.infopipe.Users.User"
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh#define IFACE_IFP_USERS_USER_UPDATEGROUPSLIST "UpdateGroupsList"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_USERS_USER_NAME "name"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_USERS_USER_UIDNUMBER "uidNumber"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_USERS_USER_GIDNUMBER "gidNumber"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_USERS_USER_GECOS "gecos"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_USERS_USER_HOMEDIRECTORY "homeDirectory"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_USERS_USER_LOGINSHELL "loginShell"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_USERS_USER_UNIQUEID "uniqueID"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_USERS_USER_GROUPS "groups"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_USERS_USER_EXTRAATTRIBUTES "extraAttributes"
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun/* constants for org.freedesktop.sssd.infopipe.Groups */
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_GROUPS "org.freedesktop.sssd.infopipe.Groups"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_GROUPS_FINDBYNAME "FindByName"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_GROUPS_FINDBYID "FindByID"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_GROUPS_LISTBYNAME "ListByName"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_GROUPS_LISTBYDOMAINANDNAME "ListByDomainAndName"
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* constants for org.freedesktop.sssd.infopipe.Groups.Group */
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_GROUPS_GROUP "org.freedesktop.sssd.infopipe.Groups.Group"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_GROUPS_GROUP_UPDATEMEMBERLIST "UpdateMemberList"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_GROUPS_GROUP_NAME "name"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_GROUPS_GROUP_GIDNUMBER "gidNumber"
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun#define IFACE_IFP_GROUPS_GROUP_UNIQUEID "uniqueID"
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun#define IFACE_IFP_GROUPS_GROUP_USERS "users"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_GROUPS_GROUP_GROUPS "groups"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* ------------------------------------------------------------------------
e1e8390280254f7f0580d701e583f670643d4f3fnilgun * DBus handlers
e1e8390280254f7f0580d701e583f670643d4f3fnilgun *
e1e8390280254f7f0580d701e583f670643d4f3fnilgun * These structures are filled in by implementors of the different
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun * dbus interfaces to handle method calls.
e1e8390280254f7f0580d701e583f670643d4f3fnilgun *
e1e8390280254f7f0580d701e583f670643d4f3fnilgun * Handler functions of type sbus_msg_handler_fn accept raw messages,
e1e8390280254f7f0580d701e583f670643d4f3fnilgun * other handlers are typed appropriately. If a handler that is
e1e8390280254f7f0580d701e583f670643d4f3fnilgun * set to NULL is invoked it will result in a
e1e8390280254f7f0580d701e583f670643d4f3fnilgun * org.freedesktop.DBus.Error.NotSupported error for the caller.
e1e8390280254f7f0580d701e583f670643d4f3fnilgun *
e1e8390280254f7f0580d701e583f670643d4f3fnilgun * Handlers have a matching xxx_finish() function (unless the method has
e1e8390280254f7f0580d701e583f670643d4f3fnilgun * accepts raw messages). These finish functions the
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun * sbus_request_return_and_finish() with the appropriate arguments to
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun * construct a valid reply. Once a finish function has been called, the
e1e8390280254f7f0580d701e583f670643d4f3fnilgun * @dbus_req it was called with is freed and no longer valid.
e1e8390280254f7f0580d701e583f670643d4f3fnilgun */
e1e8390280254f7f0580d701e583f670643d4f3fnilgun
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun/* vtable for org.freedesktop.sssd.infopipe */
e1e8390280254f7f0580d701e583f670643d4f3fnilgunstruct iface_ifp {
e1e8390280254f7f0580d701e583f670643d4f3fnilgun struct sbus_vtable vtable; /* derive from sbus_vtable */
e1e8390280254f7f0580d701e583f670643d4f3fnilgun sbus_msg_handler_fn Ping;
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun int (*ListComponents)(struct sbus_request *req, void *data);
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun int (*ListResponders)(struct sbus_request *req, void *data);
e1e8390280254f7f0580d701e583f670643d4f3fnilgun int (*ListBackends)(struct sbus_request *req, void *data);
e1e8390280254f7f0580d701e583f670643d4f3fnilgun int (*FindMonitor)(struct sbus_request *req, void *data);
e1e8390280254f7f0580d701e583f670643d4f3fnilgun int (*FindResponderByName)(struct sbus_request *req, void *data, const char *arg_name);
e1e8390280254f7f0580d701e583f670643d4f3fnilgun int (*FindBackendByName)(struct sbus_request *req, void *data, const char *arg_name);
e1e8390280254f7f0580d701e583f670643d4f3fnilgun sbus_msg_handler_fn GetUserAttr;
e1e8390280254f7f0580d701e583f670643d4f3fnilgun int (*GetUserGroups)(struct sbus_request *req, void *data, const char *arg_user);
e1e8390280254f7f0580d701e583f670643d4f3fnilgun int (*FindDomainByName)(struct sbus_request *req, void *data, const char *arg_name);
e1e8390280254f7f0580d701e583f670643d4f3fnilgun int (*ListDomains)(struct sbus_request *req, void *data);
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun};
e1e8390280254f7f0580d701e583f670643d4f3fnilgun
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* finish function for ListComponents */
e1e8390280254f7f0580d701e583f670643d4f3fnilgunint iface_ifp_ListComponents_finish(struct sbus_request *req, const char *arg_components[], int len_components);
e1e8390280254f7f0580d701e583f670643d4f3fnilgun
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* finish function for ListResponders */
e1e8390280254f7f0580d701e583f670643d4f3fnilgunint iface_ifp_ListResponders_finish(struct sbus_request *req, const char *arg_responders[], int len_responders);
e1e8390280254f7f0580d701e583f670643d4f3fnilgun
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun/* finish function for ListBackends */
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgunint iface_ifp_ListBackends_finish(struct sbus_request *req, const char *arg_backends[], int len_backends);
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun/* finish function for FindMonitor */
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgunint iface_ifp_FindMonitor_finish(struct sbus_request *req, const char *arg_monitor);
2704de98885368683621b01c8f8f4e4b01557611takashi
2704de98885368683621b01c8f8f4e4b01557611takashi/* finish function for FindResponderByName */
2704de98885368683621b01c8f8f4e4b01557611takashiint iface_ifp_FindResponderByName_finish(struct sbus_request *req, const char *arg_responder);
2704de98885368683621b01c8f8f4e4b01557611takashi
2704de98885368683621b01c8f8f4e4b01557611takashi/* finish function for FindBackendByName */
e1e8390280254f7f0580d701e583f670643d4f3fnilgunint iface_ifp_FindBackendByName_finish(struct sbus_request *req, const char *arg_backend);
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* finish function for GetUserGroups */
e1e8390280254f7f0580d701e583f670643d4f3fnilgunint iface_ifp_GetUserGroups_finish(struct sbus_request *req, const char *arg_values[], int len_values);
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun/* finish function for FindDomainByName */
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgunint iface_ifp_FindDomainByName_finish(struct sbus_request *req, const char *arg_domain);
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun/* finish function for ListDomains */
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgunint iface_ifp_ListDomains_finish(struct sbus_request *req, const char *arg_domain[], int len_domain);
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun/* vtable for org.freedesktop.sssd.infopipe.Components */
e1e8390280254f7f0580d701e583f670643d4f3fnilgunstruct iface_ifp_components {
e1e8390280254f7f0580d701e583f670643d4f3fnilgun struct sbus_vtable vtable; /* derive from sbus_vtable */
e1e8390280254f7f0580d701e583f670643d4f3fnilgun int (*ChangeDebugLevelTemporarily)(struct sbus_request *req, void *data, uint32_t arg_new_level);
e1e8390280254f7f0580d701e583f670643d4f3fnilgun void (*get_name)(struct sbus_request *, void *data, const char **);
e1e8390280254f7f0580d701e583f670643d4f3fnilgun void (*get_debug_level)(struct sbus_request *, void *data, uint32_t*);
e1e8390280254f7f0580d701e583f670643d4f3fnilgun void (*get_enabled)(struct sbus_request *, void *data, bool*);
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung void (*get_type)(struct sbus_request *, void *data, const char **);
727872d18412fc021f03969b8641810d8896820bhumbedooh void (*get_providers)(struct sbus_request *, void *data, const char ***, int *);
0d0ba3a410038e179b695446bb149cce6264e0abnd};
727872d18412fc021f03969b8641810d8896820bhumbedooh
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedooh/* finish function for ChangeDebugLevelTemporarily */
0d0ba3a410038e179b695446bb149cce6264e0abndint iface_ifp_components_ChangeDebugLevelTemporarily_finish(struct sbus_request *req);
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedooh
727872d18412fc021f03969b8641810d8896820bhumbedooh/* vtable for org.freedesktop.sssd.infopipe.Domains */
0d0ba3a410038e179b695446bb149cce6264e0abndstruct iface_ifp_domains {
0d0ba3a410038e179b695446bb149cce6264e0abnd struct sbus_vtable vtable; /* derive from sbus_vtable */
0d0ba3a410038e179b695446bb149cce6264e0abnd void (*get_name)(struct sbus_request *, void *data, const char **);
ac082aefa89416cbdc9a1836eaf3bed9698201c8humbedooh void (*get_provider)(struct sbus_request *, void *data, const char **);
0d0ba3a410038e179b695446bb149cce6264e0abnd void (*get_primary_servers)(struct sbus_request *, void *data, const char ***, int *);
0d0ba3a410038e179b695446bb149cce6264e0abnd void (*get_backup_servers)(struct sbus_request *, void *data, const char ***, int *);
0d0ba3a410038e179b695446bb149cce6264e0abnd void (*get_min_id)(struct sbus_request *, void *data, uint32_t*);
727872d18412fc021f03969b8641810d8896820bhumbedooh void (*get_max_id)(struct sbus_request *, void *data, uint32_t*);
0d0ba3a410038e179b695446bb149cce6264e0abnd void (*get_realm)(struct sbus_request *, void *data, const char **);
0d0ba3a410038e179b695446bb149cce6264e0abnd void (*get_forest)(struct sbus_request *, void *data, const char **);
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh void (*get_login_format)(struct sbus_request *, void *data, const char **);
07dc96d063d49299da433f84b5c5681da9bbdf68rbowen void (*get_fully_qualified_name_format)(struct sbus_request *, void *data, const char **);
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen void (*get_enumerable)(struct sbus_request *, void *data, bool*);
0d0ba3a410038e179b695446bb149cce6264e0abnd void (*get_use_fully_qualified_names)(struct sbus_request *, void *data, bool*);
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd void (*get_subdomain)(struct sbus_request *, void *data, bool*);
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd void (*get_parent_domain)(struct sbus_request *, void *data, const char **);
7fec19672a491661b2fe4b29f685bc7f4efa64d4nd};
e1e8390280254f7f0580d701e583f670643d4f3fnilgun
/* vtable for org.freedesktop.sssd.infopipe.Domains.Domain */
struct iface_ifp_domains_domain {
struct sbus_vtable vtable; /* derive from sbus_vtable */
int (*IsOnline)(struct sbus_request *req, void *data);
int (*ListServices)(struct sbus_request *req, void *data);
int (*ActiveServer)(struct sbus_request *req, void *data, const char *arg_service);
int (*ListServers)(struct sbus_request *req, void *data, const char *arg_service_name);
};
/* finish function for IsOnline */
int iface_ifp_domains_domain_IsOnline_finish(struct sbus_request *req, bool arg_status);
/* finish function for ListServices */
int iface_ifp_domains_domain_ListServices_finish(struct sbus_request *req, const char *arg_services[], int len_services);
/* finish function for ActiveServer */
int iface_ifp_domains_domain_ActiveServer_finish(struct sbus_request *req, const char *arg_server);
/* finish function for ListServers */
int iface_ifp_domains_domain_ListServers_finish(struct sbus_request *req, const char *arg_servers[], int len_servers);
/* vtable for org.freedesktop.sssd.infopipe.Cache */
struct iface_ifp_cache {
struct sbus_vtable vtable; /* derive from sbus_vtable */
int (*List)(struct sbus_request *req, void *data);
int (*ListByDomain)(struct sbus_request *req, void *data, const char *arg_domain_name);
};
/* finish function for List */
int iface_ifp_cache_List_finish(struct sbus_request *req, const char *arg_result[], int len_result);
/* finish function for ListByDomain */
int iface_ifp_cache_ListByDomain_finish(struct sbus_request *req, const char *arg_result[], int len_result);
/* vtable for org.freedesktop.sssd.infopipe.Cache.Object */
struct iface_ifp_cache_object {
struct sbus_vtable vtable; /* derive from sbus_vtable */
int (*Store)(struct sbus_request *req, void *data);
int (*Remove)(struct sbus_request *req, void *data);
};
/* finish function for Store */
int iface_ifp_cache_object_Store_finish(struct sbus_request *req, bool arg_result);
/* finish function for Remove */
int iface_ifp_cache_object_Remove_finish(struct sbus_request *req, bool arg_result);
/* vtable for org.freedesktop.sssd.infopipe.Users */
struct iface_ifp_users {
struct sbus_vtable vtable; /* derive from sbus_vtable */
int (*FindByName)(struct sbus_request *req, void *data, const char *arg_name);
int (*FindByID)(struct sbus_request *req, void *data, uint32_t arg_id);
int (*FindByCertificate)(struct sbus_request *req, void *data, const char *arg_pem_cert);
int (*ListByName)(struct sbus_request *req, void *data, const char *arg_name_filter, uint32_t arg_limit);
int (*ListByDomainAndName)(struct sbus_request *req, void *data, const char *arg_domain_name, const char *arg_name_filter, uint32_t arg_limit);
};
/* finish function for FindByName */
int iface_ifp_users_FindByName_finish(struct sbus_request *req, const char *arg_result);
/* finish function for FindByID */
int iface_ifp_users_FindByID_finish(struct sbus_request *req, const char *arg_result);
/* finish function for FindByCertificate */
int iface_ifp_users_FindByCertificate_finish(struct sbus_request *req, const char *arg_result);
/* finish function for ListByName */
int iface_ifp_users_ListByName_finish(struct sbus_request *req, const char *arg_result[], int len_result);
/* finish function for ListByDomainAndName */
int iface_ifp_users_ListByDomainAndName_finish(struct sbus_request *req, const char *arg_result[], int len_result);
/* vtable for org.freedesktop.sssd.infopipe.Users.User */
struct iface_ifp_users_user {
struct sbus_vtable vtable; /* derive from sbus_vtable */
int (*UpdateGroupsList)(struct sbus_request *req, void *data);
void (*get_name)(struct sbus_request *, void *data, const char **);
void (*get_uidNumber)(struct sbus_request *, void *data, uint32_t*);
void (*get_gidNumber)(struct sbus_request *, void *data, uint32_t*);
void (*get_gecos)(struct sbus_request *, void *data, const char **);
void (*get_homeDirectory)(struct sbus_request *, void *data, const char **);
void (*get_loginShell)(struct sbus_request *, void *data, const char **);
void (*get_uniqueID)(struct sbus_request *, void *data, const char **);
void (*get_groups)(struct sbus_request *, void *data, const char ***, int *);
void (*get_extraAttributes)(struct sbus_request *, void *data, hash_table_t **);
};
/* finish function for UpdateGroupsList */
int iface_ifp_users_user_UpdateGroupsList_finish(struct sbus_request *req);
/* vtable for org.freedesktop.sssd.infopipe.Groups */
struct iface_ifp_groups {
struct sbus_vtable vtable; /* derive from sbus_vtable */
int (*FindByName)(struct sbus_request *req, void *data, const char *arg_name);
int (*FindByID)(struct sbus_request *req, void *data, uint32_t arg_id);
int (*ListByName)(struct sbus_request *req, void *data, const char *arg_name_filter, uint32_t arg_limit);
int (*ListByDomainAndName)(struct sbus_request *req, void *data, const char *arg_domain_name, const char *arg_name_filter, uint32_t arg_limit);
};
/* finish function for FindByName */
int iface_ifp_groups_FindByName_finish(struct sbus_request *req, const char *arg_result);
/* finish function for FindByID */
int iface_ifp_groups_FindByID_finish(struct sbus_request *req, const char *arg_result);
/* finish function for ListByName */
int iface_ifp_groups_ListByName_finish(struct sbus_request *req, const char *arg_result[], int len_result);
/* finish function for ListByDomainAndName */
int iface_ifp_groups_ListByDomainAndName_finish(struct sbus_request *req, const char *arg_result[], int len_result);
/* vtable for org.freedesktop.sssd.infopipe.Groups.Group */
struct iface_ifp_groups_group {
struct sbus_vtable vtable; /* derive from sbus_vtable */
int (*UpdateMemberList)(struct sbus_request *req, void *data);
void (*get_name)(struct sbus_request *, void *data, const char **);
void (*get_gidNumber)(struct sbus_request *, void *data, uint32_t*);
void (*get_uniqueID)(struct sbus_request *, void *data, const char **);
void (*get_users)(struct sbus_request *, void *data, const char ***, int *);
void (*get_groups)(struct sbus_request *, void *data, const char ***, int *);
};
/* finish function for UpdateMemberList */
int iface_ifp_groups_group_UpdateMemberList_finish(struct sbus_request *req);
/* ------------------------------------------------------------------------
* DBus Interface Metadata
*
* These structure definitions are filled in with the information about
* the interfaces, methods, properties and so on.
*
* The actual definitions are found in the accompanying C file next
* to this header.
*/
/* interface info for org.freedesktop.sssd.infopipe */
extern const struct sbus_interface_meta iface_ifp_meta;
/* interface info for org.freedesktop.sssd.infopipe.Components */
extern const struct sbus_interface_meta iface_ifp_components_meta;
/* interface info for org.freedesktop.sssd.infopipe.Domains */
extern const struct sbus_interface_meta iface_ifp_domains_meta;
/* interface info for org.freedesktop.sssd.infopipe.Domains.Domain */
extern const struct sbus_interface_meta iface_ifp_domains_domain_meta;
/* interface info for org.freedesktop.sssd.infopipe.Cache */
extern const struct sbus_interface_meta iface_ifp_cache_meta;
/* interface info for org.freedesktop.sssd.infopipe.Cache.Object */
extern const struct sbus_interface_meta iface_ifp_cache_object_meta;
/* interface info for org.freedesktop.sssd.infopipe.Users */
extern const struct sbus_interface_meta iface_ifp_users_meta;
/* interface info for org.freedesktop.sssd.infopipe.Users.User */
extern const struct sbus_interface_meta iface_ifp_users_user_meta;
/* interface info for org.freedesktop.sssd.infopipe.Groups */
extern const struct sbus_interface_meta iface_ifp_groups_meta;
/* interface info for org.freedesktop.sssd.infopipe.Groups.Group */
extern const struct sbus_interface_meta iface_ifp_groups_group_meta;
#endif /* __IFP_IFACE_XML__ */