summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-18 18:59:45 +0200
committerGünther Deschner <gd@samba.org>2010-05-18 21:42:57 +0200
commit8478770c357f712f1fc3b8a0a9a5f9e730388abb (patch)
tree92f411b5b421e1526c9fd5dc4b469a9d3ea85826 /source3/rpc_client
parent5a6f3a06665ea343e2a212924cfce9edb358876f (diff)
downloadsamba-8478770c357f712f1fc3b8a0a9a5f9e730388abb.tar.gz
samba-8478770c357f712f1fc3b8a0a9a5f9e730388abb.tar.bz2
samba-8478770c357f712f1fc3b8a0a9a5f9e730388abb.zip
s3-rpc_client: move protos to init_samr.h
Guenther
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/init_samr.c1
-rw-r--r--source3/rpc_client/init_samr.h9
2 files changed, 10 insertions, 0 deletions
diff --git a/source3/rpc_client/init_samr.c b/source3/rpc_client/init_samr.c
index ecab28e719..e3bb3015c2 100644
--- a/source3/rpc_client/init_samr.c
+++ b/source3/rpc_client/init_samr.c
@@ -21,6 +21,7 @@
#include "../libcli/auth/libcli_auth.h"
#include "../lib/crypto/md5.h"
#include "../lib/crypto/arcfour.h"
+#include "rpc_client/init_samr.h"
/*************************************************************************
inits a samr_CryptPasswordEx structure
diff --git a/source3/rpc_client/init_samr.h b/source3/rpc_client/init_samr.h
new file mode 100644
index 0000000000..1ddaef6615
--- /dev/null
+++ b/source3/rpc_client/init_samr.h
@@ -0,0 +1,9 @@
+/* The following definitions come from rpc_client/init_samr.c */
+
+void init_samr_CryptPasswordEx(const char *pwd,
+ DATA_BLOB *session_key,
+ struct samr_CryptPasswordEx *pwd_buf);
+void init_samr_CryptPassword(const char *pwd,
+ DATA_BLOB *session_key,
+ struct samr_CryptPassword *pwd_buf);
+