History log of /sssd/src/sbus/sssd_dbus_interface.c
Revision Date Author Comments Expand
397bc52dd09a8c032abc7ea47a6d81dba5957464 20-Jun-2016 Pavel Březina <pbrezina@redhat.com>

SBUS: Add sbus_conn_register_iface_map Reviewed-by: Sumit Bose <sbose@redhat.com> Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>

f7adbb15dbdcb79e291f7cf361a400ce25f7b382 18-Jun-2015 Pavel Březina <pbrezina@redhat.com>

SBUS: Add support for <node /> in introspection Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

10a28f461c25d788ff4dcffefa881e7aa724a25d 22-May-2015 Pavel Březina <pbrezina@redhat.com>

sbus: add sbus_opath_decompose[_exact] This function decomposes object path into array of strings. The "_exact" version expects a certain number of parts otherwise an error is thrown. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

6170f00ee24ce38af656683e0ab8915abbf93bad 11-May-2015 Pavel Reichl <preichl@redhat.com>

sbus: sbus_opath_hash_add_iface free tmp talloc ctx Reviewed-by: Pavel Březina <pbrezina@redhat.com>

ca6dd8e7ac91c7f8e3b4d55206d4f39791ab7149 23-Jan-2015 Pavel Březina <pbrezina@redhat.com>

sbus: add sbus_opath_get_object_name() This function assumes that the last component of the object path is an object name. It will return the part unescaped. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

3a8f6b575f4019f21c9425a26f1b346c08a197ae 23-Jan-2015 Pavel Březina <pbrezina@redhat.com>

sbus: move common opath functions from ifp to sbus code These functions are quite general thus they may be part of sbus interface. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

66277b21179d95f6e96abed01a20ccbccf27ce99 23-Jan-2015 Pavel Březina <pbrezina@redhat.com>

sbus: unify naming of handler data variable We used three different names to express handler data: - pvt - instace_data - handler_data Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

b742179ac0790068380618ab72a06af18544f09c 23-Jan-2015 Pavel Březina <pbrezina@redhat.com>

sbus: support org.freedesktop.DBus.Properties Bring back org.freedesktop.DBus.Properties with support of multiple interfaces on single object path. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

80d0bd38268c02fd32f62b02ae59f19229ca1a79 23-Jan-2015 Pavel Březina <pbrezina@redhat.com>

sbus: support org.freedesktop.DBus.Introspectable This commit brings back support of Introspectable interface and enables support of multiple interfaces there. It also refactors the old code so the generator and introspect xml format especially is more readable. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

21e05273eed8cc914871938061554589883e67ce 23-Jan-2015 Pavel Březina <pbrezina@redhat.com>

sbus: add sbus_opath_hash_lookup_supported() This function acquires list of all interfaces that are supported on given object path. It is a preparation for Introspect interface. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

46ee931314e6a5517f5c6b6b14f759364be119cc 23-Jan-2015 Pavel Březina <pbrezina@redhat.com>

sbus: support multiple interfaces on single path This patch removes the old message handler which is replaced with a new one that supports multiple interfaces registered on single object path. A hash table is used to store registered object paths and their interfaces. When an entry or the table itself is destroyed, registered object path is unregistered through delete callback. It temporarily removes support of Introspect and Properties standard D-Bus interfaces and disables unit tests of those interfaces. The support is brought back by following patches. Resolves: https://fedorahosted.org/sssd/ticket/2339 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

894f09f146f0c9cda9e0f7dfe1916519d73dde72 23-Jan-2015 Pavel Březina <pbrezina@redhat.com>

sbus: use 'path/*' to represent a D-Bus fallback Use 'path/*' instead of 'path*' since it better describes what we are actually doing i.e. registering a message handler for a subtree. Although D-Bus fallback will invoke a message handler for both 'path' and 'path/subtree' object paths it does not make usually sence to support the same interfaces for both parent and it children. This commit also renames related functions to better describe what are they doing. Note: the tilda in comments is used to suppress -Wcomment warning Preparation for: https://fedorahosted.org/sssd/ticket/2339 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>

d87e960c17d7598781cf032d06ba03a3ecadbfa2 23-Jan-2015 Pavel Březina <pbrezina@redhat.com>

sbus: move iface and object path code to separate file This is done to better distinguish between connection code and interface stuff. It will help with orientation and thus simplify next changes. Preparation for: https://fedorahosted.org/sssd/ticket/2339 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>