use libc::*;
use allegro_util::c_bool;
use config::*;
use path::*;
opaque!(ALLEGRO_SYSTEM);
extern "C" {
pub fn al_install_system(
version: c_int, atexit_ptr: Option<extern "C" fn(atexit_ptr: extern "C" fn()) -> c_int>,
) -> c_bool;
pub fn al_uninstall_system();
pub fn al_is_system_installed() -> c_bool;
pub fn al_get_system_driver() -> *mut ALLEGRO_SYSTEM;
pub fn al_get_system_config() -> *mut ALLEGRO_CONFIG;
}
pub const ALLEGRO_RESOURCES_PATH: u32 = 0;
pub const ALLEGRO_TEMP_PATH: u32 = 1;
pub const ALLEGRO_USER_DATA_PATH: u32 = 2;
pub const ALLEGRO_USER_HOME_PATH: u32 = 3;
pub const ALLEGRO_USER_SETTINGS_PATH: u32 = 4;
pub const ALLEGRO_USER_DOCUMENTS_PATH: u32 = 5;
pub const ALLEGRO_EXENAME_PATH: u32 = 6;
pub const ALLEGRO_LAST_PATH: u32 = 7;
extern "C" {
pub fn al_get_standard_path(id: c_int) -> *mut ALLEGRO_PATH;
pub fn al_set_exe_name(path: *const c_char);
pub fn al_set_org_name(org_name: *const c_char);
pub fn al_set_app_name(app_name: *const c_char);
pub fn al_get_org_name() -> *const c_char;
pub fn al_get_app_name() -> *const c_char;
pub fn al_inhibit_screensaver(inhibit: c_uchar) -> c_bool;
}