From e9e16cc286ae1bd89af50d0c29e00866e1826b6f Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 10 Dec 2019 09:49:00 -0500 Subject: clean up a bit --- spm.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'spm.h') diff --git a/spm.h b/spm.h index 47a0e61..24d2835 100644 --- a/spm.h +++ b/spm.h @@ -35,6 +35,14 @@ #define SHELL_OUTPUT 1 << 1 #define SHELL_BENCHMARK 1 << 2 +typedef struct { + char *platform; + char *arch; + char *package_dir; + char *user_config_basedir; + char *user_config_file; +} spm_vars; + typedef struct { int count; char **paths; @@ -49,6 +57,7 @@ typedef struct { void shell(Process **proc_info, u_int64_t option, const char *fmt, ...); void shell_free(Process *proc_info); +int tar_extract_archive(const char *_archive, const char *_destination); int tar_extract_file(const char *archive, const char* filename, const char *destination); int errglob(const char *epath, int eerrno); -- cgit