Commit Graph

9 Commits

Author SHA1 Message Date
Marcus Brinkmann 8f8c5c47dd 2004-02-25 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (gc_component_list_options): Correct output for
	lists of arg type none.
2004-02-25 19:35:36 +00:00
Marcus Brinkmann 54d5446797 2004-02-24 Marcus Brinkmann <marcus@g10code.de>
* README.gpgconf: Revert last change.  Add new flags "default",
	"default desc" and "no arg desc".  Add new field ARGDEF.  Add new
	field FLAG to backend interface.
	* gpgconf-comp.c (struct gc_option): Make flags of type unsigned
	long.
	(gc_component_list_options): Adjust type for flags.
	Add default argument field.
	(retrieve_options_from_program): Use "1" as value for non-option
	arguments, not "Y".
	(gc_component_change_options): Read in flags from input.
2004-02-24 14:31:59 +00:00
Marcus Brinkmann c38f609206 2004-02-23 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (hextobyte): New function.
	(percent_deescape): New function.
	(get_config_pathname): Percent deescape pathname if taken from
	option (default) value.  Use default value only if it exists and
	is not empty.  Use empty string otherwise.  Don't include leading
	quote in pathname.
	(change_options_program): Percent deescape string before writing
	it out.
2004-02-23 19:37:04 +00:00
Werner Koch e588e13d7c Added empty components for gpgsm and scdaemon. 2004-02-18 17:00:56 +00:00
Marcus Brinkmann bdae155c7b Fix copyright line. 2004-02-01 15:30:50 +00:00
Marcus Brinkmann cff3f76862 2004-01-31 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c: Some bug fixes, parse only defaults from the
	program, and read the current values from the configuration file
	directly.
2004-01-31 13:58:27 +00:00
Marcus Brinkmann 74a20c31e3 2004-01-30 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c (gc_error): New function, use it instead of
	error() throughout.
2004-01-30 12:15:53 +00:00
Marcus Brinkmann 0329746dce 2004-01-30 Marcus Brinkmann <marcus@g10code.de>
* gpgconf-comp.c: Use xmalloc, libcommon's asctimestamp and
	gnupg_get_time, fix error() invocation and use getline()
	consistently.
2004-01-30 10:38:07 +00:00
Marcus Brinkmann 42ab09e821 2004-01-29 Marcus Brinkmann <marcus@g10code.de>
* 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.
2004-01-28 23:58:18 +00:00