From c489665ace13d32f4959904b0215ed1021d0acf6 Mon Sep 17 00:00:00 2001 From: m0gg Date: Sun, 3 Dec 2006 17:30:57 +0000 Subject: Error codes moved --- nanohttp/nanohttp-stream.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'nanohttp/nanohttp-stream.h') diff --git a/nanohttp/nanohttp-stream.h b/nanohttp/nanohttp-stream.h index cb37deb..1c27164 100755 --- a/nanohttp/nanohttp-stream.h +++ b/nanohttp/nanohttp-stream.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-stream.h,v 1.12 2006/11/23 15:27:33 m0gg Exp $ + * $Id: nanohttp-stream.h,v 1.13 2006/12/03 17:30:58 m0gg Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003-2004 Ferhat Ayaz @@ -50,6 +50,17 @@ * */ +/** + * + * Stream errors + * + */ +#define STREAM_ERROR 1200 +#define STREAM_ERROR_INVALID_TYPE (STREAM_ERROR + 1) +#define STREAM_ERROR_SOCKET_ERROR (STREAM_ERROR + 2) +#define STREAM_ERROR_NO_CHUNK_SIZE (STREAM_ERROR + 3) +#define STREAM_ERROR_WRONG_CHUNK_SIZE (STREAM_ERROR + 4) + /** * * Transfer types supported while -- cgit v1.1-32-gdbae