diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2005-08-15 03:54:31 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2005-08-15 03:54:31 +0000 |
commit | c0299e1868312e623c9b2ec6646cc7d1a5fe0f69 (patch) | |
tree | 83ea37f76e53ce502bbd813f7f93ed99d4df9efa /src/http_message.h | |
parent | 38f0b3a10354cd2297ae173a07ade3acd1aebd9a (diff) | |
download | tinyproxy-c0299e1868312e623c9b2ec6646cc7d1a5fe0f69.tar.gz tinyproxy-c0299e1868312e623c9b2ec6646cc7d1a5fe0f69.zip |
* [Indent] Ran Source Through indent
I re-indented the source code using indent with the following options:
indent -kr -bad -bap -nut -i8 -l80 -psl -sob -ss -ncs
There are now _no_ tabs in the source files, and all indentation is
eight spaces. Lines are 80 characters long, and the procedure type is
on it's own line. Read the indent manual for more information about
what each option means.
Diffstat (limited to '')
-rw-r--r-- | src/http_message.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/http_message.h b/src/http_message.h index deaf9d5..fe8c798 100644 --- a/src/http_message.h +++ b/src/http_message.h @@ -1,4 +1,4 @@ -/* $Id: http_message.h,v 1.2 2005-07-12 17:39:44 rjkaes Exp $ +/* $Id: http_message.h,v 1.3 2005-08-15 03:54:31 rjkaes Exp $ * * HTTP Message API * ---------------- @@ -55,7 +55,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); @@ -72,10 +72,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') @@ -84,7 +84,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_ */ +#endif /* _TINYPROXY_HTTP_MESSAGE_H_ */ |