diff options
Diffstat (limited to '')
-rw-r--r-- | src/usr.bin/openssl/apps.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/usr.bin/openssl/apps.h b/src/usr.bin/openssl/apps.h index 38c5f4be8c..64e581b969 100644 --- a/src/usr.bin/openssl/apps.h +++ b/src/usr.bin/openssl/apps.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: apps.h,v 1.1 2014/08/26 17:47:24 jsing Exp $ */ | 1 | /* $OpenBSD: apps.h,v 1.2 2014/08/27 14:59:44 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -282,4 +282,24 @@ double app_tminterval (int stop, int usertime); | |||
282 | 282 | ||
283 | #define OPENSSL_NO_SSL_INTERN | 283 | #define OPENSSL_NO_SSL_INTERN |
284 | 284 | ||
285 | struct option { | ||
286 | const char *name; | ||
287 | const char *argname; | ||
288 | const char *desc; | ||
289 | enum { | ||
290 | OPTION_ARG, | ||
291 | OPTION_FLAG, | ||
292 | OPTION_VALUE, | ||
293 | } type; | ||
294 | union { | ||
295 | char **arg; | ||
296 | int *flag; | ||
297 | int *value; | ||
298 | } opt; | ||
299 | const int value; | ||
300 | }; | ||
301 | |||
302 | void options_usage(struct option *opts); | ||
303 | int options_parse(int argc, char **argv, struct option *opts, char **unnamed); | ||
304 | |||
285 | #endif | 305 | #endif |