From 925f446cb106b5ff4073d18a05fbecf52332f83d Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Mon, 1 Aug 2022 00:10:06 +0300 Subject: [PATCH] add missed GPL header to each file --- Cargo.lock | 2 +- src/cli/switch.rs | 16 ++++++++++++++++ src/domain.rs | 16 ++++++++++++++++ src/domain/switch.rs | 16 ++++++++++++++++ 4 files changed, 49 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 90bce62..8d61244 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -201,7 +201,7 @@ checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] name = "vnetod" -version = "0.1.0" +version = "0.2.2" dependencies = [ "clap", ] diff --git a/src/cli/switch.rs b/src/cli/switch.rs index a48ae7c..a73ab3c 100644 --- a/src/cli/switch.rs +++ b/src/cli/switch.rs @@ -1,3 +1,19 @@ +//! Copyright (C) 2022, Dmitriy Pleshevskiy +//! +//! vnetod is free software: you can redistribute it and/or modify +//! it under the terms of the GNU General Public License as published by +//! the Free Software Foundation, either version 3 of the License, or +//! (at your option) any later version. +//! +//! vnetod is distributed in the hope that it will be useful, +//! but WITHOUT ANY WARRANTY; without even the implied warranty of +//! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//! GNU General Public License for more details. +//! +//! You should have received a copy of the GNU General Public License +//! along with vnetod. If not, see . +//! + use crate::{cli::Args, domain}; use std::fs::File; diff --git a/src/domain.rs b/src/domain.rs index 0898b8b..8684f1a 100644 --- a/src/domain.rs +++ b/src/domain.rs @@ -1,3 +1,19 @@ +//! Copyright (C) 2022, Dmitriy Pleshevskiy +//! +//! vnetod is free software: you can redistribute it and/or modify +//! it under the terms of the GNU General Public License as published by +//! the Free Software Foundation, either version 3 of the License, or +//! (at your option) any later version. +//! +//! vnetod is distributed in the hope that it will be useful, +//! but WITHOUT ANY WARRANTY; without even the implied warranty of +//! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//! GNU General Public License for more details. +//! +//! You should have received a copy of the GNU General Public License +//! along with vnetod. If not, see . +//! + pub mod switch; #[derive(Debug, Clone, PartialEq, Eq)] diff --git a/src/domain/switch.rs b/src/domain/switch.rs index 25d4a98..e3b99e8 100644 --- a/src/domain/switch.rs +++ b/src/domain/switch.rs @@ -1,3 +1,19 @@ +//! Copyright (C) 2022, Dmitriy Pleshevskiy +//! +//! vnetod is free software: you can redistribute it and/or modify +//! it under the terms of the GNU General Public License as published by +//! the Free Software Foundation, either version 3 of the License, or +//! (at your option) any later version. +//! +//! vnetod is distributed in the hope that it will be useful, +//! but WITHOUT ANY WARRANTY; without even the implied warranty of +//! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +//! GNU General Public License for more details. +//! +//! You should have received a copy of the GNU General Public License +//! along with vnetod. If not, see . +//! + use std::io::{BufWriter, Write}; use super::Section;