From bea4c73b46b94004743b120b4859c346e4e141eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Mon, 8 Sep 2008 16:42:10 +0200 Subject: [PATCH] netapi: make add_GROUP_USERS_INFO_X_buffer non-static. Guenther (cherry picked from commit 87fc15d9b52bbb15550015cb106062d24c5674ba) (cherry picked from commit 3e5b7707b1a30ff0d7bc3ed80dff78afdc192c0c) --- source/lib/netapi/netapi_private.h | 7 +++++++ source/lib/netapi/user.c | 12 ++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/source/lib/netapi/netapi_private.h b/source/lib/netapi/netapi_private.h index 4d4c12ae859..e6a2eb8e99f 100644 --- a/source/lib/netapi/netapi_private.h +++ b/source/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/source/lib/netapi/user.c b/source/lib/netapi/user.c index ae8d2ecd899..4fe0aa04ab1 100644 --- a/source/lib/netapi/user.c +++ b/source/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; -- 2.11.4.GIT