SealdUtils_ParseSessionIdFromMessage method
Takes an encrypted message, and returns the session id.
@param message The encrypted message.
@param result A pointer to which to write the response.
@param error A pointer to a SealdError* where details will be stored in case of error.
@return Error code: -1 if an error happened, 0 for success.
Implementation
int SealdUtils_ParseSessionIdFromMessage(
ffi.Pointer<pkg_ffi.Utf8> message,
ffi.Pointer<ffi.Pointer<pkg_ffi.Utf8>> result,
ffi.Pointer<ffi.Pointer<NativeSealdError>> error,
) {
return _SealdUtils_ParseSessionIdFromMessage(
message,
result,
error,
);
}