diff options
Diffstat (limited to 'ot_http.h')
| -rw-r--r-- | ot_http.h | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -37,6 +37,9 @@ struct http_data { | |||
| 37 | void http_interest_add(const int64_t s, struct http_data *cookie, int what); | 37 | void http_interest_add(const int64_t s, struct http_data *cookie, int what); |
| 38 | void http_interest_drop(const int64_t s, struct http_data *cookie, int what); | 38 | void http_interest_drop(const int64_t s, struct http_data *cookie, int what); |
| 39 | 39 | ||
| 40 | /* Close a connection and release everything that belongs to it */ | ||
| 41 | void http_close(const int64_t s); | ||
| 42 | |||
| 40 | ssize_t http_handle_request(const int64_t s, struct ot_workstruct *ws); | 43 | ssize_t http_handle_request(const int64_t s, struct ot_workstruct *ws); |
| 41 | ssize_t http_sendiovecdata(const int64_t s, struct ot_workstruct *ws, size_t iovec_entries, struct iovec *iovector, int is_partial); | 44 | ssize_t http_sendiovecdata(const int64_t s, struct ot_workstruct *ws, size_t iovec_entries, struct iovec *iovector, int is_partial); |
| 42 | ssize_t http_issue_error(const int64_t s, struct ot_workstruct *ws, int code); | 45 | ssize_t http_issue_error(const int64_t s, struct ot_workstruct *ws, int code); |
