mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Add a hook to be called right after main.
* common/init.c (early_system_init): New stub function. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
b1d5ed6ac8
commit
0c2bfd9d5a
18 changed files with 28 additions and 0 deletions
|
@ -40,6 +40,7 @@
|
|||
|
||||
#include "i18n.h"
|
||||
#include "util.h"
|
||||
#include "init.h"
|
||||
|
||||
|
||||
/* Constants for the options. */
|
||||
|
@ -180,6 +181,7 @@ main (int argc, char **argv )
|
|||
int cmd_loadcrl = 0;
|
||||
int cmd_squid_mode = 0;
|
||||
|
||||
early_system_init ();
|
||||
set_strusage (my_strusage);
|
||||
log_set_prefix ("dirmngr-client",
|
||||
JNLIB_LOG_WITH_PREFIX);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue