aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/config/proposal.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/config/proposal.h')
-rw-r--r--Source/charon/config/proposal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/charon/config/proposal.h b/Source/charon/config/proposal.h
index 48ed4ea79..e2a4856e9 100644
--- a/Source/charon/config/proposal.h
+++ b/Source/charon/config/proposal.h
@@ -237,6 +237,14 @@ struct proposal_t {
void (*set_spi) (proposal_t *this, protocol_id_t proto, u_int64_t spi);
/**
+ * @brief Clone a proposal.
+ *
+ * @param this proposal to clone
+ * @return clone of it
+ */
+ proposal_t *(*clone) (proposal_t *this);
+
+ /**
* @brief Destroys the proposal object.
*
* @param this calling object