diff options
author | snowdrop | 2004-10-29 09:27:02 +0000 |
---|---|---|
committer | snowdrop | 2004-10-29 09:27:02 +0000 |
commit | 7b58a8fb0b95d6809fbe3e8c7dc7a05729b6c828 (patch) | |
tree | ebd31f5db83e2f94329dd25067cdc856feaf76f6 /nanohttp/nanohttp-stream.h | |
parent | d24d6ab7bbfda8e302af3a5cf8be62299d543c1a (diff) | |
download | csoap-7b58a8fb0b95d6809fbe3e8c7dc7a05729b6c828.tar.gz csoap-7b58a8fb0b95d6809fbe3e8c7dc7a05729b6c828.tar.bz2 |
added hoption feature
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; |