From d3580f8c0b5c17150382c4b4456e0b1bfa81a50f Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 26 Feb 2020 16:09:32 -0500 Subject: Multiple things: * Add strdup_array() * Begin consolidating spm root information into SPM_Hierarchy * Begin consolidating metadata * Begin trimming repeated code (mostly file reading) * Store information about installed packages under [root]/var/db/records --- include/str.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/str.h') diff --git a/include/str.h b/include/str.h index 2674fb9..06e4a77 100644 --- a/include/str.h +++ b/include/str.h @@ -23,5 +23,6 @@ char *strip(char *sptr); int isempty(char *sptr); int isquoted(char *sptr); char *normalize_space(char *s); +char **strdup_array(char **array); #endif //SPM_STR_H -- cgit