diff options
Diffstat (limited to 'upstream/debian-unstable/man3/BIO_ADDR.3ssl')
-rw-r--r-- | upstream/debian-unstable/man3/BIO_ADDR.3ssl | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/upstream/debian-unstable/man3/BIO_ADDR.3ssl b/upstream/debian-unstable/man3/BIO_ADDR.3ssl index 55fe292b..bbf150be 100644 --- a/upstream/debian-unstable/man3/BIO_ADDR.3ssl +++ b/upstream/debian-unstable/man3/BIO_ADDR.3ssl @@ -55,13 +55,14 @@ .\" ======================================================================== .\" .IX Title "BIO_ADDR 3SSL" -.TH BIO_ADDR 3SSL 2024-02-03 3.1.5 OpenSSL +.TH BIO_ADDR 3SSL 2024-04-04 3.2.2-dev OpenSSL .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME -BIO_ADDR, BIO_ADDR_new, BIO_ADDR_clear, BIO_ADDR_free, BIO_ADDR_rawmake, +BIO_ADDR, BIO_ADDR_new, BIO_ADDR_copy, BIO_ADDR_dup, BIO_ADDR_clear, +BIO_ADDR_free, BIO_ADDR_rawmake, BIO_ADDR_family, BIO_ADDR_rawaddress, BIO_ADDR_rawport, BIO_ADDR_hostname_string, BIO_ADDR_service_string, BIO_ADDR_path_string \- BIO_ADDR routines @@ -74,6 +75,8 @@ BIO_ADDR_path_string \- BIO_ADDR routines \& typedef union bio_addr_st BIO_ADDR; \& \& BIO_ADDR *BIO_ADDR_new(void); +\& int BIO_ADDR_copy(BIO_ADDR *dst, const BIO_ADDR *src); +\& BIO_ADDR *BIO_ADDR_dup(const BIO_ADDR *ap); \& void BIO_ADDR_free(BIO_ADDR *); \& void BIO_ADDR_clear(BIO_ADDR *ap); \& int BIO_ADDR_rawmake(BIO_ADDR *ap, int family, @@ -96,7 +99,14 @@ available on the platform at hand. with routines that will fill it with information, such as \&\fBBIO_accept_ex()\fR. .PP -\&\fBBIO_ADDR_free()\fR frees a \fBBIO_ADDR\fR created with \fBBIO_ADDR_new()\fR. +\&\fBBIO_ADDR_copy()\fR copies the contents of \fBsrc\fR into \fBdst\fR. Neither \fBsrc\fR or +\&\fBdst\fR can be NULL. +.PP +\&\fBBIO_ADDR_dup()\fR creates a new \fBBIO_ADDR\fR, with a copy of the +address data in \fBap\fR. +.PP +\&\fBBIO_ADDR_free()\fR frees a \fBBIO_ADDR\fR created with \fBBIO_ADDR_new()\fR +or \fBBIO_ADDR_dup()\fR; .PP \&\fBBIO_ADDR_clear()\fR clears any data held within the provided \fBBIO_ADDR\fR and sets it back to an uninitialised state. @@ -163,14 +173,19 @@ The string producing functions \fBBIO_ADDR_hostname_string()\fR, return \fBNULL\fR on error and leave an error indication on the OpenSSL error stack. .PP +\&\fBBIO_ADDR_copy()\fR returns 1 on success or 0 on error. +.PP All other functions described here return 0 or \fBNULL\fR when the information they should return isn't available. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBBIO_connect\fR\|(3), \fBBIO_s_connect\fR\|(3) +.SH HISTORY +.IX Header "HISTORY" +\&\fBBIO_ADDR_copy()\fR and \fBBIO_ADDR_dup()\fR were added in OpenSSL 3.2. .SH COPYRIGHT .IX Header "COPYRIGHT" -Copyright 2016\-2020 The OpenSSL Project Authors. All Rights Reserved. +Copyright 2016\-2023 The OpenSSL Project Authors. All Rights Reserved. .PP Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy |