From: Michael Schroeder Date: Thu, 28 Nov 2024 13:13:13 +0000 (+0100) Subject: Add apk.h. Not my day. X-Git-Tag: 0.7.32~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62e84f6bc57f230e55dfd7b14f000e3da33518dd;p=thirdparty%2Flibsolv.git Add apk.h. Not my day. --- diff --git a/src/apk.h b/src/apk.h new file mode 100644 index 00000000..e5c9d0c0 --- /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 */ +