summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/smb.h4
1 files changed, 4 insertions, 0 deletions
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;