aboutsummaryrefslogtreecommitdiff
path: root/hbak_common/src/proto.rs
diff options
context:
space:
mode:
Diffstat (limited to 'hbak_common/src/proto.rs')
-rw-r--r--hbak_common/src/proto.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/hbak_common/src/proto.rs b/hbak_common/src/proto.rs
index b0ad4b8..94f43d1 100644
--- a/hbak_common/src/proto.rs
+++ b/hbak_common/src/proto.rs
@@ -1,3 +1,19 @@
+// hbak_common is the main hbak library implementing the protocol shared logic.
+// Copyright (C) 2024 Himbeer <himbeerserverde@gmail.com>
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program 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 Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
use crate::config::NodeConfig;
use crate::stream::{RecoveryStream, SnapshotStream, CHUNKSIZE};
use crate::system::{MOUNTPOINTC, MOUNTPOINTS};