aboutsummaryrefslogtreecommitdiffstats
path: root/common/estream.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change all quotes in strings and comments to the new GNU standard.Werner Koch2012-06-051-1/+1
| | | | | | | | | | | | | | | | | | | The asymmetric quotes used by GNU in the past (`...') don't render nicely on modern systems. We now use two \x27 characters ('...'). The proper solution would be to use the correct Unicode symmetric quotes here. However this has the disadvantage that the system requires Unicode support. We don't want that today. If Unicode is available a generated po file can be used to output proper quotes. A simple sed script like the one used for en@quote is sufficient to change them. The changes have been done by applying sed -i "s/\`\([^'\`]*\)'/'\1'/g" to most files and fixing obvious problems by hand. The msgid strings in the po files were fixed with a similar command.
* estream: New function es_fclose_snatch.Werner Koch2011-12-151-1/+3
| | | | | | | | | | * 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-1/+4
| | | | * common/estream.h (es_fopenmem_init): New.
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-041-1/+1
| | | | | | | | 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.
* gpgconf does now work for Wince.Werner Koch2010-08-231-0/+3
|
* Reworked the posix and w32 exechelpers.Werner Koch2010-08-201-0/+29
|
* Fix regression in logging.Werner Koch2010-08-181-0/+7
| | | | | | Add a registry key to enable catch-all remote debugging for W32. Replace more stdio stuff by estream.
* Simplified http.c.Werner Koch2010-08-051-0/+5
|
* Add new set_binary feature to estreamWerner Koch2010-07-241-0/+4
|
* Add unfinished gpgtar.Werner Koch2010-06-071-0/+5
| | | | | Collected changes and ports of bug fixes from stable.
* More chnages to use estream. Add a way to replace the standardWerner Koch2010-03-221-1/+2
| | | | | descriptors.
* Finished the bulk of changes to use estream in most places instead ofWerner Koch2010-03-151-0/+8
| | | | | stdio.
* Change logging to use estream. The makes logging to a socket alsoWerner Koch2010-03-101-2/+15
| | | | | | work on Solaris etc. Further changes required.. This is just a first step.
* First steps towards the W32CE portWerner Koch2010-03-021-1/+35
|
* Updated estream.Werner Koch2007-08-221-4/+4
| | | | | More changes for Windows.
* Changed to GPLv3.Werner Koch2007-07-041-5/+3
| | | | | Removed intl/.
* Fixed a problem in estream-printf.c.Werner Koch2007-06-251-4/+12
| | | | | Changes for Windows (gpgsm -k does now work). Minor cleanups.
* Adjusted symbols for printf and updated to latest version.Werner Koch2007-05-151-8/+94
|
* Use estream_asprintf instead of the GNU asprintf.Werner Koch2007-05-151-2/+2
|
* Changes to let the key listing use estream to help systems withoutWerner Koch2007-03-191-0/+17
| | | | | funopen.
* Changed HTTP API.Werner Koch2006-08-141-0/+4
|
* Updated FSF's address.Werner Koch2006-06-201-18/+19
|
* gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch2005-06-161-4/+4
| | | | | | | char * vs. unsigned char * warnings. The GNU coding standards used to say that these mismatches are okay and better than a bunch of casts. Obviously this has changed now.
* * AUTHORS: Copied from 1.4 and edited to refelct the changes inWerner Koch2005-02-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.9. * agent.h (agent_exit): Add JNLIB_GCC_A_NR to indicate that this function won't return. * gpg-agent.c (check_for_running_agent): Initialize pid to a default value if not needed. * command-ssh.c: Removed stdint.h. s/byte_t/unsigned char/, s/uint32/u32/ becuase that is what we have always used in GnuPG. (ssh_request_specs): Moved to top of file. (ssh_key_types): Ditto. (make_cstring): Ditto. (data_sign): Don't use a variable for the passphrase prompt, make it translatable. (ssh_request_process): * findkey.c (modify_description): Renamed arguments for clarity, polished documentation. Make comment a C-string. Fixed case of DESCRIPTION being just "%". (agent_key_from_file): Make sure comment string to a C-string. * gpg-agent.c (create_socket_name): Cleanup the implemntation, use DIMof, agent_exit, removed superflous args and return the allocated string as value. Documented. Changed callers. (create_server_socket): Cleanups similar to above. Changed callers. (cleanup_do): Renamed to .. (remove_socket): .. this. Changed caller. (handle_connections): The signals are to be handled in the select and not in the accept. Test all FDs after returning from a select. Remove the event tests from the accept calls. The select already assured that the accept won't block.
* 2005-01-26 Moritz Schulte <[email protected]>Moritz Schulte2005-01-261-0/+201
* Makefile.am (libcommon_a_SOURCES): New source files: estream.c, estream.h. * estream.c, estream.h: New files.