rrd-sys 0.1.4

Bindings to librrd to create and interact with round robin databases created with Tobias Oetiker's rrdtool (https://www.rrdtool.org/).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! This exposes `bindgen` bindings to [`librrd`](https://oss.oetiker.ch/rrdtool/index.en.html).
//!
//! For a high level library built on top of this, see [`rrd`](https://crates.io/crates/rrd).

#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]

pub use core::ffi::c_char as rrd_char;
pub use core::ffi::c_double as rrd_double;
pub use core::ffi::c_int as rrd_int;
pub use core::ffi::c_ulong as rrd_ulong;
pub use core::ffi::c_void as rrd_void;

#[cfg(rrdsys_use_pregen)]
include!("pregen/bindings.rs");
#[cfg(not(rrdsys_use_pregen))]
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));