--- a/src/server/public/nsapi.h Sat Oct 17 21:17:34 2015 +0200 +++ b/src/server/public/nsapi.h Sat Oct 17 22:24:38 2015 +0200 @@ -1376,6 +1376,12 @@ #define protocol_uri2url http_uri2url #define protocol_uri2url_dynamic http_uri2url_dynamic + +NSAPI_PUBLIC void http_format_etag(Session *sn, Request *rq, char *etagp, int etaglen, off_t size, time_t mtime); +NSAPI_PUBLIC int http_check_preconditions(Session *sn, Request *rq, struct tm *mtm, const char *etag); +NSAPI_PUBLIC int http_set_finfo(Session *sn, Request *rq, struct stat *finfo); + + typedef void (*thrstartfunc)(void *); SYS_THREAD INTsysthread_start(int prio, int stksz, thrstartfunc fn, void *arg); NSAPI_PUBLIC void INTsysthread_sleep(int milliseconds);