diff options
author | m0gg | 2006-11-19 09:40:14 +0000 |
---|---|---|
committer | m0gg | 2006-11-19 09:40:14 +0000 |
commit | 949a8d0b46d6baa9f42c2f8c3bd5e3bdc3596cbd (patch) | |
tree | 1dfd1fd7cc3cb62bf300ae62ad306a66e674dc20 /nanohttp/nanohttp-request.h | |
parent | aa366f7be60c02168422bb713ef0e5a447bf07ea (diff) | |
download | csoap-949a8d0b46d6baa9f42c2f8c3bd5e3bdc3596cbd.tar.gz csoap-949a8d0b46d6baa9f42c2f8c3bd5e3bdc3596cbd.tar.bz2 |
nanohttp admin patch; code cleanup
Diffstat (limited to 'nanohttp/nanohttp-request.h')
-rwxr-xr-x | nanohttp/nanohttp-request.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/nanohttp/nanohttp-request.h b/nanohttp/nanohttp-request.h index 03cea1e..d34466a 100755 --- a/nanohttp/nanohttp-request.h +++ b/nanohttp/nanohttp-request.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-request.h,v 1.7 2006/03/06 13:37:38 m0gg Exp $ + * $Id: nanohttp-request.h,v 1.8 2006/11/19 09:40:14 m0gg Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003-2004 Ferhat Ayaz @@ -24,8 +24,12 @@ #ifndef NANO_HTTP_REQUEST_H #define NANO_HTTP_REQUEST_H -#include <nanohttp/nanohttp-stream.h> -#include <nanohttp/nanohttp-mime.h> +struct request_statistics +{ + unsigned long bytes_transmitted; + unsigned long bytes_received; + struct timeval time; +}; /* request object @@ -39,6 +43,8 @@ typedef struct hrequest hpair_t *query; hpair_t *header; + struct request_statistics *statistics; + http_input_stream_t *in; content_type_t *content_type; attachments_t *attachments; |