Home
last modified time | relevance | path

Searched refs:UserDBIterator (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/shared/
Duserdb.h12 typedef struct UserDBIterator UserDBIterator; typedef
14 UserDBIterator *userdb_iterator_free(UserDBIterator *iterator);
15 DEFINE_TRIVIAL_CLEANUP_FUNC(UserDBIterator*, userdb_iterator_free);
44 int userdb_all(UserDBFlags flags, UserDBIterator **ret);
45 int userdb_iterator_get(UserDBIterator *iterator, UserRecord **ret);
49 int groupdb_all(UserDBFlags flags, UserDBIterator **ret);
50 int groupdb_iterator_get(UserDBIterator *iterator, GroupRecord **ret);
52 int membershipdb_by_user(const char *name, UserDBFlags flags, UserDBIterator **ret);
53 int membershipdb_by_group(const char *name, UserDBFlags flags, UserDBIterator **ret);
54 int membershipdb_all(UserDBFlags flags, UserDBIterator **ret);
[all …]
Duserdb.c31 struct UserDBIterator { struct
55 UserDBIterator* userdb_iterator_free(UserDBIterator *iterator) { in userdb_iterator_free() argument
104 static UserDBIterator* userdb_iterator_new(LookupWhat what, UserDBFlags flags) { in userdb_iterator_new()
105 UserDBIterator *i; in userdb_iterator_new()
110 i = new(UserDBIterator, 1); in userdb_iterator_new()
114 *i = (UserDBIterator) { in userdb_iterator_new()
124 static int userdb_iterator_block_nss_systemd(UserDBIterator *iterator) { in userdb_iterator_block_nss_systemd()
156 UserDBIterator *iterator = userdata; in userdb_on_query_reply()
351 UserDBIterator *iterator, in userdb_connect()
400 UserDBIterator *iterator, in userdb_start_query()
[all …]
Duser-record-show.c174 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in user_record_show()
527 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in group_record_show()
/systemd-251/src/userdb/
Duserwork.c164 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in vl_method_get_user_record()
299 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in vl_method_get_group_record()
362 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in vl_method_get_memberships()
Duserdbctl.c398 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in display_user()
707 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in display_group()
846 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in display_memberships()
876 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in display_memberships()
/systemd-251/src/nss-systemd/
Dnss-systemd.c96 UserDBIterator *iterator;
960 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in _nss_systemd_initgroups_dyn()