
Our coding style recommends C style comments (/* */) instead of C++ (//). Also, systemd (which we partly fork) uses C style comments for the SPDX-License-Identifier. Unify the style. $ sed -i '1 s#// SPDX-License-Identifier: \([^ ]\+\)$#/* SPDX-License-Identifier: \1 */#' -- $(git ls-files -- '*.[hc]' '*.[hc]pp')
26 lines
1.2 KiB
C
26 lines
1.2 KiB
C
/* SPDX-License-Identifier: LGPL-2.1+ */
|
|
/*
|
|
* 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__ */
|