aboutsummaryrefslogtreecommitdiff
path: root/src/rust/external/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/rust/external/lib.rs')
-rw-r--r--src/rust/external/lib.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/rust/external/lib.rs b/src/rust/external/lib.rs
new file mode 100644
index 0000000000..0af0d6452d
--- /dev/null
+++ b/src/rust/external/lib.rs
@@ -0,0 +1,14 @@
+//! Copyright (c) 2016-2017, The Tor Project, Inc. */
+//! See LICENSE for licensing information */
+
+//! Interface for external calls to tor C ABI
+//!
+//! The purpose of this module is to provide a clean interface for when Rust
+//! modules need to interact with functionality in tor C code rather than each
+//! module implementing this functionality repeatedly.
+
+extern crate libc;
+
+mod external;
+
+pub use external::*;