blob: 7ede6be1fcdd9ed6f91e3c86f35614a01206dfc5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef IMPLEMENTATION_H
#define IMPLEMENTATION_H
#define GPG_PUBLICKEY_MAXLENGTH 1025 // +1 for '\0'
void checkForbiddenPaths(char *path);
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);
int userEnterPassword(int minlen, int maxlen, char *path_insert, int flag_echo);
char *generatePassword(char *dest, int amount, int max_len);
unsigned long hash(char *str);
int getOverwriteAnswer(char *path);
#endif
|