summaryrefslogtreecommitdiffstats
path: root/src/providers/data_provider_iface_generated.h
blob: 0851964b1ca5be2b9d9ee92a263852c098c89b38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/* The following declarations are auto-generated from data_provider_iface.xml */

#ifndef __DATA_PROVIDER_IFACE_XML__
#define __DATA_PROVIDER_IFACE_XML__

#include "sbus/sssd_dbus.h"

/* ------------------------------------------------------------------------
 * DBus Vtable handler structures
 *
 * 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 will be 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.
 */

/* vtable for org.freedesktop.sssd.dataprovider */
struct data_provider_iface {
    struct sbus_vtable vtable; /* derive from sbus_vtable */
    sbus_msg_handler_fn RegisterService;
    sbus_msg_handler_fn pamHandler;
    sbus_msg_handler_fn sudoHandler;
    sbus_msg_handler_fn autofsHandler;
    sbus_msg_handler_fn hostHandler;
    sbus_msg_handler_fn getDomains;
    sbus_msg_handler_fn getAccountInfo;
};

/* vtable for org.freedesktop.sssd.dataprovider_rev */
struct data_provider_rev_iface {
    struct sbus_vtable vtable; /* derive from sbus_vtable */
    sbus_msg_handler_fn updateCache;
    sbus_msg_handler_fn initgrCheck;
};

/* ------------------------------------------------------------------------
 * 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.dataprovider */
extern const struct sbus_interface_meta data_provider_iface_meta;

/* interface info for org.freedesktop.sssd.dataprovider_rev */
extern const struct sbus_interface_meta data_provider_rev_iface_meta;

#endif /* __DATA_PROVIDER_IFACE_XML__ */