GENERAL_NAME_print function
GENERAL_NAME_print prints a human-readable representation of |gen| to |out|. It returns one on success and zero on error.
TODO(davidben): Actually, it just returns one and doesn't check for I/O or allocation errors. But it should return zero on error.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<BIO>, ffi.Pointer<GENERAL_NAME>)>(
symbol: 'bssl_dart_GENERAL_NAME_print',
)
external int GENERAL_NAME_print(
ffi.Pointer<BIO> out,
ffi.Pointer<GENERAL_NAME> gen,
);