diff options
author | Martin Willi <martin@strongswan.org> | 2007-09-26 14:02:21 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2007-09-26 14:02:21 +0000 |
commit | c295d0eb4b11a024d1607f6a80275f372c345c08 (patch) | |
tree | ec3b578e771898bbf3ca35c1ae43e77ffdcea9d9 /src/manager/lib/controller.h | |
parent | a9522e16003dd9f9fc7dc998a9017dbb41a65273 (diff) | |
download | strongswan-c295d0eb4b11a024d1607f6a80275f372c345c08.tar.bz2 strongswan-c295d0eb4b11a024d1607f6a80275f372c345c08.tar.xz |
refactored strongswan manager
removed buggy request parsing code, use ClearSilvers CGI kit instead
fixed CHILD_SA listing in manager (needs better design)
using secure XML communication through unix sockets
removed images with questionable (non-GPL) license
Diffstat (limited to 'src/manager/lib/controller.h')
-rw-r--r-- | src/manager/lib/controller.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/manager/lib/controller.h b/src/manager/lib/controller.h index fe6177513..5b39f559c 100644 --- a/src/manager/lib/controller.h +++ b/src/manager/lib/controller.h @@ -24,7 +24,6 @@ #define CONTROLLER_H_ #include "request.h" -#include "response.h" #include "context.h" typedef struct controller_t controller_t; @@ -35,7 +34,7 @@ typedef struct controller_t controller_t; * @param request http request * @param response http response */ -typedef void *(*controller_handler_t)(controller_t *this, request_t *request, response_t *response); +typedef void *(*controller_handler_t)(controller_t *this, request_t *request); /** * @brief Constructor function for a controller @@ -66,7 +65,6 @@ struct controller_t { * parameter not found in the request URL is set to NULL. * * @param request HTTP request - * @param response HTTP response * @param p1 first parameter * @param p2 second parameter * @param p3 third parameter @@ -74,7 +72,7 @@ struct controller_t { * @param p5 fifth parameter * @return */ - void (*handle)(controller_t *this, request_t *request, response_t *response, + void (*handle)(controller_t *this, request_t *request, char *a1, char *a2, char *a3, char *a4, char *a5); /** |