aboutsummaryrefslogtreecommitdiff
path: root/gpg.h
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-12-30 15:52:10 +0530
committersinanmohd <sinan@sinanmohd.com>2023-12-30 15:52:10 +0530
commit759b7d8b83132085ce6c832fbe2b4a162ca2cd72 (patch)
tree1565f3b1211918d1af91b3d17274559646ad1213 /gpg.h
parent5ce15da2f0ea4ebc33da1f9a5c3d49e66e437bb3 (diff)
pass/add: init
Diffstat (limited to 'gpg.h')
-rw-r--r--gpg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpg.h b/gpg.h
index 36c2b87..461a9d5 100644
--- a/gpg.h
+++ b/gpg.h
@@ -1,4 +1,6 @@
+#include <stdio.h>
#include <sys/types.h>
int gpg_key_validate(const char *fpr);
int gpg_decrypt(const char *fpr, const char *path, char *pass_out, size_t n);
+int gpg_encrypt(FILE *stream, const char *fpr, const char *pass, size_t n);