2019-09-10 11:19:01 +02:00
|
|
|
// SPDX-License-Identifier: LGPL-2.1+
|
2014-10-21 22:30:31 -04:00
|
|
|
/*
|
2019-10-01 09:20:35 +02:00
|
|
|
* Copyright (C) 2014 Red Hat, Inc.
|
2014-10-21 22:30:31 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef __NM_CONNECTION_PRIVATE_H__
|
|
|
|
|
#define __NM_CONNECTION_PRIVATE_H__
|
|
|
|
|
|
2018-01-02 13:37:06 +01:00
|
|
|
#if !((NETWORKMANAGER_COMPILATION) & NM_NETWORKMANAGER_COMPILATION_WITH_LIBNM_CORE_PRIVATE)
|
|
|
|
|
#error Cannot use this header.
|
|
|
|
|
#endif
|
|
|
|
|
|
2014-10-21 22:30:31 -04:00
|
|
|
#include "nm-setting.h"
|
|
|
|
|
#include "nm-connection.h"
|
|
|
|
|
|
|
|
|
|
NMSetting *_nm_connection_find_base_type_setting (NMConnection *connection);
|
|
|
|
|
|
|
|
|
|
const char *_nm_connection_detect_slave_type (NMConnection *connection,
|
|
|
|
|
NMSetting **out_s_port);
|
|
|
|
|
|
2017-08-23 14:05:12 +02:00
|
|
|
const char *_nm_connection_detect_bluetooth_type (NMConnection *self);
|
|
|
|
|
|
2014-10-21 22:30:31 -04:00
|
|
|
gboolean _nm_connection_verify_required_interface_name (NMConnection *connection,
|
|
|
|
|
GError **error);
|
|
|
|
|
|
2017-10-27 14:30:18 +02:00
|
|
|
int _nm_setting_ovs_interface_verify_interface_type (NMSettingOvsInterface *self,
|
2020-02-18 14:52:28 +01:00
|
|
|
const char *type,
|
2017-10-27 14:30:18 +02:00
|
|
|
NMConnection *connection,
|
|
|
|
|
gboolean normalize,
|
|
|
|
|
gboolean *out_modified,
|
2020-02-06 17:17:49 +01:00
|
|
|
const char **normalized_type,
|
2017-10-27 14:30:18 +02:00
|
|
|
GError **error);
|
|
|
|
|
|
2014-10-21 22:30:31 -04:00
|
|
|
#endif /* __NM_CONNECTION_PRIVATE_H__ */
|