ifp_iface_generated.h revision beeef7f627a5ed9264de25ee4c76eb9620c1c984
/* The following declarations are auto-generated from ifp_iface.xml */
#ifndef __IFP_IFACE_XML__
#define __IFP_IFACE_XML__
#include "sbus/sssd_dbus.h"
/* ------------------------------------------------------------------------
* DBus Constants
*
* Various constants of interface and method names mostly for use by clients
*/
/* constants for org.freedesktop.sssd.infopipe */
#define IFACE_IFP "org.freedesktop.sssd.infopipe"
#define IFACE_IFP_PING "Ping"
#define IFACE_IFP_LISTCOMPONENTS "ListComponents"
#define IFACE_IFP_LISTRESPONDERS "ListResponders"
#define IFACE_IFP_LISTBACKENDS "ListBackends"
#define IFACE_IFP_FINDMONITOR "FindMonitor"
#define IFACE_IFP_FINDRESPONDERBYNAME "FindResponderByName"
#define IFACE_IFP_FINDBACKENDBYNAME "FindBackendByName"
#define IFACE_IFP_GETUSERATTR "GetUserAttr"
#define IFACE_IFP_GETUSERGROUPS "GetUserGroups"
#define IFACE_IFP_FINDDOMAINBYNAME "FindDomainByName"
#define IFACE_IFP_LISTDOMAINS "ListDomains"
/* constants for org.freedesktop.sssd.infopipe.Components */
#define IFACE_IFP_COMPONENTS "org.freedesktop.sssd.infopipe.Components"
#define IFACE_IFP_COMPONENTS_ENABLE "Enable"
#define IFACE_IFP_COMPONENTS_DISABLE "Disable"
#define IFACE_IFP_COMPONENTS_CHANGEDEBUGLEVEL "ChangeDebugLevel"
#define IFACE_IFP_COMPONENTS_CHANGEDEBUGLEVELTEMPORARILY "ChangeDebugLevelTemporarily"
#define IFACE_IFP_COMPONENTS_NAME "name"
#define IFACE_IFP_COMPONENTS_DEBUG_LEVEL "debug_level"
#define IFACE_IFP_COMPONENTS_ENABLED "enabled"
#define IFACE_IFP_COMPONENTS_TYPE "type"
#define IFACE_IFP_COMPONENTS_PROVIDERS "providers"
/* constants for org.freedesktop.sssd.infopipe.Domains */
#define IFACE_IFP_DOMAINS "org.freedesktop.sssd.infopipe.Domains"
#define IFACE_IFP_DOMAINS_NAME "name"
#define IFACE_IFP_DOMAINS_PROVIDER "provider"
#define IFACE_IFP_DOMAINS_PRIMARY_SERVERS "primary_servers"
#define IFACE_IFP_DOMAINS_BACKUP_SERVERS "backup_servers"
#define IFACE_IFP_DOMAINS_MIN_ID "min_id"
#define IFACE_IFP_DOMAINS_MAX_ID "max_id"
#define IFACE_IFP_DOMAINS_REALM "realm"
#define IFACE_IFP_DOMAINS_FOREST "forest"
#define IFACE_IFP_DOMAINS_LOGIN_FORMAT "login_format"
#define IFACE_IFP_DOMAINS_FULLY_QUALIFIED_NAME_FORMAT "fully_qualified_name_format"
#define IFACE_IFP_DOMAINS_ENUMERABLE "enumerable"
#define IFACE_IFP_DOMAINS_USE_FULLY_QUALIFIED_NAMES "use_fully_qualified_names"
#define IFACE_IFP_DOMAINS_SUBDOMAIN "subdomain"
#define IFACE_IFP_DOMAINS_PARENT_DOMAIN "parent_domain"
/* ------------------------------------------------------------------------
* DBus handlers
*
* These structures are filled in by implementors of the different
* dbus interfaces to handle method calls.
*
* Handler functions of type sbus_msg_handler_fn accept raw messages,
* other handlers are typed appropriately. If a handler that is
* set to NULL is invoked it will result in a
* org.freedesktop.DBus.Error.NotSupported error for the caller.
*
* Handlers have a matching xxx_finish() function (unless the method has
* accepts raw messages). These finish functions the
* sbus_request_return_and_finish() with the appropriate arguments to
* construct a valid reply. Once a finish function has been called, the
* @dbus_req it was called with is freed and no longer valid.
*/
/* vtable for org.freedesktop.sssd.infopipe */
struct iface_ifp {
};
/* finish function for ListComponents */
int iface_ifp_ListComponents_finish(struct sbus_request *req, const char *arg_components[], int len_components);
/* finish function for ListResponders */
int iface_ifp_ListResponders_finish(struct sbus_request *req, const char *arg_responders[], int len_responders);
/* finish function for ListBackends */
int iface_ifp_ListBackends_finish(struct sbus_request *req, const char *arg_backends[], int len_backends);
/* finish function for FindMonitor */
/* finish function for FindResponderByName */
/* finish function for FindBackendByName */
/* finish function for GetUserGroups */
int iface_ifp_GetUserGroups_finish(struct sbus_request *req, const char *arg_values[], int len_values);
/* finish function for FindDomainByName */
/* finish function for ListDomains */
int iface_ifp_ListDomains_finish(struct sbus_request *req, const char *arg_domain[], int len_domain);
/* vtable for org.freedesktop.sssd.infopipe.Components */
struct iface_ifp_components {
void (*iface_ifp_components_get_providers)(struct sbus_request *, void *data, const char * * *, int *);
};
/* finish function for Enable */
/* finish function for Disable */
/* finish function for ChangeDebugLevel */
/* finish function for ChangeDebugLevelTemporarily */
/* vtable for org.freedesktop.sssd.infopipe.Domains */
struct iface_ifp_domains {
void (*iface_ifp_domains_get_primary_servers)(struct sbus_request *, void *data, const char * * *, int *);
void (*iface_ifp_domains_get_backup_servers)(struct sbus_request *, void *data, const char * * *, int *);
void (*iface_ifp_domains_get_fully_qualified_name_format)(struct sbus_request *, void *data, const char * *);
};
/* ------------------------------------------------------------------------
* 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;
#endif /* __IFP_IFACE_XML__ */