summaryrefslogtreecommitdiffstats
path: root/src/sbus/sssd_dbus_utils.h
Commit message (Collapse)AuthorAgeFilesLines
* SBUS: Document how to free the result of sbus_create_messageJakub Hrozek2017-02-151-0/+7
| | | | | | | | | It might not be apparent how to free the message constructed by sbus_create_message(). This patch just adds a comment that tells the developer to either free the parent context or unref the message with a dbus call directly. Reviewed-by: Pavel Březina <pbrezina@redhat.com>
* sbus: add utility function to simplify message and reply handlingPavel Březina2016-08-161-0/+64
This patch adds the ability to hook DBusMessage to a talloc context to remove the need of calling dbus_message_unref(). It also provides an automatical way to detect error in a reply so the caller does not need to parse it manually and the whole code around DBusError can be avoided. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>