diff options
author | Marcus Brinkmann <[email protected]> | 2004-01-28 23:58:18 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2004-01-28 23:58:18 +0000 |
commit | 42ab09e82131c628f6675ad2b306e6acf60a265c (patch) | |
tree | 868bc448916f35d2aef8b676304c1a7c88db04e9 /tools/gpgconf.h | |
parent | add a few notes. (diff) | |
download | gnupg-42ab09e82131c628f6675ad2b306e6acf60a265c.tar.gz gnupg-42ab09e82131c628f6675ad2b306e6acf60a265c.zip |
2004-01-29 Marcus Brinkmann <[email protected]>
* gpgconf-list.c: File removed.
* README.gpgconf: New file.
* gpgconf-comp.c: New file.
* Makefile.am (gpgconf_SOURCES): Remove gpgconf-list.c, add
gpgconf-comp.c.
Diffstat (limited to 'tools/gpgconf.h')
-rw-r--r-- | tools/gpgconf.h | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/tools/gpgconf.h b/tools/gpgconf.h index dd0ec2cc2..6ccc0d1dd 100644 --- a/tools/gpgconf.h +++ b/tools/gpgconf.h @@ -26,16 +26,31 @@ /* We keep all global options in the structure OPT. */ struct { int verbose; /* Verbosity level. */ - int quiet; /* Be as quiet as possible. */ + int quiet; /* Be extra quiet. */ int dry_run; /* Don't change any persistent data. */ - const char *homedir; /* Configuration directory name. */ char *outfile; /* Name of output file. */ + + int component; /* The active component. */ } opt; -/*-- gpgconf-list.c --*/ -void gpgconf_list_standard_options (void); +/*-- gpgconf-comp.c --*/ +/* List all components that are available. */ +void gc_component_list_components (FILE *out); + +/* Find the component with the name NAME. Returns -1 if not + found. */ +int gc_component_find (const char *name); + +/* Retrieve the currently active options and their defaults from all + involved backends for this component. */ +void gc_component_retrieve_options (int component); + +/* List all options of the component COMPONENT. */ +void gc_component_list_options (int component, FILE *out); +/* Read the modifications from IN and apply them. */ +void gc_component_change_options (int component, FILE *in); #endif /*GPGCONF_H*/ |