Network Utilities. More...
#include "apt.h"Go to the source code of this file.
Functions | |
| APT_BEGIN_EXTERN_C apt_bool_t | apt_ip_get (char **addr, apr_pool_t *pool) |
| void | apt_ntp_time_get (apr_uint32_t *sec, apr_uint32_t *frac) |
Network Utilities.
| APT_BEGIN_EXTERN_C apt_bool_t apt_ip_get | ( | char ** | addr, | |
| apr_pool_t * | pool | |||
| ) |
Get the IP address (in numeric address string format) by hostname.
| addr | the IP address | |
| pool | the pool to allocate memory from |
| void apt_ntp_time_get | ( | apr_uint32_t * | sec, | |
| apr_uint32_t * | frac | |||
| ) |
Get current NTP time
| sec | the seconds of the NTP time to return | |
| frac | the fractions of the NTP time to return |
1.6.1