BIO_asn1_set_prefix function

  1. @Native<Int Function(Pointer<bio_st>, Pointer<NativeFunction<Int Function(Pointer<bio_st> b, Pointer<Pointer<UnsignedChar>> pbuf, Pointer<Int> plen, Pointer<Void> parg)>>, Pointer<NativeFunction<Int Function(Pointer<bio_st> b, Pointer<Pointer<UnsignedChar>> pbuf, Pointer<Int> plen, Pointer<Void> parg)>>)>(ffi.Pointer<bio_st>, ffi.Pointer<ffi.NativeFunction<ffi.Int Function(ffi.Pointer<bio_st> b, ffi.Pointer<ffi.Pointer<ffi.UnsignedChar>> pbuf, ffi.Pointer<ffi.Int> plen, ffi.Pointer<ffi.Void> parg)>>, ffi.Pointer<ffi.NativeFunction<ffi.Int Function(ffi.Pointer<bio_st> b, ffi.Pointer<ffi.Pointer<ffi.UnsignedChar>> pbuf, ffi.Pointer<ffi.Int> plen, ffi.Pointer<ffi.Void> parg)>>)>()
int BIO_asn1_set_prefix(
  1. Pointer<bio_st> b,
  2. Pointer<NativeFunction<Int Function(Pointer<bio_st> b, Pointer<Pointer<UnsignedChar>> pbuf, Pointer<Int> plen, Pointer<Void> parg)>> prefix,
  3. Pointer<NativeFunction<Int Function(Pointer<bio_st> b, Pointer<Pointer<UnsignedChar>> pbuf, Pointer<Int> plen, Pointer<Void> parg)>> prefix_free
)

Implementation

@ffi.Native<
  ffi.Int Function(
    ffi.Pointer<bio_st>,
    ffi.Pointer<
      ffi.NativeFunction<
        ffi.Int Function(
          ffi.Pointer<bio_st> b,
          ffi.Pointer<ffi.Pointer<ffi.UnsignedChar>> pbuf,
          ffi.Pointer<ffi.Int> plen,
          ffi.Pointer<ffi.Void> parg,
        )
      >
    >,
    ffi.Pointer<
      ffi.NativeFunction<
        ffi.Int Function(
          ffi.Pointer<bio_st> b,
          ffi.Pointer<ffi.Pointer<ffi.UnsignedChar>> pbuf,
          ffi.Pointer<ffi.Int> plen,
          ffi.Pointer<ffi.Void> parg,
        )
      >
    >,
  )
>()
external int BIO_asn1_set_prefix(
  ffi.Pointer<bio_st> b,
  ffi.Pointer<
    ffi.NativeFunction<
      ffi.Int Function(
        ffi.Pointer<bio_st> b,
        ffi.Pointer<ffi.Pointer<ffi.UnsignedChar>> pbuf,
        ffi.Pointer<ffi.Int> plen,
        ffi.Pointer<ffi.Void> parg,
      )
    >
  >
  prefix,
  ffi.Pointer<
    ffi.NativeFunction<
      ffi.Int Function(
        ffi.Pointer<bio_st> b,
        ffi.Pointer<ffi.Pointer<ffi.UnsignedChar>> pbuf,
        ffi.Pointer<ffi.Int> plen,
        ffi.Pointer<ffi.Void> parg,
      )
    >
  >
  prefix_free,
);