summaryrefslogtreecommitdiffstats
path: root/src/onetimebluh.h
blob: 3c32e1d987dec2fc556ef2ceaf93bea2c85de497 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef ONETIMEBLUH
#define ONETIMEBLUH

#define eprintf(...) fprintf(stderr, __VA_ARGS__)

typedef struct opts {
	int64_t comm;
	int64_t nbytes;
	int64_t quiet;
	int64_t tear;
	char* chars;
	char* keyfile;
	char* input;
	char* output;
} Opts;

void xor (Opts* opzioni);
void keyrand (Opts* opzioni);
void bluh (Opts* opzioni);
void help (char* av[]);

#endif