diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2021-07-05 20:36:07 +0200 |
|---|---|---|
| committer | Sebastien Bacher <seb128@ubuntu.com> | 2021-07-05 20:36:07 +0200 |
| commit | 5d67593e4f1329fc32a36adc5dbc445e7c606bd1 (patch) | |
| tree | 5f470f020ca8f1240ddc29b11912fee174f5d68c /src/nmtui/nm-editor-utils.h | |
| parent | 9996e637dc976a77c36f07c6debb737f9a5df0b7 (diff) | |
| parent | 35779c6675728fa6f0fd0a21cefb904408509c23 (diff) | |
Update upstream source from tag 'upstream/1.32.2'
Update to upstream version '1.32.2' with Debian dir db5d9d9657d75d750d835860e38c6af24cc54472
Diffstat (limited to 'src/nmtui/nm-editor-utils.h')
| -rw-r--r-- | src/nmtui/nm-editor-utils.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/nmtui/nm-editor-utils.h b/src/nmtui/nm-editor-utils.h new file mode 100644 index 00000000..5b624f93 --- /dev/null +++ b/src/nmtui/nm-editor-utils.h @@ -0,0 +1,22 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * 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 */ |