Files
NetworkManager/shared/nm-utils/nm-vpn-plugin-utils.h
Thomas Haller 977ea352a0 all: update deprecated SPDX license identifiers
These SPDX license identifiers are deprecated ([1]). Update them.

[1] https://spdx.org/licenses/

  sed \
     -e '1 s%^/\* SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+ \*/$%/* SPDX-License-Identifier: \1-or-later */%' \
     -e '1,2 s%^\(--\|#\|//\) SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+$%\1 SPDX-License-Identifier: \2-or-later%' \
     -i \
     $(git grep -l SPDX-License-Identifier -- \
         ':(exclude)shared/c-*/' \
         ':(exclude)shared/n-*/' \
         ':(exclude)shared/systemd/src' \
         ':(exclude)src/systemd/src')
2021-01-05 09:46:21 +01:00

26 lines
1.2 KiB
C

/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2016 Red Hat, Inc.
*/
#ifndef __NM_VPN_PLUGIN_UTILS_H__
#define __NM_VPN_PLUGIN_UTILS_H__
#include <NetworkManager.h>
typedef NMVpnEditor *(NMVpnPluginUtilsEditorFactory)(gpointer factory,
NMVpnEditorPlugin *editor_plugin,
NMConnection * connection,
gpointer user_data,
GError ** error);
NMVpnEditor *nm_vpn_plugin_utils_load_editor(const char * module_name,
const char * factory_name,
NMVpnPluginUtilsEditorFactory editor_factory,
NMVpnEditorPlugin * editor_plugin,
NMConnection * connection,
gpointer user_data,
GError ** error);
#endif /* __NM_VPN_PLUGIN_UTILS_H__ */