pub unsafe extern "C" fn codes_write_message(
    h: *const codes_handle,
    file: *const c_char,
    mode: *const c_char
) -> c_int