Commit c8bfe2fc authored by Jiří Klimeš's avatar Jiří Klimeš

cli: use own code to output connection details (settings)

nmcli uses its own code to dump connections' details instead of
libnm-util's nm_connection_dump(). It allows to structure output
and present values of the settings according to nmcli needs.
parent fb5987df
......@@ -15,6 +15,8 @@ nmcli_SOURCES = \
devices.h \
network-manager.c \
network-manager.h \
settings.c \
settings.h \
nmcli.c \
nmcli.h \
utils.c \
This diff is collapsed.
This diff is collapsed.
/* nmcli - command-line tool to control NetworkManager
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* (C) Copyright 2010 Red Hat, Inc.
#include <nm-setting-connection.h>
#include <nm-setting-wired.h>
#include <nm-setting-8021x.h>
#include <nm-setting-wireless.h>
#include <nm-setting-wireless-security.h>
#include <nm-setting-ip4-config.h>
#include <nm-setting-ip6-config.h>
#include <nm-setting-serial.h>
#include <nm-setting-ppp.h>
#include <nm-setting-pppoe.h>
#include <nm-setting-gsm.h>
#include <nm-setting-cdma.h>
#include <nm-setting-bluetooth.h>
#include <nm-setting-olpc-mesh.h>
#include <nm-setting-vpn.h>
#include "nmcli.h"
#include "utils.h"
gboolean setting_connection_details (NMSetting *setting, NmCli *nmc);
gboolean setting_wired_details (NMSetting *setting, NmCli *nmc);
gboolean setting_802_1X_details (NMSetting *setting, NmCli *nmc);
gboolean setting_wireless_details (NMSetting *setting, NmCli *nmc);
gboolean setting_wireless_security_details (NMSetting *setting, NmCli *nmc);
gboolean setting_ip4_config_details (NMSetting *setting, NmCli *nmc);
gboolean setting_ip6_config_details (NMSetting *setting, NmCli *nmc);
gboolean setting_serial_details (NMSetting *setting, NmCli *nmc);
gboolean setting_ppp_details (NMSetting *setting, NmCli *nmc);
gboolean setting_pppoe_details (NMSetting *setting, NmCli *nmc);
gboolean setting_gsm_details (NMSetting *setting, NmCli *nmc);
gboolean setting_cdma_details (NMSetting *setting, NmCli *nmc);
gboolean setting_bluetooth_details (NMSetting *setting, NmCli *nmc);
gboolean setting_olpc_mesh_details (NMSetting *setting, NmCli *nmc);
gboolean setting_vpn_details (NMSetting *setting, NmCli *nmc);
#endif /* NMC_SETTINGS_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment