X509_NAME_set function

  1. @RecordUse.new()
  2. @Native<Int Function(Pointer<Pointer<X509_NAME>>, Pointer<X509_NAME>)>(ffi.Pointer<ffi.Pointer<X509_NAME>>, ffi.Pointer<X509_NAME>)>(symbol: 'bssl_dart_X509_NAME_set')
int X509_NAME_set(
  1. Pointer<Pointer<X509_NAME>> xn,
  2. Pointer<X509_NAME> name
)

X509_NAME_set makes a copy of |name|. On success, it frees |*xn|, sets |*xn| to the copy, and returns one. Otherwise, it returns zero.

Implementation

@meta.RecordUse()
@ffi.Native<
  ffi.Int Function(ffi.Pointer<ffi.Pointer<X509_NAME>>, ffi.Pointer<X509_NAME>)
>(symbol: 'bssl_dart_X509_NAME_set')
external int X509_NAME_set(
  ffi.Pointer<ffi.Pointer<X509_NAME>> xn,
  ffi.Pointer<X509_NAME> name,
);