diff options
Diffstat (limited to 'src/sbus/sssd_dbus.h')
-rw-r--r-- | src/sbus/sssd_dbus.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/sbus/sssd_dbus.h b/src/sbus/sssd_dbus.h index 7604797c1..e9e7c9867 100644 --- a/src/sbus/sssd_dbus.h +++ b/src/sbus/sssd_dbus.h @@ -55,6 +55,21 @@ enum { SBUS_RECONNECT_ERROR }; +/* + * This represents vtable of interface handlers for methods and + * properties and so on. The actual vtable structs derive from this struct + * (ie: have this struct as their first member). + * + * The offsets for matching vtable function pointers are in sbus_method_meta + * These are used to dynamically dispatch the method invocations. + */ +struct sbus_vtable { + const struct sbus_interface_meta *meta; + int flags; /* unused for now */ + + /* derived structs place function pointers here. */ +}; + /* Special interface and method for D-BUS introspection */ #define DBUS_INTROSPECT_INTERFACE "org.freedesktop.DBus.Introspectable" #define DBUS_INTROSPECT_METHOD "Introspect" |