diff options
| author | Michael Biebl <biebl@debian.org> | 2021-10-01 23:05:04 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2021-10-01 23:05:04 +0200 |
| commit | e74c568b07b50b97873fb4ee1d776dedefbd54d6 (patch) | |
| tree | 3469f17ea9af91f7ff169b890633bda68b0cf76e /src/nmtui/nmtui-edit.h | |
| parent | bfe522304da217296e2a61040f58e35ec5d6f3f2 (diff) | |
New upstream version 1.32.12 upstream/1.32.12
Diffstat (limited to 'src/nmtui/nmtui-edit.h')
| -rw-r--r-- | src/nmtui/nmtui-edit.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/nmtui/nmtui-edit.h b/src/nmtui/nmtui-edit.h new file mode 100644 index 00000000..99e370b4 --- /dev/null +++ b/src/nmtui/nmtui-edit.h @@ -0,0 +1,26 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2013 Red Hat, Inc. + */ + +#ifndef NMTUI_EDIT_H +#define NMTUI_EDIT_H + +#include "libnmt-newt/nmt-newt.h" + +typedef gboolean (*NmtAddConnectionTypeFilter)(GType connection_type, gpointer user_data); + +NmtNewtForm *nmtui_edit(gboolean is_top, int argc, char **argv); + +void nmt_add_connection(void); +void nmt_add_connection_full(const char * primary_text, + const char * secondary_text, + NMConnection * master, + NmtAddConnectionTypeFilter type_filter, + gpointer type_filter_data); + +void nmt_edit_connection(NMConnection *connection); + +void nmt_remove_connection(NMRemoteConnection *connection); + +#endif /* NMTUI_EDIT_H */ |