use *;
/// Returns a pointer to the latest error message.
///
/// Call this to get extra information when another function returns a failure
/// code. The returned pointer is temporary and therefore should **NOT** be
/// `free()`d. It will become invalid when a new error occurs.
pub extern "C"
/// Sets the latest error message string.
///
/// This must be called by callback functions when an error occurs within the
/// callback, otherwise the upstream result for `dqcs_error_get()` will be
/// undefined.
///
/// If `msg` is set to `NULL`, the error string is cleared instead.
pub extern "C"