diff options
author | maxim-yurchuk <maxim-yurchuk@yandex-team.com> | 2024-10-09 12:29:46 +0300 |
---|---|---|
committer | maxim-yurchuk <maxim-yurchuk@yandex-team.com> | 2024-10-09 13:14:22 +0300 |
commit | 9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch) | |
tree | a8fb3181d5947c0d78cf402aa56e686130179049 /contrib/python/cryptography/py2/_cffi_src/openssl/bio.py | |
parent | a44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff) | |
download | ydb-9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80.tar.gz |
publishFullContrib: true for ydb
<HIDDEN_URL>
commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/python/cryptography/py2/_cffi_src/openssl/bio.py')
-rw-r--r-- | contrib/python/cryptography/py2/_cffi_src/openssl/bio.py | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/contrib/python/cryptography/py2/_cffi_src/openssl/bio.py b/contrib/python/cryptography/py2/_cffi_src/openssl/bio.py new file mode 100644 index 0000000000..52d57c6228 --- /dev/null +++ b/contrib/python/cryptography/py2/_cffi_src/openssl/bio.py @@ -0,0 +1,44 @@ +# This file is dual licensed under the terms of the Apache License, Version +# 2.0, and the BSD License. See the LICENSE file in the root of this repository +# for complete details. + +from __future__ import absolute_import, division, print_function + +INCLUDES = """ +#include <openssl/bio.h> +""" + +TYPES = """ +typedef ... BIO; +typedef ... BIO_METHOD; +""" + +FUNCTIONS = """ +int BIO_free(BIO *); +void BIO_free_all(BIO *); +BIO *BIO_new_file(const char *, const char *); +BIO *BIO_new_dgram(int, int); +size_t BIO_ctrl_pending(BIO *); +int BIO_read(BIO *, void *, int); +int BIO_gets(BIO *, char *, int); +int BIO_write(BIO *, const void *, int); +/* Added in 1.1.0 */ +int BIO_up_ref(BIO *); + +BIO *BIO_new(BIO_METHOD *); +BIO_METHOD *BIO_s_mem(void); +BIO_METHOD *BIO_s_datagram(void); +BIO *BIO_new_mem_buf(const void *, int); +long BIO_set_mem_eof_return(BIO *, int); +long BIO_get_mem_data(BIO *, char **); +int BIO_should_read(BIO *); +int BIO_should_write(BIO *); +int BIO_should_io_special(BIO *); +int BIO_should_retry(BIO *); +int BIO_reset(BIO *); +void BIO_set_retry_read(BIO *); +void BIO_clear_retry_flags(BIO *); +""" + +CUSTOMIZATIONS = """ +""" |