21#define MYBYTE unsigned char
22#define MYWORD unsigned short
23#define MYDWORD unsigned int
26 #define strcasecmp _stricmp
27 #define _CRT_SECURE_NO_WARNINGS
28 #pragma comment(lib, "ws2_32.lib")
29 #pragma comment(lib, "iphlpapi.lib")
33#define my_inet_addr inet_addr
174char*
myTrim(
char*,
char*);
MYDWORD staticServers[MAX_SERVERS]
tftpConnType tftpConn[MAX_SERVERS]
MYDWORD allServers[MAX_SERVERS]
MYDWORD listenServers[MAX_SERVERS]
MYWORD listenPorts[MAX_SERVERS]
bool getSection(const char *, char *, MYBYTE, char *)
char * myTrim(char *, char *)
bool addServer(MYDWORD *, MYDWORD)
void getInterfaces(data1 *)
MYDWORD * findServer(MYDWORD *, MYDWORD)
FILE * openSection(const char *, MYBYTE, char *)
char * IP2String(char *, MYDWORD)
char * readSection(char *, FILE *)
void processRequest(LPVOID lpParam)
char * myGetToken(char *, MYBYTE)
void logMess(request *, MYBYTE)