diff options
author | m0gg | 2006-12-03 17:30:57 +0000 |
---|---|---|
committer | m0gg | 2006-12-03 17:30:57 +0000 |
commit | c489665ace13d32f4959904b0215ed1021d0acf6 (patch) | |
tree | 7c9b3eb4d4d236a38e53be53d606c184b7192988 /nanohttp/nanohttp-mime.h | |
parent | 60881bf7b91a87d12d0b2e694a6aa0db0b8b6fda (diff) | |
download | csoap-c489665ace13d32f4959904b0215ed1021d0acf6.tar.gz csoap-c489665ace13d32f4959904b0215ed1021d0acf6.tar.bz2 |
Error codes moved
Diffstat (limited to 'nanohttp/nanohttp-mime.h')
-rwxr-xr-x | nanohttp/nanohttp-mime.h | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/nanohttp/nanohttp-mime.h b/nanohttp/nanohttp-mime.h index 894f6ce..b20a59b 100755 --- a/nanohttp/nanohttp-mime.h +++ b/nanohttp/nanohttp-mime.h @@ -3,7 +3,7 @@ * | \/ | | | | \/ | | _/ * |_''_| |_| |_''_| |_'/ PARSER * -* $Id: nanohttp-mime.h,v 1.12 2006/11/28 23:45:57 m0gg Exp $ +* $Id: nanohttp-mime.h,v 1.13 2006/12/03 17:30:57 m0gg Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003-2004 Ferhat Ayaz @@ -25,21 +25,32 @@ * * Email: ferhatayaz@yahoo.com ******************************************************************/ - #ifndef __nanohttp_mime_h #define __nanohttp_mime_h /** @file * * @author Ferhat Ayaz - * @version $Revision: 1.12 $ + * @version $Revision: 1.13 $ + * + * @see http://www.ietf.org/rfc/rfc2045.txt + * @see http://www.ietf.org/rfc/rfc2046.txt + * @see http://www.ietf.org/rfc/rfc4288.txt + * @see http://www.ietf.org/rfc/rfc4289.txt, + * + */ + +/** * - * @see http://www.ietf.org/rfc/rfc2045.txt, - * http://www.ietf.org/rfc/rfc2046.txt, - * http://www.ietf.org/rfc/rfc4288.txt, - * http://www.ietf.org/rfc/rfc4289.txt, + * MIME errors * */ +#define MIME_ERROR 1300 +#define MIME_ERROR_NO_BOUNDARY_PARAM (MIME_ERROR + 1) +#define MIME_ERROR_NO_START_PARAM (MIME_ERROR + 2) +#define MIME_ERROR_PARSE_ERROR (MIME_ERROR + 3) +#define MIME_ERROR_NO_ROOT_PART (MIME_ERROR + 4) +#define MIME_ERROR_NOT_MIME_MESSAGE (MIME_ERROR + 5) #ifdef __cplusplus extern "C" { |