diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-28 01:06:35 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-28 01:06:35 -0500 |
commit | 511deab4f22a6c25f33cce1e206b656d520ab7e6 (patch) | |
tree | 669591ef38f61f0dc842e96b86aa1533f274269f /include/user_input.h | |
parent | b6587f1d905e308cab713b1d5545e4667c80d6e4 (diff) | |
download | spmc-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.h | 1 |
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 |