aboutsummaryrefslogtreecommitdiffstats
path: root/common/estream.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Port to npth.npth-4Marcus Brinkmann2012-01-251-17/+12
| | | | | | | | | | | | | | | | | | | | | * configure.ac: Don't check for PTH but for NPTH. (AH_BOTTOM): Remove PTH_SYSCALL_SOFT. (have_pth): Rename to ... (have_npth): ... this. (USE_GNU_NPTH): Rename to ... (USE_GNU_PTH): ... this. * m4/npth.m4: New file. * agent/Makefile.am, agent/cache.c, agent/call-pinentry.c, agent/call-scd.c, agent/findkey.c, agent/gpg-agent.c, agent/trustlist.c, common/Makefile.am, common/estream.c, common/exechelp-posix.c, common/exechelp-w32.c, common/exechelp-w32ce.c, common/http.c, common/init.c, common/sysutils.c, dirmngr/Makefile.am, dirmngr/crlfetch.c, dirmngr/dirmngr.c, dirmngr/dirmngr_ldap.c, dirmngr/ldap-wrapper-ce.c, dirmngr/ldap-wrapper.c, dirmngr/ldap.c, g13/Makefile.am, g13/call-gpg.c, g13/g13.c, g13/runner.c, scd/Makefile.am, scd/apdu.c, scd/app.c, scd/ccid-driver.c, scd/command.c, scd/scdaemon.c, tools/Makefile.am: Port to npth.
* estream: New function es_fclose_snatch.Werner Koch2011-12-151-0/+106
| | | | | | | | | | * common/estream.c (cookie_ioctl_function_t): New type. (es_fclose_snatch): New function. (COOKIE_IOCTL_SNATCH_BUFFER): New constant. (struct estream_internal): Add field FUNC_IOCTL. (es_initialize): Clear FUNC_IOCTL. (es_func_mem_ioctl): New function. (es_fopenmem, es_fopenmem_init): Init FUNC_IOCTL.
* * common/estream.c (es_fopenmem_init): New.Werner Koch2011-11-301-2/+35
| | | | * common/estream.h (es_fopenmem_init): New.
* Add parameter checks and extend documentation of estream.Werner Koch2011-11-301-10/+31
| | | | | * estream.c (func_mem_create): Don't set FUNC_REALLOC if GROW is not set. Require FUNC_REALLOC if DATA is NULL and FUNC_FREE is given.
* Fixed set but unused variable bugsWerner Koch2011-08-101-4/+2
|
* Simplify the management of the stream list in estream.cWerner Koch2011-03-031-66/+72
|
* Add finger support to dirmngr.Werner Koch2011-02-081-3/+8
| | | | | | | | | | | | | The basic network code from http.c is used for finger. This keeps the network related code at one place and we are able to use the somewhat matured code form http.c. Unfortunately I had to enhance the http code for more robustness and probably introduced new bugs. Test this code using gpg --fetch-key finger:[email protected] (I might be the last user of finger ;-)
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-041-95/+95
| | | | | | | | We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
* Fix es_fopenmem and es_mopen bug.Werner Koch2011-01-181-1/+1
|
* 2010-09-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann2010-09-011-1/+1
| | | | | | | * estream.c (_es_set_std_fd): Disable debug output.
* Fix for W32.Werner Koch2010-08-261-0/+2
|
* .Werner Koch2010-08-261-67/+136
|
* gpgconf does now work for Wince.Werner Koch2010-08-231-1/+84
|
* Reworked the posix and w32 exechelpers.Werner Koch2010-08-201-36/+435
|
* Fix regression in logging.Werner Koch2010-08-181-20/+37
| | | | | | Add a registry key to enable catch-all remote debugging for W32. Replace more stdio stuff by estream.
* Add code for a threaded LDAP access to replace the wrapper process.Werner Koch2010-08-021-1/+22
| | | | | Currently used for W32 and W32CE.
* Fixed couple of build problems. However the W32 version is currentlyWerner Koch2010-07-261-6/+6
| | | | | under work.
* Add new set_binary feature to estreamWerner Koch2010-07-241-0/+33
|
* Some work on porting dirmngr (unfinished)Werner Koch2010-07-161-12/+4
| | | | | Ported gpgtar to W32.
* 2010-06-10 Marcus Brinkmann <[email protected]>Marcus Brinkmann2010-06-101-1/+1
| | | | | | * server.c (SERVER_STDIN, SERVER_STDOUT): New macros. (gpgsm_server): Use them with assuan_fdopen.
* Add unfinished gpgtar.Werner Koch2010-06-071-3/+86
| | | | | Collected changes and ports of bug fixes from stable.
* Auto starting the agent does now work on CE.Werner Koch2010-05-041-26/+63
|
* More changes on the way to remove secring.gpg.Werner Koch2010-04-211-2/+13
|
* Whole lot of changes to support CE.Werner Koch2010-04-141-0/+3
|
* More chnages to use estream. Add a way to replace the standardWerner Koch2010-03-221-4/+37
| | | | | descriptors.
* Finished the bulk of changes to use estream in most places instead ofWerner Koch2010-03-151-35/+103
| | | | | stdio.
* Use a custom log handler for libassuan.Werner Koch2010-03-111-2/+4
|
* Change logging to use estream. The makes logging to a socket alsoWerner Koch2010-03-101-13/+54
| | | | | | work on Solaris etc. Further changes required.. This is just a first step.
* First steps towards the W32CE portWerner Koch2010-03-021-22/+88
|
* Add dummu option --passwd for gpg.Werner Koch2010-01-081-1/+1
| | | | | Collected changes.
* Update estream.Werner Koch2009-09-031-1/+39
|
* Reworked the estream memory buffer allocation.Werner Koch2009-06-291-35/+50
| | | | | Committed already posted patches for the v2 card.
* The variable is called RET and not RC.Werner Koch2009-06-291-4/+43
|
* Fixed stupid typo.Werner Koch2009-06-251-1/+1
|
* Fixed a bunch of little bugs as reported by Fabian Keil.Werner Koch2009-06-241-5/+7
| | | | | Still one problem left; marked with a gcc #warning.
* Fixed an fopen problem on Windows Vista.Werner Koch2009-06-031-51/+33
|
* Marked all unused args on non-W32 platforms.Werner Koch2008-10-201-9/+26
|
* Start support of TCOS 3 cards.Werner Koch2008-06-261-1/+1
| | | | | | | Support restriction attribute. Fix utf-8 printing problems. Use AES by default.
* Updated estream.Werner Koch2007-08-221-224/+288
| | | | | More changes for Windows.
* Properly close files opened by es_fopen.Werner Koch2007-07-161-0/+1
| | | | | | Allow setting of an empty passphrase. Assorted W32 changes.
* Changed to GPLv3.Werner Koch2007-07-041-5/+3
| | | | | Removed intl/.
* Fixed a problem in estream-printf.c.Werner Koch2007-06-251-81/+294
| | | | | Changes for Windows (gpgsm -k does now work). Minor cleanups.
* A whole bunch of changes to allow building for Windows.Werner Koch2007-06-141-15/+14
| | | | | See the ChangeLogs for details.
* First steps towards supporting W32.Werner Koch2007-06-061-31/+37
| | | | | | | This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
* Use estream_asprintf instead of the GNU asprintf.Werner Koch2007-05-151-121/+22
|
* Changes to let the key listing use estream to help systems withoutWerner Koch2007-03-191-1/+190
| | | | | funopen.
* No more warnings for AMD64 (at least when cross-compiling). Thus tehre is aWerner Koch2006-11-211-3/+0
| | | | | | | good chance that gpg2 will now work. Other cleanups. Updated gettext.
* Made some PIN pads work.Werner Koch2006-11-201-1/+12
| | | | | Some cleanups for 64 bit CPUs.
* Pth tweaks and improved estream.cWerner Koch2006-10-171-2/+93
|
* Changed HTTP API.Werner Koch2006-08-141-7/+131
|