gpgme/assuan
Marcus Brinkmann c4bb93ec28 2007-07-13 Marcus Brinkmann <marcus@g10code.de>
* assuan/assuan-io.c (_assuan_simple_read, _assuan_simple_write):
	Always use read/write (which means _gpgme_io_read and
	_gpgme_io_write).

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

	* priv-io.h (_gpgme_io_set_close_notify): Change type of HANDLER
	to _gpgme_close_notify_handler.
	(_gpgme_close_notify_handler): New type.
	(_gpgme_io_dup): Remove prototype.
	* posix-io.c (notify_table, _gpgme_io_set_close_notify): Change
	type of HANDLER to _gpgme_close_notify_handler_t.
	(_gpgme_io_close): Do not close the FD if handler returns 0.
	(_gpgme_io_dup): Remove function.
	* w32-io.c (notify_table, _gpgme_io_set_close_notify,
	_gpgme_io_close): Change type of HANDLER to
	_gpgme_close_notify_handler_t.
	(_gpgme_io_close): Do not close the FD if handler returns 0.
	(_gpgme_io_dup): Remove function.
	* w32-glib-io.c (_gpgme_io_dup): Remove function.
	(_gpgme_io_set_close_notify, notify_table): Change type of HANDLER
	to _gpgme_close_notify_handler_t.
	(_gpgme_io_close): Do not close the FD if handler returns 0.
	* rungpg.c (close_notify_handler): Change return type to int,
	return 1.
	* engine-gpgsm.c (close_notify_handler): Change return type to
	int, return 0 for status FD and 1 for all other FDs.
	(start): Do not duplicate the status FD.
2007-07-13 00:43:17 +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 Minor fixes for W32 2007-07-12 18:54:45 +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-08 Marcus Brinkmann <marcus@g10code.de> 2007-07-08 15:46:10 +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-13 Marcus Brinkmann <marcus@g10code.de> 2007-07-13 00:43:17 +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()).


 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.