summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-08 16:42:10 +0200
committerGünther Deschner <gd@samba.org>2008-09-11 14:28:19 +0200
commit35c96827b4b1a453919184b554ba8b66bf0d3b42 (patch)
tree4e985bb6e653c06191623b8e793fbbba963024a9 /source3
parent93eb9860c6e26bf53bb103e758c935987dba27c8 (diff)
downloadsamba-35c96827b4b1a453919184b554ba8b66bf0d3b42.tar.gz
samba-35c96827b4b1a453919184b554ba8b66bf0d3b42.tar.bz2
samba-35c96827b4b1a453919184b554ba8b66bf0d3b42.zip
netapi: make add_GROUP_USERS_INFO_X_buffer non-static.
Guenther (This used to be commit 87fc15d9b52bbb15550015cb106062d24c5674ba)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/netapi/netapi_private.h7
-rw-r--r--source3/lib/netapi/user.c12
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;