diff options
author | Werner Koch <[email protected]> | 2011-01-10 13:30:17 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2011-01-10 13:30:17 +0000 |
commit | 8c8c45725f60b77adc367f72aa479bfa2f9b1ea2 (patch) | |
tree | 2c6bba9dca4692fa9b4a954903f0863e7db84ef6 /g10/options.h | |
parent | Support the gnuk token pinpad code. (diff) | |
download | gnupg-8c8c45725f60b77adc367f72aa479bfa2f9b1ea2.tar.gz gnupg-8c8c45725f60b77adc367f72aa479bfa2f9b1ea2.zip |
Initial code checking for backup - not yet working.
Diffstat (limited to 'g10/options.h')
-rw-r--r-- | g10/options.h | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/g10/options.h b/g10/options.h index 28a2805a9..cd0140651 100644 --- a/g10/options.h +++ b/g10/options.h @@ -1,6 +1,6 @@ /* options.h * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - * 2007, 2010 Free Software Foundation, Inc. + * 2007, 2010, 2011 Free Software Foundation, Inc. * * This file is part of GnuPG. * @@ -35,6 +35,13 @@ #endif #endif +/* Declaration of a keyserver spec type. The definition is found in + ../common/keyserver.h. */ +struct keyserver_spec; +typedef struct keyserver_spec *keyserver_spec_t; + + +/* Global options for GPG. */ EXTERN_UNLESS_MAIN_MODULE struct { @@ -130,22 +137,7 @@ struct int not_dash_escaped; int escape_from; int lock_once; - struct keyserver_spec - { - char *uri; - char *scheme; - char *auth; - char *host; - char *port; - char *path; - char *opaque; - strlist_t options; - struct - { - unsigned int direct_uri:1; - } flags; - struct keyserver_spec *next; - } *keyserver; + keyserver_spec_t keyserver; /* The list of configured keyservers. */ struct { unsigned int options; @@ -245,7 +237,7 @@ struct AKL_KEYSERVER, AKL_SPEC } type; - struct keyserver_spec *spec; + keyserver_spec_t spec; struct akl *next; } *auto_key_locate; |