Skip to content

Commit

Permalink
Include license info in all C source and header files
Browse files Browse the repository at this point in the history
  • Loading branch information
zinccyy committed Dec 14, 2022
1 parent 08a6c62 commit 1f91b6d
Show file tree
Hide file tree
Showing 87 changed files with 1,151 additions and 105 deletions.
12 changes: 12 additions & 0 deletions src/interfaces/src/main.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <signal.h>
#include <sysrepo.h>
#include <unistd.h>
Expand Down
12 changes: 12 additions & 0 deletions src/interfaces/src/plugin.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "plugin.h"
#include "netlink/cache.h"
#include "netlink/route/link.h"
Expand Down
12 changes: 12 additions & 0 deletions src/interfaces/src/plugin.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef INTERFACES_PLUGIN_H
#define INTERFACES_PLUGIN_H

Expand Down
12 changes: 12 additions & 0 deletions src/interfaces/src/plugin/api/interfaces/change.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "change.h"
#include "netlink/route/addr.h"
#include "plugin/common.h"
Expand Down
12 changes: 12 additions & 0 deletions src/interfaces/src/plugin/api/interfaces/change.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef INTERFACES_PLUGIN_API_INTERFACES_CHANGE_H
#define INTERFACES_PLUGIN_API_INTERFACES_CHANGE_H

Expand Down
12 changes: 12 additions & 0 deletions src/interfaces/src/plugin/api/interfaces/check.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "check.h"
#include "plugin/api/interfaces/load.h"
#include "plugin/common.h"
Expand Down
12 changes: 12 additions & 0 deletions src/interfaces/src/plugin/api/interfaces/check.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef INTERFACES_PLUGIN_API_INTERFACES_CHECK_H
#define INTERFACES_PLUGIN_API_INTERFACES_CHECK_H

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "change.h"
#include "plugin/common.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef INTERFACES_PLUGIN_API_INTERFACES_INTERFACE_CARRIER_DELAY_CHANGE_H
#define INTERFACES_PLUGIN_API_INTERFACES_INTERFACE_CARRIER_DELAY_CHANGE_H

Expand Down
12 changes: 12 additions & 0 deletions src/interfaces/src/plugin/api/interfaces/interface/change.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "change.h"
#include "netlink/errno.h"
#include "netlink/route/link.h"
Expand Down
12 changes: 12 additions & 0 deletions src/interfaces/src/plugin/api/interfaces/interface/change.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef INTERFACES_PLUGIN_API_INTERFACES_INTERFACE_CHANGE_H
#define INTERFACES_PLUGIN_API_INTERFACES_INTERFACE_CHANGE_H

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "change.h"
#include "plugin/common.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef INTERFACES_PLUGIN_API_INTERFACES_INTERFACE_DAMPENING_CHANGE_H
#define INTERFACES_PLUGIN_API_INTERFACES_INTERFACE_DAMPENING_CHANGE_H

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "change.h"
#include "plugin/common.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef INTERFACES_PLUGIN_API_INTERFACES_INTERFACE_ENCAPSULATION_DOT1Q_VLAN_OUTER_TAG_CHANGE_H
#define INTERFACES_PLUGIN_API_INTERFACES_INTERFACE_ENCAPSULATION_DOT1Q_VLAN_OUTER_TAG_CHANGE_H

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "change.h"
#include "plugin/common.h"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef INTERFACES_PLUGIN_API_INTERFACES_INTERFACE_ENCAPSULATION_DOT1Q_VLAN_SECOND_TAG_CHANGE_H
#define INTERFACES_PLUGIN_API_INTERFACES_INTERFACE_ENCAPSULATION_DOT1Q_VLAN_SECOND_TAG_CHANGE_H

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "change.h"
#include "plugin/common.h"
#include "plugin/context.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef INTERFACES_PLUGIN_API_INTERFACES_INTERFACE_IPV4_ADDRESS_CHANGE_H
#define INTERFACES_PLUGIN_API_INTERFACES_INTERFACE_IPV4_ADDRESS_CHANGE_H

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "load.h"
#include "netlink/addr.h"
#include "netlink/route/addr.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef INTERFACES_PLUGIN_API_INTERFACES_INTERFACE_IPV4_ADDRESS_LOAD_H
#define INTERFACES_PLUGIN_API_INTERFACES_INTERFACE_IPV4_ADDRESS_LOAD_H

Expand Down
12 changes: 12 additions & 0 deletions src/interfaces/src/plugin/api/interfaces/interface/ipv4/change.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "change.h"
#include "libyang/tree_data.h"
#include "netlink/cache.h"
Expand Down
12 changes: 12 additions & 0 deletions src/interfaces/src/plugin/api/interfaces/interface/ipv4/change.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef INTERFACES_PLUGIN_API_INTERFACES_INTERFACE_IPV4_CHANGE_H
#define INTERFACES_PLUGIN_API_INTERFACES_INTERFACE_IPV4_CHANGE_H

Expand Down
12 changes: 12 additions & 0 deletions src/interfaces/src/plugin/api/interfaces/interface/ipv4/load.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "load.h"
#include "netlink/route/addr.h"
#include "netlink/route/link.h"
Expand Down
12 changes: 12 additions & 0 deletions src/interfaces/src/plugin/api/interfaces/interface/ipv4/load.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
/*
* telekom / sysrepo-plugin-system
*
* This program is made available under the terms of the
* BSD 3-Clause license which is available at
* https://opensource.org/licenses/BSD-3-Clause
*
* SPDX-FileCopyrightText: 2022 Deutsche Telekom AG
* SPDX-FileContributor: Sartura Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef INTERFACES_PLUGIN_API_INTERFACES_INTERFACE_IPV4_LOAD_H
#define INTERFACES_PLUGIN_API_INTERFACES_INTERFACE_IPV4_LOAD_H

Expand Down
Loading

0 comments on commit 1f91b6d

Please sign in to comment.