aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-05-07 01:40:44 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-05-07 01:40:44 +0200
commit137fff4ccd312ec235973455871548caa7b173ca (patch)
tree2f3bf87bb853e5109cf79dac3e98b90ee6f8c61b /src
parente6512523e96c5ba5f198796b5eb347f15b00a509 (diff)
download0tdns-137fff4ccd312ec235973455871548caa7b173ca.tar.gz
0tdns-137fff4ccd312ec235973455871548caa7b173ca.zip
add license information
Diffstat (limited to 'src')
-rw-r--r--src/0tDNS.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/0tDNS.c b/src/0tDNS.c
index 4c3a52c..b7d1277 100644
--- a/src/0tDNS.c
+++ b/src/0tDNS.c
@@ -1,3 +1,23 @@
+/*
+ * Code in examine_result() is taken from official libunbound examples:
+ * https://nlnetlabs.nl/documentation/unbound/libunbound-tutorial-3/
+ * The rest of this file is
+ * Copyright (C) 2020 by Wojtek Kosior <echo a3dvanR1c0Bwcm90b25tYWlsLmNvbQo= | base64 --decode>
+
+ * Permission to use, copy, modify, and/or distribute this software
+ * for any purpose with or without fee is hereby granted.
+
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+ * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+ * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
+ * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
+ * OF THIS SOFTWARE.
+ */
+
+
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>