aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins/sql/sql_attribute.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-04-24 14:13:52 +0000
committerMartin Willi <martin@strongswan.org>2009-04-24 14:13:52 +0000
commit7f56b494616fca022b157eff393a0bfa19cf5e2b (patch)
treee2fd93668cbfab29b25fcf8a5498bc0bda4f73c6 /src/charon/plugins/sql/sql_attribute.c
parentda17b0169ab4d6eee644b7a612ecbd58be7ae4a7 (diff)
downloadstrongswan-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/sql/sql_attribute.c')
-rw-r--r--src/charon/plugins/sql/sql_attribute.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/charon/plugins/sql/sql_attribute.c b/src/charon/plugins/sql/sql_attribute.c
index 484085d11..4510645e1 100644
--- a/src/charon/plugins/sql/sql_attribute.c
+++ b/src/charon/plugins/sql/sql_attribute.c
@@ -265,6 +265,7 @@ sql_attribute_t *sql_attribute_create(database_t *db)
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.destroy = (void(*)(sql_attribute_t*))destroy;
this->db = db;