BIO_callback_ctrl function

  1. @RecordUse.new()
  2. @Native<Long Function(Pointer<BIO>, Int, Pointer<BIO_info_cb>)>(ffi.Pointer<BIO>, ffi.Int, ffi.Pointer<BIO_info_cb>)>(symbol: 'bssl_dart_BIO_callback_ctrl')
int BIO_callback_ctrl(
  1. Pointer<BIO> bio,
  2. int cmd,
  3. Pointer<BIO_info_cb> fp
)

BIO_callback_ctrl allows the callback function to be manipulated. The cmd arg will generally be BIO_CTRL_SET_CALLBACK but arbitrary command values can be interpreted by the BIO.

Implementation

@meta.RecordUse()
@ffi.Native<
  ffi.Long Function(ffi.Pointer<BIO>, ffi.Int, ffi.Pointer<BIO_info_cb>)
>(symbol: 'bssl_dart_BIO_callback_ctrl')
external int BIO_callback_ctrl(
  ffi.Pointer<BIO> bio,
  int cmd,
  ffi.Pointer<BIO_info_cb> fp,
);