diff options
| author | Yves-Alexis Perez <corsac@debian.org> | 2013-10-17 21:23:38 +0200 |
|---|---|---|
| committer | Yves-Alexis Perez <corsac@debian.org> | 2013-10-17 21:23:38 +0200 |
| commit | 9d37ad77ef660b92ea51b69d74e14f931d2a04e2 (patch) | |
| tree | d6bbb4a5fed1959f8675df9ee7c03713b543fcc9 /src/manager/controller/gateway_controller.c | |
| parent | 104f57d4b0fb6d7547d6898352eaa5fb4b222010 (diff) | |
| parent | e5ee4e7fcdd58b7d86bf1b458da2c63e8e19627b (diff) | |
| download | vyos-strongswan-9d37ad77ef660b92ea51b69d74e14f931d2a04e2.tar.gz vyos-strongswan-9d37ad77ef660b92ea51b69d74e14f931d2a04e2.zip | |
Merge tag 'v5.1.0-1' into sid
tag strongSwan 5.1.0-1
Diffstat (limited to 'src/manager/controller/gateway_controller.c')
| -rw-r--r-- | src/manager/controller/gateway_controller.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/manager/controller/gateway_controller.c b/src/manager/controller/gateway_controller.c index 39d344502..6c0257980 100644 --- a/src/manager/controller/gateway_controller.c +++ b/src/manager/controller/gateway_controller.c @@ -39,7 +39,7 @@ struct private_gateway_controller_t { }; -static void list(private_gateway_controller_t *this, request_t *request) +static void list(private_gateway_controller_t *this, fast_request_t *request) { enumerator_t *enumerator; char *name, *address; @@ -66,7 +66,7 @@ static void list(private_gateway_controller_t *this, request_t *request) request->render(request, "templates/gateway/list.cs"); } -static void _select(private_gateway_controller_t *this, request_t *request) +static void _select(private_gateway_controller_t *this, fast_request_t *request) { char *id; @@ -82,14 +82,14 @@ static void _select(private_gateway_controller_t *this, request_t *request) request->redirect(request, "gateway/list"); } -METHOD(controller_t, get_name, char*, +METHOD(fast_controller_t, get_name, char*, private_gateway_controller_t *this) { return "gateway"; } -METHOD(controller_t, handle, void, - private_gateway_controller_t *this, request_t *request, char *action, +METHOD(fast_controller_t, handle, void, + private_gateway_controller_t *this, fast_request_t *request, char *action, char *p2, char *p3, char *p4, char *p5) { if (!this->manager->logged_in(this->manager)) @@ -110,7 +110,7 @@ METHOD(controller_t, handle, void, request->redirect(request, "gateway/list"); } -METHOD(controller_t, destroy, void, +METHOD(fast_controller_t, destroy, void, private_gateway_controller_t *this) { free(this); @@ -119,7 +119,8 @@ METHOD(controller_t, destroy, void, /* * see header file */ -controller_t *gateway_controller_create(context_t *context, void *param) +fast_controller_t *gateway_controller_create(fast_context_t *context, + void *param) { private_gateway_controller_t *this; @@ -136,4 +137,3 @@ controller_t *gateway_controller_create(context_t *context, void *param) return &this->public.controller; } - |
