gpgme/assuan
Marcus Brinkmann 1c454aee81 2009-06-22 Marcus Brinkmann <marcus@g10code.de>
* configure.ac: Add AC_TYPE_UINTPTR_T.

	* assuan/assuan.h [_ASSUAN_IN_GPGME_BUILD_ASSUAN]: Declare
	_gpgme_io_connect.

src/
2009-06-22  Marcus Brinkmann  <marcus@g10code.de>

	* debug.h: Everywhere, use %p instead of 0x%x to print pointer.
	[HAVE_STDINT_H]: Include <stdint.h>.
	(_TRACE, TRACE, TRACE0, TRACE1, TRACE2, TRACE3, TRACE6): Cast tag
	to (uintptr_t) before casting it to (void*) to silence GCC
	warning.

	* gpgme.h.in (_GPGME_DEPRECATED_OUTSIDE_GPGME): New macro.
	* sign.c (_GPGME_IN_GPGME): Define it.
	* keylist.c (_GPGME_IN_GPGME): Define it.

	* debug.c (_gpgme_debug_begin, _gpgme_debug_add): Handle error in
	vasprintf and asprintf.

	* priv-io.h: Include <sys/socket.h>.  Declare _gpgme_io_connect.

tests/
2009-06-22  Marcus Brinkmann  <marcus@g10code.de>

	* gpg/t-support.h (passphrase_cb): Implement write() according to
	the book to silence compiler warning.
	* gpgsm/t-support.h (passphrase_cb): Likewise.
2009-06-22 14:50:17 +00:00
..
assuan-buffer.c assuan/ 2009-04-08 18:53:57 +00:00
assuan-client.c assuan/ 2009-04-08 18:53:57 +00:00
assuan-connect.c assuan/ 2009-03-06 22:29:49 +00:00
assuan-defs.h assuan/ 2009-03-06 22:29:49 +00:00
assuan-handler.c assuan/ 2009-04-08 18:53:57 +00:00
assuan-inquire.c assuan/ 2009-04-08 18:53:57 +00:00
assuan-io.c assuan/ 2009-03-06 22:29:49 +00:00
assuan-listen.c assuan/ 2009-03-06 22:29:49 +00:00
assuan-logging.c assuan/ 2009-03-06 22:29:49 +00:00
assuan-pipe-connect.c Add new functions to import and export keys specified by gpgme_key_t. 2009-06-16 11:42:21 +00:00
assuan-pipe-server.c assuan/ 2009-03-06 22:29:49 +00:00
assuan-socket-connect.c assuan/ 2009-03-06 22:29:49 +00:00
assuan-socket-server.c assuan/ 2009-03-06 22:29:49 +00:00
assuan-socket.c assuan/ 2009-04-08 18:53:57 +00:00
assuan-uds.c assuan/ 2009-03-06 22:29:49 +00:00
assuan-util.c assuan/ 2009-03-06 22:29:49 +00:00
assuan.h 2009-06-22 Marcus Brinkmann <marcus@g10code.de> 2009-06-22 14:50:17 +00:00
ChangeLog Add new functions to import and export keys specified by gpgme_key_t. 2009-06-16 11:42:21 +00:00
Makefile.am 008-11-03 Marcus Brinkmann <marcus@g10code.com> 2008-11-03 17:24:09 +00:00
mkerrors assuan/ 2009-03-06 22:29:49 +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.