aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * gpg-agent.c (main): Use default_homedir().Werner Koch2004-12-211-0/+4
| | | | | | | | | | | | | | | | | | | * protect-tool.c (main): Ditto. * signal.c (got_fatal_signal, got_usr_signal) (got_fatal_signal) [DOSISH]: Don't build. * simple-gettext.c: Include sysutils.h * homedir.c: New. * Makefile.am (libcommon_a_SOURCES): Add it. (EXTRA_DIST): Removed mkerror and mkerrtok. * gpgv.c, g10.c (main): Use default_hoemdir (). * scdaemon.c (main): Use default_homedir(). * gpgsm.c (main): Use default_homedir().
* * configure.ac: Add PATHSEP_C and PATHSEP_S. For W32 let allWerner Koch2004-12-201-0/+4
| | | | | | | | | | | | | | | | | | | | directories default to c:/gnupg. Require libassuan 0.6.9. * gpg-agent.c (main) [W32]: Now that Mutexes work we can remove the pth_init kludge. (main): Add new options --[no-]use-standard-socket. (check_for_running_agent): Check whether it is running on the standard socket. * sysutils.h [W32]: Define sleep. * util.h: Add prototype for mkdtemp. * call-agent.c (start_agent): Before starting a pipe server start to connect to a server on the standard socket. Use PATHSEP * call-dirmngr.c (start_dirmngr): Use PATHSEP. * import.c: Include unistd.h for dup and close.
* Avoid the " map_to_assuan_status called with no error source" diagnostic.Werner Koch2004-12-181-1/+1
|
* A whole bunch of changes to allow building for W32.Werner Koch2004-12-151-1/+3
|
* First take on a W32 portWerner Koch2004-12-021-1/+3
|
* * xreadline.c: New. Based on the iobuf_read_line function.Werner Koch2004-06-141-0/+5
| | | | | | | | | | * no-libgcrypt.c (gcry_realloc, gcry_xmalloc, gcry_xcalloc): New. * gpgconf-comp.c (retrieve_options_from_program) (retrieve_options_from_file, change_options_file) (change_options_program, gc_component_change_options): Replaced getline by read_line and test for allocation failure.
* * util.h (xtrycalloc_secure,xtrymalloc_secure): New.Werner Koch2004-06-061-1/+3
|
* New. Based on code from ../sm/base64.c.Werner Koch2004-02-101-2/+18
|
* Some minor bug fixes, new test utilities and started support for otherWerner Koch2004-01-271-1/+2
| | | | | smartcard applications.
* * gettime.c (asctimestamp): Add a note on a non-avoidable gcc warning.Werner Koch2003-12-171-1/+7
| | | | | | | | * util.h [!HAVE_VASPRINTF]: Add printf format attribute to the replacement function. * miscellaneous.c (xasprintf): New.
* (vasprintf): Also fixed the prototype.Werner Koch2003-11-131-1/+1
|
* Mainly changes to adjust for the changed KSBA API.Werner Koch2003-11-121-2/+0
|
* * util.h (gnupg_isotime_t): New.Werner Koch2003-10-311-0/+19
| | | | | | | (gnupg_copy_time): New. * gettime.c (gnupg_get_isotime): New.
* Merged most of David Shaw's changes in 1.3 since 2003-06-03.Werner Koch2003-09-231-0/+4
|
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-051-0/+120
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-191-117/+0
| | | | 'GNUPG-1-9-BRANCH'.
* * signal.c: New. Taken from GnuPG 1.1.91.Werner Koch2002-08-091-2/+8
|
* * fseeko.c, ftello.c: New.Werner Koch2002-07-221-1/+0
| | | | | * configure.ac: Check for ftello and provide a replacement.
* sm/Werner Koch2002-05-141-0/+7
| | | | | | | | | | | | | | * gpgsm.c: New option --faked-system-time * sign.c (gpgsm_sign): And use it here. * certpath.c (gpgsm_validate_path): Ditto. common/ * gettime.c: New. agent/ * cache.c (housekeeping, agent_put_cache): Use our time() wrapper. / * doc/: New * configure.ac, Makefile.am: Added doc/
* * fopencookie.c: Dummy function.Werner Koch2002-02-121-2/+24
| | | | | | | | * vasprintf.c: New. Taken from binutils-2.9.1 and dropped all non ANSI-C stuff. Merged with asprintf version. * no-pth.c: New.
* *** empty log message ***Werner Koch2002-01-101-0/+8
|
* * util.h (digitp, hexdigitp): New ctype like macros.Werner Koch2001-12-141-2/+2
| | | | | | | | (atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New. * command.c: Removed the conversion macros as they are now in ../common/util.h.
* * util.h (digitp, hexdigitp): New ctype like macros.Werner Koch2001-12-141-0/+15
| | | | | (atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New.
* New error codes and another mapping fnc.Werner Koch2001-12-051-0/+1
|
* Added new directory common to enable sharing of some code and errorWerner Koch2001-11-241-0/+59
numbers between gpg, gpgsm and gpg-agent. Move some files and code to there.