diff options
author | Werner Koch <wk@gnupg.org> | 2011-01-10 14:30:17 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2011-01-10 14:30:17 +0100 |
commit | 8c8c45725f60b77adc367f72aa479bfa2f9b1ea2 (patch) | |
tree | 2c6bba9dca4692fa9b4a954903f0863e7db84ef6 /common/keyserver.h | |
parent | Support the gnuk token pinpad code. (diff) | |
download | gnupg2-8c8c45725f60b77adc367f72aa479bfa2f9b1ea2.tar.xz gnupg2-8c8c45725f60b77adc367f72aa479bfa2f9b1ea2.zip |
Initial code checking for backup - not yet working.
Diffstat (limited to 'common/keyserver.h')
-rw-r--r-- | common/keyserver.h | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/common/keyserver.h b/common/keyserver.h index 6455e8c57..d286f7da7 100644 --- a/common/keyserver.h +++ b/common/keyserver.h @@ -1,5 +1,5 @@ /* keyserver.h - Public definitions for gpg keyserver helpers. - * Copyright (C) 2001, 2002 Free Software Foundation, Inc. + * Copyright (C) 2001, 2002, 2011 Free Software Foundation, Inc. * * This file is part of GnuPG. * @@ -39,4 +39,26 @@ /* Must be 127 due to shell internal magic. */ #define KEYSERVER_SCHEME_NOT_FOUND 127 +/* Object to hold information pertaining to a keyserver; it further + allows to build a list of keyservers. Note that g10/options.h has + a typedef for this. FIXME: We should make use of the + parse_uri_t. */ +struct keyserver_spec +{ + struct keyserver_spec *next; + char *uri; + char *scheme; + char *auth; + char *host; + char *port; + char *path; + char *opaque; + strlist_t options; + struct + { + unsigned int direct_uri:1; + } flags; +}; + + #endif /*GNUPG_COMMON_KEYSERVER_H*/ |