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-09-30 12:53:34 +02:00
2011-09-30 12:53:34 +02:00
2011-12-13 17:59:00 +01:00
2011-12-13 17:59:00 +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-12-01 11:09:02 +01:00
2011-12-01 11:09:02 +01:00
2007-07-04 19:49:40 +00:00
2011-02-03 16:35:33 +01:00
2011-11-30 17:34:49 +01:00
2011-11-30 17:34:49 +01:00
2012-01-03 17:32:41 +01:00
2011-10-24 11:38:17 +02:00
2011-09-30 12:53:34 +02:00
2012-01-20 14:27:36 +01:00
2012-01-20 14:27:36 +01:00
2012-01-25 14:50:47 +01:00
2011-12-15 14:45:08 +01:00
2011-02-04 12:57:53 +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-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
2009-07-07 10:02:41 +00:00
2011-03-01 14:22:41 +01:00
2011-03-01 14:22:41 +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
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
2012-02-06 20:50:47 +01:00
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-01-10 14:30:17 +01:00
2011-09-30 12:53:34 +02:00
2011-02-04 12:57:53 +01:00
2011-09-30 12:53:34 +02:00
2011-09-30 12:53:34 +02:00
2012-01-25 14:50:47 +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-30 12:53:34 +02:00
2011-09-30 12:53:34 +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-11 17:38:39 -08:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2011-08-10 14:11:30 +02:00
2007-07-04 19:49:40 +00:00
2003-08-05 17:11:04 +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-02-04 12:57:53 +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-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2007-07-04 19:49:40 +00:00
2011-07-20 16:41:25 +02:00
2011-07-20 16:41:25 +02:00
2011-02-04 12:57:53 +01:00
2011-02-03 20:59:01 +01:00
2011-09-30 12:53:34 +02:00
2011-09-30 12:53:34 +02:00
2011-09-30 12:53:34 +02:00
2011-09-30 12:53:34 +02:00
2012-01-25 14:50:47 +01:00
2011-04-12 16:30:08 +02:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2011-11-30 17:34:49 +01:00
2011-09-28 15:41:58 +02:00
2011-08-10 14:11:30 +02:00
2011-03-01 14:22:41 +01:00
2011-02-04 12:57:53 +01:00
2011-01-31 18:19:14 +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-07-20 20:49:41 +02:00
2011-09-30 12:53:34 +02:00
2011-09-30 12:53:34 +02:00
2011-09-30 12:53:34 +02:00
2011-02-04 12:57:53 +01:00
2011-09-30 12:53:34 +02:00
2011-09-30 12:53:34 +02:00
2011-03-01 14:22:41 +01:00
2011-03-01 14:22:41 +01:00
2011-02-04 12:57:53 +01:00
2010-03-15 11:15:45 +00:00
2011-09-30 12:53:34 +02:00
2012-01-06 15:17:49 +01:00
2011-04-25 23:59:25 +02:00
2011-09-30 12:53:34 +02:00
2011-09-30 12:53:34 +02:00
2012-02-06 20:50:47 +01:00
2011-09-30 12:53:34 +02:00
2011-09-30 12:53:34 +02:00
2011-09-30 12:53:34 +02:00
2011-09-30 12:53:34 +02:00
2012-01-20 14:27:36 +01:00
2011-09-30 12:53:34 +02:00
2011-09-30 12:53:34 +02:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00