#include "setup.h"#include <string.h>#include <errno.h>#include <curl/mprintf.h>#include "inet_ntop.h"Go to the source code of this file.
Defines | |
| #define | _MPRINTF_REPLACE |
| #define | IN6ADDRSZ 16 |
| #define | INADDRSZ 4 |
| #define | INT16SZ 2 |
Functions | |
| static char * | inet_ntop4 (const unsigned char *src, char *dst, size_t size) |
| char * | Curl_inet_ntop (int af, const void *src, char *buf, size_t size) |
| #define _MPRINTF_REPLACE |
Definition at line 40 of file inet_ntop.c.
| #define IN6ADDRSZ 16 |
Definition at line 55 of file inet_ntop.c.
| #define INADDRSZ 4 |
| #define INT16SZ 2 |
Definition at line 57 of file inet_ntop.c.
| char* Curl_inet_ntop | ( | int | af, | |
| const void * | src, | |||
| char * | buf, | |||
| size_t | size | |||
| ) |
Definition at line 210 of file inet_ntop.c.
References inet_ntop4(), NULL, and SET_ERRNO.
Referenced by bindlocal(), Curl_if2ip(), Curl_printable_address(), and ftp_state_use_port().
| static char* inet_ntop4 | ( | const unsigned char * | src, | |
| char * | dst, | |||
| size_t | size | |||
| ) | [static] |
Definition at line 67 of file inet_ntop.c.
References DEBUGASSERT, ENOSPC, inet_ntoa_r(), NULL, and SET_ERRNO.
Referenced by Curl_inet_ntop().
1.5.6