mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-07 16:01:30 +00:00
remove duplicated epoch handling, test it
This commit is contained in:
1 parent
7a2a3fc136
commit
b6a353cae9
7 files changed
+63
-80
No files matched your search
@@ -46,6 +46,9 @@ bool mg_path_is_sane(const struct mg_str path);
|
||||
// calling context; avoid in event handlers.
|
||||
void mg_delayms(unsigned int ms);
|
||||
|
||||
uint64_t mg_timegm(unsigned int year, unsigned int month, unsigned int day,
|
||||
unsigned int hour, unsigned int min, unsigned int sec);
|
||||
|
||||
// Packs four byte values into a uint32_t in big-endian order.
|
||||
// MG_U32(1, 2, 3, 4) == 0x01020304
|
||||
#define MG_U32(a, b, c, d) \
|
||||
|
||||
Reference in new issue
Block a user