1 #ifndef __ETH_SUPPORT_H
2 #define __ETH_SUPPORT_H
4 #include "include/iosupport.h"
7 #include "include/mcemu.h"
9 int active
; /* Activation flag */
10 char fname
[64]; /* File name (memorycard?.bin) */
11 u16 fid
; /* SMB File ID */
12 int flags
; /* Card flag */
13 vmc_spec_t specs
; /* Card specifications */
17 #define ERROR_ETH_NOT_STARTED 100
18 #define ERROR_ETH_MODULE_PS2DEV9_FAILURE 200
19 #define ERROR_ETH_MODULE_SMSUTILS_FAILURE 201
20 #define ERROR_ETH_MODULE_SMSTCPIP_FAILURE 202
21 #define ERROR_ETH_MODULE_SMSMAP_FAILURE 203
22 #define ERROR_ETH_MODULE_SMBMAN_FAILURE 204
23 #define ERROR_ETH_SMB_LOGON 300
24 #define ERROR_ETH_SMB_ECHO 301
25 #define ERROR_ETH_SMB_OPENSHARE 302
28 item_list_t
* ethGetObject(int initOnly
);