Lines Matching refs:UserDBIterator
31 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()
521 UserDBIterator *iterator, in userdb_process()
621 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in userdb_by_name()
674 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in userdb_by_uid()
724 int userdb_all(UserDBFlags flags, UserDBIterator **ret) { in userdb_all()
725 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in userdb_all()
766 int userdb_iterator_get(UserDBIterator *iterator, UserRecord **ret) { in userdb_iterator_get()
894 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in groupdb_by_name()
945 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in groupdb_by_gid()
994 int groupdb_all(UserDBFlags flags, UserDBIterator **ret) { in groupdb_all()
995 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in groupdb_all()
1035 int groupdb_iterator_get(UserDBIterator *iterator, GroupRecord **ret) { in groupdb_iterator_get()
1137 static void discover_membership_dropins(UserDBIterator *i, UserDBFlags flags) { in discover_membership_dropins()
1150 int membershipdb_by_user(const char *name, UserDBFlags flags, UserDBIterator **ret) { in membershipdb_by_user()
1151 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in membershipdb_by_user()
1196 int membershipdb_by_group(const char *name, UserDBFlags flags, UserDBIterator **ret) { in membershipdb_by_group()
1197 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in membershipdb_by_group()
1255 int membershipdb_all(UserDBFlags flags, UserDBIterator **ret) { in membershipdb_all()
1256 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in membershipdb_all()
1289 UserDBIterator *iterator, in membershipdb_iterator_get()
1421 _cleanup_(userdb_iterator_freep) UserDBIterator *iterator = NULL; in membershipdb_by_group_strv()