summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-13 12:06:39 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-13 12:06:39 +0000
commit415e3c0cec198ee94710c3344766bf9273cdefd8 (patch)
tree372e1a11918ad4ab8faa4c190c0bb87aa2dac123
parent0704684614fc7ff501903d8d5d549b4e3f57935d (diff)
downloadsamba-415e3c0cec198ee94710c3344766bf9273cdefd8.tar.gz
samba-415e3c0cec198ee94710c3344766bf9273cdefd8.tar.bz2
samba-415e3c0cec198ee94710c3344766bf9273cdefd8.zip
added Enosuchshare and a lock_type enum
(This used to be commit 6927aa19052baba2dcfcdec7564dad1a17f4c562)
-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;