diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-26 12:04:13 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-26 12:04:13 +0100 |
| commit | 0db8836cb63f60799ac7b4c5222ba9e12ca5659c (patch) | |
| tree | da5189263bae7a4ed6de98ee513cd5be4631b59e /lib/Utils/DebugDump.h | |
| parent | ec91a4cc4decd1ffd8ba2f3d0139239b0a0dd022 (diff) | |
hookCCpp: check total dump dir size and delete the largest/oldest one
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Utils/DebugDump.h')
| -rw-r--r-- | lib/Utils/DebugDump.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/Utils/DebugDump.h b/lib/Utils/DebugDump.h index d753353..7dfe61e 100644 --- a/lib/Utils/DebugDump.h +++ b/lib/Utils/DebugDump.h @@ -76,4 +76,10 @@ class CDebugDump bool GetNextFile(std::string *short_name, std::string *full_name); }; -#endif /*DEBUGDUMP_H_*/ +/** + * Deletes particular debugdump directory. + * @param pDebugDumpDir A debugdump directory. + */ +void delete_debug_dump_dir(const char *pDebugDumpDir); + +#endif |
