summaryrefslogtreecommitdiff
path: root/source3/include/doserr.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/doserr.h')
-rw-r--r--source3/include/doserr.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/doserr.h b/source3/include/doserr.h
index 6e3ab91173..8043d3b372 100644
--- a/source3/include/doserr.h
+++ b/source3/include/doserr.h
@@ -25,6 +25,13 @@
#ifndef _DOSERR_H
#define _DOSERR_H
+/* Error classes */
+
+#define ERRDOS 0x01 /* Error is from the core DOS operating system set. */
+#define ERRSRV 0x02 /* Error is generated by the server network file manager.*/
+#define ERRHRD 0x03 /* Error is an hardware error. */
+#define ERRCMD 0xFF /* Command was not in the "SMB" format. */
+
/* SMB X/Open error codes for the ERRDOS error class */
#define ERRsuccess 0 /* No error */
#define ERRbadfunc 1 /* Invalid function (or system call) */