aboutsummaryrefslogtreecommitdiffstats
path: root/implementation.h
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2020-10-26 19:11:16 +0000
committerJoursoir <chat@joursoir.net>2020-10-26 19:11:16 +0000
commit101dd376b32c2cd12640e81b93c2f30975baac7f (patch)
tree8f571472aefb58274755e3dd6778497564554edc /implementation.h
parent5f3bbf1279d39554cd2d185170ae4e5119cf3b61 (diff)
downloadlock-password-101dd376b32c2cd12640e81b93c2f30975baac7f.tar.gz
lock-password-101dd376b32c2cd12640e81b93c2f30975baac7f.tar.bz2
lock-password-101dd376b32c2cd12640e81b93c2f30975baac7f.zip
feature: edit command
Diffstat (limited to 'implementation.h')
-rw-r--r--implementation.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/implementation.h b/implementation.h
index c5d31e8..7ede6be 100644
--- a/implementation.h
+++ b/implementation.h
@@ -1,8 +1,11 @@
#ifndef IMPLEMENTATION_H
#define IMPLEMENTATION_H
+#define GPG_PUBLICKEY_MAXLENGTH 1025 // +1 for '\0'
+
void checkForbiddenPaths(char *path);
-char* getPassword(char *path, char *password, int maxlen);
+char *getGPGKey(char *dest, size_t size);
+char* getPassword(char *path_pass, char *password, size_t size);
void nonvisibleEnter(int status);
void insertPass(char *add_path, char *password);
char *typePass(char *text, char *dest, int minlen, int maxlen);