This client implements the TCP version of the protocol of RFC 868.
Files | |
| file | clock_sync.c |
| TIME client implementation (license: GPLv2). | |
| file | clock_sync.h |
| TIME client header (license: GPLv2). | |
Modules | |
| Clock synchronization configuration | |
Typedefs | |
| typedef void(* | clock_sync_callback )(enum clock_sync_event evt) |
| The type of callback function used for issuing events. | |
Enumerations | |
| enum | clock_sync_event { CLOCK_SYNC_EVT_ERROR, CLOCK_SYNC_EVT_TIMEOUT, CLOCK_SYNC_EVT_SUCCESS } |
| The events generated by the clock synchronization. More... | |
Functions | |
| bool | clock_sync_start (clock_sync_callback callback) |
| Starts the clock synchronization. | |
| void | clock_sync_abort () |
| Aborts clock synchronization. | |
| enum clock_sync_event |
| bool clock_sync_start | ( | clock_sync_callback | callback | ) |
Starts the clock synchronization.
| [in] | callback | The callback function called for generated events. May be null. |
true if clock synchronization was started successfully, false on failure.
1.5.5