falco_event/fields/
types.rs#![allow(non_camel_case_types)]
pub use crate::fields::dynamic_params::*;
pub use crate::fields::event_flags::*;
pub use crate::types::Bool as PT_BOOL;
pub use crate::types::Fd as PT_FD;
pub use crate::types::FdList as PT_FDLIST;
pub use crate::types::Gid as PT_GID;
pub use crate::types::IpNet as PT_IPNET;
pub use crate::types::Ipv4Net as PT_IPV4NET;
pub use crate::types::Ipv6Net as PT_IPV6NET;
pub use crate::types::Pid as PT_PID;
pub use crate::types::Port as PT_PORT;
pub use crate::types::RelativePath as PT_FSRELPATH;
pub use crate::types::SigSet as PT_SIGSET;
pub use crate::types::SigType as PT_SIGTYPE;
pub use crate::types::SockAddr as PT_SOCKADDR;
pub use crate::types::SockFamily as PT_SOCKFAMILY;
pub use crate::types::SockTuple as PT_SOCKTUPLE;
pub use crate::types::SyscallId as PT_SYSCALLID;
pub use crate::types::SyscallResult as PT_ERRNO;
pub use crate::types::Uid as PT_UID;
use std::ffi::CStr;
pub use std::net::IpAddr as PT_IPADDR;
pub use std::net::Ipv4Addr as PT_IPV4ADDR;
pub use std::net::Ipv6Addr as PT_IPV6ADDR;
pub use std::path::Path as PT_FSPATH;
pub use std::time::Duration as PT_RELTIME;
pub use std::time::SystemTime as PT_ABSTIME;
pub type PT_INT8 = i8;
pub type PT_INT16 = i16;
pub type PT_INT32 = i32;
pub type PT_INT64 = i64;
pub type PT_UINT8 = u8;
pub type PT_UINT16 = u16;
pub type PT_UINT32 = u32;
pub type PT_UINT64 = u64;
pub type PT_CHARBUF = CStr;
pub type PT_BYTEBUF = [u8];
pub type PT_CHARBUFARRAY<'a> = Vec<&'a CStr>;
pub type PT_CHARBUF_PAIR_ARRAY<'a> = Vec<(&'a CStr, &'a CStr)>;
pub mod owned {
pub use super::PT_ABSTIME;
pub use super::PT_BOOL;
pub use super::PT_ERRNO;
pub use super::PT_FD;
pub use super::PT_FDLIST;
pub use super::PT_GID;
pub use super::PT_INT16;
pub use super::PT_INT32;
pub use super::PT_INT64;
pub use super::PT_INT8;
pub use super::PT_IPADDR;
pub use super::PT_IPNET;
pub use super::PT_IPV4ADDR;
pub use super::PT_IPV4NET;
pub use super::PT_IPV6ADDR;
pub use super::PT_IPV6NET;
pub use super::PT_PID;
pub use super::PT_PORT;
pub use super::PT_RELTIME;
pub use super::PT_SIGSET;
pub use super::PT_SIGTYPE;
pub use super::PT_SOCKFAMILY;
pub use super::PT_SYSCALLID;
pub use super::PT_UID;
pub use super::PT_UINT16;
pub use super::PT_UINT32;
pub use super::PT_UINT64;
pub use super::PT_UINT8;
pub use crate::fields::dynamic_params::owned::*;
pub use crate::fields::event_flags::*;
pub use crate::types::OwnedRelativePath as PT_FSRELPATH;
pub use crate::types::OwnedSockAddr as PT_SOCKADDR;
pub use crate::types::OwnedSockTuple as PT_SOCKTUPLE;
pub use std::ffi::CString as PT_CHARBUF;
use std::ffi::CString;
pub use std::path::PathBuf as PT_FSPATH;
pub type PT_BYTEBUF = Vec<u8>;
pub type PT_CHARBUFARRAY = Vec<CString>;
pub type PT_CHARBUF_PAIR_ARRAY = Vec<(CString, CString)>;
}