33 |
33 |
34 #ifdef __cplusplus |
34 #ifdef __cplusplus |
35 extern "C" { |
35 extern "C" { |
36 #endif |
36 #endif |
37 |
37 |
|
38 typedef struct HttpRange HttpRange; |
|
39 |
|
40 struct HttpRange { |
|
41 off_t begin; |
|
42 off_t end; |
|
43 HttpRange *next; |
|
44 }; |
|
45 |
|
46 |
38 int send_file(pblock *pb, Session *sn, Request *rq); |
47 int send_file(pblock *pb, Session *sn, Request *rq); |
39 |
48 |
40 int service_hello(pblock *pb, Session *sn, Request *rq); |
49 int service_hello(pblock *pb, Session *sn, Request *rq); |
41 |
50 |
42 int service_index(pblock *pb, Session *sn, Request *rq); |
51 int service_index(pblock *pb, Session *sn, Request *rq); |