From 4dbdc42d9e7c3968ff7f690d00680419c9b8cb0f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 9 Apr 2024 15:34:27 +0200 Subject: Adding upstream version 1:2.43.0. Signed-off-by: Daniel Baumann --- diagnose.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 diagnose.h (limited to 'diagnose.h') diff --git a/diagnose.h b/diagnose.h new file mode 100644 index 0000000..f525219 --- /dev/null +++ b/diagnose.h @@ -0,0 +1,18 @@ +#ifndef DIAGNOSE_H +#define DIAGNOSE_H + +#include "strbuf.h" + +struct option; + +enum diagnose_mode { + DIAGNOSE_NONE, + DIAGNOSE_STATS, + DIAGNOSE_ALL +}; + +int option_parse_diagnose(const struct option *opt, const char *arg, int unset); + +int create_diagnostics_archive(struct strbuf *zip_path, enum diagnose_mode mode); + +#endif /* DIAGNOSE_H */ -- cgit v1.2.3