diff options
author | Yves-Alexis Perez <corsac@debian.org> | 2013-08-25 15:37:26 +0200 |
---|---|---|
committer | Yves-Alexis Perez <corsac@debian.org> | 2013-08-25 15:37:26 +0200 |
commit | 6b99c8d9cff7b3e8ae8f3204b99e7ea40f791349 (patch) | |
tree | 009fc492961e13860d2a4bc2de8caf2bbe2975e7 /src/manager/controller/ikesa_controller.c | |
parent | c83921a2b566aa9d55d8ccc7258f04fca6292ee6 (diff) | |
download | vyos-strongswan-6b99c8d9cff7b3e8ae8f3204b99e7ea40f791349.tar.gz vyos-strongswan-6b99c8d9cff7b3e8ae8f3204b99e7ea40f791349.zip |
Imported Upstream version 5.1.0
Diffstat (limited to 'src/manager/controller/ikesa_controller.c')
-rw-r--r-- | src/manager/controller/ikesa_controller.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/manager/controller/ikesa_controller.c b/src/manager/controller/ikesa_controller.c index 716d51a7a..df0e5f475 100644 --- a/src/manager/controller/ikesa_controller.c +++ b/src/manager/controller/ikesa_controller.c @@ -44,7 +44,7 @@ struct private_ikesa_controller_t { * read XML of a childsa element and fill template */ static void process_childsa(private_ikesa_controller_t *this, char *id, - enumerator_t *e, request_t *r) + enumerator_t *e, fast_request_t *r) { xml_t *xml; enumerator_t *e1, *e2; @@ -96,7 +96,7 @@ static void process_childsa(private_ikesa_controller_t *this, char *id, * read XML of a ikesa element and fill template */ static void process_ikesa(private_ikesa_controller_t *this, - enumerator_t *e, request_t *r) + enumerator_t *e, fast_request_t *r) { xml_t *xml; enumerator_t *e1, *e2; @@ -139,7 +139,7 @@ static void process_ikesa(private_ikesa_controller_t *this, } } -static void list(private_ikesa_controller_t *this, request_t *r) +static void list(private_ikesa_controller_t *this, fast_request_t *r) { gateway_t *gateway; xml_t *xml; @@ -173,14 +173,14 @@ static void list(private_ikesa_controller_t *this, request_t *r) } } -METHOD(controller_t, get_name, char*, +METHOD(fast_controller_t, get_name, char*, private_ikesa_controller_t *this) { return "ikesa"; } -METHOD(controller_t, handle, void, - private_ikesa_controller_t *this, request_t *request, char *action, +METHOD(fast_controller_t, handle, void, + private_ikesa_controller_t *this, fast_request_t *request, char *action, char *p2, char *p3, char *p4, char *p5) { if (!this->manager->logged_in(this->manager)) @@ -201,7 +201,7 @@ METHOD(controller_t, handle, void, return request->redirect(request, "ikesa/list"); } -METHOD(controller_t, destroy, void, +METHOD(fast_controller_t, destroy, void, private_ikesa_controller_t *this) { free(this); @@ -210,7 +210,7 @@ METHOD(controller_t, destroy, void, /* * see header file */ -controller_t *ikesa_controller_create(context_t *context, void *param) +fast_controller_t *ikesa_controller_create(fast_context_t *context, void *param) { private_ikesa_controller_t *this; @@ -227,4 +227,3 @@ controller_t *ikesa_controller_create(context_t *context, void *param) return &this->public.controller; } - |