mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 03:30:09 +01:00
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')
22 lines
632 B
C
22 lines
632 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2012, 2013 Red Hat, Inc.
|
|
*/
|
|
|
|
#ifndef NM_EDITOR_UTILS_H
|
|
#define NM_EDITOR_UTILS_H
|
|
|
|
typedef struct {
|
|
const char *name;
|
|
GType setting_type;
|
|
GType slave_setting_type;
|
|
GType device_type;
|
|
gboolean virtual;
|
|
} NMEditorConnectionTypeData;
|
|
|
|
NMEditorConnectionTypeData **nm_editor_utils_get_connection_type_list(void);
|
|
NMEditorConnectionTypeData * nm_editor_utils_get_connection_type_data(NMConnection *conn);
|
|
|
|
NMConnection *nm_editor_utils_create_connection(GType type, NMConnection *master, NMClient *client);
|
|
|
|
#endif /* NM_EDITOR_UTILS_H */
|