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/attributes/attribute_provider.h | |
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/attributes/attribute_provider.h')
-rw-r--r-- | src/libstrongswan/attributes/attribute_provider.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstrongswan/attributes/attribute_provider.h b/src/libstrongswan/attributes/attribute_provider.h index 14721d921..f8485cc6c 100644 --- a/src/libstrongswan/attributes/attribute_provider.h +++ b/src/libstrongswan/attributes/attribute_provider.h @@ -57,10 +57,11 @@ struct attribute_provider_t { * Create an enumerator over attributes to hand out to a peer. * * @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); + identification_t *id, host_t *vip); }; #endif /** ATTRIBUTE_PROVIDER_H_ @}*/ |