src/server/safs/service.h

changeset 596
dc7cfde0f3bc
parent 184
a2a15ad6e4b9
equal deleted inserted replaced
595:2c316612f648 596:dc7cfde0f3bc
65 WSBool read_complete; 65 WSBool read_complete;
66 WSBool read_inprogress; 66 WSBool read_inprogress;
67 WSBool write_inprogress; 67 WSBool write_inprogress;
68 WSBool error; 68 WSBool error;
69 } AsyncSendRange; 69 } AsyncSendRange;
70
71 typedef struct IndexEntry {
72 char *name;
73 char *size_str;
74 char *lastmodified;
75 size_t size;
76 WSBool isdir;
77 } IndexEntry;
70 78
71 int send_file(pblock *pb, Session *sn, Request *rq); 79 int send_file(pblock *pb, Session *sn, Request *rq);
72 80
73 int service_hello(pblock *pb, Session *sn, Request *rq); 81 int service_hello(pblock *pb, Session *sn, Request *rq);
74 int service_ws_hello(pblock *pb, Session *sn, Request *rq); 82 int service_ws_hello(pblock *pb, Session *sn, Request *rq);

mercurial