layout adjustment
[open-ps2-loader.git] / include / ethsupport.h
blob33dd4b1b153b1a73e368e31307ad01db4d2c033c
1 #ifndef __ETH_SUPPORT_H
2 #define __ETH_SUPPORT_H
4 #include "include/iosupport.h"
6 #ifdef VMC
7 #include "include/mcemu.h"
8 typedef struct {
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 */
14 } smb_vmc_infos_t;
15 #endif
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
27 void ethInit();
28 item_list_t* ethGetObject(int initOnly);
30 #endif