diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-12-10 09:49:00 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-12-10 09:49:00 -0500 |
commit | e9e16cc286ae1bd89af50d0c29e00866e1826b6f (patch) | |
tree | a0d8509615645d19b26b1214fd1fb5e0114ee058 /spm.h | |
parent | 27a91e38de51c40662eb91b8b992b0c052d417f6 (diff) | |
download | spmc-e9e16cc286ae1bd89af50d0c29e00866e1826b6f.tar.gz |
clean up a bit
Diffstat (limited to 'spm.h')
-rw-r--r-- | spm.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -36,6 +36,14 @@ #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; } Dirwalk; @@ -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); |