]> git.ipfire.org Git - thirdparty/git.git/blob - diagnose.h
khash: name the structs that khash declares
[thirdparty/git.git] / diagnose.h
1 #ifndef DIAGNOSE_H
2 #define DIAGNOSE_H
3
4 #include "strbuf.h"
5
6 struct option;
7
8 enum diagnose_mode {
9 DIAGNOSE_NONE,
10 DIAGNOSE_STATS,
11 DIAGNOSE_ALL
12 };
13
14 int option_parse_diagnose(const struct option *opt, const char *arg, int unset);
15
16 int create_diagnostics_archive(struct strbuf *zip_path, enum diagnose_mode mode);
17
18 #endif /* DIAGNOSE_H */