diff options
Diffstat (limited to 'include/request.h')
-rw-r--r-- | include/request.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/request.h b/include/request.h index e319e91a..73ee0468 100644 --- a/include/request.h +++ b/include/request.h @@ -18,7 +18,9 @@ request_result uw_request(uw_request_context, uw_context, char *body, size_t body_len, void (*on_success)(uw_context), void (*on_failure)(uw_context), void *logger_data, uw_logger log_error, uw_logger log_debug, - int sock); + int sock, + int (*send)(int sockfd, const void *buf, ssize_t len), + int (*close)(int fd)); uw_context uw_request_new_context(void *logger_data, uw_logger log_error, uw_logger log_debug); |