summaryrefslogtreecommitdiffstats
path: root/libcsoap/soap-server.h
diff options
context:
space:
mode:
authorGravatar m0gg2006-03-29 08:35:55 +0000
committerGravatar m0gg2006-03-29 08:35:55 +0000
commit06a83e24332e3bd95826fc156f728dea214b998e (patch)
tree88a337af5a9e6c2838127b9651f432f43c4db256 /libcsoap/soap-server.h
parent1226d884fde59c7daa76d12ab998d67bfee86842 (diff)
downloadcsoap-06a83e24332e3bd95826fc156f728dea214b998e.tar.gz
csoap-06a83e24332e3bd95826fc156f728dea214b998e.tar.bz2
Don't #include soap-admin.c
Diffstat (limited to 'libcsoap/soap-server.h')
-rw-r--r--libcsoap/soap-server.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/libcsoap/soap-server.h b/libcsoap/soap-server.h
index 89c5dbd..01f3e66 100644
--- a/libcsoap/soap-server.h
+++ b/libcsoap/soap-server.h
@@ -1,5 +1,5 @@
/******************************************************************
- * $Id: soap-server.h,v 1.9 2006/03/06 13:37:38 m0gg Exp $
+ * $Id: soap-server.h,v 1.10 2006/03/29 08:35:56 m0gg Exp $
*
* CSOAP Project: A SOAP client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -28,6 +28,14 @@
#include <libcsoap/soap-router.h>
#include <libcsoap/soap-ctx.h>
+typedef struct _SoapRouterNode
+{
+ char *context;
+ SoapRouter *router;
+ struct _SoapRouterNode *next;
+
+} SoapRouterNode;
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -66,6 +74,9 @@ herror_t soap_server_init_args(int argc, char *argv[]);
*/
int soap_server_register_router(SoapRouter * router, const char *context);
+SoapRouter *soap_server_find_router(const char *context);
+
+SoapRouterNode * soap_server_get_routers(void);
/**
Enters the server loop and starts to listen to