1f8889bd |
1 | #include "openssl/bio.h" |
2 | #include "openssl/ssl.h" |
3 | #include "openssl/err.h" |
4 | |
2569e66d |
5 | void OpenSSL_SML_init(void); |
1f8889bd |
6 | void OpenSSL_SML_load_error_strings(void); |
7 | void OpenSSL_SML_load_BIO_strings(void); |
904eb905 |
8 | |
1f8889bd |
9 | int OpenSSL_SML_get_error(void); |
da9abf26 |
10 | int OpenSSL_SML_should_retry(BIO *b); |
1f8889bd |
11 | const char *OpenSSL_SML_lib_error_string(int err); |
12 | const char *OpenSSL_SML_func_error_string(int err); |
13 | const char *OpenSSL_SML_reason_error_string(int err); |
904eb905 |
14 | |
15 | int OpenSSL_SML_read(BIO *b, void *data, int len); |
1f8889bd |
16 | int OpenSSL_SML_write(BIO *b, const void *data, int len); |
904eb905 |
17 | |
1f8889bd |
18 | BIO *OpenSSL_SML_new_connect(char *addr); |
1f8889bd |
19 | int OpenSSL_SML_do_connect(BIO *b); |
904eb905 |
20 | |
904eb905 |
21 | int OpenSSL_SML_do_accept(BIO *b); |
22 | |
cbb8f260 |
23 | int OpenSSL_SML_do_handshake(BIO *b); |
24 | |
904eb905 |
25 | void OpenSSL_SML_free_all(BIO *b); |
26 | |
2569e66d |
27 | SSL_METHOD *OpenSSL_SML_SSLv23_method(void); |
28 | |
29 | SSL_CTX *OpenSSL_SML_CTX_new(SSL_METHOD *meth); |
30 | void OpenSSL_SML_CTX_free(SSL_CTX *ctx); |
31 | |
32 | int OpenSSL_SML_load_verify_locations(SSL_CTX *ctx, const char *trust, const char *certs); |
33 | |
34 | BIO *OpenSSL_SML_new_ssl_connect(SSL_CTX *ctx); |
35 | SSL *OpenSSL_SML_get_ssl(BIO *bio); |
36 | int OpenSSL_SML_set_conn_hostname(BIO *bio, char *hostname); |
37 | int OpenSSL_SML_set_accept_port(BIO *bio, char *port); |
38 | |
39 | int OpenSSL_SML_tcp_listen(int port, int qsize); |
40 | int OpenSSL_SML_accept(int sock); |
41 | BIO *OpenSSL_SML_new_socket(int sock); |
42 | |
43 | SSL *OpenSSL_SML_SSL_new(SSL_CTX *ctx); |
44 | |
45 | int OpenSSL_SML_SSL_shutdown(SSL *ssl); |
46 | void OpenSSL_SML_shutdown(int sock); |
47 | void OpenSSL_SML_SSL_set_bio(SSL *ssl, BIO *b1, BIO *b2); |
48 | |
49 | int OpenSSL_SML_use_PrivateKey_file(SSL_CTX *ctx, char *keyfile); |
50 | |
51 | int OpenSSL_SML_SSL_accept(SSL *ssl); |
52 | |
53 | int OpenSSL_SML_use_certificate_chain_file(SSL_CTX *ctx, char *keyfile); |
54 | |
55 | const char *OpenSSL_SML_get_peer_name(SSL *ssl); |
cbb8f260 |
56 | |
57 | BIO *OpenSSL_SML_new_ssl(SSL_CTX *ctx); |
58 | BIO *OpenSSL_SML_new_accept(SSL_CTX *ctx, char *port); |
59 | |
60 | BIO *OpenSSL_SML_pop(BIO *b); |
52ed0092 |
61 | BIO *OpenSSL_SML_next(BIO *b); |
d330d9b8 |
62 | |
63 | int OpenSSL_SML_puts(BIO *b, const char *buf); |