NetworkManager/clients/tui/nm-editor-utils.h
Antonio Cardace 328fb90f3e
all: reformat all with new clang-format style
Run:

    ./contrib/scripts/nm-code-format.sh -i
    ./contrib/scripts/nm-code-format.sh -i

Yes, it needs to run twice because the first run doesn't yet produce the
final result.

Signed-off-by: Antonio Cardace <acardace@redhat.com>
2020-09-28 16:07:51 +02:00

22 lines
629 B
C

// SPDX-License-Identifier: GPL-2.0+
/*
* 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 */