1610 |
1610 |
1611 // resource pool |
1611 // resource pool |
1612 ResourceData* resourcepool_lookup(Session *sn, Request *rq, const char *name, int flags); |
1612 ResourceData* resourcepool_lookup(Session *sn, Request *rq, const char *name, int flags); |
1613 void resourcepool_free(Session *sn, Request *rq, ResourceData *resource); |
1613 void resourcepool_free(Session *sn, Request *rq, ResourceData *resource); |
1614 |
1614 |
|
1615 // utils |
|
1616 NSAPI_PUBLIC char *util_html_escape(const char *s); |
|
1617 |
1615 // assert |
1618 // assert |
1616 void ws_log_assert(const char *file, const char *func, int line); |
1619 void ws_log_assert(const char *file, const char *func, int line); |
1617 #ifdef _DEBUG |
1620 #ifdef _DEBUG |
1618 #ifndef __FUNCTION__ |
1621 #ifndef __FUNCTION__ |
1619 #define __FUNCTION__ __func__ |
1622 #define __FUNCTION__ __func__ |