summaryrefslogtreecommitdiffstats
path: root/src/providers/data_provider_iface.xml
diff options
context:
space:
mode:
authorStef Walter <stefw@redhat.com>2014-01-10 08:58:12 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-02-24 11:14:59 +0100
commit769347ad4d35d43488eb98f980143495b0db415d (patch)
tree1613fff70e57d363ceda4f5d2d3d48efd87073a0 /src/providers/data_provider_iface.xml
parent3e7d7af1953410f3f009bf3b2e481a46fb80de83 (diff)
downloadsssd-769347ad4d35d43488eb98f980143495b0db415d.tar.gz
sssd-769347ad4d35d43488eb98f980143495b0db415d.tar.xz
sssd-769347ad4d35d43488eb98f980143495b0db415d.zip
sbus: Rework sbus to use interface metadata and vtables
Previous commits added support for interface metadata and handler vtables. This commit ports sbus_dbus_connection to use them. Port the internal uses of dbus to use the new scheme in a very minimal way. Further cleanup is possible here. This commit provides basic definitions of the internal dbus interfaces. The interfaces aren't fully defined, as the handlers will continue to unpack manually, and often overload DBus methods with different arguments (which is rather unorthodox, but not the end of the world). Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Sumit Bose <sbose@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/providers/data_provider_iface.xml')
-rw-r--r--src/providers/data_provider_iface.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/providers/data_provider_iface.xml b/src/providers/data_provider_iface.xml
new file mode 100644
index 000000000..1f3496493
--- /dev/null
+++ b/src/providers/data_provider_iface.xml
@@ -0,0 +1,38 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+ <interface name="org.freedesktop.sssd.dataprovider">
+ <annotation value="data_provider_iface" name="org.freedesktop.DBus.GLib.CSymbol"/>
+ <method name="RegisterService">
+ <!-- arguments parsed manually -->
+ </method>
+ <method name="pamHandler">
+ <!-- arguments parsed manually -->
+ </method>
+ <method name="sudoHandler">
+ <!-- arguments parsed manually -->
+ </method>
+ <method name="autofsHandler">
+ <!-- arguments parsed manually -->
+ </method>
+ <method name="hostHandler">
+ <!-- arguments parsed manually -->
+ </method>
+ <method name="getDomains">
+ <!-- arguments parsed manually -->
+ </method>
+ <method name="getAccountInfo">
+ <!-- arguments parsed manually -->
+ </method>
+ </interface>
+
+ <interface name="org.freedesktop.sssd.dataprovider_rev">
+ <annotation value="data_provider_rev_iface" name="org.freedesktop.DBus.GLib.CSymbol"/>
+ <method name="updateCache">
+ <!-- manual argument parsing -->
+ </method>
+ <method name="initgrCheck">
+ <!-- manual argument parsing -->
+ </method>
+ </interface>
+</node>