Software: Apache. PHP/5.6.40 uname -a: Linux cpanel06wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.80.el6.x86_64 #1 SMP Thu Sep 24 uid=851(cp949260) gid=853(cp949260) groups=853(cp949260) Safe-mode: OFF (not secure) /opt/cpanel/ea-openssl11/share/doc/openssl/html/man3/ drwxr-xr-x |
Viewing file: Select action/file-type:
NAMEBIO_hostserv_priorities, BIO_parse_hostserv - utility routines to parse a standard host and service string
SYNOPSIS#include <openssl/bio.h> enum BIO_hostserv_priorities { BIO_PARSE_PRIO_HOST, BIO_PARSE_PRIO_SERV }; int BIO_parse_hostserv(const char *hostserv, char **host, char **service, enum BIO_hostserv_priorities hostserv_prio);
DESCRIPTION
The syntax the host + ':' + service host + ':' + '*' host + ':' ':' + service '*' + ':' + service host service The host part can be a name or an IP address. If it's a IPv6 address, it MUST be enclosed in brackets, such as '[::1]'. The service part can be a service name or its port number. The returned values will depend on the given hostserv string and hostserv_prio, as follows: host + ':' + service => *host = "host", *service = "service" host + ':' + '*' => *host = "host", *service = NULL host + ':' => *host = "host", *service = NULL ':' + service => *host = NULL, *service = "service" '*' + ':' + service => *host = NULL, *service = "service" in case no ':' is present in the string, the result depends on hostserv_prio, as follows: when hostserv_prio == BIO_PARSE_PRIO_HOST host => *host = "host", *service untouched when hostserv_prio == BIO_PARSE_PRIO_SERV service => *host untouched, *service = "service"
RETURN VALUES
SEE ALSOBIO_ADDRINFO(3)
COPYRIGHTCopyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved. Licensed under the OpenSSL license (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at https://www.openssl.org/source/license.html. |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0356 ]-- |