aboutsummaryrefslogtreecommitdiff
path: root/src/rust/external/lib.rs
blob: b72a4f6e4ce62e02a9590196d0572a05835c9cc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//! Copyright (c) 2016-2018, 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;

extern crate smartlist;

pub mod crypto_digest;
mod crypto_rand;
mod external;

pub use crypto_rand::*;
pub use external::*;