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

pub mod crypto_digest;
mod crypto_rand;
mod external;

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