|
NetSurf
|
internet structures and defines More...
Go to the source code of this file.
Macros | |
| #define | EAFNOSUPPORT WSAEAFNOSUPPORT |
| #define | ns_close_socket closesocket |
Functions | |
| int | inet_aton (const char *cp, struct in_addr *inp) |
| int | inet_pton (int af, const char *src, void *dst) |
internet structures and defines
This allows the obtaining of standard bsd sockets and associated functions in a uniform way despite any oddities in headers and supported API between OS.
Definition in file inet.h.
| int inet_aton | ( | const char * | cp, |
| struct in_addr * | inp | ||
| ) |
Definition at line 489 of file utils.c.
Referenced by inet_pton(), and urldb__host_is_ip_address().
| int inet_pton | ( | int | af, |
| const char * | src, | ||
| void * | dst | ||
| ) |
Definition at line 512 of file utils.c.
References EAFNOSUPPORT, and inet_aton().
Referenced by urldb__host_is_ip_address().