summaryrefslogtreecommitdiff
path: root/src/certtool-gaa.h
blob: a6a8e0b6f494c8b42c86025202babb052e962b5d (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
72
73

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

typedef struct _gaainfo gaainfo;

struct _gaainfo
{
#line 120 "certtool.gaa"
	int debug;
#line 116 "certtool.gaa"
	char *template;
#line 113 "certtool.gaa"
	char *infile;
#line 110 "certtool.gaa"
	char *outfile;
#line 107 "certtool.gaa"
	int quick_random;
#line 104 "certtool.gaa"
	int bits;
#line 100 "certtool.gaa"
	int outcert_format;
#line 96 "certtool.gaa"
	int incert_format;
#line 93 "certtool.gaa"
	int export;
#line 90 "certtool.gaa"
	char *hash;
#line 87 "certtool.gaa"
	int dsa;
#line 84 "certtool.gaa"
	int pkcs8;
#line 77 "certtool.gaa"
	int v1_cert;
#line 74 "certtool.gaa"
	int fix_key;
#line 53 "certtool.gaa"
	char *pass;
#line 50 "certtool.gaa"
	char *ca;
#line 47 "certtool.gaa"
	char *ca_privkey;
#line 44 "certtool.gaa"
	char *cert;
#line 41 "certtool.gaa"
	char *request;
#line 38 "certtool.gaa"
	char *privkey;
#line 16 "certtool.gaa"
	int action;

#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