aboutsummaryrefslogtreecommitdiff
path: root/include/user_input.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/user_input.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/user_input.h')
-rw-r--r--include/user_input.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/user_input.h b/include/user_input.h
index 4e051ed..61d56ee 100644
--- a/include/user_input.h
+++ b/include/user_input.h
@@ -2,6 +2,7 @@
#define SPM_USER_INPUT_H
int spm_user_yesno(int answer, int empty_input_is_yes);
+int spm_prompt_user(const char *msg, int empty_input_is_yes);
void spm_user_yesno_test();
#endif //SPM_USER_INPUT_H