projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
HP-UX doesn't have hstrerror(), so make our own for that platform
[oweals/openssl.git]
/
crypto
/
bio
/
bio_lcl.h
diff --git
a/crypto/bio/bio_lcl.h
b/crypto/bio/bio_lcl.h
index 39178cf50a24982c4a97eebf3f8179b12d476545..f7de429cbb549d715be925ecd4cdc979721b6dd3 100644
(file)
--- a/
crypto/bio/bio_lcl.h
+++ b/
crypto/bio/bio_lcl.h
@@
-9,6
+9,7
@@
#define USE_SOCKETS
#include "e_os.h"
#define USE_SOCKETS
#include "e_os.h"
+#include "internal/refcount.h"
/* BEGIN BIO_ADDRINFO/BIO_ADDR stuff. */
/* BEGIN BIO_ADDRINFO/BIO_ADDR stuff. */
@@
-114,7
+115,8
@@
typedef struct bio_f_buffer_ctx_struct {
struct bio_st {
const BIO_METHOD *method;
/* bio, mode, argp, argi, argl, ret */
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;
char *cb_arg; /* first argument for the callback */
int init;
int shutdown;
@@
-124,7
+126,7
@@
struct bio_st {
void *ptr;
struct bio_st *next_bio; /* used by filter BIOs */
struct bio_st *prev_bio; /* used by filter BIOs */
void *ptr;
struct bio_st *next_bio; /* used by filter BIOs */
struct bio_st *prev_bio; /* used by filter BIOs */
-
int
references;
+
CRYPTO_REF_COUNT
references;
uint64_t num_read;
uint64_t num_write;
CRYPTO_EX_DATA ex_data;
uint64_t num_read;
uint64_t num_write;
CRYPTO_EX_DATA ex_data;