1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

added Enosuchshare and a lock_type enum

(This used to be commit 6927aa19052baba2dcfcdec7564dad1a17f4c562)
This commit is contained in:
Andrew Tridgell 2000-01-13 12:06:39 +00:00
parent 0704684614
commit 415e3c0cec

View File

@ -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;