blob: c4f5a0551f385ea88b0d20088b72fe47b67b5df6 (
plain)
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
|
#![deny(missing_docs)]
/*!
Wrapper around [`windivert_sys`] ffi crate.
*/
/// WinDivert address data structures
pub mod address;
mod divert;
/// WinDivert error types
pub mod error;
/// Layer types used for typestate pattern
pub mod layer;
/// WinDivert packet types
pub mod packet;
pub use divert::*;
/// Prelude module for [`WinDivert`].
pub mod prelude {
pub use windivert_sys::{
WinDivertEvent, WinDivertFlags, WinDivertLayer, WinDivertParam, WinDivertShutdownMode,
};
pub use crate::divert::*;
pub use crate::error::*;
pub use crate::layer::*;
pub use crate::packet::*;
}
|