diff options
author | Havoc Pennington <hp@redhat.com> | 2003-04-18 04:18:57 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-04-18 04:18:57 +0000 |
commit | 3df260c07102745c5606c313af862558f105f83e (patch) | |
tree | b0a9d23fc820a3bc61da1cd7e63fc810423a2210 /dbus/dbus-sysdeps.c | |
parent | 88cd5da3c0ec86fed29942b062c2f7bf0f8fda44 (diff) |
2003-04-18 Havoc Pennington <hp@pobox.com>
* glib/dbus-gmain.c: adapt to watch changes
* bus/bus.c, bus/activation.c, etc.: adjust to watch changes
* dbus/dbus-server.h: remove dbus_server_handle_watch
* dbus/dbus-connection.h: remove dbus_connection_handle_watch
* dbus/dbus-watch.c (dbus_watch_handle): change DBusWatch to work
like DBusTimeout, so we don't need dbus_connection_handle_watch
etc.
Diffstat (limited to 'dbus/dbus-sysdeps.c')
-rw-r--r-- | dbus/dbus-sysdeps.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/dbus/dbus-sysdeps.c b/dbus/dbus-sysdeps.c index 6ff18415..e546c4be 100644 --- a/dbus/dbus-sysdeps.c +++ b/dbus/dbus-sysdeps.c @@ -1520,7 +1520,7 @@ _dbus_user_info_fill (DBusUserInfo *info, * Gets user info for the given user ID. * * @param info user info object to initialize - * @param username the username + * @param uid the user ID * @param error error return * @returns #TRUE on success */ @@ -1642,6 +1642,15 @@ fill_group_info (DBusGroupInfo *info, #endif /* ! HAVE_GETPWNAM_R */ } +/** + * Initializes the given DBusGroupInfo struct + * with information about the given group name. + * + * @param info the group info struct + * @param groupname name of group + * @param error the error return + * @returns #FALSE if error is set + */ dbus_bool_t _dbus_group_info_fill (DBusGroupInfo *info, const DBusString *groupname, @@ -1652,6 +1661,15 @@ _dbus_group_info_fill (DBusGroupInfo *info, } +/** + * Initializes the given DBusGroupInfo struct + * with information about the given group ID. + * + * @param info the group info struct + * @param gid group ID + * @param error the error return + * @returns #FALSE if error is set + */ dbus_bool_t _dbus_group_info_fill_gid (DBusGroupInfo *info, dbus_gid_t gid, |