1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch eb0faef81d common: Add a global variable to for the default error source.
For the shared code parts it is cumbersome to pass an error sourse
variable to each function.  Its value is always a constant for a given
binary and thus a global variable makes things a lot easier than the
former macro stuff.
* common/init.c (default_errsource): New global var.
(init_common_subsystems): Rename to _init_common_subsystems.  Set
DEFAULT_ERRSOURCE.
* common/init.h: Assert value of GPG_ERR_SOURCE_DEFAULT.
(init_common_subsystems): New macro.
* common/util.h (default_errsource): Add declaration.
* kbx/keybox-defs.h: Add some GPG_ERR_SOURCE_DEFAULT trickery.
2012-02-06 20:50:47 +01:00
..
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2007-07-04 19:49:40 +00:00
2011-02-03 16:35:33 +01:00
2012-01-25 14:50:47 +01:00
2012-01-25 14:50:47 +01:00
2012-01-25 14:50:47 +01:00
2012-01-25 14:50:47 +01:00
2012-01-25 14:50:47 +01:00
2011-02-08 21:11:19 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2007-07-04 19:49:40 +00:00
2012-01-25 14:50:47 +01:00
2011-02-11 17:38:39 -08:00
2011-08-10 14:11:30 +02:00
2007-07-04 19:49:40 +00:00
2011-08-10 14:11:30 +02:00
2011-02-04 12:57:53 +01:00
2007-07-04 19:49:40 +00:00
2011-02-03 20:59:01 +01:00
2012-01-25 14:50:47 +01:00
2011-02-04 12:57:53 +01:00
2011-07-20 20:49:41 +02:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00

Stuff used by several modules of GnuPG.

These directories use it:

gpg
sm
agent

These directories don't use it:

kbx