From ea01a40084b4e09c8407886a5070a77aeba56d63 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 24 Jan 2020 09:40:28 -0500 Subject: Begin hooking up version spec function(s) to installation --- include/spm.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/spm.h') diff --git a/include/spm.h b/include/spm.h index f40ea10..925de60 100644 --- a/include/spm.h +++ b/include/spm.h @@ -90,7 +90,10 @@ #define PACKAGE_MEMBER_SIZE 0xff #define PACKAGE_MEMBER_ORIGIN_SIZE PATH_MAX +#define PACKAGE_MEMBER_SEPARATOR '-' +#define PACKAGE_MEMBER_SEPARATOR_PLACEHOLD '*' +#define VERSION_OPERATORS " ~!=<>" #define VERSION_NOOP 1 << 0 #define VERSION_EQ 1 << 1 #define VERSION_NE 1 << 2 @@ -287,6 +290,8 @@ int dep_all(Dependencies **deps, const char *_package); void dep_show(Dependencies **deps); // manifest.c +void manifest_package_separator_swap(char **name); +void manifest_package_separator_restore(char **name); Manifest *manifest_from(const char *package_dir); Manifest *manifest_read(char *file_or_url); int manifest_write(Manifest *info, const char *dest); -- cgit