diff options
author | Martin Willi <martin@strongswan.org> | 2007-09-14 14:07:30 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2007-09-14 14:07:30 +0000 |
commit | c01f7bf989dedcc61e4e812fd57d6d73997cfd85 (patch) | |
tree | e50601b98d290e941b0ea2ab9ac1769dc6f9519a /src/manager/lib/dispatcher.h | |
parent | 15a9d460c05ac73dfae41bc8a66b07f0c2a48328 (diff) | |
download | strongswan-c01f7bf989dedcc61e4e812fd57d6d73997cfd85.tar.bz2 strongswan-c01f7bf989dedcc61e4e812fd57d6d73997cfd85.tar.xz |
added subnets of CHILD_SAs to xml interface
a first design of Managers IKE_SA list page
Diffstat (limited to 'src/manager/lib/dispatcher.h')
-rw-r--r-- | src/manager/lib/dispatcher.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/manager/lib/dispatcher.h b/src/manager/lib/dispatcher.h index 5119a1eab..f46e5f32d 100644 --- a/src/manager/lib/dispatcher.h +++ b/src/manager/lib/dispatcher.h @@ -40,6 +40,9 @@ struct dispatcher_t { /** * @brief Register a controller to the dispatcher. * + * The first controller added serves as default controller. Client's + * get redirected to it if no other controller matches. + * * @param constructor constructor function to the conntroller * @param param param to pass to constructor */ @@ -70,9 +73,11 @@ struct dispatcher_t { * The context constructor is invoked to create a session context for * each session. * + * @param timeout session timeout * @param constructor construction function for session context * @param param parameter to supply to context constructor */ -dispatcher_t *dispatcher_create(context_constructor_t constructor, void *param); +dispatcher_t *dispatcher_create(int timeout, + context_constructor_t constructor, void *param); #endif /* DISPATCHER_H_ */ |