1374 char *http_uri2url_dynamic(const char *prefix, const char *suffix, |
1374 char *http_uri2url_dynamic(const char *prefix, const char *suffix, |
1375 Session *sn, Request *rq); |
1375 Session *sn, Request *rq); |
1376 #define protocol_uri2url http_uri2url |
1376 #define protocol_uri2url http_uri2url |
1377 #define protocol_uri2url_dynamic http_uri2url_dynamic |
1377 #define protocol_uri2url_dynamic http_uri2url_dynamic |
1378 |
1378 |
|
1379 |
|
1380 NSAPI_PUBLIC void http_format_etag(Session *sn, Request *rq, char *etagp, int etaglen, off_t size, time_t mtime); |
|
1381 NSAPI_PUBLIC int http_check_preconditions(Session *sn, Request *rq, struct tm *mtm, const char *etag); |
|
1382 NSAPI_PUBLIC int http_set_finfo(Session *sn, Request *rq, struct stat *finfo); |
|
1383 |
|
1384 |
1379 typedef void (*thrstartfunc)(void *); |
1385 typedef void (*thrstartfunc)(void *); |
1380 SYS_THREAD INTsysthread_start(int prio, int stksz, thrstartfunc fn, void *arg); |
1386 SYS_THREAD INTsysthread_start(int prio, int stksz, thrstartfunc fn, void *arg); |
1381 NSAPI_PUBLIC void INTsysthread_sleep(int milliseconds); |
1387 NSAPI_PUBLIC void INTsysthread_sleep(int milliseconds); |
1382 |
1388 |
1383 #define systhread_start INTsysthread_start |
1389 #define systhread_start INTsysthread_start |