|
Packit Service |
b23acc |
// SPDX-License-Identifier: LGPL-2.1+
|
|
Packit Service |
b23acc |
/*
|
|
Packit Service |
b23acc |
* Copyright (C) 2014 Red Hat, Inc.
|
|
Packit Service |
b23acc |
*/
|
|
Packit Service |
b23acc |
|
|
Packit Service |
b23acc |
#ifndef __NM_SIMPLE_CONNECTION_H__
|
|
Packit Service |
b23acc |
#define __NM_SIMPLE_CONNECTION_H__
|
|
Packit Service |
b23acc |
|
|
Packit Service |
b23acc |
#if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION)
|
|
Packit Service |
b23acc |
#error "Only <NetworkManager.h> can be included directly."
|
|
Packit Service |
b23acc |
#endif
|
|
Packit Service |
b23acc |
|
|
Packit Service |
b23acc |
#include "nm-connection.h"
|
|
Packit Service |
b23acc |
|
|
Packit Service |
b23acc |
G_BEGIN_DECLS
|
|
Packit Service |
b23acc |
|
|
Packit Service |
b23acc |
#define NM_TYPE_SIMPLE_CONNECTION (nm_simple_connection_get_type ())
|
|
Packit Service |
b23acc |
#define NM_SIMPLE_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_SIMPLE_CONNECTION, NMSimpleConnection))
|
|
Packit Service |
b23acc |
#define NM_SIMPLE_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NM_TYPE_SIMPLE_CONNECTION, NMSimpleConnectionClass))
|
|
Packit Service |
b23acc |
#define NM_IS_SIMPLE_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NM_TYPE_SIMPLE_CONNECTION))
|
|
Packit Service |
b23acc |
#define NM_IS_SIMPLE_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NM_TYPE_SIMPLE_CONNECTION))
|
|
Packit Service |
b23acc |
#define NM_SIMPLE_CONNECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_SIMPLE_CONNECTION, NMSimpleConnectionClass))
|
|
Packit Service |
b23acc |
|
|
Packit Service |
b23acc |
/**
|
|
Packit Service |
b23acc |
* NMSimpleConnection:
|
|
Packit Service |
b23acc |
*/
|
|
Packit Service |
b23acc |
struct _NMSimpleConnection {
|
|
Packit Service |
b23acc |
GObject parent;
|
|
Packit Service |
b23acc |
};
|
|
Packit Service |
b23acc |
|
|
Packit Service |
b23acc |
typedef struct {
|
|
Packit Service |
b23acc |
GObjectClass parent_class;
|
|
Packit Service |
b23acc |
|
|
Packit Service |
b23acc |
/*< private >*/
|
|
Packit Service |
b23acc |
gpointer padding[4];
|
|
Packit Service |
b23acc |
} NMSimpleConnectionClass;
|
|
Packit Service |
b23acc |
|
|
Packit Service |
b23acc |
GType nm_simple_connection_get_type (void);
|
|
Packit Service |
b23acc |
|
|
Packit Service |
b23acc |
NMConnection *nm_simple_connection_new (void);
|
|
Packit Service |
b23acc |
|
|
Packit Service |
b23acc |
NMConnection *nm_simple_connection_new_from_dbus (GVariant *dict,
|
|
Packit Service |
b23acc |
GError **error);
|
|
Packit Service |
b23acc |
|
|
Packit Service |
b23acc |
NMConnection *nm_simple_connection_new_clone (NMConnection *connection);
|
|
Packit Service |
b23acc |
|
|
Packit Service |
b23acc |
G_END_DECLS
|
|
Packit Service |
b23acc |
|
|
Packit Service |
b23acc |
#endif /* __NM_SIMPLE_CONNECTION__ */
|