25 lines
567 B
C
25 lines
567 B
C
![]() |
|
|||
|
#ifndef NTPCLIENT_DEFINES_123_INCLUDED
|
|||
|
#define NTPCLIENT_DEFINES_123_INCLUDED
|
|||
|
|
|||
|
|
|||
|
#ifdef __cplusplus
|
|||
|
extern "C" {
|
|||
|
#endif
|
|||
|
/************************************************************************/
|
|||
|
|
|||
|
/** <20><><EFBFBD>ض˿ڣ<CBBF><DAA3><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>(s)<29><><EFBFBD><EFBFBD><EFBFBD>Դ<EFBFBD><D4B4><EFBFBD><EFBFBD><EFBFBD>NTP<54><50><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IP<49><50><EFBFBD>Ƿ<EFBFBD><C7B7><EFBFBD>ϵͳʱ<CDB3><CAB1>, <20><><EFBFBD>سɹ<D8B3><C9B9><EFBFBD><EFBFBD><EFBFBD> **/
|
|||
|
int send_ntp_data( short int udp_local_port,int cycle_time, int probe_count,
|
|||
|
char *hostname, int set_clock_if );
|
|||
|
|
|||
|
int sntp_init( void );
|
|||
|
int sntp_release( void );
|
|||
|
|
|||
|
/************************************************************************/
|
|||
|
#ifdef __cplusplus
|
|||
|
}
|
|||
|
#endif
|
|||
|
|
|||
|
|
|||
|
#endif
|