gpgme/assuan
Marcus Brinkmann b3434696b3 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.
2007-07-16 17:26:09 +00:00
..
assuan-buffer.c Update to rev 231 of libassuan. 2006-11-29 16:25:46 +00:00
assuan-client.c 2007-07-04 Marcus Brinkmann <marcus@g10code.de> 2007-07-04 20:03:39 +00:00
assuan-connect.c 2007-07-08 Marcus Brinkmann <marcus@g10code.de> 2007-07-08 15:46:10 +00:00
assuan-defs.h 2007-07-08 Marcus Brinkmann <marcus@g10code.de> 2007-07-08 15:46:10 +00:00
assuan-handler.c Minor fixes for W32 2007-07-12 18:54:45 +00:00
assuan-inquire.c assuan/ 2006-09-19 14:01:54 +00:00
assuan-io.c 2007-07-13 Marcus Brinkmann <marcus@g10code.de> 2007-07-13 00:43:17 +00:00
assuan-listen.c assuan/ 2006-09-19 14:01:54 +00:00
assuan-logging.c 2007-07-04 Marcus Brinkmann <marcus@g10code.de> 2007-07-04 20:03:39 +00:00
assuan-pipe-connect.c 2007-07-04 Marcus Brinkmann <marcus@g10code.de> 2007-07-04 20:03:39 +00:00
assuan-pipe-server.c 2007-07-04 Marcus Brinkmann <marcus@g10code.de> 2007-07-04 20:03:39 +00:00
assuan-socket-connect.c assuan/ 2006-09-19 14:01:54 +00:00
assuan-socket-server.c 2007-07-04 Marcus Brinkmann <marcus@g10code.de> 2007-07-04 20:03:39 +00:00
assuan-socket.c 2007-07-16 Marcus Brinkmann <marcus@g10code.de> 2007-07-16 17:26:09 +00:00
assuan-uds.c 2007-07-04 Marcus Brinkmann <marcus@g10code.de> 2007-07-04 20:03:39 +00:00
assuan-util.c Update to rev 231 of libassuan. 2006-11-29 16:25:46 +00:00
assuan.h 2007-07-16 Marcus Brinkmann <marcus@g10code.de> 2007-07-16 17:26:09 +00:00
ChangeLog Minor fixes for W32 2007-07-12 18:54:45 +00:00
Makefile.am 2007-07-08 Marcus Brinkmann <marcus@g10code.de> 2007-07-08 15:46:10 +00:00
mkerrors Update to rev 231 of libassuan. 2006-11-29 16:25:46 +00:00
README.1st 2007-07-16 Marcus Brinkmann <marcus@g10code.de> 2007-07-16 17:26:09 +00:00

This is a modified copy of the libassuan library.  Don't modify it,
but instead modify the original Assuan library and merge the changes
back into this copy.

The changes to the original libassuan, that have to preserved when
updating this directory, are:

* Makefile.am
** Build the library with libtool as a convenience library, which can
   be linked into the shared library GPGME.
** Do not install the library or the header file.
** Define -D_ASSUAN_IN_GPGME_BUILD_ASSUAN to wrap some POSIX functions
   with ATH replacements.

* assuan.h
** Preserve the block between "Begin/End GPGME specific modifications".
   In particular make sure that
     #define _ASSUAN_EXT_SYM_PREFIX _gpgme_
     #define _ASSUAN_NO_PTH 
     #define _ASSUAN_NO_FIXED_SIGNALS 
     #define _ASSUAN_USE_DOUBLE_FORK
   are defined.  This puts all exported Assuan functions in the _gpgme
   namespace.  It also wraps all system functions that are wrapped by
   GNU Pth to _gpgme wrappers.

* assuan-io-pth.c
  We don't need this file as GPGME doesn't use sendmsg and recvmsg.
  If it would, we would need to pick up the W32 implementation.

* assuan-io.c
** _assuan_simple_read() and _assuan_simple_write() must always use
   read()/write() (which actually translates to _gpgme_io_read() and
   _gpgme_io_write()).  _assuan_close must always() use close() (which
   translates to _gpgme_io_close()).


 Copyright 2004, 2007 g10 Code GmbH

 This file is free software; as a special exception the author gives
 unlimited permission to copy and/or distribute it, with or without
 modifications, as long as this notice is preserved.

 This file is distributed in the hope that it will be useful, but
 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.