aboutsummaryrefslogtreecommitdiff
path: root/gpg.h
diff options
context:
space:
mode:
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);