2019-09-10 11:19:01 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2013-12-02 16:20:26 -05:00
|
|
|
/*
|
2019-10-01 09:20:35 +02:00
|
|
|
* Copyright (C) 2012, 2013 Red Hat, Inc.
|
2013-12-02 16:20:26 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#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);
|
|
|
|
|
|
2014-09-29 10:58:16 -04:00
|
|
|
NMConnection *nm_editor_utils_create_connection (GType type,
|
|
|
|
|
NMConnection *master,
|
|
|
|
|
NMClient *client);
|
2013-12-02 16:20:26 -05:00
|
|
|
|
|
|
|
|
#endif /* NM_EDITOR_UTILS_H */
|