summaryrefslogtreecommitdiffstats
path: root/nanohttp
diff options
context:
space:
mode:
authorGravatar m0gg2006-12-13 08:26:01 +0000
committerGravatar m0gg2006-12-13 08:26:01 +0000
commit304352e44922ca33c44f74aed0efdd2a19017482 (patch)
tree1e692bdaa310a15fc30a71520249477015906c35 /nanohttp
parenta24d40afbeb977745649dc84af82282535f14d24 (diff)
downloadcsoap-304352e44922ca33c44f74aed0efdd2a19017482.tar.gz
csoap-304352e44922ca33c44f74aed0efdd2a19017482.tar.bz2
Documentation fix
Diffstat (limited to 'nanohttp')
-rw-r--r--nanohttp/nanohttp-client.h24
-rw-r--r--nanohttp/nanohttp-common.h4
2 files changed, 24 insertions, 4 deletions
diff --git a/nanohttp/nanohttp-client.h b/nanohttp/nanohttp-client.h
index c86f98e..9c72fe1 100644
--- a/nanohttp/nanohttp-client.h
+++ b/nanohttp/nanohttp-client.h
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: nanohttp-client.h,v 1.36 2006/12/13 08:18:53 m0gg Exp $
+ * $Id: nanohttp-client.h,v 1.37 2006/12/13 08:26:01 m0gg Exp $
*
* CSOAP Project: A http client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -277,6 +277,8 @@ extern void httpc_close_free(httpc_conn_t * conn);
*
* @see httpc_add_header
* @see httpc_add_headers
+ * @see http_general_header_fields
+ * @see http_request_header_fields
*
*/
extern int httpc_set_header(httpc_conn_t * conn, const char *key, const char *value);
@@ -289,6 +291,8 @@ extern int httpc_set_header(httpc_conn_t * conn, const char *key, const char *va
*
* @see httpc_set_header
* @see httpc_add_headers
+ * @see http_general_header_fields
+ * @see http_request_header_fields
*
*/
extern int httpc_add_header(httpc_conn_t *conn, const char *key, const char *value);
@@ -299,6 +303,8 @@ extern int httpc_add_header(httpc_conn_t *conn, const char *key, const char *val
*
* @see httpc_set_header
* @see httpc_add_header
+ * @see http_general_header_fields
+ * @see http_request_header_fields
*
*/
extern void httpc_add_headers(httpc_conn_t *conn, const hpair_t *values);
@@ -337,6 +343,8 @@ extern int httpc_set_basic_proxy_authorization(httpc_conn_t *conn, const char *u
*
* @return H_OK on success
*
+ * @see HTTP_REQUEST_GET
+ *
*/
extern herror_t httpc_get(httpc_conn_t * conn, hresponse_t ** out, const char *urlstr);
@@ -346,6 +354,9 @@ extern herror_t httpc_get(httpc_conn_t * conn, hresponse_t ** out, const char *u
*
* @return H_OK on success or error flag
*
+ * @see HTTP_REQUEST_POST
+ * @see httpc_post_end
+ *
*/
extern herror_t httpc_post_begin(httpc_conn_t * conn, const char *url);
@@ -356,7 +367,8 @@ extern herror_t httpc_post_begin(httpc_conn_t * conn, const char *url);
*
* @return H_OK on success
*
- * @see httpc_post_end
+ * @see httpc_post_begin
+ * @see HTTP_REQUEST_POST
*
*/
extern herror_t httpc_post_end(httpc_conn_t * conn, hresponse_t ** out);
@@ -367,6 +379,8 @@ extern herror_t httpc_post_end(httpc_conn_t * conn, hresponse_t ** out);
*
* @return H_OK on success or error flag
*
+ * @see nanohttp_mime_page
+ *
*/
extern herror_t httpc_mime_begin(httpc_conn_t * conn, const char *url,
const char *related_start,
@@ -379,6 +393,8 @@ extern herror_t httpc_mime_begin(httpc_conn_t * conn, const char *url,
*
* @return H_OK on success
*
+ * @see nanohttp_mime_page
+ *
*/
extern herror_t httpc_mime_next(httpc_conn_t * conn,
const char *content_id,
@@ -391,6 +407,8 @@ extern herror_t httpc_mime_next(httpc_conn_t * conn,
*
* @return H_OK on success
*
+ * @see nanohttp_mime_page
+ *
*/
extern herror_t httpc_mime_end(httpc_conn_t * conn, hresponse_t ** out);
@@ -400,6 +418,8 @@ extern herror_t httpc_mime_end(httpc_conn_t * conn, hresponse_t ** out);
*
* @return H_OK on success
*
+ * @see nanohttp_mime_page
+ *
*/
extern herror_t httpc_mime_send_file(httpc_conn_t * conn,
const char *content_id,
diff --git a/nanohttp/nanohttp-common.h b/nanohttp/nanohttp-common.h
index 27036a3..204b751 100644
--- a/nanohttp/nanohttp-common.h
+++ b/nanohttp/nanohttp-common.h
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: nanohttp-common.h,v 1.45 2006/12/13 08:21:43 m0gg Exp $
+ * $Id: nanohttp-common.h,v 1.46 2006/12/13 08:26:01 m0gg Exp $
*
* CSOAP Project: A http client/server library in C
* Copyright (C) 2003-2004 Ferhat Ayaz
@@ -447,7 +447,7 @@ typedef enum _hreq_method
HTTP_REQUEST_UNKOWN
} hreq_method_t;
-/** @defgroup http_status HTTP status-codes
+/** @defgroup http_status_codes HTTP status-codes
*
* The Status-Code element is a 3-digit integer result code of the attempt to
* understand and satisfy the request. These codes are fully defined in section