Changeset 402658b1 for benchmark/io/http/protocol.hfa
- Timestamp:
- Jan 13, 2021, 10:23:07 PM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 9153e53
- Parents:
- bace538 (diff), a00bc5b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/io/http/protocol.hfa
rbace538 r402658b1 1 1 #pragma once 2 3 struct io_cancellation; 2 4 3 5 enum HttpCode { … … 14 16 int answer_error( int fd, HttpCode code ); 15 17 int answer_header( int fd, size_t size ); 18 int answer_plain( int fd, char buffer [], size_t size ); 19 int answer_empty( int fd ); 16 20 17 [HttpCode code, bool closed, * const char file, size_t len] http_read(int fd, []char buffer, size_t len );21 [HttpCode code, bool closed, * const char file, size_t len] http_read(int fd, []char buffer, size_t len, io_cancellation *); 18 22 19 23 void sendfile( int pipe[2], int fd, int ans_fd, size_t count );
Note: See TracChangeset
for help on using the changeset viewer.