diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libnpass/libnpass.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/libnpass/libnpass.h b/include/libnpass/libnpass.h index d82de9c..186b907 100644 --- a/include/libnpass/libnpass.h +++ b/include/libnpass/libnpass.h @@ -21,11 +21,8 @@ struct store { pass_store_t type; }; -DIR *openstore(const char *spath); -int readstore(DIR *dirp, struct store *s); int readstore_all(const char *path, struct store **stor); - -pass_store_t pass_store_type(const char *spath); +int pass_store_type(const char *spath); int pass_store_cmp(const void *vp1, const void *vp2); int pass_init(const char *fpr); @@ -34,4 +31,4 @@ 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); +int pass_gen(pass_gen_t gen, char *pass, int len); |