1289848Sjkim=pod
2289848Sjkim
3289848Sjkim=head1 NAME
4289848Sjkim
5289848SjkimSSL_CONF_cmd_argv - SSL configuration command line processing.
6289848Sjkim
7289848Sjkim=head1 SYNOPSIS
8289848Sjkim
9289848Sjkim #include <openssl/ssl.h>
10289848Sjkim
11289848Sjkim int SSL_CONF_cmd_argv(SSL_CONF_CTX *cctx, int *pargc, char ***pargv);
12289848Sjkim
13289848Sjkim=head1 DESCRIPTION
14289848Sjkim
15289848SjkimThe function SSL_CONF_cmd_argv() processes at most two command line
16289848Sjkimarguments from B<pargv> and B<pargc>. The values of B<pargv> and B<pargc>
17289848Sjkimare updated to reflect the number of command options processed. The B<pargc>
18289848Sjkimargument can be set to B<NULL> is it is not used.
19289848Sjkim
20289848Sjkim=head1 RETURN VALUES
21289848Sjkim
22289848SjkimSSL_CONF_cmd_argv() returns the number of command arguments processed: 0, 1, 2
23289848Sjkimor a negative error code.
24289848Sjkim
25289848SjkimIf -2 is returned then an argument for a command is missing.
26289848Sjkim
27289848SjkimIf -1 is returned the command is recognised but couldn't be processed due
28289848Sjkimto an error: for example a syntax error in the argument.
29289848Sjkim
30289848Sjkim=head1 SEE ALSO
31289848Sjkim
32289848SjkimL<SSL_CONF_CTX_new(3)|SSL_CONF_CTX_new(3)>,
33289848SjkimL<SSL_CONF_CTX_set_flags(3)|SSL_CONF_CTX_set_flags(3)>,
34289848SjkimL<SSL_CONF_CTX_set1_prefix(3)|SSL_CONF_CTX_set1_prefix(3)>,
35289848SjkimL<SSL_CONF_CTX_set_ssl_ctx(3)|SSL_CONF_CTX_set_ssl_ctx(3)>,
36289848SjkimL<SSL_CONF_cmd(3)|SSL_CONF_cmd(3)>
37289848Sjkim
38289848Sjkim=head1 HISTORY
39289848Sjkim
40289848SjkimThese functions were first added to OpenSSL 1.0.2
41289848Sjkim
42289848Sjkim=cut
43