aboutsummaryrefslogtreecommitdiffstats
path: root/gpgme/priv-io.h
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2007-07-13 01:57:02 +0000
committerMarcus Brinkmann <[email protected]>2007-07-13 01:57:02 +0000
commit5d25b54f30d2335694e98760e3560915bf639bff (patch)
tree192e0e11be44e0f8d1320d929f30a8a763ef2de2 /gpgme/priv-io.h
parent2007-07-13 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-5d25b54f30d2335694e98760e3560915bf639bff.tar.gz
gpgme-5d25b54f30d2335694e98760e3560915bf639bff.zip
2007-07-13 Marcus Brinkmann <[email protected]>
* Revert the "close_notify_handler" returns int stuff. Always close in the _gpgme_io_close implementations. * engine-gpgsm.c (status_handler): Try to terminate the connection in case of error. * w32-io.c (_gpgme_io_read): Return C->error_code in ERRNO. (_gpgme_io_write): Likewise.
Diffstat (limited to '')
-rw-r--r--gpgme/priv-io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpgme/priv-io.h b/gpgme/priv-io.h
index 602fedee..25d14dcb 100644
--- a/gpgme/priv-io.h
+++ b/gpgme/priv-io.h
@@ -47,7 +47,7 @@ int _gpgme_io_read (int fd, void *buffer, size_t count);
int _gpgme_io_write (int fd, const void *buffer, size_t count);
int _gpgme_io_pipe (int filedes[2], int inherit_idx);
int _gpgme_io_close (int fd);
-typedef int (*_gpgme_close_notify_handler_t) (int,void*);
+typedef void (*_gpgme_close_notify_handler_t) (int,void*);
int _gpgme_io_set_close_notify (int fd, _gpgme_close_notify_handler_t handler,
void *value);
int _gpgme_io_set_nonblocking (int fd);