diff options
author | Heiko Hund <hhund@astaro.com> | 2010-07-07 16:45:36 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-07-09 13:09:31 +0200 |
commit | ec7adea0073a603f1ba40c45a931ec7eadab25d9 (patch) | |
tree | 5c0c319ada5f8f35408f42f4b0ada5fb5aee3a15 /src/libhydra/attributes/attribute_provider.h | |
parent | db4ad736becd342c9b9b926801324f5ea5ab20df (diff) | |
download | strongswan-ec7adea0073a603f1ba40c45a931ec7eadab25d9.tar.bz2 strongswan-ec7adea0073a603f1ba40c45a931ec7eadab25d9.tar.xz |
Added support for named attribute groups
Add the possibility to group attributes by a name and assign these
groups to connections. This allows a more granular configuration of
which client will receive what atrributes.
Diffstat (limited to 'src/libhydra/attributes/attribute_provider.h')
-rw-r--r-- | src/libhydra/attributes/attribute_provider.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libhydra/attributes/attribute_provider.h b/src/libhydra/attributes/attribute_provider.h index f8485cc6c..e4b4e13f3 100644 --- a/src/libhydra/attributes/attribute_provider.h +++ b/src/libhydra/attributes/attribute_provider.h @@ -56,12 +56,13 @@ struct attribute_provider_t { /** * Create an enumerator over attributes to hand out to a peer. * + * @param pool pool name to get attributes from * @param id peer ID * @param vip virtual IP to assign to peer, if any * @return enumerator (configuration_attribute_type_t, chunk_t) */ enumerator_t* (*create_attribute_enumerator)(attribute_provider_t *this, - identification_t *id, host_t *vip); + char *pool, identification_t *id, host_t *vip); }; #endif /** ATTRIBUTE_PROVIDER_H_ @}*/ |