- 時間撮記:
- 2022-3-3 下午07:17:34 (3 年 以前)
- svn:sync-xref-src-repo-rev:
- 150325
- 位置:
- trunk/src/libs/openssl-3.0.1
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/libs/openssl-3.0.1
- 屬性 svn:mergeinfo
-
old new 12 12 /vendor/openssl/1.1.1c:131722-131725 13 13 /vendor/openssl/1.1.1k:145841-145843 14 /vendor/openssl/3.0.1:150323-150324 15 /vendor/openssl/current:147554-150322
-
- 屬性 svn:mergeinfo
-
trunk/src/libs/openssl-3.0.1/doc/man3/BIO_new.pod
r91772 r94082 3 3 =head1 NAME 4 4 5 BIO_new , BIO_up_ref, BIO_free, BIO_vfree, BIO_free_all5 BIO_new_ex, BIO_new, BIO_up_ref, BIO_free, BIO_vfree, BIO_free_all 6 6 - BIO allocation and freeing functions 7 7 … … 10 10 #include <openssl/bio.h> 11 11 12 BIO * BIO_new(const BIO_METHOD *type); 13 int BIO_up_ref(BIO *a); 14 int BIO_free(BIO *a); 15 void BIO_vfree(BIO *a); 16 void BIO_free_all(BIO *a); 12 BIO *BIO_new_ex(OSSL_LIB_CTX *libctx, const BIO_METHOD *type); 13 BIO *BIO_new(const BIO_METHOD *type); 14 int BIO_up_ref(BIO *a); 15 int BIO_free(BIO *a); 16 void BIO_vfree(BIO *a); 17 void BIO_free_all(BIO *a); 17 18 18 19 =head1 DESCRIPTION 19 20 20 The BIO_new() function returns a new BIO using method B<type>. 21 The BIO_new_ex() function returns a new BIO using method B<type> associated with 22 the library context I<libctx> (see OSSL_LIB_CTX(3)). The library context may be 23 NULL to indicate the default library context. 24 25 The BIO_new() is the same as BIO_new_ex() except the default library context is 26 always used. 21 27 22 28 BIO_up_ref() increments the reference count associated with the BIO object. … … 36 42 =head1 RETURN VALUES 37 43 38 BIO_new () returnsa newly created BIO or NULL if the call fails.44 BIO_new_ex() and BIO_new() return a newly created BIO or NULL if the call fails. 39 45 40 46 BIO_up_ref() and BIO_free() return 1 for success and 0 for failure. … … 54 60 BIO_set() was removed in OpenSSL 1.1.0 as BIO type is now opaque. 55 61 62 BIO_new_ex() was added in OpenSSL 3.0. 63 56 64 =head1 EXAMPLES 57 65 … … 62 70 =head1 COPYRIGHT 63 71 64 Copyright 2000-20 19The OpenSSL Project Authors. All Rights Reserved.72 Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved. 65 73 66 Licensed under the OpenSSL license(the "License"). You may not use74 Licensed under the Apache License 2.0 (the "License"). You may not use 67 75 this file except in compliance with the License. You can obtain a copy 68 76 in the file LICENSE in the source distribution or at
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器