Moved across definition of dos error types from smb.h to doserr.h
authorTim Potter <tpot@samba.org>
Mon, 13 Aug 2001 05:26:33 +0000 (05:26 +0000)
committerTim Potter <tpot@samba.org>
Mon, 13 Aug 2001 05:26:33 +0000 (05:26 +0000)
source/include/doserr.h
source/include/smb.h

index 6e3ab91173482a7a4282703ab2183bea0506f0f1..8043d3b372d487f8679f81f2a9773be802895a94 100644 (file)
 #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) */
index 9ff475c9cd3e8de990d259077a47998c1e47ff05..a4887e15293f5a6eba0396221c8a4db1843ca800 100644 (file)
@@ -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);