Skip to content

Commit

Permalink
Added copyright notices to source files.
Browse files Browse the repository at this point in the history
  • Loading branch information
fpagliughi committed Oct 29, 2018
1 parent 8b89ea0 commit 55ce7e7
Show file tree
Hide file tree
Showing 9 changed files with 68 additions and 5 deletions.
7 changes: 7 additions & 0 deletions examples/iio_detect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
//
// Simple Rust IIO example. This lists the devices found in the default context.
//
// Copyright (c) 2018, Frank Pagliughi
//
// Licensed under the MIT license:
// <LICENSE or http://opensource.org/licenses/MIT>
// This file may not be copied, modified, or distributed except according
// to those terms.
//

extern crate industrial_io as iio;
use std::process;
Expand Down
7 changes: 7 additions & 0 deletions libiio-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
//
// The builder for the Linux Industrial I/O wrapper crate.
//
// Copyright (c) 2018, Frank Pagliughi
//
// Licensed under the MIT license:
// <LICENSE or http://opensource.org/licenses/MIT>
// This file may not be copied, modified, or distributed except according
// to those terms.
//

fn main() {
println!("cargo:rustc-link-lib=iio");
Expand Down
7 changes: 7 additions & 0 deletions src/bin/iio_info_rs.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
// industrial-io/src/bin/iio_info_rs.rs
//
// Copyright (c) 2018, Frank Pagliughi
//
// Licensed under the MIT license:
// <LICENSE or http://opensource.org/licenses/MIT>
// This file may not be copied, modified, or distributed except according
// to those terms.
//
//! Rust application to gather information about Industrial I/O devices.
//!
Expand Down
9 changes: 8 additions & 1 deletion src/buffer.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
// libiio-sys/src/buffer.rs
//
//!
// Copyright (c) 2018, Frank Pagliughi
//
// Licensed under the MIT license:
// <LICENSE or http://opensource.org/licenses/MIT>
// This file may not be copied, modified, or distributed except according
// to those terms.
//
//! Industrial I/O Buffers
//!
use std::{mem, ptr};
Expand Down
9 changes: 8 additions & 1 deletion src/channel.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
// libiio-sys/src/channel.rs
//
//!
// Copyright (c) 2018, Frank Pagliughi
//
// Licensed under the MIT license:
// <LICENSE or http://opensource.org/licenses/MIT>
// This file may not be copied, modified, or distributed except according
// to those terms.
//
//! Industrial I/O Channels
//!
use std::ffi::{CString, CStr};
Expand Down
9 changes: 8 additions & 1 deletion src/context.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
// libiio-sys/src/context.rs
//
//!
// Copyright (c) 2018, Frank Pagliughi
//
// Licensed under the MIT license:
// <LICENSE or http://opensource.org/licenses/MIT>
// This file may not be copied, modified, or distributed except according
// to those terms.
//
//! Industrial I/O Contexts.
//!
use std::time::Duration;
Expand Down
9 changes: 8 additions & 1 deletion src/device.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
// libiio-sys/src/device.rs
//
//!
// Copyright (c) 2018, Frank Pagliughi
//
// Licensed under the MIT license:
// <LICENSE or http://opensource.org/licenses/MIT>
// This file may not be copied, modified, or distributed except according
// to those terms.
//
//! Industrial I/O Devices
//!
use std::ffi::{CString, CStr};
Expand Down
9 changes: 8 additions & 1 deletion src/errors.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
// libiio-sys/src/errors.rs
//
// Copyright (c) 2018, Frank Pagliughi
//
// Licensed under the MIT license:
// <LICENSE or http://opensource.org/licenses/MIT>
// This file may not be copied, modified, or distributed except according
// to those terms.
//
//!
//!
//! Error definitions for the Industrial I/O Library.
error_chain! {
foreign_links {
Expand Down
7 changes: 7 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
// industrial-io/src/lib.rs
//
// Copyright (c) 2018, Frank Pagliughi
//
// Licensed under the MIT license:
// <LICENSE or http://opensource.org/licenses/MIT>
// This file may not be copied, modified, or distributed except according
// to those terms.
//
//!
//!
Expand Down

0 comments on commit 55ce7e7

Please sign in to comment.