X509_ALGOR_copy function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<X509_ALGOR>, Pointer<X509_ALGOR>)>(ffi.Pointer<X509_ALGOR>, ffi.Pointer<X509_ALGOR>)>(symbol: 'bssl_dart_X509_ALGOR_copy')
int X509_ALGOR_copy(
  1. Pointer<X509_ALGOR> dst,
  2. Pointer<X509_ALGOR> src
)

X509_ALGOR_copy sets |dst| to a copy of the contents of |src|. It returns one on success and zero on error.

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<X509_ALGOR>, ffi.Pointer<X509_ALGOR>)>(
  symbol: 'bssl_dart_X509_ALGOR_copy',
)
external int X509_ALGOR_copy(
  ffi.Pointer<X509_ALGOR> dst,
  ffi.Pointer<X509_ALGOR> src,
);