int sm_sntp_get_event(struct sm_sntp_event_parms *eventp)
typedef struct sm_sntp_event_parms { tSMSNTPId sntp; /* in */ tSMEventId event; /* out */ } SM_SNTP_EVENT_PARMS;
the event will be signalled when a status change occurs on the SNTP client.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody SNTP Client API.