aboutsummaryrefslogtreecommitdiffstats
path: root/trunk/src/gpgme.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/gpgme.h.in')
-rw-r--r--trunk/src/gpgme.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/trunk/src/gpgme.h.in b/trunk/src/gpgme.h.in
index a9a4a3f7..46f8769c 100644
--- a/trunk/src/gpgme.h.in
+++ b/trunk/src/gpgme.h.in
@@ -961,6 +961,11 @@ void gpgme_set_io_cbs (gpgme_ctx_t ctx, gpgme_io_cbs_t io_cbs);
/* Get the current I/O callback functions. */
void gpgme_get_io_cbs (gpgme_ctx_t ctx, gpgme_io_cbs_t io_cbs);
+/* Wrappers around the internal I/O functions for use with
+ gpgme_passphrase_cb_t and gpgme_edit_cb_t. */
+ssize_t gpgme_io_read (int fd, void *buffer, size_t count);
+ssize_t gpgme_io_write (int fd, const void *buffer, size_t count);
+
/* Process the pending operation and, if HANG is non-zero, wait for
the pending operation to finish. */
gpgme_ctx_t gpgme_wait (gpgme_ctx_t ctx, gpgme_error_t *status, int hang);