src/server/safs/service.h

changeset 104
a8acbb12f27c
parent 44
3da1f7b6847f
child 127
84e206063b64
equal deleted inserted replaced
103:d3b514e2ddbd 104:a8acbb12f27c
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);

mercurial