summaryrefslogtreecommitdiff
path: root/diagnose.h
diff options
context:
space:
mode:
Diffstat (limited to 'diagnose.h')
-rw-r--r--diagnose.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/diagnose.h b/diagnose.h
index 06dca69bda..998775857a 100644
--- a/diagnose.h
+++ b/diagnose.h
@@ -3,6 +3,12 @@
#include "strbuf.h"
-int create_diagnostics_archive(struct strbuf *zip_path);
+enum diagnose_mode {
+ DIAGNOSE_NONE,
+ DIAGNOSE_STATS,
+ DIAGNOSE_ALL
+};
+
+int create_diagnostics_archive(struct strbuf *zip_path, enum diagnose_mode mode);
#endif /* DIAGNOSE_H */