aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/attributes/attribute_provider.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2012-08-27 14:48:41 +0200
committerMartin Willi <martin@revosec.ch>2012-08-30 16:43:43 +0200
commitd55fe264d1dd33a2751aa75a6f814e153f6354d4 (patch)
tree794fa35496d7374c3f675b38a692045d880ab7d6 /src/libhydra/attributes/attribute_provider.h
parentfeb8550401c85218523c007f0d52a1c9bf006342 (diff)
downloadstrongswan-d55fe264d1dd33a2751aa75a6f814e153f6354d4.tar.bz2
strongswan-d55fe264d1dd33a2751aa75a6f814e153f6354d4.tar.xz
Pass all configured pool names to attribute provider enumerator
Diffstat (limited to 'src/libhydra/attributes/attribute_provider.h')
-rw-r--r--src/libhydra/attributes/attribute_provider.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libhydra/attributes/attribute_provider.h b/src/libhydra/attributes/attribute_provider.h
index 104e5ca29..327135ffe 100644
--- a/src/libhydra/attributes/attribute_provider.h
+++ b/src/libhydra/attributes/attribute_provider.h
@@ -57,13 +57,14 @@ struct attribute_provider_t {
/**
* Create an enumerator over attributes to hand out to a peer.
*
- * @param pool pool name to get attributes from
+ * @param pool list of pools names (char*) to query attributes from
* @param id peer ID
* @param vip list of virtual IPs (host_t*) to assign to peer
* @return enumerator (configuration_attribute_type_t, chunk_t)
*/
enumerator_t* (*create_attribute_enumerator)(attribute_provider_t *this,
- char *pool, identification_t *id, linked_list_t *vips);
+ linked_list_t *pools, identification_t *id,
+ linked_list_t *vips);
};
#endif /** ATTRIBUTE_PROVIDER_H_ @}*/