diff options
author | m0gg | 2007-11-03 22:40:09 +0000 |
---|---|---|
committer | m0gg | 2007-11-03 22:40:09 +0000 |
commit | 8a6946b18003fae6400a137389f0cb13d0ac4bd6 (patch) | |
tree | 1fb0e6f58de5596f8dae00998da18472fb4952a1 /nanohttp/nanohttp-error.h | |
parent | c1a7b2dabdc691139b744f0d4750f3b797b69073 (diff) | |
download | csoap-8a6946b18003fae6400a137389f0cb13d0ac4bd6.tar.gz csoap-8a6946b18003fae6400a137389f0cb13d0ac4bd6.tar.bz2 |
Split nanoHTTP and cSOAP logging
Diffstat (limited to 'nanohttp/nanohttp-error.h')
-rw-r--r-- | nanohttp/nanohttp-error.h | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/nanohttp/nanohttp-error.h b/nanohttp/nanohttp-error.h index 77e5721..775f079 100644 --- a/nanohttp/nanohttp-error.h +++ b/nanohttp/nanohttp-error.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-error.h,v 1.4 2006/12/10 19:21:06 m0gg Exp $ + * $Id: nanohttp-error.h,v 1.5 2007/11/03 22:40:11 m0gg Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003-2004 Ferhat Ayaz @@ -24,7 +24,7 @@ #ifndef __nanohttp_error_h #define __nanohttp_error_h -/** @file +/** @file nanohttp-error.h Error handling * * nanoHTTP error handling * @@ -55,38 +55,37 @@ * */ -/** - * - * Success flag - * +/** @defgroup NANOHTTP_ERRORS nanoHTTP errors + * @ingroup NANOHTTP */ -#define H_OK 0 +/**@{*/ -/** - * - * General errors - * +/** @defgroup NANOHTTP_GENERAL_ERROS General errors */ +/**@{*/ +#define H_OK 0 /**< Success flag */ + #define GENERAL_ERROR 1400 #define GENERAL_INVALID_PARAM (GENERAL_ERROR + 1) #define GENERAL_HEADER_PARSE_ERROR (GENERAL_ERROR + 2) +/**@}*/ -/** - * - * Thread errors - * +/** @defgroup NANOHTTP_THREAD_ERRORS Thread errors */ +/**@{*/ #define THREAD_ERROR 1500 #define THREAD_BEGIN_ERROR (THREAD_ERROR) +/**@}*/ -/** - * - * File errors - * +/** @defgroup NANOHTTP_FILE_ERRORS File errors */ +/**@{*/ #define FILE_ERROR 8000 #define FILE_ERROR_OPEN (FILE_ERROR + 1) #define FILE_ERROR_READ (FILE_ERROR + 2) +/**@}*/ + +/**@}*/ /** * @@ -119,7 +118,7 @@ extern int herror_code(herror_t err); /** * - * Returns the name of the function, where the error was produced. + * @return The name of the function, where the error was produced. * */ extern const char *herror_func(herror_t err); |