summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-11-13 15:53:50 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2021-11-13 15:53:50 +0100
commit386fbeba47dce57861724591a597014112d658ae (patch)
tree716967b06edfcbcbc0dac9041ce54c07340c17fe
parent8b0c1b6ba315146a36d163119a80aa5ff806139a (diff)
downloadcssh-386fbeba47dce57861724591a597014112d658ae.tar.gz
cssh-386fbeba47dce57861724591a597014112d658ae.tar.bz2
added GPL
-rw-r--r--src/cssh.c18
-rw-r--r--src/port.c18
-rw-r--r--src/port.h18
-rw-r--r--src/progressbar.c18
-rw-r--r--src/progressbar.h18
5 files changed, 90 insertions, 0 deletions
diff --git a/src/cssh.c b/src/cssh.c
index 8d63359..b5592a6 100644
--- a/src/cssh.c
+++ b/src/cssh.c
@@ -1,3 +1,21 @@
+/*
+ cssh - parallel secure shell
+ Copyright (C) 2015 Andreas Baumann
+
+ This program 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.
+
+ 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 General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#define _FILE_OFFSET_BITS 64
#include <libssh/libssh.h>
diff --git a/src/port.c b/src/port.c
index d6b947e..a7fbe3e 100644
--- a/src/port.c
+++ b/src/port.c
@@ -1,3 +1,21 @@
+/*
+ cssh - parallel secure shell
+ Copyright (C) 2015 Andreas Baumann
+
+ This program 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.
+
+ 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 General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "port.h"
#include <time.h>
diff --git a/src/port.h b/src/port.h
index 49295b9..aae1ab6 100644
--- a/src/port.h
+++ b/src/port.h
@@ -1,3 +1,21 @@
+/*
+ cssh - parallel secure shell
+ Copyright (C) 2015 Andreas Baumann
+
+ This program 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.
+
+ 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 General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#ifndef _PORT_HEADER_INCLUDED
#define _PORT_HEADER_INCLUDED
diff --git a/src/progressbar.c b/src/progressbar.c
index 59d924c..aeef98e 100644
--- a/src/progressbar.c
+++ b/src/progressbar.c
@@ -1,3 +1,21 @@
+/*
+ cssh - parallel secure shell
+ Copyright (C) 2015 Andreas Baumann
+
+ This program 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.
+
+ 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 General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
#include "progressbar.h"
#include <stdlib.h>
diff --git a/src/progressbar.h b/src/progressbar.h
index 53d8524..cd2fd96 100644
--- a/src/progressbar.h
+++ b/src/progressbar.h
@@ -1,3 +1,21 @@
+/*
+ cssh - parallel secure shell
+ Copyright (C) 2015 Andreas Baumann
+
+ This program 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.
+
+ 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 General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
// rougly based on https://github.com/doches/progressbar
// but changed in API, multi-line support and some interna
// also simplified to exactly what we need for cssh