mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-14 10:20:01 +00:00
9 lines
324 B
C
9 lines
324 B
C
#pragma once
|
|
|
|
#include "net.h"
|
|
|
|
struct mg_connection *mg_sntp_connect(struct mg_mgr *mgr, const char *url,
|
|
mg_event_handler_t fn, void *fn_data);
|
|
void mg_sntp_send(struct mg_connection *c, unsigned long utc);
|
|
int mg_sntp_parse(const unsigned char *buf, size_t len, struct timeval *tv);
|