Warmcat homepage andy@warmcat.com
libwebsockets
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1745905943, "reponame":"sai", "desc":"Sai lightweight distributed CI", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://warmcat.com/repo/sai", "f":3, "items": [ {"schema":"libjg2-1", "cid":"5c7275d57b8304158a01a4a1133eb739", "commit": {"type":"commit", "time": 1575370025, "time_ofs": 0, "oid_tree": { "oid": "f5fa5c69a89cd3bf22f119766c4c8b79788aec6c", "alias": []}, "oid":{ "oid": "3abc97219062604f3b4efb0ba8cb3ab135d3374b", "alias": []}, "msg": "sul: export sul-specific internal apis for special cases", "sig_commit": { "git_time": { "time": 1575370025, "offset": 0 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }, "sig_author": { "git_time": { "time": 1575370025, "offset": 0 }, "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" }}, "body": "sul: export sul-specific internal apis for special cases\n\nNormally these apis are wrapped by the other public exports, but in the case\nyour code wants to use lws_sul standalone and may or may not be linked to lws\nitself, the internal api level is more suited." , "diff": "diff --git a/include/libwebsockets/lws-timeout-timer.h b/include/libwebsockets/lws-timeout-timer.h\nindex 9a0f295..75f59dd 100644\n--- a/include/libwebsockets/lws-timeout-timer.h\n+++ b/include/libwebsockets/lws-timeout-timer.h\n@@ -251,4 +251,16 @@ lws_sul_schedule(struct lws_context *context, int tsi,\n LWS_VISIBLE LWS_EXTERN void\n lws_validity_confirmed(struct lws *wsi);\n \n+/*\n+ * These are not normally needed, they're exported for the case there's code\n+ * using lws_sul for which lws is an optional link dependency.\n+ */\n+\n+LWS_VISIBLE LWS_EXTERN int\n+__lws_sul_insert(lws_dll2_owner_t *own, lws_sorted_usec_list_t *sul,\n+\t\t lws_usec_t us);\n+\n+LWS_VISIBLE LWS_EXTERN lws_usec_t\n+__lws_sul_service_ripe(lws_dll2_owner_t *own, lws_usec_t usnow);\n+\n ///@}\n","s":{"c":1745905943,"u": 1956}} ],"g": 3323,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}