diff options
Diffstat (limited to 'Source/charon/encoding/payloads/transform_substructure.h')
-rw-r--r-- | Source/charon/encoding/payloads/transform_substructure.h | 9 |
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. |