Go to the source code of this file.
Classes | |
struct | SMB_CP_dirent |
struct | SMB_Tree_Structure |
struct | SMB_Connect_Def |
Macros | |
#define | SMBlib_Error_Class(p) (p & 0x000000FF) |
#define | SMBlib_Error_Code(p) (((unsigned int)p & 0xFFFF0000) >>16) |
#define | SMBC_SUCCESS 0 |
#define | SMBC_ERRDOS 0x01 |
#define | SMBC_ERRSRV 0x02 |
#define | SMBC_ERRHRD 0x03 |
#define | SMBC_ERRCMD 0xFF |
#define | SMBS_BUFFERED 0x54 |
#define | SMBS_LOGGED 0x55 |
#define | SMBS_DISPLAYED 0x56 |
#define | SMBD_badfunc 0x01 |
#define | SMBD_badfile 0x02 |
#define | SMBD_badpath 0x03 |
#define | SMBD_nofids 0x04 |
#define | SMBD_noaccess 0x05 |
#define | SMBD_badfid 0x06 |
#define | SMBD_badmcb 0x07 |
#define | SMBD_nomem 0x08 |
#define | SMBD_badmem 0x09 |
#define | SMBD_badenv 0x0A |
#define | SMBD_badformat 0x0B |
#define | SMBD_badaccess 0x0C |
#define | SMBD_baddata 0x0D |
#define | SMBD_reserved 0x0E |
#define | SMBD_baddrive 0x0F |
#define | SMBD_remcd 0x10 |
#define | SMBD_diffdevice 0x11 |
#define | SMBD_nofiles 0x12 |
#define | SMBD_badshare 0x20 |
#define | SMBD_errlock 0x21 |
#define | SMBD_filexists 0x50 |
#define | SMBV_error 0x01 /* Generic error */ |
#define | SMBV_badpw 0x02 |
#define | SMBV_badtype 0x03 |
#define | SMBV_access 0x04 |
#define | SMBV_invnid 0x05 |
#define | SMBV_invnetname 0x06 |
#define | SMBV_invdevice 0x07 |
#define | SMBV_qfull 0x31 |
#define | SMBV_qtoobig 0x32 |
#define | SMBV_qeof 0x33 |
#define | SMBV_invpfid 0x34 |
#define | SMBV_paused 0x51 |
#define | SMBV_msgoff 0x52 |
#define | SMBV_noroom 0x53 |
#define | SMBV_rmuns 0x57 |
#define | SMBV_nosupport 0xFFFF |
#define | SMBH_nowrite 0x13 |
#define | SMBH_badunit 0x14 |
#define | SMBH_notready 0x15 |
#define | SMBH_badcmd 0x16 |
#define | SMBH_data 0x17 |
#define | SMBH_badreq 0x18 |
#define | SMBH_seek 0x19 |
#define | SMBH_badmedia 0x1A |
#define | SMBH_badsector 0x1B |
#define | SMBH_nopaper 0x1C |
#define | SMBH_write 0x1D |
#define | SMBH_read 0x1E |
#define | SMBH_general 0x1F |
#define | SMBH_badshare 0x20 |
#define | SMB_AMODE_WTRU 0x4000 |
#define | SMB_AMODE_NOCACHE 0x1000 |
#define | SMB_AMODE_COMPAT 0x0000 |
#define | SMB_AMODE_DENYRWX 0x0010 |
#define | SMB_AMODE_DENYW 0x0020 |
#define | SMB_AMODE_DENYRX 0x0030 |
#define | SMB_AMODE_DENYNONE 0x0040 |
#define | SMB_AMODE_OPENR 0x0000 |
#define | SMB_AMODE_OPENW 0x0001 |
#define | SMB_AMODE_OPENRW 0x0002 |
#define | SMB_AMODE_OPENX 0x0003 |
#define | SMB_AMODE_FCBOPEN 0x00FF |
#define | SMB_AMODE_LOCUNKN 0x0000 |
#define | SMB_AMODE_LOCMSEQ 0x0100 |
#define | SMB_AMODE_LOCMRAN 0x0200 |
#define | SMB_AMODE_LOCRAL 0x0300 |
#define | SMB_FA_ORD 0x00 |
#define | SMB_FA_ROF 0x01 |
#define | SMB_FA_HID 0x02 |
#define | SMB_FA_SYS 0x04 |
#define | SMB_FA_VOL 0x08 |
#define | SMB_FA_DIR 0x10 |
#define | SMB_FA_ARC 0x20 |
#define | SMB_P_Unknown -1 /* Hmmm, is this smart? */ |
#define | SMB_P_Core 0 |
#define | SMB_P_CorePlus 1 |
#define | SMB_P_DOSLanMan1 2 |
#define | SMB_P_LanMan1 3 |
#define | SMB_P_DOSLanMan2 4 |
#define | SMB_P_LanMan2 5 |
#define | SMB_P_DOSLanMan2_1 6 |
#define | SMB_P_LanMan2_1 7 |
#define | SMB_P_NT1 8 |
#define | SMBlibE_Success 0 |
#define | SMBlibE_Remote 1 /* Remote error, get more info from con */ |
#define | SMBlibE_BAD -1 |
#define | SMBlibE_LowerLayer 2 /* Lower layer error */ |
#define | SMBlibE_NotImpl 3 /* Function not yet implemented */ |
#define | SMBlibE_ProtLow 4 /* Protocol negotiated does not support req */ |
#define | SMBlibE_NoSpace 5 /* No space to allocate a structure */ |
#define | SMBlibE_BadParam 6 /* Bad parameters */ |
#define | SMBlibE_NegNoProt 7 /* None of our protocols was liked */ |
#define | SMBlibE_SendFailed 8 /* Sending an SMB failed */ |
#define | SMBlibE_RecvFailed 9 /* Receiving an SMB failed */ |
#define | SMBlibE_GuestOnly 10 /* Logged in as guest */ |
#define | SMBlibE_CallFailed 11 /* Call remote end failed */ |
#define | SMBlibE_ProtUnknown 12 /* Protocol unknown */ |
#define | SMBlibE_NoSuchMsg 13 /* Keep this up to date */ |
Typedefs | |
typedef struct SMB_Connect_Def * | SMB_Handle_Type |
typedef struct SMB_Tree_Structure * | SMB_Tree_Handle |
Variables | |
const char * | SMB_Prots [] |
Macro Definition Documentation
◆ SMB_AMODE_COMPAT
#define SMB_AMODE_COMPAT 0x0000 |
Definition at line 128 of file smblib-common.h.
◆ SMB_AMODE_DENYNONE
#define SMB_AMODE_DENYNONE 0x0040 |
Definition at line 132 of file smblib-common.h.
◆ SMB_AMODE_DENYRWX
#define SMB_AMODE_DENYRWX 0x0010 |
Definition at line 129 of file smblib-common.h.
◆ SMB_AMODE_DENYRX
#define SMB_AMODE_DENYRX 0x0030 |
Definition at line 131 of file smblib-common.h.
◆ SMB_AMODE_DENYW
#define SMB_AMODE_DENYW 0x0020 |
Definition at line 130 of file smblib-common.h.
◆ SMB_AMODE_FCBOPEN
#define SMB_AMODE_FCBOPEN 0x00FF |
Definition at line 137 of file smblib-common.h.
◆ SMB_AMODE_LOCMRAN
#define SMB_AMODE_LOCMRAN 0x0200 |
Definition at line 140 of file smblib-common.h.
◆ SMB_AMODE_LOCMSEQ
#define SMB_AMODE_LOCMSEQ 0x0100 |
Definition at line 139 of file smblib-common.h.
◆ SMB_AMODE_LOCRAL
#define SMB_AMODE_LOCRAL 0x0300 |
Definition at line 141 of file smblib-common.h.
◆ SMB_AMODE_LOCUNKN
#define SMB_AMODE_LOCUNKN 0x0000 |
Definition at line 138 of file smblib-common.h.
◆ SMB_AMODE_NOCACHE
#define SMB_AMODE_NOCACHE 0x1000 |
Definition at line 127 of file smblib-common.h.
◆ SMB_AMODE_OPENR
#define SMB_AMODE_OPENR 0x0000 |
Definition at line 133 of file smblib-common.h.
◆ SMB_AMODE_OPENRW
#define SMB_AMODE_OPENRW 0x0002 |
Definition at line 135 of file smblib-common.h.
◆ SMB_AMODE_OPENW
#define SMB_AMODE_OPENW 0x0001 |
Definition at line 134 of file smblib-common.h.
◆ SMB_AMODE_OPENX
#define SMB_AMODE_OPENX 0x0003 |
Definition at line 136 of file smblib-common.h.
◆ SMB_AMODE_WTRU
#define SMB_AMODE_WTRU 0x4000 |
Definition at line 126 of file smblib-common.h.
◆ SMB_FA_ARC
#define SMB_FA_ARC 0x20 |
Definition at line 151 of file smblib-common.h.
◆ SMB_FA_DIR
#define SMB_FA_DIR 0x10 |
Definition at line 150 of file smblib-common.h.
◆ SMB_FA_HID
#define SMB_FA_HID 0x02 |
Definition at line 147 of file smblib-common.h.
◆ SMB_FA_ORD
#define SMB_FA_ORD 0x00 |
Definition at line 145 of file smblib-common.h.
◆ SMB_FA_ROF
#define SMB_FA_ROF 0x01 |
Definition at line 146 of file smblib-common.h.
◆ SMB_FA_SYS
#define SMB_FA_SYS 0x04 |
Definition at line 148 of file smblib-common.h.
◆ SMB_FA_VOL
#define SMB_FA_VOL 0x08 |
Definition at line 149 of file smblib-common.h.
◆ SMB_P_Core
#define SMB_P_Core 0 |
Definition at line 156 of file smblib-common.h.
◆ SMB_P_CorePlus
#define SMB_P_CorePlus 1 |
Definition at line 157 of file smblib-common.h.
◆ SMB_P_DOSLanMan1
#define SMB_P_DOSLanMan1 2 |
Definition at line 158 of file smblib-common.h.
◆ SMB_P_DOSLanMan2
#define SMB_P_DOSLanMan2 4 |
Definition at line 160 of file smblib-common.h.
◆ SMB_P_DOSLanMan2_1
#define SMB_P_DOSLanMan2_1 6 |
Definition at line 162 of file smblib-common.h.
◆ SMB_P_LanMan1
#define SMB_P_LanMan1 3 |
Definition at line 159 of file smblib-common.h.
◆ SMB_P_LanMan2
#define SMB_P_LanMan2 5 |
Definition at line 161 of file smblib-common.h.
◆ SMB_P_LanMan2_1
#define SMB_P_LanMan2_1 7 |
Definition at line 163 of file smblib-common.h.
◆ SMB_P_NT1
#define SMB_P_NT1 8 |
Definition at line 164 of file smblib-common.h.
◆ SMB_P_Unknown
#define SMB_P_Unknown -1 /* Hmmm, is this smart? */ |
Definition at line 155 of file smblib-common.h.
◆ SMBC_ERRCMD
#define SMBC_ERRCMD 0xFF |
Definition at line 56 of file smblib-common.h.
◆ SMBC_ERRDOS
#define SMBC_ERRDOS 0x01 |
Definition at line 53 of file smblib-common.h.
◆ SMBC_ERRHRD
#define SMBC_ERRHRD 0x03 |
Definition at line 55 of file smblib-common.h.
◆ SMBC_ERRSRV
#define SMBC_ERRSRV 0x02 |
Definition at line 54 of file smblib-common.h.
◆ SMBC_SUCCESS
#define SMBC_SUCCESS 0 |
Definition at line 52 of file smblib-common.h.
◆ SMBD_badaccess
#define SMBD_badaccess 0x0C |
Definition at line 77 of file smblib-common.h.
◆ SMBD_baddata
#define SMBD_baddata 0x0D |
Definition at line 78 of file smblib-common.h.
◆ SMBD_baddrive
#define SMBD_baddrive 0x0F |
Definition at line 80 of file smblib-common.h.
◆ SMBD_badenv
#define SMBD_badenv 0x0A |
Definition at line 75 of file smblib-common.h.
◆ SMBD_badfid
#define SMBD_badfid 0x06 |
Definition at line 71 of file smblib-common.h.
◆ SMBD_badfile
#define SMBD_badfile 0x02 |
Definition at line 67 of file smblib-common.h.
◆ SMBD_badformat
#define SMBD_badformat 0x0B |
Definition at line 76 of file smblib-common.h.
◆ SMBD_badfunc
#define SMBD_badfunc 0x01 |
Definition at line 66 of file smblib-common.h.
◆ SMBD_badmcb
#define SMBD_badmcb 0x07 |
Definition at line 72 of file smblib-common.h.
◆ SMBD_badmem
#define SMBD_badmem 0x09 |
Definition at line 74 of file smblib-common.h.
◆ SMBD_badpath
#define SMBD_badpath 0x03 |
Definition at line 68 of file smblib-common.h.
◆ SMBD_badshare
#define SMBD_badshare 0x20 |
Definition at line 84 of file smblib-common.h.
◆ SMBD_diffdevice
#define SMBD_diffdevice 0x11 |
Definition at line 82 of file smblib-common.h.
◆ SMBD_errlock
#define SMBD_errlock 0x21 |
Definition at line 85 of file smblib-common.h.
◆ SMBD_filexists
#define SMBD_filexists 0x50 |
Definition at line 86 of file smblib-common.h.
◆ SMBD_noaccess
#define SMBD_noaccess 0x05 |
Definition at line 70 of file smblib-common.h.
◆ SMBD_nofids
#define SMBD_nofids 0x04 |
Definition at line 69 of file smblib-common.h.
◆ SMBD_nofiles
#define SMBD_nofiles 0x12 |
Definition at line 83 of file smblib-common.h.
◆ SMBD_nomem
#define SMBD_nomem 0x08 |
Definition at line 73 of file smblib-common.h.
◆ SMBD_remcd
#define SMBD_remcd 0x10 |
Definition at line 81 of file smblib-common.h.
◆ SMBD_reserved
#define SMBD_reserved 0x0E |
Definition at line 79 of file smblib-common.h.
◆ SMBH_badcmd
#define SMBH_badcmd 0x16 |
Definition at line 112 of file smblib-common.h.
◆ SMBH_badmedia
#define SMBH_badmedia 0x1A |
Definition at line 116 of file smblib-common.h.
◆ SMBH_badreq
#define SMBH_badreq 0x18 |
Definition at line 114 of file smblib-common.h.
◆ SMBH_badsector
#define SMBH_badsector 0x1B |
Definition at line 117 of file smblib-common.h.
◆ SMBH_badshare
#define SMBH_badshare 0x20 |
Definition at line 122 of file smblib-common.h.
◆ SMBH_badunit
#define SMBH_badunit 0x14 |
Definition at line 110 of file smblib-common.h.
◆ SMBH_data
#define SMBH_data 0x17 |
Definition at line 113 of file smblib-common.h.
◆ SMBH_general
#define SMBH_general 0x1F |
Definition at line 121 of file smblib-common.h.
◆ SMBH_nopaper
#define SMBH_nopaper 0x1C |
Definition at line 118 of file smblib-common.h.
◆ SMBH_notready
#define SMBH_notready 0x15 |
Definition at line 111 of file smblib-common.h.
◆ SMBH_nowrite
#define SMBH_nowrite 0x13 |
Definition at line 109 of file smblib-common.h.
◆ SMBH_read
#define SMBH_read 0x1E |
Definition at line 120 of file smblib-common.h.
◆ SMBH_seek
#define SMBH_seek 0x19 |
Definition at line 115 of file smblib-common.h.
◆ SMBH_write
#define SMBH_write 0x1D |
Definition at line 119 of file smblib-common.h.
◆ SMBlib_Error_Class
#define SMBlib_Error_Class | ( | p | ) | (p & 0x000000FF) |
Definition at line 44 of file smblib-common.h.
◆ SMBlib_Error_Code
#define SMBlib_Error_Code | ( | p | ) | (((unsigned int)p & 0xFFFF0000) >>16) |
Definition at line 48 of file smblib-common.h.
◆ SMBlibE_BAD
#define SMBlibE_BAD -1 |
Definition at line 176 of file smblib-common.h.
◆ SMBlibE_BadParam
#define SMBlibE_BadParam 6 /* Bad parameters */ |
Definition at line 181 of file smblib-common.h.
◆ SMBlibE_CallFailed
#define SMBlibE_CallFailed 11 /* Call remote end failed */ |
Definition at line 186 of file smblib-common.h.
◆ SMBlibE_GuestOnly
#define SMBlibE_GuestOnly 10 /* Logged in as guest */ |
Definition at line 185 of file smblib-common.h.
◆ SMBlibE_LowerLayer
#define SMBlibE_LowerLayer 2 /* Lower layer error */ |
Definition at line 177 of file smblib-common.h.
◆ SMBlibE_NegNoProt
#define SMBlibE_NegNoProt 7 /* None of our protocols was liked */ |
Definition at line 182 of file smblib-common.h.
◆ SMBlibE_NoSpace
#define SMBlibE_NoSpace 5 /* No space to allocate a structure */ |
Definition at line 180 of file smblib-common.h.
◆ SMBlibE_NoSuchMsg
#define SMBlibE_NoSuchMsg 13 /* Keep this up to date */ |
Definition at line 188 of file smblib-common.h.
◆ SMBlibE_NotImpl
#define SMBlibE_NotImpl 3 /* Function not yet implemented */ |
Definition at line 178 of file smblib-common.h.
◆ SMBlibE_ProtLow
#define SMBlibE_ProtLow 4 /* Protocol negotiated does not support req */ |
Definition at line 179 of file smblib-common.h.
◆ SMBlibE_ProtUnknown
#define SMBlibE_ProtUnknown 12 /* Protocol unknown */ |
Definition at line 187 of file smblib-common.h.
◆ SMBlibE_RecvFailed
#define SMBlibE_RecvFailed 9 /* Receiving an SMB failed */ |
Definition at line 184 of file smblib-common.h.
◆ SMBlibE_Remote
#define SMBlibE_Remote 1 /* Remote error, get more info from con */ |
Definition at line 175 of file smblib-common.h.
◆ SMBlibE_SendFailed
#define SMBlibE_SendFailed 8 /* Sending an SMB failed */ |
Definition at line 183 of file smblib-common.h.
◆ SMBlibE_Success
#define SMBlibE_Success 0 |
Definition at line 174 of file smblib-common.h.
◆ SMBS_BUFFERED
#define SMBS_BUFFERED 0x54 |
Definition at line 60 of file smblib-common.h.
◆ SMBS_DISPLAYED
#define SMBS_DISPLAYED 0x56 |
Definition at line 62 of file smblib-common.h.
◆ SMBS_LOGGED
#define SMBS_LOGGED 0x55 |
Definition at line 61 of file smblib-common.h.
◆ SMBV_access
#define SMBV_access 0x04 |
Definition at line 93 of file smblib-common.h.
◆ SMBV_badpw
#define SMBV_badpw 0x02 |
Definition at line 91 of file smblib-common.h.
◆ SMBV_badtype
#define SMBV_badtype 0x03 |
Definition at line 92 of file smblib-common.h.
◆ SMBV_error
#define SMBV_error 0x01 /* Generic error */ |
Definition at line 90 of file smblib-common.h.
◆ SMBV_invdevice
#define SMBV_invdevice 0x07 |
Definition at line 96 of file smblib-common.h.
◆ SMBV_invnetname
#define SMBV_invnetname 0x06 |
Definition at line 95 of file smblib-common.h.
◆ SMBV_invnid
#define SMBV_invnid 0x05 |
Definition at line 94 of file smblib-common.h.
◆ SMBV_invpfid
#define SMBV_invpfid 0x34 |
Definition at line 100 of file smblib-common.h.
◆ SMBV_msgoff
#define SMBV_msgoff 0x52 |
Definition at line 102 of file smblib-common.h.
◆ SMBV_noroom
#define SMBV_noroom 0x53 |
Definition at line 103 of file smblib-common.h.
◆ SMBV_nosupport
#define SMBV_nosupport 0xFFFF |
Definition at line 105 of file smblib-common.h.
◆ SMBV_paused
#define SMBV_paused 0x51 |
Definition at line 101 of file smblib-common.h.
◆ SMBV_qeof
#define SMBV_qeof 0x33 |
Definition at line 99 of file smblib-common.h.
◆ SMBV_qfull
#define SMBV_qfull 0x31 |
Definition at line 97 of file smblib-common.h.
◆ SMBV_qtoobig
#define SMBV_qtoobig 0x32 |
Definition at line 98 of file smblib-common.h.
◆ SMBV_rmuns
#define SMBV_rmuns 0x57 |
Definition at line 104 of file smblib-common.h.
Typedef Documentation
◆ SMB_Handle_Type
typedef struct SMB_Connect_Def* SMB_Handle_Type |
Definition at line 203 of file smblib-common.h.
◆ SMB_Tree_Handle
typedef struct SMB_Tree_Structure* SMB_Tree_Handle |
Definition at line 205 of file smblib-common.h.
Variable Documentation
◆ SMB_Prots
|
extern |
Definition at line 29 of file find_password.c.
Referenced by init_challenge(), main(), and SMB_Figure_Protocol().