aboutsummaryrefslogtreecommitdiff
path: root/src/version.h
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-03-14 18:17:23 +0100
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-03-14 18:17:23 +0100
commit53a32c2aeb0e1f95ecbe5693e6c297495f5bba80 (patch)
tree8bc20d0409734a3ce86f3af1b58a7e0b81694551 /src/version.h
parentc9cb97f8acb76b317dd4d913438c1098e752e90c (diff)
downloadutils-53a32c2aeb0e1f95ecbe5693e6c297495f5bba80.tar.gz
utils-53a32c2aeb0e1f95ecbe5693e6c297495f5bba80.zip
Generify the function to get the version
Diffstat (limited to 'src/version.h')
-rw-r--r--src/version.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/version.h b/src/version.h
new file mode 100644
index 0000000..cc42a65
--- /dev/null
+++ b/src/version.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2022-2023 Alessandro Iezzi <aiezzi AT alessandroiezzi PERIOD it>
+ *
+ * This file is part of libutils.
+ *
+ * libutils is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * libutils is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with libutils. If not, see <https://www.gnu.org/licenses/>.
+ */
+
+#ifndef _VERSION_H_
+#define _VERSION_H_
+
+char *utils_version();
+
+#endif /* _VERSION_H_ */