diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2024-11-20 17:02:04 +0100 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2024-11-20 17:02:04 +0100 |
commit | c93c46cc0e4bd9571825c2460d48812d443fadb4 (patch) | |
tree | 1685c92c405a66dd3fe0dcc14f80490928b7289e /src/include/taler_util.h | |
parent | afc996aecbe0f7dc75fdc9c451f2510f5ad8ba38 (diff) |
create library functions for secmods
Diffstat (limited to 'src/include/taler_util.h')
-rw-r--r-- | src/include/taler_util.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/include/taler_util.h b/src/include/taler_util.h index 1c65610b3..527a34d9e 100644 --- a/src/include/taler_util.h +++ b/src/include/taler_util.h @@ -912,7 +912,7 @@ struct TALER_SECMOD_Options * Number of workers to launch. Note that connections to * exchanges are NOT workers. */ - unsigned int max_workers = 16; + unsigned int max_workers; /** * Time when the key update is executed. @@ -931,6 +931,12 @@ struct TALER_SECMOD_Options */ const char *section; + /** + * Return value from main(). + */ + int global_ret; + + }; #define TALER_SECMOD_OPTIONS(opt) \ @@ -940,12 +946,12 @@ struct TALER_SECMOD_Options "time", \ "TIMESTAMP", \ "pretend it is a different time for the update", \ - &opt->global_now_tmp), \ + &(opt)->global_now_tmp), \ GNUNET_GETOPT_option_uint ('w', \ "workers", \ "COUNT", \ "use COUNT workers for parallel processing of batch requests", \ - &opt->max_workers) + &(opt)->max_workers) /** |