From 415e3c0cec198ee94710c3344766bf9273cdefd8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 13 Jan 2000 12:06:39 +0000 Subject: added Enosuchshare and a lock_type enum (This used to be commit 6927aa19052baba2dcfcdec7564dad1a17f4c562) --- source3/include/smb.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/include/smb.h') diff --git a/source3/include/smb.h b/source3/include/smb.h index 7b4e80ed4b..2139a38fe5 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -255,6 +255,7 @@ implemented */ #define ERRbadshare 32 /* Share mode on file conflict with open mode */ #define ERRlock 33 /* Lock request conflicts with existing lock */ #define ERRunsup 50 /* Request unsupported, returned by Win 95, RJS 20Jun98 */ +#define ERRnosuchshare 67 /* You specified an invalid share name */ #define ERRfilexists 80 /* File in operation already exists */ #define ERRcannotopen 110 /* Cannot open the file specified */ #define ERRunknownlevel 124 @@ -904,6 +905,9 @@ typedef enum P_LOCAL,P_GLOBAL,P_SEPARATOR,P_NONE } parm_class; +/* passed to br lock code */ +enum lock_type {READ_LOCK, WRITE_LOCK}; + struct enum_list { int value; char *name; -- cgit