summaryrefslogtreecommitdiffhomepage
path: root/src/http-message.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/http-message.h')
-rw-r--r--src/http-message.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/http-message.h b/src/http-message.h
index b83df11..d36146f 100644
--- a/src/http-message.h
+++ b/src/http-message.h
@@ -59,7 +59,7 @@ typedef struct http_message_s *http_message_t;
/* Initialize the internal structure of the HTTP message */
extern http_message_t http_message_create (int response_code,
- const char *response_string);
+ const char *response_string);
/* Free up an _internal_ resources */
extern int http_message_destroy (http_message_t msg);
@@ -76,10 +76,10 @@ extern int http_message_send (http_message_t msg, int fd);
* add a new set of headers.
*/
extern int http_message_set_body (http_message_t msg,
- const char *body, size_t len);
+ const char *body, size_t len);
extern int http_message_set_response (http_message_t msg,
- int response_code,
- const char *response_string);
+ int response_code,
+ const char *response_string);
/*
* Set the headers for this HTTP message. Each string must be NUL ('\0')
@@ -88,6 +88,6 @@ extern int http_message_set_response (http_message_t msg,
* sent.
*/
extern int http_message_add_headers (http_message_t msg,
- char **headers, int num_headers);
+ char **headers, int num_headers);
#endif /* _TINYPROXY_HTTP_MESSAGE_H_ */