Basic doc changes to keep up to date.
[samba.git] / source3 / include / smb.h
index 0be860d6a363f7c7f30c55ad6828695959aca014..b9dd13a802b8387162c1af883330bdbb44ca4ecd 100644 (file)
@@ -99,6 +99,9 @@ typedef unsigned int uint32;
 #define DEFAULT_PIPE_TIMEOUT 10000000 /* Ten seconds */
 #endif
 
+/* how long to wait for secondary SMB packets (seconds) */
+#define SMB_SECONDARY_WAIT 30
+
 /* debugging code */
 #ifndef SYSLOG
 #define DEBUG(level,body) ((DEBUGLEVEL>=(level))?(Debug1 body):0)
@@ -234,6 +237,15 @@ typedef char fstring[128];
 typedef fstring string;
 
 
+struct smb_passwd {
+       int smb_userid;
+       char *smb_name;
+       unsigned char *smb_passwd; /* Null if no password */
+       unsigned char *smb_nt_passwd; /* Null if no password */
+       /* Other fields / flags may be added later */
+};
+
+
 struct current_user {
   int cnum, id;
   int uid, gid;