summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-23 03:13:08 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-23 03:13:08 +0200
commit90bfd9d9e12840be0fc2ebe431ec44ee92e8b585 (patch)
treedc35c456fb823c56df633248ba591389ee67dd5d
parent3be0f6ea56ed8e43cd287ed020e942efb675b87b (diff)
downloadsamba-90bfd9d9e12840be0fc2ebe431ec44ee92e8b585.tar.gz
samba-90bfd9d9e12840be0fc2ebe431ec44ee92e8b585.tar.bz2
samba-90bfd9d9e12840be0fc2ebe431ec44ee92e8b585.zip
Import new DOS error codes from Samba 3.
-rw-r--r--libcli/util/doserr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcli/util/doserr.h b/libcli/util/doserr.h
index 6c757a3fc2..12cca12bd6 100644
--- a/libcli/util/doserr.h
+++ b/libcli/util/doserr.h
@@ -5,6 +5,7 @@
Copyright (C) John H Terpstra 1996-2000
Copyright (C) Luke Kenneth Casson Leighton 1996-2000
Copyright (C) Paul Ashton 1998-2000
+ Copyright (C) Gerald (Jerry) Carter 2005
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -42,6 +43,7 @@
#define ERRnomem 8 /* Out of memory */
#define ERRbadmem 9 /* Invalid memory block address */
#define ERRbadenv 10 /* Invalid environment */
+#define ERRbadformat 11 /* Bad Format */
#define ERRbadaccess 12 /* Invalid open mode */
#define ERRbaddata 13 /* Invalid data (only from ioctl call) */
#define ERRres 14 /* reserved */
@@ -58,6 +60,7 @@
#define ERRfilexists 80 /* File in operation already exists */
#define ERRinvalidparam 87
#define ERRcannotopen 110 /* Cannot open the file specified */
+#define ERRbufferoverflow 111
#define ERRinsufficientbuffer 122
#define ERRinvalidname 123 /* Invalid name */
#define ERRunknownlevel 124
@@ -138,6 +141,7 @@
#define ERRuseMPX 250 /* temporarily unable to use raw mode, use MPX mode */
#define ERRuseSTD 251 /* temporarily unable to use raw mode, use standard mode */
#define ERRcontMPX 252 /* resume MPX mode */
+#define ERRbadPW /* reserved */
#define ERRnosupport 0xFFFF
#define ERRunknownsmb 22 /* from NT 3.5 response */