Skip to content

Commit

Permalink
Update copyright message
Browse files Browse the repository at this point in the history
  • Loading branch information
locka99 committed May 16, 2020
1 parent 1b2d6b4 commit 5103770
Show file tree
Hide file tree
Showing 481 changed files with 483 additions and 483 deletions.
2 changes: 1 addition & 1 deletion client/src/builder.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

use std::path::PathBuf;

Expand Down
2 changes: 1 addition & 1 deletion client/src/callbacks.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! Provides callback traits and concrete implementations that the client can use to register for notifications
//! with the client api.
Expand Down
2 changes: 1 addition & 1 deletion client/src/client.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! Client setup and session creation.
Expand Down
2 changes: 1 addition & 1 deletion client/src/comms/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! Client side communications
Expand Down
2 changes: 1 addition & 1 deletion client/src/comms/tcp_transport.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! The OPC UA TCP transport client module. The transport is responsible for establishing a connection
//! with the server and processing requests.
Expand Down
2 changes: 1 addition & 1 deletion client/src/comms/transport.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

/// A trait common to all transport implementations
pub(crate) trait Transport {
Expand Down
2 changes: 1 addition & 1 deletion client/src/config.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! Client configuration data.
Expand Down
2 changes: 1 addition & 1 deletion client/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! The OPC UA Client module contains the functionality necessary for a client to connect to an OPC UA server,
//! authenticate itself, send messages, receive responses, get values, browse the address space and
Expand Down
2 changes: 1 addition & 1 deletion client/src/message_queue.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

use std::collections::{HashMap, HashSet};

Expand Down
2 changes: 1 addition & 1 deletion client/src/session.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! Session functionality for the current open client connection. This module contains functions
//! to call for all typically synchronous operations during an OPC UA session.
Expand Down
2 changes: 1 addition & 1 deletion client/src/session_retry.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

use chrono::{DateTime, TimeZone, Utc};
use time::Duration;
Expand Down
2 changes: 1 addition & 1 deletion client/src/session_state.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

use std::{
self,
Expand Down
2 changes: 1 addition & 1 deletion client/src/subscription.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! Provides subscription and monitored item tracking.
//!
Expand Down
2 changes: 1 addition & 1 deletion client/src/subscription_state.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

use std::collections::HashMap;
use std::sync::{Arc, RwLock};
Expand Down
2 changes: 1 addition & 1 deletion client/src/subscription_timer.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

use std::{
sync::{Arc, RwLock},
Expand Down
2 changes: 1 addition & 1 deletion console-logging/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

#[macro_use]
extern crate log;
Expand Down
2 changes: 1 addition & 1 deletion core/src/comms/chunker.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! Contains code for turning messages into chunks and chunks into messages.
Expand Down
2 changes: 1 addition & 1 deletion core/src/comms/message_chunk.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! A message chunk is a message or a portion of a message, optionally encrypted & signed, which
//! has been split for transmission.
Expand Down
2 changes: 1 addition & 1 deletion core/src/comms/message_chunk_info.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

use std;
use std::io::Cursor;
Expand Down
2 changes: 1 addition & 1 deletion core/src/comms/message_writer.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

use std::io::{Cursor, Write};

Expand Down
2 changes: 1 addition & 1 deletion core/src/comms/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! Contains all code related to sending / receiving messages from a transport
//! and turning those messages into and out of chunks.
Expand Down
2 changes: 1 addition & 1 deletion core/src/comms/secure_channel.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

use chrono;
use opcua_crypto::{
Expand Down
2 changes: 1 addition & 1 deletion core/src/comms/security_header.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

use std::io::{Read, Write};

Expand Down
2 changes: 1 addition & 1 deletion core/src/comms/tcp_codec.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! The codec is an implementation of a tokio Encoder/Decoder which can be used to read
//! data from the socket in terms of frames which in our case are any of the following:
Expand Down
2 changes: 1 addition & 1 deletion core/src/comms/tcp_types.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! Contains the implementation of various UA over TCP types.
Expand Down
2 changes: 1 addition & 1 deletion core/src/comms/url.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! Provides functions for parsing Urls from strings.
Expand Down
2 changes: 1 addition & 1 deletion core/src/comms/wrapped_tcp_stream.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

use std::io::{self, Read, Write};

Expand Down
2 changes: 1 addition & 1 deletion core/src/completion_pact.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! This type and the use of it is adapted from an answer on this discussion.
//!
Expand Down
2 changes: 1 addition & 1 deletion core/src/config.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

use std::result::Result;
use std::path::Path;
Expand Down
2 changes: 1 addition & 1 deletion core/src/handle.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

use std::u32;

Expand Down
2 changes: 1 addition & 1 deletion core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! The OPC UA Core module holds functionality that is common to server and clients that make use of OPC UA.
//! It contains message chunking, cryptography / pki, communications and standard handshake messages.
Expand Down
2 changes: 1 addition & 1 deletion core/src/runtime.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

use std::{
collections::BTreeSet,
Expand Down
2 changes: 1 addition & 1 deletion core/src/supported_message.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

// This file was autogenerated by tools/schema/gen_supported_message.js
// DO NOT EDIT THIS FILE
Expand Down
2 changes: 1 addition & 1 deletion crypto/src/aeskey.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! Symmetric encryption / decryption wrapper.
use opcua_types::status_code::StatusCode;
Expand Down
2 changes: 1 addition & 1 deletion crypto/src/certificate_store.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! The certificate store holds and retrieves private keys and certificates from disk. It is responsible
//! for checking certificates supplied by the remote end to see if they are valid and trusted or not.
Expand Down
2 changes: 1 addition & 1 deletion crypto/src/hash.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! Hashing functions used for producing and verifying digital signatures
Expand Down
2 changes: 1 addition & 1 deletion crypto/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! Crypto related functionality. It is used for establishing
//! trust between a client and server via certificate exchange and validation. It also used for
Expand Down
2 changes: 1 addition & 1 deletion crypto/src/pkey.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! Asymmetric encryption / decryption, signing / verification wrapper.
use std::{
Expand Down
2 changes: 1 addition & 1 deletion crypto/src/random.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! Module contains functions for creating cryptographically strong random bytes.
Expand Down
2 changes: 1 addition & 1 deletion crypto/src/security_policy.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! Security policy is the symmetric, asymmetric encryption / decryption + signing / verification
//! algorithms to use and enforce for the current session.
Expand Down
2 changes: 1 addition & 1 deletion crypto/src/thumbprint.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! Functionality for holding a message digest.
use opcua_types::ByteString;
Expand Down
2 changes: 1 addition & 1 deletion crypto/src/user_identity.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! Functions related to encrypting / decrypting passwords in a UserNameIdentityToken.
//!
Expand Down
2 changes: 1 addition & 1 deletion crypto/src/x509.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

// X509 certificate wrapper.

Expand Down
2 changes: 1 addition & 1 deletion samples/chess-server/src/game.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

use uci::Engine;

Expand Down
2 changes: 1 addition & 1 deletion samples/chess-server/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

use std::env;
use std::path::PathBuf;
Expand Down
2 changes: 1 addition & 1 deletion samples/demo-server/src/control.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

use opcua_server::{
prelude::*,
Expand Down
2 changes: 1 addition & 1 deletion samples/demo-server/src/historical.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! Implementations of HistoricalDataProvider and HistoricalEventProvider
use std::sync::{Arc, RwLock};
Expand Down
2 changes: 1 addition & 1 deletion samples/demo-server/src/machine.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

use std::sync::{Arc, atomic::{AtomicU16, AtomicU32, Ordering}};

Expand Down
2 changes: 1 addition & 1 deletion samples/demo-server/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! This is a demo server for OPC UA. It demonstrates most of the features of OPC UA for Rust.
//!
Expand Down
2 changes: 1 addition & 1 deletion samples/demo-server/src/methods.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// OPCUA for Rust
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 Adam Lock
// Copyright (C) 2017-2020 Adam Lock

//! A sample method
Expand Down
Loading

0 comments on commit 5103770

Please sign in to comment.