summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-19 23:15:22 +0200
committerGünther Deschner <gd@samba.org>2010-08-25 22:50:39 +0200
commite978a3d3f4974753f09fbafdd0cf3ad15209911f (patch)
treed018db4d53d5f288b9f9e9c1fec3d32b6d8dead1 /source3/rpc_client
parentaa54d239e2abee69f68be554e018fa578f4178af (diff)
downloadsamba-e978a3d3f4974753f09fbafdd0cf3ad15209911f.tar.gz
samba-e978a3d3f4974753f09fbafdd0cf3ad15209911f.tar.bz2
samba-e978a3d3f4974753f09fbafdd0cf3ad15209911f.zip
s3-lsa: separate out init_lsa headers.
Guenther
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_lsarpc.c1
-rw-r--r--source3/rpc_client/cli_samr.c1
-rw-r--r--source3/rpc_client/init_lsa.c1
-rw-r--r--source3/rpc_client/init_lsa.h6
4 files changed, 9 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c
index 72514e7f5e..823bdfac6a 100644
--- a/source3/rpc_client/cli_lsarpc.c
+++ b/source3/rpc_client/cli_lsarpc.c
@@ -25,6 +25,7 @@
#include "includes.h"
#include "../librpc/gen_ndr/cli_lsa.h"
#include "rpc_client/cli_lsarpc.h"
+#include "rpc_client/init_lsa.h"
/** @defgroup lsa LSA - Local Security Architecture
* @ingroup rpc_client
diff --git a/source3/rpc_client/cli_samr.c b/source3/rpc_client/cli_samr.c
index 8c1011293a..7f5e6fca4a 100644
--- a/source3/rpc_client/cli_samr.c
+++ b/source3/rpc_client/cli_samr.c
@@ -26,6 +26,7 @@
#include "../librpc/gen_ndr/cli_samr.h"
#include "rpc_client/cli_samr.h"
#include "../lib/crypto/arcfour.h"
+#include "rpc_client/init_lsa.h"
/* User change password */
diff --git a/source3/rpc_client/init_lsa.c b/source3/rpc_client/init_lsa.c
index 96775fd732..d2795dd65c 100644
--- a/source3/rpc_client/init_lsa.c
+++ b/source3/rpc_client/init_lsa.c
@@ -18,6 +18,7 @@
*/
#include "includes.h"
+#include "rpc_client/init_lsa.h"
/*******************************************************************
inits a structure.
diff --git a/source3/rpc_client/init_lsa.h b/source3/rpc_client/init_lsa.h
new file mode 100644
index 0000000000..f3586a3b59
--- /dev/null
+++ b/source3/rpc_client/init_lsa.h
@@ -0,0 +1,6 @@
+/* The following definitions come from rpc_client/init_lsa.c */
+
+void init_lsa_String(struct lsa_String *name, const char *s);
+void init_lsa_StringLarge(struct lsa_StringLarge *name, const char *s);
+void init_lsa_AsciiString(struct lsa_AsciiString *name, const char *s);
+void init_lsa_AsciiStringLarge(struct lsa_AsciiStringLarge *name, const char *s);