s3:winbind: Add async next_pwent
[gd/samba/.git] / source3 / winbindd / winbindd.h
index 773496e8ad82e82509875463f99f2cb2516411fc..454fea70e692cd823ab7240eb67eee03a34dcc34 100644 (file)
@@ -79,6 +79,13 @@ struct getent_state {
        fstring domain_name;
 };
 
+struct getpwent_state {
+       struct winbindd_domain *domain;
+       int next_user;
+       int num_users;
+       struct wbint_userinfo *users;
+};
+
 /* Storage for cached getpwent() user entries */
 
 struct getpwent_user {