summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-error.h
diff options
context:
space:
mode:
authorGravatar m0gg2006-12-10 19:21:05 +0000
committerGravatar m0gg2006-12-10 19:21:05 +0000
commitf4c29af542bbded2fe36d9bdc80808c3a7f5d92b (patch)
tree4e131c9e14555cce9dcb9af7298d88953a230e7a /nanohttp/nanohttp-error.h
parenta1267cdc17db793dbd3d960d1da0b6cf397e2b3e (diff)
downloadcsoap-f4c29af542bbded2fe36d9bdc80808c3a7f5d92b.tar.gz
csoap-f4c29af542bbded2fe36d9bdc80808c3a7f5d92b.tar.bz2
nhttp client fix and documentation update
Diffstat (limited to 'nanohttp/nanohttp-error.h')
-rw-r--r--nanohttp/nanohttp-error.h22
1 files changed, 6 insertions, 16 deletions
diff --git a/nanohttp/nanohttp-error.h b/nanohttp/nanohttp-error.h
index 0ceb162..77e5721 100644
--- a/nanohttp/nanohttp-error.h
+++ b/nanohttp/nanohttp-error.h
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: nanohttp-error.h,v 1.3 2006/12/03 17:30:57 m0gg Exp $
+ * $Id: nanohttp-error.h,v 1.4 2006/12/10 19:21:06 m0gg Exp $
*
* CSOAP Project: A http client/server library in C
* Copyright (C) 2003-2004 Ferhat Ayaz
@@ -39,17 +39,19 @@
*
* Example:
*
+ * @code
* herror_t err;
*
- * if ((err = soap_client_invoke(...)) != H_OK)
+ * if ((err = http_client_invoke("http://somewhere")) != H_OK)
* {
* printf("Message: %s\n", herror_message(err));
* printf("Error code: %d\n", herror_code(err));
* printf("In function: %s\n", herror_func(err));
* herror_release(err);
* }
+ * @endcode
*
- * Note that you "must" call herror_release() to free the resources.
+ * Note that you MUST call herror_release() to free the resources.
*
*/
@@ -62,18 +64,6 @@
/**
*
- * XXX: Move this to nanohttp-url.h
- *
- * URL errors
- *
- */
-#define URL_ERROR 1100
-#define URL_ERROR_UNKNOWN_PROTOCOL (URL_ERROR + 1)
-#define URL_ERROR_NO_PROTOCOL (URL_ERROR + 2)
-#define URL_ERROR_NO_HOST (URL_ERROR + 3)
-
-/**
- *
* General errors
*
*/
@@ -100,7 +90,7 @@
/**
*
- * XXX: Remove me.
+ * @todo Remove me.
*
* Dummy deklaration to hide the implementation.
*