pub unsafe extern "C" fn flags_to_string(
    flags: c_ulong,
    def: *const c_char
) -> c_int