summaryrefslogtreecommitdiff
path: root/clients/tui/nm-editor-utils.h
blob: 5c0103b07aa2124cf84c9ee16debc4ff46f7fd78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright 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 */