summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/apps.h
diff options
context:
space:
mode:
authorjsing <>2015-07-15 13:54:34 +0000
committerjsing <>2015-07-15 13:54:34 +0000
commit370c300ca14472f9c425a65aae243e3b9a143858 (patch)
treecc2003ab0da4d8c980719e372679ce99c10982a0 /src/usr.bin/openssl/apps.h
parente9032a3c566e9cec4858cc0ef7226c51772d9137 (diff)
downloadopenbsd-370c300ca14472f9c425a65aae243e3b9a143858.tar.gz
openbsd-370c300ca14472f9c425a65aae243e3b9a143858.tar.bz2
openbsd-370c300ca14472f9c425a65aae243e3b9a143858.zip
Add OPTION_ARG_LONG for handling of options with a long type.
ok doug@
Diffstat (limited to 'src/usr.bin/openssl/apps.h')
-rw-r--r--src/usr.bin/openssl/apps.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr.bin/openssl/apps.h b/src/usr.bin/openssl/apps.h
index dddfeeea7f..f6e0a8ce19 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.13 2015/01/01 14:28:00 jsing Exp $ */ 1/* $OpenBSD: apps.h,v 1.14 2015/07/15 13:54:34 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 *
@@ -290,6 +290,7 @@ struct option {
290 OPTION_ARG_FORMAT, 290 OPTION_ARG_FORMAT,
291 OPTION_ARG_FUNC, 291 OPTION_ARG_FUNC,
292 OPTION_ARG_INT, 292 OPTION_ARG_INT,
293 OPTION_ARG_LONG,
293 OPTION_DISCARD, 294 OPTION_DISCARD,
294 OPTION_FUNC, 295 OPTION_FUNC,
295 OPTION_FLAG, 296 OPTION_FLAG,
@@ -304,6 +305,7 @@ struct option {
304 int (*argvfunc)(int argc, char **argv, int *argsused); 305 int (*argvfunc)(int argc, char **argv, int *argsused);
305 int *flag; 306 int *flag;
306 int (*func)(void); 307 int (*func)(void);
308 long *lvalue;
307 int *value; 309 int *value;
308 } opt; 310 } opt;
309 const int value; 311 const int value;