/* Just some comments. */
[openssl.git] / apps / progs.h
1 /* This file was generated by progs.pl. */
2
3 #ifndef NOPROTO
4 extern int verify_main(int argc,char *argv[]);
5 extern int asn1parse_main(int argc,char *argv[]);
6 extern int req_main(int argc,char *argv[]);
7 extern int dgst_main(int argc,char *argv[]);
8 extern int dh_main(int argc,char *argv[]);
9 extern int enc_main(int argc,char *argv[]);
10 extern int gendh_main(int argc,char *argv[]);
11 extern int errstr_main(int argc,char *argv[]);
12 extern int ca_main(int argc,char *argv[]);
13 extern int crl_main(int argc,char *argv[]);
14 extern int rsa_main(int argc,char *argv[]);
15 extern int dsa_main(int argc,char *argv[]);
16 extern int dsaparam_main(int argc,char *argv[]);
17 extern int x509_main(int argc,char *argv[]);
18 extern int genrsa_main(int argc,char *argv[]);
19 extern int gendsa_main(int argc,char *argv[]);
20 extern int s_server_main(int argc,char *argv[]);
21 extern int s_client_main(int argc,char *argv[]);
22 extern int speed_main(int argc,char *argv[]);
23 extern int s_time_main(int argc,char *argv[]);
24 extern int version_main(int argc,char *argv[]);
25 extern int pkcs7_main(int argc,char *argv[]);
26 extern int crl2pkcs7_main(int argc,char *argv[]);
27 extern int sess_id_main(int argc,char *argv[]);
28 extern int ciphers_main(int argc,char *argv[]);
29 extern int nseq_main(int argc,char *argv[]);
30 extern int pkcs12_main(int argc,char *argv[]);
31 #else
32 extern int verify_main();
33 extern int asn1parse_main();
34 extern int req_main();
35 extern int dgst_main();
36 extern int dh_main();
37 extern int enc_main();
38 extern int gendh_main();
39 extern int errstr_main();
40 extern int ca_main();
41 extern int crl_main();
42 extern int rsa_main();
43 extern int dsa_main();
44 extern int dsaparam_main();
45 extern int x509_main();
46 extern int genrsa_main();
47 extern int gendsa_main();
48 extern int s_server_main();
49 extern int s_client_main();
50 extern int speed_main();
51 extern int s_time_main();
52 extern int version_main();
53 extern int pkcs7_main();
54 extern int crl2pkcs7_main();
55 extern int sess_id_main();
56 extern int ciphers_main();
57 extern int nseq_main();
58 extern int pkcs12_main();
59 #endif
60
61 #ifdef SSLEAY_SRC  /* Defined only in openssl.c. */
62
63 #define FUNC_TYPE_GENERAL       1
64 #define FUNC_TYPE_MD            2
65 #define FUNC_TYPE_CIPHER        3
66
67 typedef struct {
68         int type;
69         char *name;
70         int (*func)();
71         } FUNCTION;
72
73 FUNCTION functions[] = {
74         {FUNC_TYPE_GENERAL,"verify",verify_main},
75         {FUNC_TYPE_GENERAL,"asn1parse",asn1parse_main},
76         {FUNC_TYPE_GENERAL,"req",req_main},
77         {FUNC_TYPE_GENERAL,"dgst",dgst_main},
78 #ifndef NO_DH
79         {FUNC_TYPE_GENERAL,"dh",dh_main},
80 #endif
81         {FUNC_TYPE_GENERAL,"enc",enc_main},
82 #ifndef NO_DH
83         {FUNC_TYPE_GENERAL,"gendh",gendh_main},
84 #endif
85         {FUNC_TYPE_GENERAL,"errstr",errstr_main},
86         {FUNC_TYPE_GENERAL,"ca",ca_main},
87         {FUNC_TYPE_GENERAL,"crl",crl_main},
88 #ifndef NO_RSA
89         {FUNC_TYPE_GENERAL,"rsa",rsa_main},
90 #endif
91 #ifndef NO_DSA
92         {FUNC_TYPE_GENERAL,"dsa",dsa_main},
93 #endif
94 #ifndef NO_DSA
95         {FUNC_TYPE_GENERAL,"dsaparam",dsaparam_main},
96 #endif
97         {FUNC_TYPE_GENERAL,"x509",x509_main},
98 #ifndef NO_RSA
99         {FUNC_TYPE_GENERAL,"genrsa",genrsa_main},
100 #endif
101 #ifndef NO_DSA
102         {FUNC_TYPE_GENERAL,"gendsa",gendsa_main},
103 #endif
104 #if !defined(NO_SOCK) && !(defined(NO_SSL2) && defined(O_SSL3))
105         {FUNC_TYPE_GENERAL,"s_server",s_server_main},
106 #endif
107 #if !defined(NO_SOCK) && !(defined(NO_SSL2) && defined(O_SSL3))
108         {FUNC_TYPE_GENERAL,"s_client",s_client_main},
109 #endif
110         {FUNC_TYPE_GENERAL,"speed",speed_main},
111 #if !defined(NO_SOCK) && !(defined(NO_SSL2) && defined(O_SSL3))
112         {FUNC_TYPE_GENERAL,"s_time",s_time_main},
113 #endif
114         {FUNC_TYPE_GENERAL,"version",version_main},
115         {FUNC_TYPE_GENERAL,"pkcs7",pkcs7_main},
116         {FUNC_TYPE_GENERAL,"crl2pkcs7",crl2pkcs7_main},
117         {FUNC_TYPE_GENERAL,"sess_id",sess_id_main},
118 #if !defined(NO_SOCK) && !(defined(NO_SSL2) && defined(O_SSL3))
119         {FUNC_TYPE_GENERAL,"ciphers",ciphers_main},
120 #endif
121         {FUNC_TYPE_GENERAL,"nseq",nseq_main},
122         {FUNC_TYPE_GENERAL,"pkcs12",pkcs12_main},
123         {FUNC_TYPE_MD,"md2",dgst_main},
124         {FUNC_TYPE_MD,"md5",dgst_main},
125         {FUNC_TYPE_MD,"sha",dgst_main},
126         {FUNC_TYPE_MD,"sha1",dgst_main},
127         {FUNC_TYPE_MD,"mdc2",dgst_main},
128         {FUNC_TYPE_MD,"rmd160",dgst_main},
129         {FUNC_TYPE_CIPHER,"base64",enc_main},
130 #ifndef NO_DES
131         {FUNC_TYPE_CIPHER,"des",enc_main},
132 #endif
133 #ifndef NO_DES
134         {FUNC_TYPE_CIPHER,"des3",enc_main},
135 #endif
136 #ifndef NO_DES
137         {FUNC_TYPE_CIPHER,"desx",enc_main},
138 #endif
139 #ifndef NO_IDEA
140         {FUNC_TYPE_CIPHER,"idea",enc_main},
141 #endif
142 #ifndef NO_RC4
143         {FUNC_TYPE_CIPHER,"rc4",enc_main},
144 #endif
145 #ifndef NO_RC2
146         {FUNC_TYPE_CIPHER,"rc2",enc_main},
147 #endif
148 #ifndef NO_BLOWFISH
149         {FUNC_TYPE_CIPHER,"bf",enc_main},
150 #endif
151 #ifndef NO_CAST
152         {FUNC_TYPE_CIPHER,"cast",enc_main},
153 #endif
154 #ifndef NO_RC5
155         {FUNC_TYPE_CIPHER,"rc5",enc_main},
156 #endif
157 #ifndef NO_DES
158         {FUNC_TYPE_CIPHER,"des-ecb",enc_main},
159 #endif
160 #ifndef NO_DES
161         {FUNC_TYPE_CIPHER,"des-ede",enc_main},
162 #endif
163 #ifndef NO_DES
164         {FUNC_TYPE_CIPHER,"des-ede3",enc_main},
165 #endif
166 #ifndef NO_DES
167         {FUNC_TYPE_CIPHER,"des-cbc",enc_main},
168 #endif
169 #ifndef NO_DES
170         {FUNC_TYPE_CIPHER,"des-ede-cbc",enc_main},
171 #endif
172 #ifndef NO_DES
173         {FUNC_TYPE_CIPHER,"des-ede3-cbc",enc_main},
174 #endif
175 #ifndef NO_DES
176         {FUNC_TYPE_CIPHER,"des-cfb",enc_main},
177 #endif
178 #ifndef NO_DES
179         {FUNC_TYPE_CIPHER,"des-ede-cfb",enc_main},
180 #endif
181 #ifndef NO_DES
182         {FUNC_TYPE_CIPHER,"des-ede3-cfb",enc_main},
183 #endif
184 #ifndef NO_DES
185         {FUNC_TYPE_CIPHER,"des-ofb",enc_main},
186 #endif
187 #ifndef NO_DES
188         {FUNC_TYPE_CIPHER,"des-ede-ofb",enc_main},
189 #endif
190 #ifndef NO_DES
191         {FUNC_TYPE_CIPHER,"des-ede3-ofb",enc_main},
192 #endif
193 #ifndef NO_IDEA
194         {FUNC_TYPE_CIPHER,"idea-cbc",enc_main},
195 #endif
196 #ifndef NO_IDEA
197         {FUNC_TYPE_CIPHER,"idea-ecb",enc_main},
198 #endif
199 #ifndef NO_IDEA
200         {FUNC_TYPE_CIPHER,"idea-cfb",enc_main},
201 #endif
202 #ifndef NO_IDEA
203         {FUNC_TYPE_CIPHER,"idea-ofb",enc_main},
204 #endif
205 #ifndef NO_RC2
206         {FUNC_TYPE_CIPHER,"rc2-cbc",enc_main},
207 #endif
208 #ifndef NO_RC2
209         {FUNC_TYPE_CIPHER,"rc2-ecb",enc_main},
210 #endif
211 #ifndef NO_RC2
212         {FUNC_TYPE_CIPHER,"rc2-cfb",enc_main},
213 #endif
214 #ifndef NO_RC2
215         {FUNC_TYPE_CIPHER,"rc2-ofb",enc_main},
216 #endif
217 #ifndef NO_BLOWFISH
218         {FUNC_TYPE_CIPHER,"bf-cbc",enc_main},
219 #endif
220 #ifndef NO_BLOWFISH
221         {FUNC_TYPE_CIPHER,"bf-ecb",enc_main},
222 #endif
223 #ifndef NO_BLOWFISH
224         {FUNC_TYPE_CIPHER,"bf-cfb",enc_main},
225 #endif
226 #ifndef NO_BLOWFISH
227         {FUNC_TYPE_CIPHER,"bf-ofb",enc_main},
228 #endif
229 #ifndef NO_CAST
230         {FUNC_TYPE_CIPHER,"cast5-cbc",enc_main},
231 #endif
232 #ifndef NO_CAST
233         {FUNC_TYPE_CIPHER,"cast5-ecb",enc_main},
234 #endif
235 #ifndef NO_CAST
236         {FUNC_TYPE_CIPHER,"cast5-cfb",enc_main},
237 #endif
238 #ifndef NO_CAST
239         {FUNC_TYPE_CIPHER,"cast5-ofb",enc_main},
240 #endif
241 #ifndef NO_CAST
242         {FUNC_TYPE_CIPHER,"cast-cbc",enc_main},
243 #endif
244 #ifndef NO_RC5
245         {FUNC_TYPE_CIPHER,"rc5-cbc",enc_main},
246 #endif
247 #ifndef NO_RC5
248         {FUNC_TYPE_CIPHER,"rc5-ecb",enc_main},
249 #endif
250 #ifndef NO_RC5
251         {FUNC_TYPE_CIPHER,"rc5-cfb",enc_main},
252 #endif
253 #ifndef NO_RC5
254         {FUNC_TYPE_CIPHER,"rc5-ofb",enc_main},
255 #endif
256         {0,NULL,NULL}
257         };
258 #endif
259