ike: Create an enumerator for (un-)handled configuration attributes on IKE_SA

This commit is contained in:
Martin Willi
2014-06-16 15:59:17 +02:00
parent 5ae3221075
commit 9d257034d8
2 changed files with 32 additions and 0 deletions
+11
View File
@@ -989,6 +989,17 @@ struct ike_sa_t {
attribute_handler_t *handler,
configuration_attribute_type_t type, chunk_t data);
/**
* Create an enumerator over received configuration attributes.
*
* The resulting enumerator is over the configuration_attribute_type_t type,
* a value chunk_t followed by a bool flag. The boolean flag indicates if
* the attribute has been handled by an attribute handler.
*
* @return enumerator over type, value and the "handled" flag.
*/
enumerator_t* (*create_attribute_enumerator)(ike_sa_t *this);
/**
* Set local and remote host addresses to be used for IKE.
*