aboutsummaryrefslogtreecommitdiffstats
path: root/src/implementation.h
blob: bcb6985fbe6d3e3a7d8d61cef2c96eb5ab7554be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef IMPLEMENTATION_H
#define IMPLEMENTATION_H

#define GPG_PUBLICKEY_MAXLENGTH 1024

enum asnwers {
	OW_YES = 0,
	OW_NO = 1,
};

int checkForbiddenPaths(char *path);
char *getGPGKey();
char* getPassword(char *path_pass, char *password, size_t size, int flag_copy);
void nonvisibleEnter(int status);
int insertPass(char *path, char *password, int flag_copy);
char *getInput(int minlen, int maxlen);
char *generatePassword(char *dest, int amount);
int getOverwriteAnswer(char *path);

#endif