Create BIO_read_ex() which handles size_t arguments
[openssl.git] / crypto / bio / bio_lcl.h
index 39178cf50a24982c4a97eebf3f8179b12d476545..d46f4e745c2b84cbddfe96dd42204c073d4d4c63 100644 (file)
@@ -114,7 +114,8 @@ typedef struct bio_f_buffer_ctx_struct {
 struct bio_st {
     const BIO_METHOD *method;
     /* bio, mode, argp, argi, argl, ret */
-    long (*callback) (struct bio_st *, int, const char *, int, long, long);
+    BIO_callback_fn callback;
+    BIO_callback_fn_ex callback_ex;
     char *cb_arg;               /* first argument for the callback */
     int init;
     int shutdown;