aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/payloads/ike_header.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/payloads/ike_header.h')
-rw-r--r--Source/charon/payloads/ike_header.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/charon/payloads/ike_header.h b/Source/charon/payloads/ike_header.h
index 9aef9529a..57a0d637d 100644
--- a/Source/charon/payloads/ike_header.h
+++ b/Source/charon/payloads/ike_header.h
@@ -96,6 +96,15 @@ struct ike_header_s {
* Length of the whole IKEv2-Message (header and all payloads)
*/
u_int32_t length;
+
+ /**
+ * @brief Destroys a ike_haeder payload and all included substructures.
+ *
+ * @param this payload to destroy
+ * @return
+ * SUCCESS in any case
+ */
+ status_t (*destroy) (ike_header_t *this);
};
/**