From f0e6e5c37d5921450d030acb98c794f0cf7224a6 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 8 Jul 2011 09:45:05 +0200 Subject: s3:libsmb: remove unused enum smb_read_errors infrastructure metze --- source3/include/smb.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'source3/include/smb.h') 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 */ -- cgit