diff options
author | Martin Willi <martin@strongswan.org> | 2009-11-17 14:51:50 +0100 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-11-17 14:51:50 +0100 |
commit | b5a2055fb1b88ea4abb97334d89e311c9ceaa7d4 (patch) | |
tree | eb71f0e63c8859e6fd7d7d59559984feda61a441 /src/libstrongswan/plugins/attr_sql/sql_attribute.c | |
parent | e6cf06027572382cc8d326ee3ccd265ff7e522e0 (diff) | |
download | strongswan-b5a2055fb1b88ea4abb97334d89e311c9ceaa7d4.tar.bz2 strongswan-b5a2055fb1b88ea4abb97334d89e311c9ceaa7d4.tar.xz |
Give plugins more control of which configuration attributes to request, and pass received attributes back to the requesting handler
Diffstat (limited to 'src/libstrongswan/plugins/attr_sql/sql_attribute.c')
-rw-r--r-- | src/libstrongswan/plugins/attr_sql/sql_attribute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/attr_sql/sql_attribute.c b/src/libstrongswan/plugins/attr_sql/sql_attribute.c index ab6a799e8..2dd909981 100644 --- a/src/libstrongswan/plugins/attr_sql/sql_attribute.c +++ b/src/libstrongswan/plugins/attr_sql/sql_attribute.c @@ -341,7 +341,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.provider.create_attribute_enumerator = (enumerator_t*(*)(attribute_provider_t*, identification_t *id, host_t *host))enumerator_create_empty; this->public.destroy = (void(*)(sql_attribute_t*))destroy; this->db = db; |