aboutsummaryrefslogtreecommitdiffstats
path: root/implementation.h
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2020-10-28 14:12:54 +0000
committerJoursoir <chat@joursoir.net>2020-10-28 14:12:54 +0000
commit38a3be4a3eeacec75a534fef6951b9484b4d7098 (patch)
tree31c6f709d1d9ab45487bb2cd844f4969e002e24e /implementation.h
parentc992bb4c7cc230eff246f5368b7fc765750eec5b (diff)
downloadlock-password-38a3be4a3eeacec75a534fef6951b9484b4d7098.tar.gz
lock-password-38a3be4a3eeacec75a534fef6951b9484b4d7098.tar.bz2
lock-password-38a3be4a3eeacec75a534fef6951b9484b4d7098.zip
feature: copy password to clipboard
Diffstat (limited to 'implementation.h')
-rw-r--r--implementation.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/implementation.h b/implementation.h
index 7ede6be..f41cc4a 100644
--- a/implementation.h
+++ b/implementation.h
@@ -5,11 +5,11 @@
void checkForbiddenPaths(char *path);
char *getGPGKey(char *dest, size_t size);
-char* getPassword(char *path_pass, char *password, size_t size);
+char* getPassword(char *path_pass, char *password, size_t size, int flag_copy);
void nonvisibleEnter(int status);
-void insertPass(char *add_path, char *password);
+void insertPass(char *add_path, char *password, int flag_copy);
char *typePass(char *text, char *dest, int minlen, int maxlen);
-int userEnterPassword(int minlen, int maxlen, char *path_insert, int flag_echo);
+int userEnterPassword(int minlen, int maxlen, char *path_insert, int flag_echo, int flag_copy);
char *generatePassword(char *dest, int amount, int max_len);
unsigned long hash(char *str);
int getOverwriteAnswer(char *path);