@@ -239,6 +239,7 @@ enum BIO_FLAGS_MEM_RDONLY = 0x200;
239
239
240
240
alias bio_st BIO ;
241
241
242
+ int BIO_get_new_index ();
242
243
void BIO_set_flags (BIO * b, int flags);
243
244
int BIO_test_flags (const (BIO )* b, int flags);
244
245
void BIO_clear_flags (BIO * b, int flags);
@@ -306,6 +307,7 @@ const(char)* BIO_method_name(const(BIO)* b);
306
307
int BIO_method_type (const (BIO )* b);
307
308
308
309
alias typeof (* (ExternC! (void function (bio_st* , int , const (char )* , int , c_long, c_long))).init) bio_info_cb;
310
+ alias BIO_info_cb = bio_info_cb;
309
311
310
312
struct bio_method_st {
311
313
int type;
@@ -763,6 +765,30 @@ int BIO_vprintf(BIO* bio, const(char)* format, va_list args);
763
765
int BIO_snprintf (char * buf, size_t n, const (char )* format, ... );
764
766
int BIO_vsnprintf (char * buf, size_t n, const (char )* format, va_list args);
765
767
768
+ BIO_METHOD * BIO_meth_new(int type, const char * name);
769
+ void BIO_meth_free (BIO_METHOD * biom);
770
+ int function (BIO_METHOD * biom) BIO_meth_get_write(BIO * , const char * , int );
771
+ int BIO_meth_set_write (BIO_METHOD * biom,
772
+ int function (BIO * , const char * , int ) write);
773
+ int function (BIO_METHOD * biom) BIO_meth_get_read(BIO * , char * , int );
774
+ int BIO_meth_set_read (BIO_METHOD * biom,
775
+ int function (BIO * , char * , int ) read);
776
+ int function (BIO_METHOD * biom) BIO_meth_get_puts(BIO * , const char * );
777
+ int BIO_meth_set_puts (BIO_METHOD * biom,
778
+ int function (BIO * , const char * ) puts);
779
+ int function (BIO_METHOD * biom) BIO_meth_get_gets(BIO * , char * , int );
780
+ int BIO_meth_set_gets (BIO_METHOD * biom,
781
+ int function (BIO * , char * , int ) gets);
782
+ long function (BIO_METHOD * biom) BIO_meth_get_ctrl(BIO * , int , long , void * );
783
+ int BIO_meth_set_ctrl (BIO_METHOD * biom,
784
+ long function (BIO * , int , long , void * ) ctrl);
785
+ int function (BIO_METHOD * bion) BIO_meth_get_create(BIO * );
786
+ int BIO_meth_set_create (BIO_METHOD * biom, int function (BIO * ) create);
787
+ int function (BIO_METHOD * biom) BIO_meth_get_destroy(BIO * );
788
+ int BIO_meth_set_destroy (BIO_METHOD * biom, int function (BIO * ) destroy );
789
+ long function (BIO * , int , BIO_info_cb * ) BIO_meth_get_callback_ctrl(BIO_METHOD * biom);
790
+ int BIO_meth_set_callback_ctrl (BIO_METHOD * biom, long function (BIO * , int , BIO_info_cb * ) callback_ctrl);
791
+
766
792
/* BEGIN ERROR CODES */
767
793
/* The following lines are auto generated by the script mkerr.pl. Any changes
768
794
* made after this point may be overwritten when the script is next run.
0 commit comments