aboutsummaryrefslogtreecommitdiff
path: root/rustables/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rustables/src/lib.rs')
-rw-r--r--rustables/src/lib.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/rustables/src/lib.rs b/rustables/src/lib.rs
index d94c753..6eedf9f 100644
--- a/rustables/src/lib.rs
+++ b/rustables/src/lib.rs
@@ -76,8 +76,8 @@ use thiserror::Error;
#[macro_use]
extern crate log;
-pub use rustables_sys;
-use rustables_sys::libc;
+pub mod sys;
+use sys::libc;
use std::{convert::TryFrom, ffi::c_void, ops::Deref};
macro_rules! try_alloc {
@@ -118,9 +118,6 @@ pub use rule::{get_rules_cb, list_rules_for_chain};
pub mod set;
-#[cfg(test)]
-mod tests;
-
/// The type of the message as it's sent to netfilter. A message consists of an object, such as a
/// [`Table`], [`Chain`] or [`Rule`] for example, and a [`MsgType`] to describe what to do with
/// that object. If a [`Table`] object is sent with `MsgType::Add` then that table will be added