diff options
author | Andrew Tridgell <tridge@samba.org> | 1996-07-18 10:20:51 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1996-07-18 10:20:51 +0000 |
commit | b6037f01a01e040e518eca0ea75c53a475e36b0c (patch) | |
tree | bd812ca3c94e0839602fd5f566ceb85291bfdeec /source3/include/smb.h | |
parent | 201fefd658bb16f689bb4d166fd690d199a44ef1 (diff) | |
download | samba-b6037f01a01e040e518eca0ea75c53a475e36b0c.tar.gz samba-b6037f01a01e040e518eca0ea75c53a475e36b0c.tar.bz2 samba-b6037f01a01e040e518eca0ea75c53a475e36b0c.zip |
minor cleanups ready for another release
(This used to be commit 153d324c7be345ae87f99e62123e9a7dbaf74aee)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r-- | source3/include/smb.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 0e9c9983d2..05924de35e 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -108,10 +108,16 @@ typedef unsigned int uint32; #else EXTERN int syslog_level; -#define DEBUG(level,body) ((DEBUGLEVEL>=(level))? \ - (syslog_level = (level), Debug1 body):0) +#define DEBUG(level,body) ((DEBUGLEVEL>=(level))? (syslog_level = (level), Debug1 body):0) #endif +/* this defines the error codes that receive_smb can put in smberrcode */ +#define SMBERR_OK 0 +#define SMBERR_TIMEOUT 1 +#define SMBERR_EOF 2 +#define SMBERR_ERROR 3 + + #define DIR_STRUCT_SIZE 43 /* these define all the command types recognised by the server - there |