diff options
Diffstat (limited to 'include/dbus.h')
-rw-r--r-- | include/dbus.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/dbus.h b/include/dbus.h index c00488e2..85e8ede0 100644 --- a/include/dbus.h +++ b/include/dbus.h @@ -171,6 +171,14 @@ static inline void connman_dbus_dict_append_fixed_array(DBusMessageIter *dict, dbus_bool_t connman_dbus_validate_ident(const char *ident); char *connman_dbus_encode_string(const char *value); +typedef void (* connman_dbus_get_connection_unix_user_cb_t) (unsigned int uid, + void *user_data, int err); + +int connman_dbus_get_connection_unix_user(DBusConnection *connection, + const char *bus_name, + connman_dbus_get_connection_unix_user_cb_t func, + void *user_data); + typedef void (* connman_dbus_get_context_cb_t) (const unsigned char *context, void *user_data, int err); |