iPXE
|
NTP management. More...
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <ipxe/ntp.h>
#include <ipxe/monojob.h>
#include <usr/ntpmgmt.h>
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
int | ntp (const char *hostname) |
Get time and date via NTP. More... | |
NTP management.
Definition in file ntpmgmt.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
int ntp | ( | const char * | hostname | ) |
Get time and date via NTP.
hostname | Hostname |
rc | Return status code |
Definition at line 45 of file ntpmgmt.c.
References monojob, monojob_wait(), NULL, rc, and start_ntp().
Referenced by ntp_close(), ntp_deliver(), ntp_exec(), ntp_expired(), ntp_request(), ntp_window_changed(), and start_ntp().