summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/doserr.h7
-rw-r--r--source3/include/smb.h4
2 files changed, 7 insertions, 4 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) */
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 9ff475c9cd..a4887e1529 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1125,10 +1125,6 @@ struct bitmap {
#define SMB_SUCCESS 0 /* The request was successful. */
-#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. */
#ifdef WITH_DFS
void dfs_unlogin(void);