#include typedef enum { PASS_GEN_DIGIT = 0, PASS_GEN_ALPHA = 1, PASS_GEN_PRINT = 2, } pass_gen_t; int pass_init(const char *fpr); int pass_cat(FILE *out, const char *path); int pass_add(const char *path, const char *pass, size_t n); int pass_rm(const char *path); ssize_t pass_getpass(char **lineptr, size_t *n, FILE *stream); int pass_gen(pass_gen_t gen, char *pass, size_t n);