summaryrefslogtreecommitdiffstats
path: root/nsswitch/libwbclient/wbclient_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'nsswitch/libwbclient/wbclient_internal.h')
-rw-r--r--nsswitch/libwbclient/wbclient_internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nsswitch/libwbclient/wbclient_internal.h b/nsswitch/libwbclient/wbclient_internal.h
index becddacdf8..6d815c033d 100644
--- a/nsswitch/libwbclient/wbclient_internal.h
+++ b/nsswitch/libwbclient/wbclient_internal.h
@@ -24,6 +24,10 @@
struct wbcContext {
struct winbindd_context *winbindd_ctx;
+ uint32_t pw_cache_size; /* Number of cached passwd structs */
+ uint32_t pw_cache_idx; /* Position of the pwent context */
+ uint32_t gr_cache_size; /* Number of cached group structs */
+ uint32_t gr_cache_idx; /* Position of the grent context */
};
/* Private functions */
@@ -41,5 +45,6 @@ void *wbcAllocateMemory(size_t nelem, size_t elsize,
char *wbcStrDup(const char *str);
const char **wbcAllocateStringArray(int num_strings);
+struct wbcContext *wbcGetGlobalCtx(void);
#endif /* _WBCLIENT_INTERNAL_H */