Skip to content

Commit 62e84f6

Browse files
committed
Add apk.h. Not my day.
1 parent 9e8476e commit 62e84f6

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

src/apk.h

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* Copyright (c) 2024, SUSE LLC
3+
*
4+
* This program is licensed under the BSD license, read LICENSE.BSD
5+
* for further information
6+
*/
7+
8+
/*
9+
* apk.h
10+
*
11+
*/
12+
13+
#ifndef LIBSOLV_APK_H
14+
#define LIBSOLV_APK_H
15+
16+
#include "pooltypes.h"
17+
18+
#ifdef __cplusplus
19+
extern "C" {
20+
#endif
21+
22+
int solv_vercmp_apk(const char *evr1, const char *evr1e, const char *evr2, const char *evr2e);
23+
int pool_evrcmp_apk(const Pool *pool, const char *evr1, const char *evr2, int mode);
24+
25+
#ifdef __cplusplus
26+
}
27+
#endif
28+
29+
#endif /* LIBSOLV_APK_H */
30+

0 commit comments

Comments
 (0)