Skip to content
Snippets Groups Projects
Commit 2ca8fcb8 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Add missing copyright/license statements on all .rs files

(Yes, I have Chelsea's permission.)
parent 6be75bd6
No related branches found
No related tags found
No related merge requests found
// Copyright (c) 2016-2017, The Tor Project, Inc. */
// See LICENSE for licensing information */
use libc::{c_char, c_int};
use std::ffi::CString;
......
// Copyright (c) 2016-2017, The Tor Project, Inc. */
// See LICENSE for licensing information */
//! FFI functions, only to be called from C.
//!
//! Equivalent C versions of this api are in `src/or/protover.c`
......
// Copyright (c) 2016-2017, The Tor Project, Inc. */
// See LICENSE for licensing information */
use external::c_tor_version_as_new_as;
use std::str::FromStr;
......
// Copyright (c) 2016-2017, The Tor Project, Inc. */
// See LICENSE for licensing information */
extern crate protover;
#[test]
......
// Copyright (c) 2016-2017, The Tor Project, Inc. */
// See LICENSE for licensing information */
extern crate libc;
mod smartlist;
......
// Copyright (c) 2016-2017, The Tor Project, Inc. */
// See LICENSE for licensing information */
use std::slice;
use libc::{c_char, c_int};
use std::ffi::CStr;
......
// Copyright (c) 2016-2017, The Tor Project, Inc. */
// See LICENSE for licensing information */
//! Allocation helper functions that allow data to be allocated in Rust
//! using tor's specified allocator. In doing so, this can be later freed
//! from C.
......
// Copyright (c) 2016-2017, The Tor Project, Inc. */
// See LICENSE for licensing information */
use libc::{c_char, c_void};
use std::{ptr, slice, mem};
......
// Copyright (c) 2016-2017, The Tor Project, Inc. */
// See LICENSE for licensing information */
//! FFI functions to announce Rust support during tor startup, only to be
//! called from C.
//!
......
// Copyright (c) 2016-2017, The Tor Project, Inc. */
// See LICENSE for licensing information */
//! Small module to announce Rust support during startup for demonstration
//! purposes.
//!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment