diff options
Diffstat (limited to 'nanohttp/nanohttp-stream.h')
-rwxr-xr-x | nanohttp/nanohttp-stream.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/nanohttp/nanohttp-stream.h b/nanohttp/nanohttp-stream.h index 7b0f0f8..b8b345c 100755 --- a/nanohttp/nanohttp-stream.h +++ b/nanohttp/nanohttp-stream.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-stream.h,v 1.3 2004/10/28 10:30:47 snowdrop Exp $ + * $Id: nanohttp-stream.h,v 1.4 2004/10/29 09:27:05 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003-2004 Ferhat Ayaz @@ -93,8 +93,12 @@ typedef struct http_input_stream int received; int content_length; int chunk_size; - byte_t connection_closed; - FILE *fd; + byte_t connection_closed;
+
+ /* file handling */ + FILE *fd;
+ char filename[255];
+ int deleteOnExit; /* default is 0 */ }http_input_stream_t; |