summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-08 09:45:05 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-08 14:09:08 +0200
commitf0e6e5c37d5921450d030acb98c794f0cf7224a6 (patch)
treeb83056a2a118fd6dc815f61bee23d31bae0646b5 /source3/include/smb.h
parent2b8e1480840db7ef8128352b1808a5ee91a03ca1 (diff)
downloadsamba-f0e6e5c37d5921450d030acb98c794f0cf7224a6.tar.gz
samba-f0e6e5c37d5921450d030acb98c794f0cf7224a6.tar.bz2
samba-f0e6e5c37d5921450d030acb98c794f0cf7224a6.zip
s3:libsmb: remove unused enum smb_read_errors infrastructure
metze
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 0c1a76eaf7..11664b32ac 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -71,19 +71,6 @@
/* how long to wait for secondary SMB packets (milli-seconds) */
#define SMB_SECONDARY_WAIT (60*1000)
-/* this defines the error codes that receive_smb can put in smb_read_error */
-enum smb_read_errors {
- SMB_READ_OK = 0,
- SMB_READ_TIMEOUT,
- SMB_READ_EOF,
- SMB_READ_ERROR,
- SMB_WRITE_ERROR, /* This error code can go into the client smb_rw_error. */
- SMB_READ_BAD_SIG,
- SMB_NO_MEMORY,
- SMB_DO_NOT_DO_TDIS, /* cli_close_connection() check for this when smbfs wants to keep tree connected */
- SMB_READ_BAD_DECRYPT
-};
-
#define DIR_STRUCT_SIZE 43
/* deny modes */