diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2021-07-05 20:35:03 +0200 |
|---|---|---|
| committer | Sebastien Bacher <seb128@ubuntu.com> | 2021-07-05 20:35:03 +0200 |
| commit | 35779c6675728fa6f0fd0a21cefb904408509c23 (patch) | |
| tree | 553e7239e0ba182b4f9b29b1e7a9d66a595d08bc /src/nmtui/nmtui-edit.h | |
| parent | d92aa7f298fe84d4cf686c5ad64b73438e00d377 (diff) | |
New upstream version 1.32.2
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 */ |