summaryrefslogtreecommitdiff
path: root/ot_http.h
diff options
context:
space:
mode:
Diffstat (limited to 'ot_http.h')
-rw-r--r--ot_http.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ot_http.h b/ot_http.h
index 1ccabfd..0f351c1 100644
--- a/ot_http.h
+++ b/ot_http.h
@@ -37,6 +37,9 @@ struct http_data {
37void http_interest_add(const int64_t s, struct http_data *cookie, int what); 37void http_interest_add(const int64_t s, struct http_data *cookie, int what);
38void http_interest_drop(const int64_t s, struct http_data *cookie, int what); 38void 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 */
41void http_close(const int64_t s);
42
40ssize_t http_handle_request(const int64_t s, struct ot_workstruct *ws); 43ssize_t http_handle_request(const int64_t s, struct ot_workstruct *ws);
41ssize_t http_sendiovecdata(const int64_t s, struct ot_workstruct *ws, size_t iovec_entries, struct iovec *iovector, int is_partial); 44ssize_t http_sendiovecdata(const int64_t s, struct ot_workstruct *ws, size_t iovec_entries, struct iovec *iovector, int is_partial);
42ssize_t http_issue_error(const int64_t s, struct ot_workstruct *ws, int code); 45ssize_t http_issue_error(const int64_t s, struct ot_workstruct *ws, int code);