summaryrefslogtreecommitdiff
path: root/src/libstrongswan/utils/backtrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/utils/backtrace.h')
-rw-r--r--src/libstrongswan/utils/backtrace.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libstrongswan/utils/backtrace.h b/src/libstrongswan/utils/backtrace.h
index 62104238d..416f58898 100644
--- a/src/libstrongswan/utils/backtrace.h
+++ b/src/libstrongswan/utils/backtrace.h
@@ -59,6 +59,14 @@ struct backtrace_t {
* @return TRUE if backtraces are equal
*/
bool (*equals)(backtrace_t *this, backtrace_t *other);
+
+ /**
+ * Create a copy of this backtrace.
+ *
+ * @return cloned copy
+ */
+ backtrace_t* (*clone)(backtrace_t *this);
+
/**
* Create an enumerator over the stack frame addresses.
*