summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-08-13 05:26:33 +0000
committerTim Potter <tpot@samba.org>2001-08-13 05:26:33 +0000
commit432dbf7e24d40144282f307e3c279b62f92af88f (patch)
treea44a9f9c1af0e51034921f876e92fa30426d5f31
parente7630562c98c1bc9f3796365df9be58c9bd9c382 (diff)
downloadsamba-432dbf7e24d40144282f307e3c279b62f92af88f.tar.gz
samba-432dbf7e24d40144282f307e3c279b62f92af88f.tar.bz2
samba-432dbf7e24d40144282f307e3c279b62f92af88f.zip
Moved across definition of dos error types from smb.h to doserr.h
(This used to be commit 6c0dab85025dd7df9415edd627349fa8f1230de3)
-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);