mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
20 lines
533 B
Rust
20 lines
533 B
Rust
//! 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::*;
|