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/nmtui-edit.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/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 */ |