diff options
Diffstat (limited to 'g10/options.h')
-rw-r--r-- | g10/options.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h index c2a68b7b5..d8ed34b3e 100644 --- a/g10/options.h +++ b/g10/options.h @@ -201,6 +201,15 @@ struct } opt; +/* CTRL is used to keep some global variables we currently can't + avoid. Future concurrent versions of gpg will put it into a per + request structure CTRL. */ +EXTERN_UNLESS_MAIN_MODULE +struct { + int in_auto_key_retrieve; /* True if we are doing an + auto_key_retrieve. */ +} ctrl; + #define DBG_PACKET_VALUE 1 /* debug packet reading/writing */ #define DBG_MPI_VALUE 2 /* debug mpi details */ #define DBG_CIPHER_VALUE 4 /* debug cipher handling */ |