diff options
Diffstat (limited to 'src/libstrongswan/utils/backtrace.h')
-rw-r--r-- | src/libstrongswan/utils/backtrace.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libstrongswan/utils/backtrace.h b/src/libstrongswan/utils/backtrace.h index e8ccfc1bd..9d59d2503 100644 --- a/src/libstrongswan/utils/backtrace.h +++ b/src/libstrongswan/utils/backtrace.h @@ -50,6 +50,20 @@ struct backtrace_t { bool (*contains_function)(backtrace_t *this, char *function[], int count); /** + * Check two backtraces for equality. + * + * @param other backtrace to compare to this + * @return TRUE if backtraces are equal + */ + bool (*equals)(backtrace_t *this, backtrace_t *other); + /** + * Create an enumerator over the stack frame addresses. + * + * @return enumerator_t over void* + */ + enumerator_t* (*create_frame_enumerator)(backtrace_t *this); + + /** * Destroy a backtrace instance. */ void (*destroy)(backtrace_t *this); |