1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

sul: export sul-specific internal apis for special cases

Normally these apis are wrapped by the other public exports, but in the case
your code wants to use lws_sul standalone and may or may not be linked to lws
itself, the internal api level is more suited.
This commit is contained in:
Andy Green 2019-12-03 10:47:05 +00:00
parent efbab4c602
commit 3abc972190

View file

@ -251,4 +251,16 @@ lws_sul_schedule(struct lws_context *context, int tsi,
LWS_VISIBLE LWS_EXTERN void
lws_validity_confirmed(struct lws *wsi);
/*
* These are not normally needed, they're exported for the case there's code
* using lws_sul for which lws is an optional link dependency.
*/
LWS_VISIBLE LWS_EXTERN int
__lws_sul_insert(lws_dll2_owner_t *own, lws_sorted_usec_list_t *sul,
lws_usec_t us);
LWS_VISIBLE LWS_EXTERN lws_usec_t
__lws_sul_service_ripe(lws_dll2_owner_t *own, lws_usec_t usnow);
///@}