From c3fd98b25607d0f7f5977586d188f88ab226a9b8 Mon Sep 17 00:00:00 2001 From: m0gg Date: Tue, 21 Nov 2006 20:58:59 +0000 Subject: decoupling of nanohttp/libcsoap --- nanohttp/nanohttp-server.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nanohttp/nanohttp-server.h') diff --git a/nanohttp/nanohttp-server.h b/nanohttp/nanohttp-server.h index f132285..eb3a06b 100644 --- a/nanohttp/nanohttp-server.h +++ b/nanohttp/nanohttp-server.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-server.h,v 1.22 2006/11/19 09:40:14 m0gg Exp $ + * $Id: nanohttp-server.h,v 1.23 2006/11/21 20:59:03 m0gg Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -42,6 +42,7 @@ typedef void (*httpd_service) (httpd_conn_t *, hrequest_t *); typedef int (*httpd_auth) (hrequest_t * req, const char *user, const char *password); +#ifdef __NHTTP_INTERNAL struct service_statistics { unsigned long requests; unsigned long bytes_transmitted; @@ -49,6 +50,7 @@ struct service_statistics { struct timeval time; pthread_rwlock_t lock; }; +#endif /* * Service representation object -- cgit v1.1-32-gdbae