Rev 9810 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9810 | Rev 9811 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | struct sockaddr *ai_addr; |
44 | struct sockaddr *ai_addr; |
45 | struct addrinfo *ai_next; |
45 | struct addrinfo *ai_next; |
46 | }; |
46 | }; |
47 | #pragma pack(pop) |
47 | #pragma pack(pop) |
Line -... | Line 48... | ||
- | 48 | ||
- | 49 | int networklib_init(); |
|
48 | 50 | ||
49 | DLLAPI int __stdcall inet_addr(const char* hostname); |
51 | extern int __stdcall (*inet_addr)(const char* hostname); |
50 | DLLAPI char* __stdcall inet_ntoa(int ip_addr); |
52 | extern char* __stdcall (*inet_ntoa)(int ip_addr); |
51 | DLLAPI int __stdcall getaddrinfo(const char* hostname, const char* servname, const struct addrinfo* hints, struct addrinfo** res); |
53 | extern int __stdcall (*getaddrinfo)(const char* hostname, const char* servname, const struct addrinfo* hints, struct addrinfo** res); |
Line 52... | Line 54... | ||
52 | DLLAPI void __stdcall freeaddrinfo(struct addrinfo* ai); |
54 | extern void __stdcall (*freeaddrinfo)(struct addrinfo* ai); |