diff options
author | Werner Koch <[email protected]> | 2004-01-05 09:28:27 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2004-01-05 09:28:27 +0000 |
commit | f332166e51ea753ed17e80c0a74fd8acc5b211fb (patch) | |
tree | 7b3237522edc32ccc118197c951065cb4c8ee8ee /tools/gpgconf.h | |
parent | Post release version number bump. (diff) | |
download | gnupg-f332166e51ea753ed17e80c0a74fd8acc5b211fb.tar.gz gnupg-f332166e51ea753ed17e80c0a74fd8acc5b211fb.zip |
* Manifest: New.
* gpgconf.c, gpgconf.h, gpgconf-list.c: New. A skeleton for now.
* no-libgcrypt.c: New.
* Makefile.am: Add above.
Diffstat (limited to 'tools/gpgconf.h')
-rw-r--r-- | tools/gpgconf.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/tools/gpgconf.h b/tools/gpgconf.h new file mode 100644 index 000000000..dd0ec2cc2 --- /dev/null +++ b/tools/gpgconf.h @@ -0,0 +1,41 @@ +/* gpgconf.h - Global definitions for gpgconf + * Copyright (C) 2003 Free Software Foundation, Inc. + * + * This file is part of GnuPG. + * + * GnuPG is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * GnuPG is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + */ + +#ifndef GPGCONF_H +#define GPGCONF_H + +#include "../common/util.h" + +/* We keep all global options in the structure OPT. */ +struct { + int verbose; /* Verbosity level. */ + int quiet; /* Be as quiet as possible. */ + int dry_run; /* Don't change any persistent data. */ + const char *homedir; /* Configuration directory name. */ + char *outfile; /* Name of output file. */ +} opt; + + + +/*-- gpgconf-list.c --*/ +void gpgconf_list_standard_options (void); + + +#endif /*GPGCONF_H*/ |