aboutsummaryrefslogtreecommitdiff
path: root/include/gpg.h
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-04-06 17:35:22 +0530
committersinanmohd <sinan@sinanmohd.com>2024-04-06 17:46:55 +0530
commit4ff6158a6cd29e87222387870e6f01aca41b8183 (patch)
treeeedc21363355691d2bc48d942ebe1cac8db0685d /include/gpg.h
parent246fa34293969eed0ebd650944e52b46c677b054 (diff)
meson: init
Diffstat (limited to 'include/gpg.h')
-rw-r--r--include/gpg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/gpg.h b/include/gpg.h
new file mode 100644
index 0000000..f5053bf
--- /dev/null
+++ b/include/gpg.h
@@ -0,0 +1,6 @@
+#include <stdio.h>
+#include <sys/types.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);