36 |
enum setup_t { |
enum setup_t { |
37 |
SETUP_KEYGEN = 1, |
SETUP_KEYGEN = 1, |
38 |
SETUP_IMPORT = 2, |
SETUP_IMPORT = 2, |
39 |
SETUP_EXISTING = 3 |
SETUP_EXISTING = 3, |
40 |
|
SETUP_CARDGEN = 4 |
41 |
}; |
}; |
42 |
|
|
43 |
enum gpg_cmd_t { |
enum gpg_cmd_t { |
93 |
char* get_gnupg_config (void); |
char* get_gnupg_config (void); |
94 |
char* get_gnupg_keyring_from_options (const char *fname, int pub); |
char* get_gnupg_keyring_from_options (const char *fname, int pub); |
95 |
int check_gnupg_config (const char *fname, int *secrings, int *pubrings); |
int check_gnupg_config (const char *fname, int *secrings, int *pubrings); |
96 |
char* get_gnupg_path( void ); |
char* get_gnupg_path (void); |
97 |
int check_gnupg_prog( void ); |
int check_gnupg_prog (void); |
98 |
int gnupg_access_files (void); |
int gnupg_access_files (void); |
99 |
char* get_gnupg_prog( void ); |
char* get_gnupg_prog (void); |
100 |
char* get_gnupg_keyring (int pub, int strict); |
char* get_gnupg_keyring (int pub, int strict); |
101 |
char* get_gnupg_cfgfile (void); |
char* get_gnupg_cfgfile (void); |
102 |
int set_gnupg_options( const char *buf, size_t buflen ); |
int set_gnupg_options( const char *buf, size_t buflen ); |