]>
Commit | Line | Data |
---|---|---|
bb2c3495 VD |
1 | #ifndef DIAGNOSE_H |
2 | #define DIAGNOSE_H | |
3 | ||
4 | #include "strbuf.h" | |
7ecf193f | 5 | #include "parse-options.h" |
bb2c3495 | 6 | |
33cba726 VD |
7 | enum diagnose_mode { |
8 | DIAGNOSE_NONE, | |
9 | DIAGNOSE_STATS, | |
10 | DIAGNOSE_ALL | |
11 | }; | |
12 | ||
7ecf193f VD |
13 | int option_parse_diagnose(const struct option *opt, const char *arg, int unset); |
14 | ||
33cba726 | 15 | int create_diagnostics_archive(struct strbuf *zip_path, enum diagnose_mode mode); |
bb2c3495 VD |
16 | |
17 | #endif /* DIAGNOSE_H */ |