| 1 | #ifndef BASE_CRASHDUMP_H |
|---|---|
| 2 | #define BASE_CRASHDUMP_H |
| 3 | |
| 4 | /** |
| 5 | * @defgroup Crash-Dumping Crash Dumping |
| 6 | */ |
| 7 | |
| 8 | /** |
| 9 | * Initializes the crash dumper and sets the filename to write the crash dump |
| 10 | * to, if support for crash logging was compiled in. Otherwise does nothing. |
| 11 | * |
| 12 | * @ingroup Crash-Dumping |
| 13 | * |
| 14 | * @param log_file_path Absolute path to which crash log file should be written. |
| 15 | */ |
| 16 | void crashdump_init_if_available(const char *log_file_path); |
| 17 | |
| 18 | #endif |
| 19 |