aboutsummaryrefslogtreecommitdiff
path: root/remote_plot.c
diff options
context:
space:
mode:
Diffstat (limited to 'remote_plot.c')
-rw-r--r--remote_plot.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/remote_plot.c b/remote_plot.c
index ba3cec4..5f7650d 100644
--- a/remote_plot.c
+++ b/remote_plot.c
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+
// references:
// https://api.libssh.org/stable/libssh_tutorial.html
// https://api.libssh.org/stable/libssh_tutor_guided_tour.html
@@ -9,10 +11,12 @@
// https://gitlab.gnome.org/GNOME/gtk/-/blob/main/demos/print-editor/print-editor.c
// https://gitlab.gnome.org/GNOME/gtk/-/blob/main/demos/gtk-demo/main.c
+// libssh, license LGPL-2.1-or-later
#include <libssh/libssh.h>
+#include <libssh/sftp.h>
+
#include <stdlib.h>
#include <stdio.h>
-#include <libssh/sftp.h>
// verify_knownhost()
#include <errno.h>
@@ -20,14 +24,15 @@
#include <fcntl.h> // open()
-// plplot
+// plplot, license GPL-2.0-or-later
#include <plplot/plConfig.h>
#include <plplot/plplot.h>
+
#include <math.h>
//#include <stdlib.h>
#include <time.h>
#include <unistd.h>
-#include <gtk/gtk.h>
+#include <gtk/gtk.h> // license LGPL-2.1-or-later
// Using a linked list to hold all the voltages and temperatures data
#include "list.h"