#include "setup.h"#include <string.h>#include <errno.h>#include "inet_pton.h"Go to the source code of this file.
Defines | |
| #define | IN6ADDRSZ 16 |
| #define | INADDRSZ 4 |
| #define | INT16SZ 2 |
Functions | |
| static int | inet_pton4 (const char *src, unsigned char *dst) |
| int | Curl_inet_pton (int af, const char *src, void *dst) |
| #define IN6ADDRSZ 16 |
Definition at line 40 of file inet_pton.c.
| #define INADDRSZ 4 |
Definition at line 41 of file inet_pton.c.
| #define INT16SZ 2 |
Definition at line 42 of file inet_pton.c.
| int Curl_inet_pton | ( | int | af, | |
| const char * | src, | |||
| void * | dst | |||
| ) |
Definition at line 71 of file inet_pton.c.
References inet_pton4(), and SET_ERRNO.
Referenced by bindlocal(), and Curl_getaddrinfo().
| static int inet_pton4 | ( | const char * | src, | |
| unsigned char * | dst | |||
| ) | [static] |
Definition at line 101 of file inet_pton.c.
References ch, INADDRSZ, and NULL.
Referenced by Curl_inet_pton().
1.5.6