mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-01 16:09:01 +08:00
9 lines
308 B
C
9 lines
308 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);
|
|
int64_t mg_sntp_parse(const unsigned char *buf, size_t len);
|