mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-19 19:40:56 +00:00
SJ timer API cleanup; added setInterval and clear*
Timers/intervals are now implemented on top of Mongoose. Got rid of all the platform-specific code (yay!) Added interval support and ability to clear previously added timeouts. PUBLISHED_FROM=93866dd80b95b0fa6e137d87f86138330e720154
This commit is contained in:
1 parent
3327e0e871
commit
8148b6d037
2 files changed
+22
-20
No files matched your search
@@ -1575,6 +1575,9 @@ void mg_close_conn(struct mg_connection *nc);
|
||||
void mg_if_get_conn_addr(struct mg_connection *nc, int remote,
|
||||
union socket_address *sa);
|
||||
|
||||
/* Associate a socket to a connection. */
|
||||
void mg_sock_set(struct mg_connection *nc, sock_t sock);
|
||||
|
||||
#endif /* CS_MONGOOSE_SRC_NET_IF_H_ */
|
||||
/*
|
||||
* Copyright (c) 2014 Cesanta Software Limited
|
||||
|
||||
Reference in new issue
Block a user