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-03-03 12:40:54 +01:00
2011-08-10 14:11:30 +02:00
2011-11-06 17:01:31 +01:00
2011-11-06 17:01:31 +01:00
2011-02-08 21:11:19 +01:00
2011-03-08 12:23:59 +01:00
2011-11-06 17:01:31 +01:00
2011-12-01 11:09:02 +01:00
2011-09-20 09:54:27 +02: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
2011-02-04 12:57:53 +01:00
2011-09-20 09:54:27 +02:00
2011-02-04 12:57:53 +01:00
2011-04-29 12:01:52 +02:00
2011-04-28 10:51:14 +02:00
2011-02-02 17:40:32 +01:00
2011-02-04 12:57:53 +01:00
2007-07-04 19:49:40 +00:00
2011-12-02 17:04:58 +01:00
2011-02-04 12:57:53 +01:00
2011-09-20 19:24:52 +02:00
2011-04-29 15:07:11 +02:00
2012-02-06 20:50:47 +01:00
2011-02-04 12:57:53 +01:00
2012-02-06 20:50:47 +01:00
2011-02-04 12:57:53 +01:00
2011-08-10 14:11:30 +02:00
2011-02-04 12:57:53 +01:00
2011-09-28 15:41:58 +02:00
2011-04-29 15:07:11 +02:00
2011-11-06 17:01:31 +01:00
2011-11-06 17:01:31 +01:00
2011-03-03 13:01:03 +01:00
2012-01-20 16:50:42 -05:00
2011-09-28 15:41:58 +02:00
2010-04-23 11:36:59 +00:00
2011-01-10 14:30:17 +01:00
2011-11-30 17:34:49 +01:00
2011-11-06 17:01:31 +01:00
2011-09-20 09:54:27 +02:00
2011-12-01 11:09:02 +01:00
2011-02-04 12:57:53 +01:00
2012-01-11 20:15:47 +01:00
2011-02-04 12:57:53 +01:00
2000-07-31 08:04:16 +00: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-07-18 10:57:33 +02:00
2011-09-20 19:24:52 +02:00
2011-12-15 17:00:40 -05:00
2010-04-23 11:36:59 +00:00
2011-09-20 19:24:52 +02:00
2011-06-13 14:54:40 +02:00
2011-02-02 17:40:32 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2011-11-22 15:30:26 +01:00
2000-07-31 08:04:16 +00:00
2011-09-20 19:24:52 +02:00
2011-02-04 12:57:53 +01:00
2008-12-12 08:54:50 +00:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2011-06-01 21:43:30 +02:00
2011-08-10 14:11:30 +02:00
2012-01-31 21:55:06 -05:00
2011-02-04 12:57:53 +01:00
2011-09-20 19:24:52 +02:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2012-01-20 16:50:42 -05:00
2012-01-20 16:50:42 -05:00
2007-11-19 16:03:50 +00:00
2012-01-20 16:50:42 -05:00
2012-01-20 16:50:42 -05:00
2011-02-04 12:57:53 +01:00