X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/19f3c4e664808d8dafabd9674635d9069bafd7cb..792c84b966ae1ce7df9bc8c1837e5b9bb859c4a2:/openssl/openssl_sml.h diff --git a/openssl/openssl_sml.h b/openssl/openssl_sml.h index 6b02579..3f33922 100644 --- 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 + +/* SSL_METHOD is defined in , 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); +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); @@ -58,3 +62,5 @@ 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);