-
Notifications
You must be signed in to change notification settings - Fork 51
/
SMB_test.h
27 lines (24 loc) · 1.4 KB
/
SMB_test.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//---------------------------------------------------------------------------
// File name: SMB_test.h
//---------------------------------------------------------------------------
#define SERVERLIST_MAX 16
typedef struct
{ // size = 1148
char Server_IP[16]; // IP address of this server
int Server_Port; // IP port for use with this server
char Username[256]; // Username for login to this server (NUL if anonymous)
char Password[256]; // Password for login to this server (ignore if anonymous)
int PasswordType; // PLAINTEXT_PASSWORD or HASHED_PASSWORD or NO_PASSWORD
u8 PassHash[32]; // Hashed password for this server (unused if anonymous)
int PassHash_f; // Flags hashing already performed if non-zero
int Server_Logon_f; // Flags successful logon to this server
char Client_ID[256]; // Unit name of ps2, in SMB traffic with this server
char Server_ID[256]; // Unit name of this server, as defined for SMB traffic
char Server_FBID[64]; // Name of this server for display in FileBrowser
} smbServerList_t; // uLE SMB ServerList entry type
int smbCurrentServer;
int smbServerListCount;
smbServerList_t smbServerList[SERVERLIST_MAX];
//---------------------------------------------------------------------------
// End of file
//---------------------------------------------------------------------------