Lines Matching refs:gid
125 * @param gid return location for GID
126 * @returns #TRUE if group name existed and we got the GID
130 dbus_gid_t *gid)
150 *gid = info->gid;
161 * @param gid_p return location for GID
162 * @returns #TRUE if username existed and we got the UID and GID
197 * Looks up a gid or group name in the user database. Only one of
198 * name or GID can be provided. There are wrapper functions for this
203 * @param gid the group ID or #DBUS_GID_UNSET
210 dbus_gid_t gid,
219 if (gid == DBUS_UID_UNSET)
224 gid = n;
228 if (gid != DBUS_GID_UNSET)
229 info = _dbus_hash_table_lookup_uintptr (db->groups, gid);
235 _dbus_verbose ("Using cache for GID "DBUS_GID_FORMAT" information\n",
236 info->gid);
244 if (gid != DBUS_GID_UNSET)
245 _dbus_verbose ("No cache for GID "DBUS_GID_FORMAT"\n",
246 gid);
258 if (gid != DBUS_GID_UNSET)
260 if (!_dbus_group_info_fill_gid (info, gid, error))
278 gid = DBUS_GID_UNSET;
281 if (!_dbus_hash_table_insert_uintptr (db->groups, info->gid, info))
293 _dbus_hash_table_remove_uintptr (db->groups, info->gid);
324 * Gets the user information for the given GID,
328 * @param gid the group ID
335 dbus_gid_t gid,
339 *info = _dbus_user_database_lookup_group (db, gid, NULL, error);