diff options
Diffstat (limited to 'src/apk_version.h')
-rw-r--r-- | src/apk_version.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/apk_version.h b/src/apk_version.h index ea3f444..42df3b9 100644 --- a/src/apk_version.h +++ b/src/apk_version.h @@ -18,6 +18,11 @@ #define APK_VERSION_LESS 2 #define APK_VERSION_GREATER 4 +#define APK_DEPMASK_REQUIRE (APK_VERSION_EQUAL|APK_VERSION_LESS|\ + APK_VERSION_GREATER) +#define APK_DEPMASK_CHECKSUM (APK_VERSION_LESS|APK_VERSION_GREATER) +#define APK_DEPMASK_CONFLICT (0) + const char *apk_version_op_string(int result_mask); int apk_version_result_mask(const char *str); int apk_version_validate(apk_blob_t ver); |