aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/encoding/payloads/transform_substructure.h
diff options
context:
space:
mode:
authorJan Hutter <jhutter@hsr.ch>2005-11-29 08:54:48 +0000
committerJan Hutter <jhutter@hsr.ch>2005-11-29 08:54:48 +0000
commita0753941e115fa450b3f750427a3755535cfe2fb (patch)
tree1a2da1490e442385d40abcb435cd2fc07e64c3ae /Source/charon/encoding/payloads/transform_substructure.h
parentc6ec246d0dd0028bb206a0261b200c197ab51714 (diff)
downloadstrongswan-a0753941e115fa450b3f750427a3755535cfe2fb.tar.bz2
strongswan-a0753941e115fa450b3f750427a3755535cfe2fb.tar.xz
- changed creation of iterator
- chanded all clone calls
Diffstat (limited to 'Source/charon/encoding/payloads/transform_substructure.h')
-rw-r--r--Source/charon/encoding/payloads/transform_substructure.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/charon/encoding/payloads/transform_substructure.h b/Source/charon/encoding/payloads/transform_substructure.h
index 39f642620..ac8684cc1 100644
--- a/Source/charon/encoding/payloads/transform_substructure.h
+++ b/Source/charon/encoding/payloads/transform_substructure.h
@@ -117,10 +117,10 @@ struct transform_substructure_t {
* by calling get_length()!
*
* @param this calling transform_substructure_t object
- * @param iterator the created iterator is stored at the pointed pointer
* @param[in] forward iterator direction (TRUE: front to end)
+ * @return created iterator_t object.
*/
- void (*create_transform_attribute_iterator) (transform_substructure_t *this,iterator_t **iterator, bool forward);
+ iterator_t * (*create_transform_attribute_iterator) (transform_substructure_t *this, bool forward);
/**
* @brief Adds a transform_attribute_t object to this object.
@@ -200,10 +200,9 @@ struct transform_substructure_t {
* @brief Clones an transform_substructure_t object.
*
* @param this transform_substructure_t object to clone
- * @param clone pointer to a transform_substructure_t object pointer
- * where the new object is stored to.
+ * @return cloned transform_substructure_t object
*/
- void (*clone) (transform_substructure_t *this,transform_substructure_t **clone);
+ transform_substructure_t* (*clone) (transform_substructure_t *this);
/**
* @brief Destroys an transform_substructure_t object.