]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Add apk.h. Not my day.
authorMichael Schroeder <mls@suse.de>
Thu, 28 Nov 2024 13:13:13 +0000 (14:13 +0100)
committerMichael Schroeder <mls@suse.de>
Thu, 28 Nov 2024 13:13:13 +0000 (14:13 +0100)
src/apk.h [new file with mode: 0644]

diff --git a/src/apk.h b/src/apk.h
new file mode 100644 (file)
index 0000000..e5c9d0c
--- /dev/null
+++ b/src/apk.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2024, SUSE LLC
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+/*
+ * apk.h
+ *
+ */
+
+#ifndef LIBSOLV_APK_H
+#define LIBSOLV_APK_H
+
+#include "pooltypes.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int solv_vercmp_apk(const char *evr1, const char *evr1e, const char *evr2, const char *evr2e);
+int pool_evrcmp_apk(const Pool *pool, const char *evr1, const char *evr2, int mode);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* LIBSOLV_APK_H */
+