summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-10-09 19:34:57 +0000
committerLuke Leighton <lkcl@samba.org>1998-10-09 19:34:57 +0000
commit4e004a0b5e7521a361444f6d67a3c2910c5688c2 (patch)
treeadf7366300306ca62e405ad45441f3e0036a34f9 /source3/include
parent755986764f5a6b0ec25c7f20fde0a80eb4d121ba (diff)
downloadsamba-4e004a0b5e7521a361444f6d67a3c2910c5688c2.tar.gz
samba-4e004a0b5e7521a361444f6d67a3c2910c5688c2.tar.bz2
samba-4e004a0b5e7521a361444f6d67a3c2910c5688c2.zip
basic client-side ntcreateX function (hard-wired values except filename)
(This used to be commit caeb99201a1471bd709b4e8f07c57e5caabf0795)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index b0c50cbca7..dec428a142 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -385,6 +385,7 @@ BOOL cli_rename(struct cli_state *cli, char *fname_src, char *fname_dst);
BOOL cli_unlink(struct cli_state *cli, char *fname);
BOOL cli_mkdir(struct cli_state *cli, char *dname);
BOOL cli_rmdir(struct cli_state *cli, char *dname);
+int cli_nt_create(struct cli_state *cli, char *fname);
int cli_open(struct cli_state *cli, char *fname, int flags, int share_mode);
BOOL cli_close(struct cli_state *cli, int fnum);
BOOL cli_lock(struct cli_state *cli, int fnum, uint32 offset, uint32 len, int timeout);
@@ -498,8 +499,8 @@ void E_old_pw_hash( unsigned char *p14, unsigned char *in, unsigned char *out);
void cred_hash1(unsigned char *out,unsigned char *in,unsigned char *key);
void cred_hash2(unsigned char *out,unsigned char *in,unsigned char *key);
void cred_hash3(unsigned char *out,unsigned char *in,unsigned char *key, int forw);
-void NTLMSSPhash( unsigned char hash[256], unsigned char const key[5]);
-void NTLMSSPcalc( unsigned char hash[256], unsigned char *data, int len);
+void NTLMSSPhash( unsigned char hash[258], unsigned char key[5]);
+void NTLMSSPcalc( unsigned char hash[258], unsigned char *data, int len);
void SamOEMhash( unsigned char *data, unsigned char *key, int val);
/*The following definitions come from libsmb/smbencrypt.c */