diff options
author | jsing <> | 2014-12-28 15:48:52 +0000 |
---|---|---|
committer | jsing <> | 2014-12-28 15:48:52 +0000 |
commit | 0a741ac7e42db811df0097733917db45dc05779e (patch) | |
tree | 133d9e945c00870d0638caa5e38213bcb77fe251 /src/usr.bin/openssl/apps.h | |
parent | e4c7f4f3a5e8f184315c03f7e5313a6caf8e5be6 (diff) | |
download | openbsd-0a741ac7e42db811df0097733917db45dc05779e.tar.gz openbsd-0a741ac7e42db811df0097733917db45dc05779e.tar.bz2 openbsd-0a741ac7e42db811df0097733917db45dc05779e.zip |
Provide a mechanism for option parsing to return the number of arguments
that it has consumed. This allows for the handling of multiple unnamed
arguments, including lists of filenames.
Diffstat (limited to 'src/usr.bin/openssl/apps.h')
-rw-r--r-- | src/usr.bin/openssl/apps.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/apps.h b/src/usr.bin/openssl/apps.h index b069d2d29b..c448e85d87 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.10 2014/12/28 14:21:42 jsing Exp $ */ | 1 | /* $OpenBSD: apps.h,v 1.11 2014/12/28 15:48:52 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 | * |
@@ -305,6 +305,7 @@ struct option { | |||
305 | }; | 305 | }; |
306 | 306 | ||
307 | void options_usage(struct option *opts); | 307 | void options_usage(struct option *opts); |
308 | int options_parse(int argc, char **argv, struct option *opts, char **unnamed); | 308 | int options_parse(int argc, char **argv, struct option *opts, char **unnamed, |
309 | int *argsused); | ||
309 | 310 | ||
310 | #endif | 311 | #endif |