aboutsummaryrefslogtreecommitdiff
path: root/include/purge.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-02-28 01:06:35 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-02-28 01:06:35 -0500
commit511deab4f22a6c25f33cce1e206b656d520ab7e6 (patch)
tree669591ef38f61f0dc842e96b86aa1533f274269f /include/purge.h
parentb6587f1d905e308cab713b1d5545e4667c80d6e4 (diff)
downloadspmc-511deab4f22a6c25f33cce1e206b656d520ab7e6.tar.gz
Improvements:
* Refactored a few function names * Can read package metadata * Can delete packages * Can download! and install packages at the same time * Can prompt the user before proceeding
Diffstat (limited to 'include/purge.h')
-rw-r--r--include/purge.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/purge.h b/include/purge.h
new file mode 100644
index 0000000..0debd4b
--- /dev/null
+++ b/include/purge.h
@@ -0,0 +1,7 @@
+#ifndef SPM_REMOVE_H
+#define SPM_REMOVE_H
+
+int spm_purge(SPM_Hierarchy *fs, const char *_package_name);
+int spm_do_purge(SPM_Hierarchy *fs, StrList *packages);
+
+#endif //SPM_REMOVE_H