diff --git a/src/rust/external/external.rs b/src/rust/external/external.rs index 09d80cb2ba27124684830161916654477c5e539b..b9e17f021d9913f3e62b8e513a917faa6a05807e 100644 --- a/src/rust/external/external.rs +++ b/src/rust/external/external.rs @@ -1,3 +1,6 @@ +// Copyright (c) 2016-2017, The Tor Project, Inc. */ +// See LICENSE for licensing information */ + use libc::{c_char, c_int}; use std::ffi::CString; diff --git a/src/rust/protover/ffi.rs b/src/rust/protover/ffi.rs index f897c98083b0a1a35168cc31a1e143891a0073be..cf2e9fd783fc068d4d6093a7e76a93e091fd5977 100644 --- a/src/rust/protover/ffi.rs +++ b/src/rust/protover/ffi.rs @@ -1,3 +1,6 @@ +// 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` diff --git a/src/rust/protover/protover.rs b/src/rust/protover/protover.rs index d75da61aa83fe240e1bf13c6b319b496598e55b4..11e9d0079efd16edbc54dc6900f3c27af769cdeb 100644 --- a/src/rust/protover/protover.rs +++ b/src/rust/protover/protover.rs @@ -1,3 +1,6 @@ +// 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; diff --git a/src/rust/protover/tests/protover.rs b/src/rust/protover/tests/protover.rs index af7633a4849228ddab3f062a1451e799d86ebf77..f4e394b3e25a82d8d41ed4e1e952ef2f1f0fd7bb 100644 --- a/src/rust/protover/tests/protover.rs +++ b/src/rust/protover/tests/protover.rs @@ -1,3 +1,6 @@ +// Copyright (c) 2016-2017, The Tor Project, Inc. */ +// See LICENSE for licensing information */ + extern crate protover; #[test] diff --git a/src/rust/smartlist/lib.rs b/src/rust/smartlist/lib.rs index 71d89a3b873d90908b5b213717834e914fda1a9a..14a8148315e8aafd2813864bce6443272171010f 100644 --- a/src/rust/smartlist/lib.rs +++ b/src/rust/smartlist/lib.rs @@ -1,3 +1,6 @@ +// Copyright (c) 2016-2017, The Tor Project, Inc. */ +// See LICENSE for licensing information */ + extern crate libc; mod smartlist; diff --git a/src/rust/smartlist/smartlist.rs b/src/rust/smartlist/smartlist.rs index 9f5e14f1adba47bfb010522b3743cbb1d9974a0a..ec5d7a57f51542d8aa76d06f20e6d68e4bc4c1b0 100644 --- a/src/rust/smartlist/smartlist.rs +++ b/src/rust/smartlist/smartlist.rs @@ -1,3 +1,6 @@ +// 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; diff --git a/src/rust/tor_allocate/lib.rs b/src/rust/tor_allocate/lib.rs index 81afd095f9a816fc9763a04820e5ea9d037e9e1f..937a5dcf63ac803ad7872c94308af1d1f466b573 100644 --- a/src/rust/tor_allocate/lib.rs +++ b/src/rust/tor_allocate/lib.rs @@ -1,3 +1,6 @@ +// 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. diff --git a/src/rust/tor_allocate/tor_allocate.rs b/src/rust/tor_allocate/tor_allocate.rs index 663600ec5ce3099a1c3f5874eb6594d9bbe05d73..8a6fabe9cb40545bbcee1ef181244569f59d0e9d 100644 --- a/src/rust/tor_allocate/tor_allocate.rs +++ b/src/rust/tor_allocate/tor_allocate.rs @@ -1,3 +1,6 @@ +// Copyright (c) 2016-2017, The Tor Project, Inc. */ +// See LICENSE for licensing information */ + use libc::{c_char, c_void}; use std::{ptr, slice, mem}; diff --git a/src/rust/tor_util/ffi.rs b/src/rust/tor_util/ffi.rs index 214727a1907c54e53bcee3b07045fc0b6eb10d2c..76c6e6d394c81c663640e7867d913588ee9252f7 100644 --- a/src/rust/tor_util/ffi.rs +++ b/src/rust/tor_util/ffi.rs @@ -1,3 +1,6 @@ +// 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. //! diff --git a/src/rust/tor_util/lib.rs b/src/rust/tor_util/lib.rs index 9c863e39bd2c2c9b72aa8b98f0e826c1484f0dcc..42fa9d5ad0a0b7f99d2773caa931adc6b614d164 100644 --- a/src/rust/tor_util/lib.rs +++ b/src/rust/tor_util/lib.rs @@ -1,3 +1,6 @@ +// Copyright (c) 2016-2017, The Tor Project, Inc. */ +// See LICENSE for licensing information */ + //! Small module to announce Rust support during startup for demonstration //! purposes. //!