aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/payloads/transform_substructure.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/payloads/transform_substructure.h')
-rw-r--r--Source/charon/payloads/transform_substructure.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/charon/payloads/transform_substructure.h b/Source/charon/payloads/transform_substructure.h
index ca4f2ee3d..f4ef42261 100644
--- a/Source/charon/payloads/transform_substructure.h
+++ b/Source/charon/payloads/transform_substructure.h
@@ -264,6 +264,18 @@ struct transform_substructure_s {
u_int16_t (*get_transform_id) (transform_substructure_t *this);
/**
+ * @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
+ * - OUT_OF_RES
+ * - SUCCESS in any case
+ */
+ status_t (*clone) (transform_substructure_t *this,transform_substructure_t **clone);
+
+ /**
* @brief Destroys an transform_substructure_t object.
*
* @param this transform_substructure_t object to destroy