Delete the unnecessary ERR and ERRC lines in makefiles, add some functionality
[oweals/openssl.git] / crypto / bio / bio.h
index be1a24373039985a081de84054e508e81aef5a98..4f1b3e3e98812b989e18e64caa30c4828bcbc606 100644 (file)
@@ -63,7 +63,7 @@
 extern "C" {
 #endif
 
-#include "crypto.h"
+#include <openssl/crypto.h>
 
 /* These are the 'types' of BIOs */
 #define BIO_TYPE_NONE          0
@@ -499,7 +499,7 @@ BIO *BIO_new_fp();
 BIO *  BIO_new(BIO_METHOD *type);
 int    BIO_set(BIO *a,BIO_METHOD *type);
 int    BIO_free(BIO *a);
-int    BIO_read(BIO *b, char *data, int len);
+int    BIO_read(BIO *b, void *data, int len);
 int    BIO_gets(BIO *bp,char *buf, int size);
 int    BIO_write(BIO *b, const char *data, int len);
 int    BIO_puts(BIO *bp,const char *buf);
@@ -683,6 +683,10 @@ int BIO_printf();
 #endif
 
 /* BEGIN ERROR CODES */
+/* The following lines are auto generated by the script mkerr.pl. Any changes
+ * made after this point may be overwritten when the script is next run.
+ */
+
 /* Error codes for the BIO functions. */
 
 /* Function codes. */
@@ -731,7 +735,7 @@ int BIO_printf();
 #define BIO_R_UNINITIALIZED                             120
 #define BIO_R_UNSUPPORTED_METHOD                        121
 #define BIO_R_WSASTARTUP                                122
+
 #ifdef  __cplusplus
 }
 #endif