MAINTENANCE correct license text in source codes
THIS DOES NOT CHANGE THE LICENSE!
We had an incomplete text of BSD 3-Clause license in source codes.
So now the License text is stored in LICENSE file and the text in
source codes just refers to the full text of BSD 3-Clause License.
diff --git a/src/common.c b/src/common.c
index f76ec53..1a13aa6 100644
--- a/src/common.c
+++ b/src/common.c
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#define _GNU_SOURCE
diff --git a/src/common.h b/src/common.h
index 78b31bf..eb98b31 100644
--- a/src/common.h
+++ b/src/common.h
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef LY_COMMON_H_
diff --git a/src/context.c b/src/context.c
index e08ad0d..ea62103 100644
--- a/src/context.c
+++ b/src/context.c
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#define _GNU_SOURCE
diff --git a/src/context.h b/src/context.h
index bf6d9d9..fddb527 100644
--- a/src/context.h
+++ b/src/context.h
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef LY_CONTEXT_H_
diff --git a/src/dict.c b/src/dict.c
index 973f692..6c7f49f 100644
--- a/src/dict.c
+++ b/src/dict.c
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#include <string.h>
diff --git a/src/dict.h b/src/dict.h
index 69d565d..878220d 100644
--- a/src/dict.h
+++ b/src/dict.h
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef LY_DICT_H_
diff --git a/src/dict_private.h b/src/dict_private.h
index b00b1c0..2103eac 100644
--- a/src/dict_private.h
+++ b/src/dict_private.h
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef LY_DICT_PRIVATE_H_
diff --git a/src/libyang.h b/src/libyang.h
index 005a4b3..b36e2e0 100644
--- a/src/libyang.h
+++ b/src/libyang.h
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015-2016 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef LY_LIBYANG_H_
diff --git a/src/log.c b/src/log.c
index 9cc6f95..d74cc7f 100644
--- a/src/log.c
+++ b/src/log.c
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#define _BSD_SOURCE
diff --git a/src/parser.c b/src/parser.c
index 96a320f..37deb63 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#define _GNU_SOURCE
diff --git a/src/parser.h b/src/parser.h
index a34ce1e..dc27645 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef LY_PARSER_H_
diff --git a/src/parser_json.c b/src/parser_json.c
index c7b0181..bd76eda 100644
--- a/src/parser_json.c
+++ b/src/parser_json.c
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#include <assert.h>
diff --git a/src/parser_xml.c b/src/parser_xml.c
index 574df05..fe7f89b 100644
--- a/src/parser_xml.c
+++ b/src/parser_xml.c
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#include <assert.h>
diff --git a/src/parser_yin.c b/src/parser_yin.c
index 9f10362..5ca43d7 100644
--- a/src/parser_yin.c
+++ b/src/parser_yin.c
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#include <assert.h>
diff --git a/src/printer.c b/src/printer.c
index 8c9f457..1cac410 100644
--- a/src/printer.c
+++ b/src/printer.c
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#define _GNU_SOURCE /* vasprintf(), vdprintf() */
diff --git a/src/printer.h b/src/printer.h
index aa3710b..6f204df 100644
--- a/src/printer.h
+++ b/src/printer.h
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef LY_PRINTER_H_
diff --git a/src/printer_info.c b/src/printer_info.c
index 618ac4c..77638b2 100644
--- a/src/printer_info.c
+++ b/src/printer_info.c
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#include <stdlib.h>
diff --git a/src/printer_json.c b/src/printer_json.c
index 494abbd..456c6a0 100644
--- a/src/printer_json.c
+++ b/src/printer_json.c
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#include <stdlib.h>
diff --git a/src/printer_tree.c b/src/printer_tree.c
index fec2349..ca098b9 100644
--- a/src/printer_tree.c
+++ b/src/printer_tree.c
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#include <stdlib.h>
diff --git a/src/printer_xml.c b/src/printer_xml.c
index ce855fe..11ad4e0 100644
--- a/src/printer_xml.c
+++ b/src/printer_xml.c
@@ -1,4 +1,3 @@
-
/**
* @file printer_xml.c
* @author Michal Vasko <mvasko@cesnet.cz>
@@ -6,19 +5,13 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
+
#define _GNU_SOURCE
#include <stdlib.h>
diff --git a/src/printer_yang.c b/src/printer_yang.c
index 927efc3..0837d89 100644
--- a/src/printer_yang.c
+++ b/src/printer_yang.c
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#include <stdlib.h>
diff --git a/src/printer_yin.c b/src/printer_yin.c
index b329f45..e25f1f8 100644
--- a/src/printer_yin.c
+++ b/src/printer_yin.c
@@ -5,18 +5,11 @@
*
* Copyright (c) 2016 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#include <stdlib.h>
diff --git a/src/resolve.c b/src/resolve.c
index c922ce7..fa5d239 100644
--- a/src/resolve.c
+++ b/src/resolve.c
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#define _GNU_SOURCE
diff --git a/src/resolve.h b/src/resolve.h
index fdb87dc..3be613c 100644
--- a/src/resolve.h
+++ b/src/resolve.h
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef _RESOLVE_H
diff --git a/src/tree_data.c b/src/tree_data.c
index aad446c..9200b63 100644
--- a/src/tree_data.c
+++ b/src/tree_data.c
@@ -1,4 +1,3 @@
-
/**
* @file tree_data.c
* @author Radek Krejci <rkrejci@cesnet.cz>
@@ -6,19 +5,13 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
+
#define _GNU_SOURCE
#include <assert.h>
diff --git a/src/tree_data.h b/src/tree_data.h
index 825dae3..666080a 100644
--- a/src/tree_data.h
+++ b/src/tree_data.h
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef LY_TREE_DATA_H_
diff --git a/src/tree_internal.h b/src/tree_internal.h
index 2a207b1..6904bd3 100644
--- a/src/tree_internal.h
+++ b/src/tree_internal.h
@@ -6,18 +6,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef LY_TREE_INTERNAL_H_
diff --git a/src/tree_schema.c b/src/tree_schema.c
index f3ea94c..82182e1 100644
--- a/src/tree_schema.c
+++ b/src/tree_schema.c
@@ -1,4 +1,3 @@
-
/**
* @file tree_schema.c
* @author Radek Krejci <rkrejci@cesnet.cz>
@@ -6,19 +5,13 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
+
#define _GNU_SOURCE
#include <assert.h>
diff --git a/src/tree_schema.h b/src/tree_schema.h
index 0eb5e67..47993d6 100644
--- a/src/tree_schema.h
+++ b/src/tree_schema.h
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef LY_TREE_SCHEMA_H_
diff --git a/src/validation.c b/src/validation.c
index 500a18c..40fb604 100644
--- a/src/validation.c
+++ b/src/validation.c
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#include <assert.h>
diff --git a/src/validation.h b/src/validation.h
index 29b6bf6..15fc4ad 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef LY_VALIDATION_H_
diff --git a/src/xml.c b/src/xml.c
index be960ce..a5325e0 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#include <assert.h>
diff --git a/src/xml.h b/src/xml.h
index 6499e5f..3ca0555 100644
--- a/src/xml.h
+++ b/src/xml.h
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef LY_XML_H_
diff --git a/src/xml_internal.h b/src/xml_internal.h
index 0939845..8e0df6c 100644
--- a/src/xml_internal.h
+++ b/src/xml_internal.h
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef LY_XML_INTERNAL_H_
diff --git a/src/xpath.c b/src/xpath.c
index 318872d..31d2b1f 100644
--- a/src/xpath.c
+++ b/src/xpath.c
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#define _GNU_SOURCE
diff --git a/src/xpath.h b/src/xpath.h
index 8519181..48d8a80 100644
--- a/src/xpath.h
+++ b/src/xpath.h
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef _XPATH_H
diff --git a/src/yang_types.c b/src/yang_types.c
index 8aa90c4..82f183e 100644
--- a/src/yang_types.c
+++ b/src/yang_types.c
@@ -5,18 +5,11 @@
*
* Copyright (c) 2015 CESNET, z.s.p.o.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 3. Neither the name of the Company nor the names of its contributors
- * may be used to endorse or promote products derived from this
- * software without specific prior written permission.
+ * This source code is licensed under BSD 3-Clause License (the "License").
+ * You may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://opensource.org/licenses/BSD-3-Clause
*/
#include <stdlib.h>