Tizen RT Libs&Environment  v1.0 D5
ntpclient.h File Reference

APIs for NTP Client. More...

#include <tinyara/config.h>
#include <netinet/in.h>
Include dependency graph for ntpclient.h:

Go to the source code of this file.

Data Structures

struct  ntpc_server_conn_s
 Structure of NTP server's connection information. More...
 
struct  ntpc_server_s
 Structure of NTP server information. More...
 

Macros

#define MAX_NTP_SERVER_NUM   5
 
#define MIN_NTP_POLL_INTERVAL_SECS   10 /* 10 seconds */
 
#define MAX_NTP_POLL_INTERVAL_SECS   (24 * 60 * 60) /* 24 hours */
 
#define EXTERN   extern
 

Enumerations

Functions

int ntpc_start (struct ntpc_server_conn_s *server_list, uint32_t num_of_servers, uint32_t interval_secs, void *link_error_cb)
 ntpc_start() starts the NTP client daemon. More...
 
int ntpc_stop (void)
 ntpc_stop() stops the NTP client daemon. More...
 
int ntpc_get_status (void)
 ntpc_get_status() gets NTP client daemon's status value. More...
 

Detailed Description

APIs for NTP Client.

Definition in file ntpclient.h.