diff --git a/src/apk.h b/src/apk.h new file mode 100644 index 000000000..e5c9d0c0c --- /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 */ +