~ubuntu-branches/ubuntu/hardy/gnupg/hardy-updates

« back to all changes in this revision

Viewing changes to g10/main.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-12-16 16:57:39 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20051216165739-v0m2d1you6hd8jho
Tags: upstream-1.4.2
ImportĀ upstreamĀ versionĀ 1.4.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* main.h
2
 
 * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003,
3
 
 *               2004 Free Software Foundation, Inc.
 
2
 * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004,
 
3
 *               2005 Free Software Foundation, Inc.
4
4
 *
5
5
 * This file is part of GnuPG.
6
6
 *
16
16
 *
17
17
 * You should have received a copy of the GNU General Public License
18
18
 * along with this program; if not, write to the Free Software
19
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
 
19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
 
20
 * USA.
20
21
 */
21
22
#ifndef G10_MAIN_H
22
23
#define G10_MAIN_H
102
103
char *pct_expando(const char *string,struct expando_args *args);
103
104
void deprecated_warning(const char *configname,unsigned int configlineno,
104
105
                        const char *option,const char *repl1,const char *repl2);
 
106
void deprecated_command (const char *name);
 
107
 
105
108
const char *compress_algo_to_string(int algo);
106
109
int string_to_compress_algo(const char *string);
107
110
int check_compress_algo(int algo);
121
124
char *argsplit(char *string);
122
125
int parse_options(char *str,unsigned int *options,
123
126
                  struct parse_options *opts,int noisy);
124
 
 
 
127
char *unescape_percent_string (const unsigned char *s);
125
128
char *default_homedir (void);
 
129
const char *get_libexecdir (void);
126
130
 
127
131
 
128
132
/*-- helptext.c --*/
163
167
void show_basic_key_info (KBNODE keyblock);
164
168
 
165
169
/*-- keygen.c --*/
166
 
u32 ask_expire_interval(int object);
 
170
u32 parse_expire_string(const char *string);
 
171
u32 ask_expire_interval(int object,const char *def_expire);
167
172
u32 ask_expiredate(void);
168
173
void generate_keypair( const char *fname, const char *card_serialno,
169
174
                       const char *backup_encryption_dir );
195
200
MPI encode_md_value( int pubkey_algo, MD_HANDLE md,
196
201
                     int hash_algo, unsigned nbits );
197
202
 
198
 
/*-- comment.c --*/
199
 
KBNODE make_comment_node( const char *s );
200
 
KBNODE make_mpi_comment_node( const char *s, MPI a );
201
 
 
202
203
/*-- import.c --*/
203
204
int parse_import_options(char *str,unsigned int *options,int noisy);
204
205
void import_keys( char **fnames, int nnames,
276
277
void block_all_signals(void);
277
278
void unblock_all_signals(void);
278
279
 
 
280
 
279
281
#ifdef ENABLE_CARD_SUPPORT
280
282
/*-- card-util.c --*/
281
283
void change_pin (int no, int allow_admin);