From f63f4727f253f16b2235a87c0c5f008aaefbbcb7 Mon Sep 17 00:00:00 2001 From: sn99 <42946112+sn99@users.noreply.github.com> Date: Thu, 25 May 2023 13:42:50 +0530 Subject: [PATCH] make NetworkAdapterInfo and Version public Signed-off-by: sn99 <42946112+sn99@users.noreply.github.com> --- src/ndisapi.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ndisapi.rs b/src/ndisapi.rs index 76badb8..f676377 100644 --- a/src/ndisapi.rs +++ b/src/ndisapi.rs @@ -35,6 +35,9 @@ mod static_api; // Re-exports the `driver` submodule pub use crate::driver::*; +// Re-export already public members in `defs.rs` +pub use crate::ndisapi::defs::{NetworkAdapterInfo, Version}; + /// The `Ndisapi` struct represents an instance of the NDIS filter driver that provides access to network adapters and packets. /// /// This struct is used to communicate with the NDIS filter driver and access its functionalities. It contains a single field, `driver_handle`,