aboutsummaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/common.h b/common.h
new file mode 100644
index 0000000..c9e6412
--- /dev/null
+++ b/common.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright (C) 2022, 2023 Ferass El Hafidi <vitali64pmemail@protonmail.com>
+ */
+#ifndef COMMON_H
+#define COMMON_H
+
+#ifdef REQ_PRINT_USAGE
+int print_usage(char *name, char *desc, char *params, char *version);
+#endif
+#ifdef REQ_ERRPRINT
+int errprint(char *argv0, char *prefix, int err);
+#endif
+
+#endif /* COMMON_H */