bpfdeploy_libbpf_sys/
lib.rs1#![allow(non_upper_case_globals)]
4#![allow(non_camel_case_types)]
5#![allow(non_snake_case)]
6
7include!("bindings.rs");
8
9macro_rules! header {
10 ($file:literal) => {
11 ($file, include_str!(concat!("../libbpf/src/", $file)))
12 };
13}
14
15#[cfg(not(feature = "novendor"))]
19pub const API_HEADERS: [(&'static str, &'static str); 9] = [
20 header!("bpf.h"),
21 header!("libbpf.h"),
22 header!("btf.h"),
23 header!("bpf_helpers.h"),
24 header!("bpf_helper_defs.h"),
25 header!("bpf_tracing.h"),
26 header!("bpf_endian.h"),
27 header!("bpf_core_read.h"),
28 header!("libbpf_common.h"),
29];