mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 11:54:22 -04:00
fixing compilation for openssl-1.1.0 (part 12)
This commit is contained in:
parent
0c77a10224
commit
175664e10e
1 changed files with 14 additions and 0 deletions
|
@ -96,6 +96,20 @@ static void BIO_set_shutdown(BIO *a,int s) { a->shutdown=s; }
|
||||||
static int BIO_get_init(BIO *a) { return a->init; }
|
static int BIO_get_init(BIO *a) { return a->init; }
|
||||||
static void BIO_set_init(BIO *a,int i) { a->init=i; }
|
static void BIO_set_init(BIO *a,int i) { a->init=i; }
|
||||||
static void BIO_set_data(BIO *a,void *p) { a->ptr = p; }
|
static void BIO_set_data(BIO *a,void *p) { a->ptr = p; }
|
||||||
|
#else
|
||||||
|
typedef struct bio_method_st {
|
||||||
|
int type;
|
||||||
|
const char *name;
|
||||||
|
int (*bwrite) (BIO *, const char *, int);
|
||||||
|
int (*bread) (BIO *, char *, int);
|
||||||
|
int (*bputs) (BIO *, const char *);
|
||||||
|
int (*bgets) (BIO *, char *, int);
|
||||||
|
long (*ctrl) (BIO *, int, long, void *);
|
||||||
|
int (*create) (BIO *);
|
||||||
|
int (*destroy) (BIO *);
|
||||||
|
long (*callback_ctrl) (BIO *, int, bio_info_cb *);
|
||||||
|
} BIO_METHOD;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static BIO_METHOD methods_tou_sockp=
|
static BIO_METHOD methods_tou_sockp=
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue