summaryrefslogtreecommitdiffstats
path: root/fuzzers/fuzzer_utils.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 05:03:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 05:03:04 +0000
commitb88736462df2c86a83f01dcc260b5463205819d2 (patch)
treeb1a9a5a5392a52ec4e5f60fb4b45083cf7fd65b0 /fuzzers/fuzzer_utils.h
parentAdding upstream version 1.7.2+ds. (diff)
downloadlibgit2-upstream.tar.xz
libgit2-upstream.zip
Adding upstream version 1.8.1+ds.upstream/1.8.1+dsupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fuzzers/fuzzer_utils.h')
-rw-r--r--fuzzers/fuzzer_utils.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/fuzzers/fuzzer_utils.h b/fuzzers/fuzzer_utils.h
new file mode 100644
index 0000000..6b67c9a
--- /dev/null
+++ b/fuzzers/fuzzer_utils.h
@@ -0,0 +1,14 @@
+/*
+ * Copyright (C) the libgit2 contributors. All rights reserved.
+ *
+ * This file is part of libgit2, distributed under the GNU GPL v2 with
+ * a Linking Exception. For full terms see the included COPYING file.
+ */
+
+#ifndef INCLUDE_fuzzer_utils_h__
+#define INCLUDE_fuzzer_utils_h__
+
+extern void fuzzer_git_abort(const char *op);
+extern git_repository *fuzzer_repo_init(void);
+
+#endif