From d3815bcfdc3a271a8eaf9dd85a2b7908963f592b Mon Sep 17 00:00:00 2001 From: Tyler Neely Date: Mon, 15 Dec 2014 00:11:48 -0500 Subject: [PATCH] apache 2.0 license --- src/ffi.rs | 15 +++++++++++++++ src/lib.rs | 15 +++++++++++++++ src/main.rs | 15 +++++++++++++++ src/rocksdb.rs | 15 +++++++++++++++ 4 files changed, 60 insertions(+) diff --git a/src/ffi.rs b/src/ffi.rs index 5839bbf..d9177ff 100644 --- a/src/ffi.rs +++ b/src/ffi.rs @@ -1,3 +1,18 @@ +/* + Copyright 2014 Tyler Neely + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ extern crate libc; use self::libc::{c_char, c_int, c_void, size_t}; diff --git a/src/lib.rs b/src/lib.rs index 36120e1..f275720 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,18 @@ +/* + Copyright 2014 Tyler Neely + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ #![crate_id = "rocksdb"] #![crate_type = "lib"] #![allow(dead_code)] diff --git a/src/main.rs b/src/main.rs index ce69e24..3f22142 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,18 @@ +/* + Copyright 2014 Tyler Neely + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ extern crate rocksdb; extern crate test; use rocksdb::{RocksDBOptions, RocksDB, MergeOperands, new_bloom_filter}; diff --git a/src/rocksdb.rs b/src/rocksdb.rs index f3d87ee..53893ae 100644 --- a/src/rocksdb.rs +++ b/src/rocksdb.rs @@ -1,3 +1,18 @@ +/* + Copyright 2014 Tyler Neely + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ extern crate libc; use self::libc::{c_char, c_int, c_void, size_t}; use std::io::{IoError};