aboutsummaryrefslogtreecommitdiff
path: root/include/libnpass/gpg.h
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-04-11 18:04:35 +0530
committersinanmohd <sinan@sinanmohd.com>2024-04-11 18:04:35 +0530
commitbfdad0baf319da3d3f6fb88736ba0f6454cc93d8 (patch)
treeaf84fb05857be21740fe5f01b27204da2e89dda0 /include/libnpass/gpg.h
parent68af029169b5303b678530763e7de30be89e56ff (diff)
c/format: init
Diffstat (limited to 'include/libnpass/gpg.h')
-rw-r--r--include/libnpass/gpg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libnpass/gpg.h b/include/libnpass/gpg.h
index f5053bf..752a0a7 100644
--- a/include/libnpass/gpg.h
+++ b/include/libnpass/gpg.h
@@ -1,6 +1,7 @@
-#include <stdio.h>
#include <sys/types.h>
+#include <stdio.h>
+
int gpg_key_validate(const char *fpr);
int gpg_decrypt(FILE *pass_out, const char *pass_path);
int gpg_encrypt(FILE *stream, const char *fpr, const char *pass, size_t n);