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