mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-25 12:04:47 +00:00
update example
This commit is contained in:
1 parent
6cb1c3c0e9
commit
0897b0969d
4 files changed
+57
-40
No files matched your search
@@ -6,3 +6,5 @@ struct mg_connection *mg_sntp_connect(struct mg_mgr *mgr, const char *url,
|
||||
mg_event_handler_t fn, void *fn_data);
|
||||
void mg_sntp_request(struct mg_connection *c);
|
||||
int64_t mg_sntp_parse(const unsigned char *buf, size_t len);
|
||||
|
||||
uint64_t mg_now(void); // Return milliseconds since Epoch
|
||||
@@ -18,7 +18,6 @@ uint16_t mg_ntohs(uint16_t net);
|
||||
uint32_t mg_ntohl(uint32_t net);
|
||||
uint32_t mg_crc32(uint32_t crc, const char *buf, size_t len);
|
||||
uint64_t mg_millis(void); // Return milliseconds since boot
|
||||
uint64_t mg_now(void); // Return milliseconds since Epoch
|
||||
bool mg_path_is_sane(const struct mg_str path);
|
||||
|
||||
#define mg_htons(x) mg_ntohs(x)
|
||||
|
||||
Reference in new issue
Block a user