diff options
author | Jeremy Allison <jra@samba.org> | 2000-03-10 19:50:03 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-03-10 19:50:03 +0000 |
commit | 5e22394654eba2ed5d01e81b165a044a59dd65ab (patch) | |
tree | 5d2e03370ee24200bbe8b47b13109c47dc58e1c7 /source3/include/smb.h | |
parent | 83ee9372fc18eaef6d00fbc7c1fb68747e2303bb (diff) | |
download | samba-5e22394654eba2ed5d01e81b165a044a59dd65ab.tar.gz samba-5e22394654eba2ed5d01e81b165a044a59dd65ab.tar.bz2 samba-5e22394654eba2ed5d01e81b165a044a59dd65ab.zip |
Fixups for compiles with gcc flags -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual
Partially implemented rpc daemon redirect (needs more work).
Jeremy.
(This used to be commit a462191698fa589ceac4afd14c652adf699eccad)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r-- | source3/include/smb.h | 33 |
1 files changed, 3 insertions, 30 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 15b491239c..a179a7808e 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -171,8 +171,6 @@ implemented */ #define ERRbaddirectory 267 /* Invalid directory name in a path. */ #define ERRunknownipc 2142 -#define ERROR_ACCESS_DENIED (5) -#define ERROR_INVALID_HANDLE (6) #define ERROR_INVALID_PARAMETER (87) #define ERROR_INSUFFICIENT_BUFFER (122) #define ERROR_INVALID_NAME (123) @@ -618,9 +616,6 @@ struct dcinfo uchar md4pw[16]; /* md4(machine password) */ }; -#include "nt_printing.h" - -#include "ntdomain.h" typedef struct { @@ -640,18 +635,8 @@ typedef struct /* per-user authentication information on NT RPCs */ /* lkclXXXX - THIS SHOULD NOT BE HERE! */ struct dcinfo dc; - - NET_USER_INFO_3 usr; - } user_struct; -typedef struct -{ - uint32 pid; - uint16 vuid; - -} vuser_key; - enum {LPQ_QUEUED,LPQ_PAUSED,LPQ_SPOOLING,LPQ_PRINTING}; typedef struct _print_queue_struct @@ -1679,8 +1664,6 @@ struct pwd_info uchar sess_key[16]; }; -#include "rpc_creds.h" - struct ntdom_info { unsigned char sess_key[16]; /* Current session key. */ @@ -1694,20 +1677,10 @@ struct ntdom_info int max_xmit_frag; }; -struct msrpc_state -{ - fstring pipe_name; - struct user_creds usr; - struct ntdom_info nt; - - int fd; - BOOL redirect; - BOOL initialised; - char *inbuf; - char *outbuf; +#include "nt_printing.h" +#include "rpc_creds.h" +#include "ntdomain.h" - uint32 pid; -}; #include "client.h" #include "rpcclient.h" |