From 35c96827b4b1a453919184b554ba8b66bf0d3b42 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 8 Sep 2008 16:42:10 +0200 Subject: netapi: make add_GROUP_USERS_INFO_X_buffer non-static. Guenther (This used to be commit 87fc15d9b52bbb15550015cb106062d24c5674ba) --- source3/lib/netapi/netapi_private.h | 7 +++++++ source3/lib/netapi/user.c | 12 ++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/source3/lib/netapi/netapi_private.h b/source3/lib/netapi/netapi_private.h index 4d4c12ae85..e6a2eb8e99 100644 --- a/source3/lib/netapi/netapi_private.h +++ b/source3/lib/netapi/netapi_private.h @@ -77,4 +77,11 @@ void libnetapi_samr_close_connect_handle(struct libnetapi_ctx *ctx, struct policy_handle *handle); void libnetapi_samr_free(struct libnetapi_ctx *ctx); +NTSTATUS add_GROUP_USERS_INFO_X_buffer(TALLOC_CTX *mem_ctx, + uint32_t level, + const char *group_name, + uint32_t attributes, + uint8_t **buffer, + uint32_t *num_entries); + #endif diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c index ae8d2ecd89..4fe0aa04ab 100644 --- a/source3/lib/netapi/user.c +++ b/source3/lib/netapi/user.c @@ -2736,12 +2736,12 @@ WERROR NetUserModalsSet_l(struct libnetapi_ctx *ctx, /**************************************************************** ****************************************************************/ -static NTSTATUS add_GROUP_USERS_INFO_X_buffer(TALLOC_CTX *mem_ctx, - uint32_t level, - const char *group_name, - uint32_t attributes, - uint8_t **buffer, - uint32_t *num_entries) +NTSTATUS add_GROUP_USERS_INFO_X_buffer(TALLOC_CTX *mem_ctx, + uint32_t level, + const char *group_name, + uint32_t attributes, + uint8_t **buffer, + uint32_t *num_entries) { struct GROUP_USERS_INFO_0 u0; struct GROUP_USERS_INFO_1 u1; -- cgit