EVP_CIPHER_meth_set_ctrl function

  1. @Native<Int Function(Pointer<evp_cipher_st>, Pointer<NativeFunction<Int Function(Pointer<evp_cipher_ctx_st>, Int, Int, Pointer<Void>)>>)>(ffi.Pointer<evp_cipher_st>, ffi.Pointer<ffi.NativeFunction<ffi.Int Function(ffi.Pointer<evp_cipher_ctx_st>, ffi.Int, ffi.Int, ffi.Pointer<ffi.Void>)>>)>()
int EVP_CIPHER_meth_set_ctrl(
  1. Pointer<evp_cipher_st> cipher,
  2. Pointer<NativeFunction<Int Function(Pointer<evp_cipher_ctx_st>, Int, Int, Pointer<Void>)>> ctrl
)

Implementation

@ffi.Native<
  ffi.Int Function(
    ffi.Pointer<evp_cipher_st>,
    ffi.Pointer<
      ffi.NativeFunction<
        ffi.Int Function(
          ffi.Pointer<evp_cipher_ctx_st>,
          ffi.Int,
          ffi.Int,
          ffi.Pointer<ffi.Void>,
        )
      >
    >,
  )
>()
external int EVP_CIPHER_meth_set_ctrl(
  ffi.Pointer<evp_cipher_st> cipher,
  ffi.Pointer<
    ffi.NativeFunction<
      ffi.Int Function(
        ffi.Pointer<evp_cipher_ctx_st>,
        ffi.Int,
        ffi.Int,
        ffi.Pointer<ffi.Void>,
      )
    >
  >
  ctrl,
);