aboutsummaryrefslogtreecommitdiffstats
path: root/src/r-gpgme.h
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-02-26 20:07:54 +0000
committerJoursoir <chat@joursoir.net>2021-02-26 20:07:54 +0000
commitc22e30cb675529f6e5c922bf7561683ab6023c2c (patch)
tree77f6af8a0318c2463bdbce4145045138ba818155 /src/r-gpgme.h
parent3aabad59dc2bbdb74777f2d0dc195fb0bbe75bfc (diff)
downloadlock-password-c22e30cb675529f6e5c922bf7561683ab6023c2c.tar.gz
lock-password-c22e30cb675529f6e5c922bf7561683ab6023c2c.tar.bz2
lock-password-c22e30cb675529f6e5c922bf7561683ab6023c2c.zip
add routines for gpgme
Diffstat (limited to 'src/r-gpgme.h')
-rw-r--r--src/r-gpgme.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/r-gpgme.h b/src/r-gpgme.h
new file mode 100644
index 0000000..7a5a4ab
--- /dev/null
+++ b/src/r-gpgme.h
@@ -0,0 +1,7 @@
+#ifndef LPASS_RGPGME_H
+#define LPASS_RGPGME_H
+
+int ecnrypt_data(const char *path, const char *data, const char *pubkey);
+char *decrypt_data(const char *path);
+
+#endif /* LPASS_RGPGME_H */