ifp_iface_generated.h revision 99b2352f909c548811617389641a9ccc3e17bc53
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* The following declarations are auto-generated from ifp_iface.xml */
96ad5d81ee4a2cc66a4ae19893efc8aa6d06fae7jailletc/* ------------------------------------------------------------------------
e1e8390280254f7f0580d701e583f670643d4f3fnilgun * DBus Constants
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen * Various constants of interface and method names mostly for use by clients
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen/* constants for org.freedesktop.sssd.infopipe */
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_FINDRESPONDERBYNAME "FindResponderByName"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_FINDBACKENDBYNAME "FindBackendByName"
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"
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic#define IFACE_IFP_COMPONENTS_DEBUG_LEVEL "debug_level"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* constants for org.freedesktop.sssd.infopipe.Domains */
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS "org.freedesktop.sssd.infopipe.Domains"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_PRIMARY_SERVERS "primary_servers"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_BACKUP_SERVERS "backup_servers"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_FULLY_QUALIFIED_NAME_FORMAT "fully_qualified_name_format"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_USE_FULLY_QUALIFIED_NAMES "use_fully_qualified_names"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_PARENT_DOMAIN "parent_domain"
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_LISTSERVICES "ListServices"
b9f522ae1c0ed2bf3fc4444245bf28b2e2449a65nd#define IFACE_IFP_DOMAINS_DOMAIN_ACTIVESERVER "ActiveServer"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_DOMAINS_DOMAIN_LISTSERVERS "ListServers"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* constants for org.freedesktop.sssd.infopipe.Cache */
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_CACHE "org.freedesktop.sssd.infopipe.Cache"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* constants for org.freedesktop.sssd.infopipe.Cache.Object */
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_CACHE_OBJECT "org.freedesktop.sssd.infopipe.Cache.Object"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* constants for org.freedesktop.sssd.infopipe.Users */
2704de98885368683621b01c8f8f4e4b01557611takashi#define IFACE_IFP_USERS "org.freedesktop.sssd.infopipe.Users"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_USERS_FINDBYCERTIFICATE "FindByCertificate"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_USERS_LISTBYDOMAINANDNAME "ListByDomainAndName"
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_HOMEDIRECTORY "homeDirectory"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_USERS_USER_EXTRAATTRIBUTES "extraAttributes"
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun/* constants for org.freedesktop.sssd.infopipe.Groups */
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_GROUPS "org.freedesktop.sssd.infopipe.Groups"
e1e8390280254f7f0580d701e583f670643d4f3fnilgun#define IFACE_IFP_GROUPS_LISTBYDOMAINANDNAME "ListByDomainAndName"
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/* ------------------------------------------------------------------------
e1e8390280254f7f0580d701e583f670643d4f3fnilgun * DBus handlers
e1e8390280254f7f0580d701e583f670643d4f3fnilgun * These structures are filled in by implementors of the different
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun * dbus interfaces to handle method calls.
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 * 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.
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun/* vtable for org.freedesktop.sssd.infopipe */
e1e8390280254f7f0580d701e583f670643d4f3fnilgun struct sbus_vtable vtable; /* derive from sbus_vtable */
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 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);
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* finish function for ListComponents */
e1e8390280254f7f0580d701e583f670643d4f3fnilgunint iface_ifp_ListComponents_finish(struct sbus_request *req, const char *arg_components[], int len_components);
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* finish function for ListResponders */
e1e8390280254f7f0580d701e583f670643d4f3fnilgunint iface_ifp_ListResponders_finish(struct sbus_request *req, const char *arg_responders[], int len_responders);
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun/* finish function for ListBackends */
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgunint iface_ifp_ListBackends_finish(struct sbus_request *req, const char *arg_backends[], int len_backends);
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun/* finish function for FindMonitor */
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgunint iface_ifp_FindMonitor_finish(struct sbus_request *req, const char *arg_monitor);
2704de98885368683621b01c8f8f4e4b01557611takashi/* finish function for FindResponderByName */
2704de98885368683621b01c8f8f4e4b01557611takashiint iface_ifp_FindResponderByName_finish(struct sbus_request *req, const char *arg_responder);
2704de98885368683621b01c8f8f4e4b01557611takashi/* finish function for FindBackendByName */
e1e8390280254f7f0580d701e583f670643d4f3fnilgunint iface_ifp_FindBackendByName_finish(struct sbus_request *req, const char *arg_backend);
e1e8390280254f7f0580d701e583f670643d4f3fnilgun/* finish function for GetUserGroups */
e1e8390280254f7f0580d701e583f670643d4f3fnilgunint iface_ifp_GetUserGroups_finish(struct sbus_request *req, const char *arg_values[], int len_values);
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun/* finish function for FindDomainByName */
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgunint iface_ifp_FindDomainByName_finish(struct sbus_request *req, const char *arg_domain);
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun/* finish function for ListDomains */
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgunint iface_ifp_ListDomains_finish(struct sbus_request *req, const char *arg_domain[], int len_domain);
e0cfea1f5d38eeaa8fdf7c197c3c1eb31148e191nilgun/* vtable for org.freedesktop.sssd.infopipe.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 *);
cc7e1025de9ac63bd4db6fe7f71c158b2cf09fe4humbedooh/* finish function for ChangeDebugLevelTemporarily */
0d0ba3a410038e179b695446bb149cce6264e0abndint iface_ifp_components_ChangeDebugLevelTemporarily_finish(struct sbus_request *req);
727872d18412fc021f03969b8641810d8896820bhumbedooh/* vtable for org.freedesktop.sssd.infopipe.Domains */
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 **);
/* vtable for org.freedesktop.sssd.infopipe.Domains.Domain */
struct iface_ifp_domains_domain {
int iface_ifp_domains_domain_ListServices_finish(struct sbus_request *req, const char *arg_services[], int len_services);
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 {
int iface_ifp_cache_List_finish(struct sbus_request *req, const char *arg_result[], int len_result);
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 {
/* vtable for org.freedesktop.sssd.infopipe.Users */
struct iface_ifp_users {
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);
int iface_ifp_users_ListByName_finish(struct sbus_request *req, const char *arg_result[], int len_result);
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 {
/* vtable for org.freedesktop.sssd.infopipe.Groups */
struct iface_ifp_groups {
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);
int iface_ifp_groups_ListByName_finish(struct sbus_request *req, const char *arg_result[], int len_result);
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 {
/* interface info for org.freedesktop.sssd.infopipe */
/* interface info for org.freedesktop.sssd.infopipe.Components */
/* interface info for org.freedesktop.sssd.infopipe.Domains */
/* interface info for org.freedesktop.sssd.infopipe.Domains.Domain */
/* interface info for org.freedesktop.sssd.infopipe.Cache */
/* interface info for org.freedesktop.sssd.infopipe.Cache.Object */
/* interface info for org.freedesktop.sssd.infopipe.Users */
/* interface info for org.freedesktop.sssd.infopipe.Users.User */
/* interface info for org.freedesktop.sssd.infopipe.Groups */
/* interface info for org.freedesktop.sssd.infopipe.Groups.Group */