aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarf20 <aruizfernandez05@gmail.com>2025-11-29 05:07:37 +0100
committerarf20 <aruizfernandez05@gmail.com>2025-11-29 05:07:37 +0100
commitae9b7722e93111a8ee67e5b9b3a791df7b94c765 (patch)
treed5aa0833f2cf781ab42a670e50c4d0b6eef86736
parentfed792b9f4482a8b36425e0d2c4f80d37f8da42c (diff)
downloadarfnet2-search-ae9b7722e93111a8ee67e5b9b3a791df7b94c765.tar.gz
arfnet2-search-ae9b7722e93111a8ee67e5b9b3a791df7b94c765.zip
add licence header to source files
-rw-r--r--config.c22
-rw-r--r--config.h20
-rw-r--r--main.c22
3 files changed, 64 insertions, 0 deletions
diff --git a/config.c b/config.c
index 50bde3e..1235a6b 100644
--- a/config.c
+++ b/config.c
@@ -1,3 +1,25 @@
+/*
+
+ arfnet2-search: Fast file indexer and search
+ Copyright (C) 2023 arf20 (Ángel Ruiz Fernandez)
+
+ 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 <https://www.gnu.org/licenses/>.
+
+ config.c: Configuration parser
+
+*/
+
#include "config.h"
#include <stdlib.h>
diff --git a/config.h b/config.h
index 64d0a3d..07f2df5 100644
--- a/config.h
+++ b/config.h
@@ -1,3 +1,23 @@
+/*
+
+ arfnet2-search: Fast file indexer and search
+ Copyright (C) 2023 arf20 (Ángel Ruiz Fernandez)
+
+ 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 <https://www.gnu.org/licenses/>.
+
+*/
+
#ifndef _CONFIG_H
#define _CONFIG_H
diff --git a/main.c b/main.c
index b462ef0..2de3c9b 100644
--- a/main.c
+++ b/main.c
@@ -1,3 +1,25 @@
+/*
+
+ arfnet2-search: Fast file indexer and search
+ Copyright (C) 2023 arf20 (Ángel Ruiz Fernandez)
+
+ 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 <https://www.gnu.org/licenses/>.
+
+ main.c: Program entry point
+
+*/
+
#include <sys/types.h>
#include <sys/select.h>
#include <sys/socket.h>