config: warn that changing localRoot will not work currently
[hcoop/domtool2.git] / openssl / openssl_sml.h
index 6b02579..3f33922 100644 (file)
@@ -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);
+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);