HCoop
/
hcoop
/
domtool2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mailman: open /usr/share/images/mailman, revert to mod_access_compat
[hcoop/domtool2.git]
/
openssl
/
openssl_sml.h
diff --git
a/openssl/openssl_sml.h
b/openssl/openssl_sml.h
index
3eced90
..
3f33922
100644
(file)
--- a/
openssl/openssl_sml.h
+++ b/
openssl/openssl_sml.h
@@
-1,12
+1,16
@@
-#include "openssl/bio.h"
-#include "openssl/ssl.h"
-#include "openssl/err.h"
+#include <openssl/ossl_typ.h>
+
+/* SSL_METHOD is defined in <openssl/ssl.h>, which #includes system
+ headers that ml-nlffigen can't parse. */
+
+typedef struct ssl_method_st SSL_METHOD;
void OpenSSL_SML_init(void);
void OpenSSL_SML_load_error_strings(void);
void OpenSSL_SML_load_BIO_strings(void);
int OpenSSL_SML_get_error(void);
void OpenSSL_SML_init(void);
void OpenSSL_SML_load_error_strings(void);
void OpenSSL_SML_load_BIO_strings(void);
int OpenSSL_SML_get_error(void);
+int OpenSSL_SML_should_retry(BIO *b);
const char *OpenSSL_SML_lib_error_string(int err);
const char *OpenSSL_SML_func_error_string(int err);
const char *OpenSSL_SML_reason_error_string(int err);
const char *OpenSSL_SML_lib_error_string(int err);
const char *OpenSSL_SML_func_error_string(int err);
const char *OpenSSL_SML_reason_error_string(int err);
@@
-17,9
+21,10
@@
int OpenSSL_SML_write(BIO *b, const void *data, int len);
BIO *OpenSSL_SML_new_connect(char *addr);
int OpenSSL_SML_do_connect(BIO *b);
BIO *OpenSSL_SML_new_connect(char *addr);
int OpenSSL_SML_do_connect(BIO *b);
-BIO *OpenSSL_SML_new_accept(char *addr);
int OpenSSL_SML_do_accept(BIO *b);
int OpenSSL_SML_do_accept(BIO *b);
+int OpenSSL_SML_do_handshake(BIO *b);
+
void OpenSSL_SML_free_all(BIO *b);
SSL_METHOD *OpenSSL_SML_SSLv23_method(void);
void OpenSSL_SML_free_all(BIO *b);
SSL_METHOD *OpenSSL_SML_SSLv23_method(void);
@@
-51,3
+56,11
@@
int OpenSSL_SML_SSL_accept(SSL *ssl);
int OpenSSL_SML_use_certificate_chain_file(SSL_CTX *ctx, char *keyfile);
const char *OpenSSL_SML_get_peer_name(SSL *ssl);
int OpenSSL_SML_use_certificate_chain_file(SSL_CTX *ctx, char *keyfile);
const char *OpenSSL_SML_get_peer_name(SSL *ssl);
+
+BIO *OpenSSL_SML_new_ssl(SSL_CTX *ctx);
+BIO *OpenSSL_SML_new_accept(SSL_CTX *ctx, char *port);
+
+BIO *OpenSSL_SML_pop(BIO *b);
+BIO *OpenSSL_SML_next(BIO *b);
+
+int OpenSSL_SML_puts(BIO *b, const char *buf);