diff options
author | Matt Caswell <matt@openssl.org> | 2016-02-05 19:40:44 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-02-05 20:47:36 +0000 |
commit | 7d1d48a2d0a08567f5c8e14d50d89a9b47c02f1d (patch) | |
tree | 4e06fa9430101a0f83e3876575c4c39eebf7f4a1 /include | |
parent | 0d4fb8439092ff8253af72ac6bc193e77ebbcf2f (diff) | |
download | openssl-7d1d48a2d0a08567f5c8e14d50d89a9b47c02f1d.tar.gz |
Add a BIO_ADDR_clear function
Adds a new function BIO_ADDR_clear to reset a BIO_ADDR back to an
unitialised state, and to set the family to AF_UNSPEC.
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/bio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/openssl/bio.h b/include/openssl/bio.h index 2989218f7a..cfb7b0fd33 100644 --- a/include/openssl/bio.h +++ b/include/openssl/bio.h @@ -713,6 +713,7 @@ BIO_ADDR *BIO_ADDR_new(void); int BIO_ADDR_rawmake(BIO_ADDR *ap, int family, const void *where, size_t wherelen, unsigned short port); void BIO_ADDR_free(BIO_ADDR *); +void BIO_ADDR_clear(BIO_ADDR *ap); int BIO_ADDR_family(const BIO_ADDR *ap); int BIO_ADDR_rawaddress(const BIO_ADDR *ap, void *p, size_t *l); unsigned short BIO_ADDR_rawport(const BIO_ADDR *ap); |