mirror of
https://github.com/curl/curl.git
synced 2026-08-04 21:26:17 +03:00
major connecting updates
This commit is contained in:
parent
56ff2aa059
commit
51ca5fcbe0
7 changed files with 269 additions and 281 deletions
15
lib/setup.h
15
lib/setup.h
|
|
@ -144,4 +144,19 @@ int fileno( FILE *stream);
|
|||
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Curl_addrinfo MUST be used for name resolving information.
|
||||
* Information regarding a single IP witin a Curl_addrinfo MUST be stored in
|
||||
* a Curl_ipconnect struct.
|
||||
*/
|
||||
#ifdef ENABLE_IPV6
|
||||
typedef struct addrinfo Curl_addrinfo;
|
||||
typedef struct addrinfo Curl_ipconnect;
|
||||
#else
|
||||
typedef struct hostent Curl_addrinfo;
|
||||
typedef struct in_addr Curl_ipconnect;
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue