summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-08-27 21:53:15 +0200
committerVolker Lendecke <vl@samba.org>2009-08-29 19:42:27 +0200
commit10e9df2975f9630a9fc9474fc810107bc7680f0f (patch)
tree1d84ca5876ee354fdb8f67326f63401641cede66 /source3/winbindd/winbindd.h
parent2555c12bcefa212d482c9acaa5ae87b6107fa1a2 (diff)
downloadsamba-10e9df2975f9630a9fc9474fc810107bc7680f0f.tar.gz
samba-10e9df2975f9630a9fc9474fc810107bc7680f0f.tar.bz2
samba-10e9df2975f9630a9fc9474fc810107bc7680f0f.zip
s3:winbind: Add async wb_next_grent
Diffstat (limited to 'source3/winbindd/winbindd.h')
-rw-r--r--source3/winbindd/winbindd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd.h b/source3/winbindd/winbindd.h
index d199481a22..b61017e513 100644
--- a/source3/winbindd/winbindd.h
+++ b/source3/winbindd/winbindd.h
@@ -68,6 +68,7 @@ struct winbindd_cli_state {
struct getent_state *getgrent_state; /* State for getgrent() */
struct getpwent_state *pwent_state; /* State for getpwent() */
+ struct getgrent_state *grent_state; /* State for getgrent() */
};
/* State between get{pw,gr}ent() calls */
@@ -87,6 +88,13 @@ struct getpwent_state {
struct wbint_userinfo *users;
};
+struct getgrent_state {
+ struct winbindd_domain *domain;
+ int next_group;
+ int num_groups;
+ struct wbint_Principal *groups;
+};
+
/* Storage for cached getpwent() user entries */
struct getpwent_user {