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