summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-28 01:19:25 +0200
committerGünther Deschner <gd@samba.org>2010-05-28 02:49:36 +0200
commit30eeb1e3d90e93a52d81503d022218b7b6521071 (patch)
treed06ffe424dd10e4e388414c577b804e279af0c82 /source3/rpc_client
parentf888c82fe08f7bf624aad53c20aaa634662b36dd (diff)
downloadsamba-30eeb1e3d90e93a52d81503d022218b7b6521071.tar.gz
samba-30eeb1e3d90e93a52d81503d022218b7b6521071.tar.bz2
samba-30eeb1e3d90e93a52d81503d022218b7b6521071.zip
s3-rpc_client: move protos to init_netlogon.h
Guenther
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_netlogon.c1
-rw-r--r--source3/rpc_client/init_netlogon.c1
-rw-r--r--source3/rpc_client/init_netlogon.h5
3 files changed, 7 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_netlogon.c b/source3/rpc_client/cli_netlogon.c
index 781fa05dc5..28972c96fa 100644
--- a/source3/rpc_client/cli_netlogon.c
+++ b/source3/rpc_client/cli_netlogon.c
@@ -24,6 +24,7 @@
#include "../libcli/auth/libcli_auth.h"
#include "../librpc/gen_ndr/cli_netlogon.h"
#include "rpc_client/cli_netlogon.h"
+#include "rpc_client/init_netlogon.h"
/****************************************************************************
Wrapper function that uses the auth and auth2 calls to set up a NETLOGON
diff --git a/source3/rpc_client/init_netlogon.c b/source3/rpc_client/init_netlogon.c
index a1728834e7..445108a7d3 100644
--- a/source3/rpc_client/init_netlogon.c
+++ b/source3/rpc_client/init_netlogon.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "../libcli/auth/libcli_auth.h"
#include "../lib/crypto/arcfour.h"
+#include "rpc_client/init_netlogon.h"
/*************************************************************************
inits a netr_CryptPassword structure
diff --git a/source3/rpc_client/init_netlogon.h b/source3/rpc_client/init_netlogon.h
new file mode 100644
index 0000000000..d87a9ea493
--- /dev/null
+++ b/source3/rpc_client/init_netlogon.h
@@ -0,0 +1,5 @@
+/* The following definitions come from rpc_client/init_netlogon.c */
+
+void init_netr_CryptPassword(const char *pwd,
+ unsigned char session_key[16],
+ struct netr_CryptPassword *pwd_buf);