2007-07-16 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Mon, 16 Jul 2007 17:26:09 +0000 (17:26 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Mon, 16 Jul 2007 17:26:09 +0000 (17:26 +0000)
commitee80c6b7882a9421657165346b1630cecb1efb80
tree3c9576501f80b26ab05cd0758eb2ef414179280e
parent108a26169b92ef466efaefe5cc157b91f96579e4
2007-07-16  Marcus Brinkmann  <marcus@g10code.de>

* assuan/assuan-socket.c (_assuan_close): Always use close().
* assuan/assuan.h (_gpgme_io_close): New prototype.
(close): New macro, define as _gpgme_io_close.

gpgme/
2007-07-16  Marcus Brinkmann  <marcus@g10code.de>

* w32-io.c (struct reader_context_s, struct writer_context_s): New
members REFCOUNT.
(create_reader, create_writer): Initialize C->refcount to 1.
(destroy_reader, destroy_writer): Only destroy if C->refcount
drops to 0.
(find_reader, find_writer, kill_reader, kill_writer): Beautify.
* priv-io.h (_gpgme_io_dup): New prototype.
* posix-io.c (_gpgme_io_dup): New function.
* w32-io.c (_gpgme_io_dup): Likewise.
* w32-glib-io.c (_gpgme_io_dup): Likewise.
* engine-gpgsm.c (start): Reverting to version 2007-07-10.
trunk/ChangeLog
trunk/assuan/README.1st
trunk/assuan/assuan-socket.c
trunk/assuan/assuan.h
trunk/gpgme/ChangeLog
trunk/gpgme/engine-gpgsm.c
trunk/gpgme/posix-io.c
trunk/gpgme/priv-io.h
trunk/gpgme/w32-glib-io.c
trunk/gpgme/w32-io.c