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.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libstrongswan/utils/backtrace.h b/src/libstrongswan/utils/backtrace.h
index c6b0ec78f..e8ccfc1bd 100644
--- a/src/libstrongswan/utils/backtrace.h
+++ b/src/libstrongswan/utils/backtrace.h
@@ -41,12 +41,13 @@ struct backtrace_t {
void (*log)(backtrace_t *this, FILE *file, bool detailed);
/**
- * Check if the backtrace contains a frame in a specific function.
+ * Check if the backtrace contains a frame having a function in a list.
*
- * @param function name
- * @return TRUE if function is in the stack
+ * @param function name array
+ * @param number of elements in function array
+ * @return TRUE if one of the functions is in the stack
*/
- bool (*contains_function)(backtrace_t *this, char *function);
+ bool (*contains_function)(backtrace_t *this, char *function[], int count);
/**
* Destroy a backtrace instance.