1 |
/* context.h |
/* context.h |
2 |
* Copyright (C) 2000 Werner Koch (dd9jn) |
* Copyright (C) 2000 Werner Koch (dd9jn) |
3 |
* Copyright (C) 2002, 2003, 2004 Timo Schulz |
* Copyright (C) 2002, 2003, 2004, 2005 Timo Schulz |
4 |
* |
* |
5 |
* This file is part of MyGPGME. |
* This file is part of MyGPGME. |
6 |
* |
* |
68 |
unsigned int use_tmpfiles:1; |
unsigned int use_tmpfiles:1; |
69 |
unsigned int use_pass_fd:1; |
unsigned int use_pass_fd:1; |
70 |
unsigned int use_logging:1; |
unsigned int use_logging:1; |
71 |
unsigned int interactive:1; |
unsigned int use_interactive:1; |
72 |
unsigned int pipemode:1; |
unsigned int use_pipemode:1; |
73 |
|
|
74 |
int keylist_mode; |
int keylist_mode; |
75 |
int list_opts; |
int list_opts; |
104 |
int tmp_i; |
int tmp_i; |
105 |
char * tmp_id; |
char * tmp_id; |
106 |
char tmp_keyid[16+1]; |
char tmp_keyid[16+1]; |
|
|
|
107 |
void * tmp_res; |
void * tmp_res; |
108 |
|
|
109 |
volatile int key_cond; /* something new is available */ |
volatile int key_cond; /* something new is available */ |
150 |
|
|
151 |
char * comment; |
char * comment; |
152 |
|
|
153 |
|
char * homedir; |
154 |
|
|
155 |
int no_compress; |
int no_compress; |
156 |
|
|
157 |
unsigned long proc_rc; |
unsigned long proc_rc; |
158 |
}; |
}; |
159 |
|
|
164 |
gpgme_data_type_t type; |
gpgme_data_type_t type; |
165 |
gpgme_data_mode_t mode; |
gpgme_data_mode_t mode; |
166 |
|
|
167 |
int (*read_cb)( void *, char *, size_t, size_t *); |
int (*read_cb)(void *, char *, size_t, size_t *); |
168 |
void *read_cb_value; |
void *read_cb_value; |
169 |
int read_cb_eof; |
int read_cb_eof; |
170 |
|
|
204 |
struct user_id_info_s *next; |
struct user_id_info_s *next; |
205 |
struct user_id_flag_s flags; |
struct user_id_flag_s flags; |
206 |
int validity; |
int validity; |
207 |
char * name; |
char *name; |
208 |
char * prefs; |
char *email; |
209 |
|
char *prefs; |
210 |
int idx; |
int idx; |
211 |
}; |
}; |
212 |
|
|
241 |
ulong expired; |
ulong expired; |
242 |
gpgme_pk_cipher_t key_algo; |
gpgme_pk_cipher_t key_algo; |
243 |
gpgme_md_t md_algo; |
gpgme_md_t md_algo; |
244 |
int class; |
int sigclass; |
245 |
int trust; |
int trust; |
246 |
char id[41]; |
char id[41]; |
247 |
char * notation; |
char * notation; |
290 |
struct gpgme_card_s { |
struct gpgme_card_s { |
291 |
char * aid; |
char * aid; |
292 |
char * version; |
char * version; |
293 |
|
char ver[6]; |
294 |
char * vendor; |
char * vendor; |
295 |
char * serial; |
char * serial; |
296 |
char * surname; |
char * surname; |
396 |
int currno; |
int currno; |
397 |
} delsig; |
} delsig; |
398 |
struct { |
struct { |
399 |
|
int uid_idx; |
400 |
const char * passwd; |
const char * passwd; |
401 |
const char * url; |
const char * url; |
402 |
} keyserv; |
} keyserv; |