1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
#![allow(improper_ctypes, non_snake_case)] extern crate libc; use libc::c_int; #[cfg(feature = "caching")] use libc::c_char; mod basic_components; mod cacti; mod core; mod processor; mod sharedcache; mod xml_parse; pub use basic_components::*; pub use cacti::area::*; pub use cacti::cacti_interface::*; pub use cacti::component::*; pub use core::*; pub use processor::*; pub use sharedcache::*; pub use xml_parse::*; extern "C" { pub fn opt_for_clk_set(value: c_int); } #[cfg(feature = "caching")] extern "C" { pub fn cache_activate(host: *const c_char, port: c_int) -> c_int; pub fn cache_deactivate(); }