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)
commitb3434696b380921d5d0be8ffdf1e19ca938fe572
tree7d071e655ac7a168a55729da7fd7b5cc93c10672
parentd258f5f735d427137b5490f5e3b56fa6ba2f7f2f
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.
ChangeLog
assuan/README.1st
assuan/assuan-socket.c
assuan/assuan.h
gpgme/ChangeLog
gpgme/engine-gpgsm.c
gpgme/posix-io.c
gpgme/priv-io.h
gpgme/w32-glib-io.c
gpgme/w32-io.c