summaryrefslogtreecommitdiff
path: root/src/p11tool-gaa.h
blob: 7fec01a0ae69f17c05d18aa52b2dccdf08cf4ed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71

#line 104 "gaa.skel"
/* GAA HEADER */
#ifndef GAA_HEADER_POKY
#define GAA_HEADER_POKY

typedef struct _gaainfo gaainfo;

struct _gaainfo
{
#line 94 "p11tool.gaa"
	int debug;
#line 89 "p11tool.gaa"
	char *outfile;
#line 86 "p11tool.gaa"
	int action;
#line 85 "p11tool.gaa"
	char* pkcs11_provider;
#line 81 "p11tool.gaa"
	int incert_format;
#line 78 "p11tool.gaa"
	char* sec_param;
#line 75 "p11tool.gaa"
	int bits;
#line 72 "p11tool.gaa"
	int pkcs8;
#line 69 "p11tool.gaa"
	char *cert;
#line 66 "p11tool.gaa"
	char *pubkey;
#line 63 "p11tool.gaa"
	char *privkey;
#line 60 "p11tool.gaa"
	char* secret_key;
#line 56 "p11tool.gaa"
	int pkcs11_detailed_url;
#line 53 "p11tool.gaa"
	int pkcs11_login;
#line 49 "p11tool.gaa"
	int pkcs11_private;
#line 46 "p11tool.gaa"
	int pkcs11_trusted;
#line 40 "p11tool.gaa"
	int key_type;
#line 35 "p11tool.gaa"
	char* pkcs11_label;
#line 24 "p11tool.gaa"
	int pkcs11_type;
#line 21 "p11tool.gaa"
	char* pkcs11_url;

#line 114 "gaa.skel"
};

#ifdef __cplusplus
extern "C"
{
#endif

    int gaa(int argc, char *argv[], gaainfo *gaaval);

    void gaa_help(void);
    
    int gaa_file(const char *name, gaainfo *gaaval);
    
#ifdef __cplusplus
}
#endif


#endif