diff options
author | Tim Potter <tpot@samba.org> | 2001-08-13 05:26:33 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-08-13 05:26:33 +0000 |
commit | 6c0dab85025dd7df9415edd627349fa8f1230de3 (patch) | |
tree | 14e136409e9fbe45be2ce11b519267eae68d9757 /source/include | |
parent | 577f6065f6c6b0cfbd7f8cfd11d28a0962a6d221 (diff) | |
download | samba-6c0dab85025dd7df9415edd627349fa8f1230de3.tar.gz samba-6c0dab85025dd7df9415edd627349fa8f1230de3.tar.xz samba-6c0dab85025dd7df9415edd627349fa8f1230de3.zip |
Moved across definition of dos error types from smb.h to doserr.h
Diffstat (limited to 'source/include')
-rw-r--r-- | source/include/doserr.h | 7 | ||||
-rw-r--r-- | source/include/smb.h | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/source/include/doserr.h b/source/include/doserr.h index 6e3ab911734..8043d3b372d 100644 --- a/source/include/doserr.h +++ b/source/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/source/include/smb.h b/source/include/smb.h index 9ff475c9cd3..a4887e15293 100644 --- a/source/include/smb.h +++ b/source/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); |