gnupg/common
Werner Koch 3af261572b * gpg-agent.c (handle_connections): Need to check for events if
select returns with -1.

* tools.texi (gpg-connect-agent): New.

* app-openpgp.c (get_one_do): Never try to get a non cacheable
object from the cache.
(get_one_do): Add new arg to return an error code.  Changed all
callers.
(do_getattr): Let it return a proper error code.

* app.c (select_application): Return an error code and the
application context in an new arg.
* command.c (open_card): Adjusted for that.  Don't use the
fallback if no card is present.  Return an error if the card has
been removed without a reset.
(do_reset, cmd_serialno): Clear that error flag.
(TEST_CARD_REMOVAL): New. Use it with all command handlers.

* scdaemon.c (ticker_thread): Termintate if a shutdown is pending.

* apdu.c: Added some PCSC error codes.
(pcsc_error_to_sw): New.
(reset_pcsc_reader, pcsc_get_status, pcsc_send_apdu)
(open_pcsc_reader): Do proper error code mapping.

* gpg-connect-agent.c: New.
* Makefile.am: Add it.
2005-02-24 17:36:11 +00:00
..
ChangeLog 2005-01-26 Moritz Schulte <moritz@g10code.com> 2005-01-26 22:24:59 +00:00
Makefile.am 2005-01-26 Moritz Schulte <moritz@g10code.com> 2005-01-26 22:24:59 +00:00
README This commit was manufactured by cvs2svn to create branch 2003-08-05 17:11:04 +00:00
asshelp.c (send_pinentry_environment): Fixed changed from 2005-01-03 11:30:43 +00:00
asshelp.h Avoid the " map_to_assuan_status called with no error source" diagnostic. 2004-12-18 10:22:10 +00:00
b64enc.c * b64enc.c: Include stdio.h and string.h 2004-11-23 17:09:51 +00:00
dynload.h * dynload.h [__MINGW32__]: Define RTLD_LAZY. 2004-03-16 10:47:08 +00:00
errors.h (STATUS_NEWSIG): New. 2004-04-05 17:24:27 +00:00
estream.c 2005-01-26 Moritz Schulte <moritz@g10code.com> 2005-01-26 22:24:59 +00:00
estream.h * AUTHORS: Copied from 1.4 and edited to refelct the changes in 2005-02-03 17:40:02 +00:00
exechelp.c * configure.ac (AH_BOTTOM): Define EXEEXT_S. 2004-12-18 18:53:32 +00:00
exechelp.h * exechelp.h, exechelp.c: New. Based on code from ../sm/import.c. 2004-12-06 18:28:56 +00:00
fseeko.c First take on a W32 port 2004-12-02 07:48:09 +00:00
ftello.c First take on a W32 port 2004-12-02 07:48:09 +00:00
gettime.c * gettime.c (asctimestamp): Add a note on a non-avoidable gcc warning. 2003-12-17 12:26:38 +00:00
homedir.c * homedir.c: New. Use CSIDL_APPDATA for W32 as the default home 2004-12-21 12:44:42 +00:00
i18n.h Added new directory common to enable sharing of some code and error 2001-11-24 17:43:43 +00:00
iobuf.c A whole bunch of changes to allow building for W32. 2004-12-15 14:15:54 +00:00
iobuf.h This commit was manufactured by cvs2svn to create branch 2003-08-05 17:11:04 +00:00
isascii.c This commit was manufactured by cvs2svn to create branch 2003-01-09 13:29:36 +00:00
maperror.c * maperror.c (map_assuan_err_with_source): Oops, args were swapped. 2004-12-19 13:38:24 +00:00
membuf.c * call-scd.c (init_membuf, put_membuf, get_membuf): Removed. We 2004-12-20 08:32:56 +00:00
membuf.h This commit was manufactured by cvs2svn to create branch 2003-08-05 17:11:04 +00:00
miscellaneous.c 2004-01-30 Marcus Brinkmann <marcus@g10code.de> 2004-01-30 12:37:09 +00:00
mkdtemp.c * configure.ac: Add PATHSEP_C and PATHSEP_S. For W32 let all 2004-12-20 16:17:25 +00:00
mkerrors Added new directory common to enable sharing of some code and error 2001-11-24 17:43:43 +00:00
mkerrtok Various changes. 2002-06-12 09:56:05 +00:00
putc_unlocked.c This commit was manufactured by cvs2svn to create branch 2003-01-09 13:29:36 +00:00
sexp-parse.h Some minor bug fixes, new test utilities and started support for other 2004-01-27 16:40:42 +00:00
signal.c * gpg-agent.c (main): Use default_homedir(). 2004-12-21 10:03:00 +00:00
simple-gettext.c * gpg-agent.c (main): Use default_homedir(). 2004-12-21 10:03:00 +00:00
simple-pwquery.c * gpg-agent.c (handle_connections): Need to check for events if 2005-02-24 17:36:11 +00:00
simple-pwquery.h * preset-passphrase.c (preset_passphrase): Handle --passphrase. 2004-12-21 19:05:15 +00:00
strsep.c Fixed copyright comments. 2004-12-03 18:38:23 +00:00
sysutils.c * sysutils.c (disable_core_dumps): Only set the current limit. 2004-05-11 09:54:52 +00:00
sysutils.h * configure.ac: Add PATHSEP_C and PATHSEP_S. For W32 let all 2004-12-20 16:17:25 +00:00
ttyio.c Merged most of David Shaw's changes in 1.3 since 2003-06-03. 2003-09-23 17:48:33 +00:00
ttyio.h (tty_fprintf): New. 2003-09-18 15:51:01 +00:00
ttyname.c A whole bunch of changes to allow building for W32. 2004-12-15 14:15:54 +00:00
util.h * gpg-agent.c (main): Use default_homedir(). 2004-12-21 10:03:00 +00:00
vasprintf.c (vasprintf): ARGS should not be a pointer. Fixed 2003-11-13 07:37:18 +00:00
w32reg.c A whole bunch of changes to allow building for W32. 2004-12-15 14:15:54 +00:00
xasprintf.c 2004-01-30 Marcus Brinkmann <marcus@g10code.de> 2004-01-30 12:37:09 +00:00
xreadline.c * gpg-agent.c (handle_connections): Need to check for events if 2005-02-24 17:36:11 +00:00
yesno.c This commit was manufactured by cvs2svn to create branch 2003-08-05 17:11:04 +00:00

README

Stuff used by several modules of GnuPG.

These directories use it:

gpg
sm
agent

These directories don't use it:

kbx