Network Utilities.
More...
Go to the source code of this file.
Get the IP address (in numeric address string format) by hostname.
- Parameters
-
addr | the IP address to return |
pool | the pool to allocate memory from |
apt_bool_t apt_ip_get_by_iface |
( |
const char * |
iface_name, |
|
|
char ** |
addr, |
|
|
apr_pool_t * |
pool |
|
) |
| |
Get the IP address (in numeric address string format) by network interface name.
- Parameters
-
iface_name | the network interface name (eth0, Local Area Connection, etc) |
addr | the IP address to return |
pool | the pool to allocate memory from |
void apt_ntp_time_get |
( |
apr_uint32_t * |
sec, |
|
|
apr_uint32_t * |
frac |
|
) |
| |
Get current NTP time
- Parameters
-
sec | the seconds of the NTP time to return |
frac | the fractions of the NTP time to return |