diff options
author | Martin Willi <martin@strongswan.org> | 2009-04-24 14:13:52 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-04-24 14:13:52 +0000 |
commit | 7f56b494616fca022b157eff393a0bfa19cf5e2b (patch) | |
tree | e2fd93668cbfab29b25fcf8a5498bc0bda4f73c6 /src/charon/plugins/stroke/stroke_attribute.c | |
parent | da17b0169ab4d6eee644b7a612ecbd58be7ae4a7 (diff) | |
download | strongswan-7f56b494616fca022b157eff393a0bfa19cf5e2b.tar.bz2 strongswan-7f56b494616fca022b157eff393a0bfa19cf5e2b.tar.xz |
attribute_manager supports attribute_handler's to handle configuration attributes via plugins
moved resolv.conf editing to a separate plugin (resolv_conf)
extended attribute_provider interface to hand out arbitrary attributes
moved strongswan.conf based dns/nbns configuration to a plugin (attr)
Diffstat (limited to 'src/charon/plugins/stroke/stroke_attribute.c')
-rw-r--r-- | src/charon/plugins/stroke/stroke_attribute.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/charon/plugins/stroke/stroke_attribute.c b/src/charon/plugins/stroke/stroke_attribute.c index 0ebc367fa..a3beb3a62 100644 --- a/src/charon/plugins/stroke/stroke_attribute.c +++ b/src/charon/plugins/stroke/stroke_attribute.c @@ -532,6 +532,7 @@ stroke_attribute_t *stroke_attribute_create() this->public.provider.acquire_address = (host_t*(*)(attribute_provider_t *this, char*, identification_t *,host_t *))acquire_address; this->public.provider.release_address = (bool(*)(attribute_provider_t *this, char*,host_t *, identification_t*))release_address; + this->public.provider.create_attribute_enumerator = (enumerator_t*(*)(attribute_provider_t*, identification_t *id))enumerator_create_empty; this->public.add_pool = (void(*)(stroke_attribute_t*, stroke_msg_t *msg))add_pool; this->public.del_pool = (void(*)(stroke_attribute_t*, stroke_msg_t *msg))del_pool; this->public.create_pool_enumerator = (enumerator_t*(*)(stroke_attribute_t*))create_pool_enumerator; |