diff options
Diffstat (limited to 'src/libstrongswan/utils/leak_detective.h')
-rw-r--r-- | src/libstrongswan/utils/leak_detective.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libstrongswan/utils/leak_detective.h b/src/libstrongswan/utils/leak_detective.h index fa45a6076..8c80d2532 100644 --- a/src/libstrongswan/utils/leak_detective.h +++ b/src/libstrongswan/utils/leak_detective.h @@ -43,6 +43,13 @@ struct leak_detective_t { void (*report)(leak_detective_t *this, bool detailed); /** + * Report current memory usage to out. + * + * @param out target to write usage report to + */ + void (*usage)(leak_detective_t *this, FILE *out); + + /** * Destroy a leak_detective instance. */ void (*destroy)(leak_detective_t *this); |