/* automatically generated by rust-bindgen 0.71.1 */

#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct Fl_Preferences {
    _unused: [u8; 0],
}
extern "C" {
    pub fn Fl_Preferences_set_file_access(flags: ::core::ffi::c_uint);
}
extern "C" {
    pub fn Fl_Preferences_file_access() -> ::core::ffi::c_uint;
}
extern "C" {
    pub fn Fl_Preferences_remove(id_: *mut ::core::ffi::c_void) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_new(
        root: ::core::ffi::c_int,
        vendor: *const ::core::ffi::c_char,
        application: *const ::core::ffi::c_char,
    ) -> *mut Fl_Preferences;
}
extern "C" {
    pub fn Fl_Preferences_from_path(
        path: *const ::core::ffi::c_char,
        vendor: *const ::core::ffi::c_char,
        application: *const ::core::ffi::c_char,
    ) -> *mut Fl_Preferences;
}
extern "C" {
    pub fn Fl_Preferences_from_parent_group(
        parent: *mut Fl_Preferences,
        group: *const ::core::ffi::c_char,
    ) -> *mut Fl_Preferences;
}
extern "C" {
    pub fn Fl_Preferences_from_parent_idx(
        parent: *mut Fl_Preferences,
        groupIndex: ::core::ffi::c_int,
    ) -> *mut Fl_Preferences;
}
extern "C" {
    pub fn Fl_Preferences_copy(arg1: *const Fl_Preferences) -> *mut Fl_Preferences;
}
extern "C" {
    pub fn Fl_Preferences_delete(arg1: *mut Fl_Preferences);
}
extern "C" {
    pub fn Fl_Preferences_from_id(id: *mut ::core::ffi::c_void) -> *mut Fl_Preferences;
}
extern "C" {
    pub fn Fl_Preferences_filename(
        prefs: *mut Fl_Preferences,
        buffer: *mut ::core::ffi::c_char,
        buffer_size: ::core::ffi::c_ulong,
    ) -> ::core::ffi::c_int;
}
extern "C" {
    pub fn Fl_Preferences_get_userdata_path(
        prefs: *mut Fl_Preferences,
        path: *mut ::core::ffi::c_char,
        pathlen: ::core::ffi::c_int,
    ) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_id(prefs: *mut Fl_Preferences) -> *mut ::core::ffi::c_void;
}
extern "C" {
    pub fn Fl_Preferences_name(prefs: *mut Fl_Preferences) -> *const ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_path(prefs: *mut Fl_Preferences) -> *const ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_groups(prefs: *mut Fl_Preferences) -> ::core::ffi::c_int;
}
extern "C" {
    pub fn Fl_Preferences_group(
        prefs: *mut Fl_Preferences,
        num_group: ::core::ffi::c_int,
    ) -> *const ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_group_exists(
        prefs: *mut Fl_Preferences,
        key: *const ::core::ffi::c_char,
    ) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_delete_group(
        prefs: *mut Fl_Preferences,
        group: *const ::core::ffi::c_char,
    ) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_delete_all_groups(prefs: *mut Fl_Preferences) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_entries(prefs: *mut Fl_Preferences) -> ::core::ffi::c_int;
}
extern "C" {
    pub fn Fl_Preferences_entry(
        prefs: *mut Fl_Preferences,
        index: ::core::ffi::c_int,
    ) -> *const ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_entry_exists(
        prefs: *mut Fl_Preferences,
        key: *const ::core::ffi::c_char,
    ) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_delete_entry(
        prefs: *mut Fl_Preferences,
        entry: *const ::core::ffi::c_char,
    ) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_delete_all_entries(prefs: *mut Fl_Preferences) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_clear(prefs: *mut Fl_Preferences) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_seti(
        prefs: *mut Fl_Preferences,
        entry: *const ::core::ffi::c_char,
        value: ::core::ffi::c_int,
    ) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_setf(
        prefs: *mut Fl_Preferences,
        entry: *const ::core::ffi::c_char,
        value: f32,
    ) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_setfp(
        prefs: *mut Fl_Preferences,
        entry: *const ::core::ffi::c_char,
        value: f32,
        precision: ::core::ffi::c_int,
    ) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_setd(
        prefs: *mut Fl_Preferences,
        entry: *const ::core::ffi::c_char,
        value: f64,
    ) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_setdp(
        prefs: *mut Fl_Preferences,
        entry: *const ::core::ffi::c_char,
        value: f64,
        precision: ::core::ffi::c_int,
    ) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_sets(
        prefs: *mut Fl_Preferences,
        entry: *const ::core::ffi::c_char,
        value: *const ::core::ffi::c_char,
    ) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_setv(
        prefs: *mut Fl_Preferences,
        entry: *const ::core::ffi::c_char,
        value: *const ::core::ffi::c_void,
        size: ::core::ffi::c_int,
    ) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_geti(
        prefs: *mut Fl_Preferences,
        entry: *const ::core::ffi::c_char,
        value: *mut ::core::ffi::c_int,
        defaultValue: ::core::ffi::c_int,
    ) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_getf(
        prefs: *mut Fl_Preferences,
        entry: *const ::core::ffi::c_char,
        value: *mut f32,
        defaultValue: f32,
    ) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_getd(
        prefs: *mut Fl_Preferences,
        entry: *const ::core::ffi::c_char,
        value: *mut f64,
        defaultValue: f64,
    ) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_gets(
        prefs: *mut Fl_Preferences,
        entry: *const ::core::ffi::c_char,
        value: *mut ::core::ffi::c_char,
        defaultValue: *const ::core::ffi::c_char,
        maxSize: ::core::ffi::c_int,
    ) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_getv(
        prefs: *mut Fl_Preferences,
        entry: *const ::core::ffi::c_char,
        value: *mut ::core::ffi::c_void,
        defaultValue: *const ::core::ffi::c_void,
        defaultSize: ::core::ffi::c_int,
        maxSize: ::core::ffi::c_int,
    ) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_getv2(
        prefs: *mut Fl_Preferences,
        entry: *const ::core::ffi::c_char,
        value: *mut ::core::ffi::c_void,
        defaultValue: *const ::core::ffi::c_void,
        defaultSize: ::core::ffi::c_int,
        size: *mut ::core::ffi::c_int,
    ) -> ::core::ffi::c_char;
}
extern "C" {
    pub fn Fl_Preferences_size(
        prefs: *mut Fl_Preferences,
        entry: *const ::core::ffi::c_char,
    ) -> ::core::ffi::c_int;
}
