mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-22 10:46:59 +00:00
all: add "libnm/nm-default-client.h" as replacement for "nm-default.h"
This commit is contained in:
parent
8f4f91b667
commit
606612ea59
18
Makefile.am
18
Makefile.am
|
@ -703,7 +703,6 @@ libnm_nm_libnm_aux_libnm_libnm_aux_la_CPPFLAGS = \
|
|||
$(GLIB_CFLAGS) \
|
||||
$(SANITIZER_LIB_CFLAGS) \
|
||||
-DG_LOG_DOMAIN=\""libnmc"\" \
|
||||
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT \
|
||||
$(NULL)
|
||||
|
||||
libnm_nm_libnm_aux_libnm_libnm_aux_la_SOURCES = \
|
||||
|
@ -1506,14 +1505,15 @@ libnm_lib_h_pub_real = \
|
|||
libnm_lib_h_pub_mkenums = \
|
||||
libnm/nm-enum-types.h
|
||||
libnm_lib_h_priv = \
|
||||
libnm/nm-libnm-utils.h \
|
||||
libnm/nm-dbus-helpers.h \
|
||||
libnm/nm-default-client.h \
|
||||
libnm/nm-device-private.h \
|
||||
libnm/nm-dhcp4-config.h \
|
||||
libnm/nm-dhcp6-config.h \
|
||||
libnm/nm-dns-manager.h \
|
||||
libnm/nm-ip4-config.h \
|
||||
libnm/nm-ip6-config.h \
|
||||
libnm/nm-libnm-utils.h \
|
||||
libnm/nm-object-private.h \
|
||||
libnm/nm-remote-connection-private.h \
|
||||
$(NULL)
|
||||
|
@ -1874,8 +1874,7 @@ libnm_tests_libnm_vpn_plugin_utils_test_la_CFLAGS = \
|
|||
-I$(builddir)/libnm \
|
||||
$(GLIB_CFLAGS) \
|
||||
$(SANITIZER_EXEC_CFLAGS) \
|
||||
-DNETWORKMANAGER_COMPILATION_TEST \
|
||||
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT \
|
||||
-DG_LOG_DOMAIN=\""test"\" \
|
||||
$(NULL)
|
||||
|
||||
libnm_tests_libnm_vpn_plugin_utils_test_la_LIBADD = \
|
||||
|
@ -4384,7 +4383,6 @@ dispatcher_cppflags = \
|
|||
-I$(builddir)/dispatcher \
|
||||
$(GLIB_CFLAGS) \
|
||||
-DG_LOG_DOMAIN=\""nm-dispatcher"\" \
|
||||
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT \
|
||||
$(NULL)
|
||||
|
||||
dispatcher_libnm_dispatcher_core_la_SOURCES = \
|
||||
|
@ -4465,8 +4463,7 @@ dispatcher_tests_test_dispatcher_envp_CPPFLAGS = \
|
|||
-I$(builddir)/libnm \
|
||||
-I$(srcdir)/dispatcher \
|
||||
-I$(builddir)/dispatcher \
|
||||
-DNETWORKMANAGER_COMPILATION_TEST \
|
||||
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT \
|
||||
-DG_LOG_DOMAIN=\""NetworkManager"\" \
|
||||
$(GLIB_CFLAGS) \
|
||||
$(SANITIZER_EXEC_CFLAGS) \
|
||||
$(INTROSPECTION_EXTRA_CFLAGS) \
|
||||
|
@ -4522,7 +4519,6 @@ clients_nm_online_CPPFLAGS = \
|
|||
-I$(builddir)/libnm \
|
||||
$(GLIB_CFLAGS) \
|
||||
-DG_LOG_DOMAIN=\""nm-online"\" \
|
||||
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT \
|
||||
$(NULL)
|
||||
|
||||
clients_nm_online_LDFLAGS = \
|
||||
|
@ -4558,7 +4554,6 @@ clients_cppflags = \
|
|||
-I$(srcdir)/libnm \
|
||||
-I$(builddir)/libnm \
|
||||
-I$(srcdir)/clients/common \
|
||||
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT \
|
||||
$(GLIB_CFLAGS) \
|
||||
$(SANITIZER_EXEC_CFLAGS) \
|
||||
$(NULL)
|
||||
|
@ -4653,7 +4648,7 @@ endif
|
|||
clients_common_tests_test_clients_common_CPPFLAGS = \
|
||||
-I$(srcdir)/clients/common/tests \
|
||||
$(clients_cppflags) \
|
||||
-DNETWORKMANAGER_COMPILATION_TEST \
|
||||
-DG_LOG_DOMAIN=\""test"\" \
|
||||
$(NULL)
|
||||
|
||||
clients_common_tests_test_clients_common_LDFLAGS = \
|
||||
|
@ -4694,8 +4689,7 @@ clients_common_tests_test_libnm_core_aux_CPPFLAGS = \
|
|||
-I$(srcdir)/libnm-core \
|
||||
-I$(builddir)/libnm \
|
||||
-I$(srcdir)/libnm \
|
||||
-DNETWORKMANAGER_COMPILATION_TEST \
|
||||
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT \
|
||||
-DG_LOG_DOMAIN=\""test"\" \
|
||||
$(CODE_COVERAGE_CFLAGS) \
|
||||
$(GLIB_CFLAGS) \
|
||||
$(SANITIZER_LIB_CFLAGS) \
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Copyright (C) 2014 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Copyright (C) 2012 - 2018 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "common.h"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Copyright (C) 2010 - 2018 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "connections.h"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Copyright (C) 2010 - 2018 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "devices.h"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Copyright (C) 2010 - 2018 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nm-meta-setting-desc.h"
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@ executable(
|
|||
],
|
||||
c_args: [
|
||||
'-DG_LOG_DOMAIN="nmcli"',
|
||||
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
|
||||
],
|
||||
link_args: ldflags_linker_script_binary,
|
||||
link_depends: linker_script_binary,
|
||||
|
@ -50,7 +49,6 @@ generate_docs_nm_settings_nmcli = executable(
|
|||
],
|
||||
c_args: [
|
||||
'-DG_LOG_DOMAIN="nmcli"',
|
||||
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
|
||||
],
|
||||
link_args: ldflags_linker_script_binary,
|
||||
link_depends: linker_script_binary,
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Copyright (C) 2010 - 2018 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmcli.h"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Copyright (C) 2014 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "polkit-agent.h"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Copyright (C) 2010 - 2015 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "settings.h"
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* Copyright (C) 2010 - 2018 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "utils.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nm-libnm-aux/nm-libnm-aux.h"
|
||||
|
||||
|
|
|
@ -40,7 +40,6 @@ executable(
|
|||
],
|
||||
c_args: [
|
||||
'-DG_LOG_DOMAIN="nm-cloud-setup"',
|
||||
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
|
||||
],
|
||||
link_with: libnm_systemd_logging_stub,
|
||||
link_args: ldflags_linker_script_binary,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nm-cloud-setup-utils.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nm-http-client.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmcs-provider-azure.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmcs-provider-ec2.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmcs-provider-gcp.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmcs-provider.h"
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@ libnmc_base = static_library(
|
|||
],
|
||||
c_args: [
|
||||
'-DG_LOG_DOMAIN="libnmc"',
|
||||
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -73,7 +72,6 @@ libnmc = static_library(
|
|||
],
|
||||
c_args: [
|
||||
'-DG_LOG_DOMAIN="libnmc"',
|
||||
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
|
||||
],
|
||||
link_depends: settings_docs_source,
|
||||
)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Copyright (C) 2010 - 2017 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nm-client-utils.h"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Copyright (C) 2010 - 2017 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nm-meta-setting-access.h"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Copyright (C) 2010 - 2018 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nm-meta-setting-desc.h"
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
* https://github.com/lxde/lxqt-policykit/tree/master/src
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nm-polkit-listener.h"
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* replace ShellNetworkAgent.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nm-secret-agent-simple.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* @short_description: VPN-related utilities
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nm-vpn-helpers.h"
|
||||
|
||||
|
|
|
@ -8,8 +8,7 @@ exe = executable(
|
|||
libnmc_dep,
|
||||
],
|
||||
c_args: [
|
||||
'-DNETWORKMANAGER_COMPILATION_TEST',
|
||||
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
|
||||
'-DG_LOG_DOMAIN="test"',
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -28,8 +27,7 @@ exe = executable(
|
|||
libnm_nm_default_dep,
|
||||
],
|
||||
c_args: [
|
||||
'-DNETWORKMANAGER_COMPILATION_TEST',
|
||||
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
|
||||
'-DG_LOG_DOMAIN="test"',
|
||||
],
|
||||
link_with: libnm_systemd_logging_stub,
|
||||
)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Copyright (C) 2017 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nm-meta-setting-access.h"
|
||||
#include "nm-vpn-helpers.h"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Copyright (C) 2019 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nm-libnm-core-aux/nm-libnm-core-aux.h"
|
||||
#include "nm-libnm-core-intern/nm-libnm-core-utils.h"
|
||||
|
|
|
@ -10,7 +10,6 @@ executable(
|
|||
],
|
||||
c_args: [
|
||||
'-DG_LOG_DOMAIN="nm-online"',
|
||||
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
|
||||
],
|
||||
link_args: ldflags_linker_script_binary,
|
||||
link_depends: linker_script_binary,
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* Robert Love <rml@novell.com>
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -54,7 +54,6 @@ executable(
|
|||
],
|
||||
c_args: [
|
||||
'-DG_LOG_DOMAIN="nmtui"',
|
||||
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
|
||||
],
|
||||
link_with: libnm_systemd_logging_stub,
|
||||
link_args: ldflags_linker_script_binary,
|
||||
|
|
|
@ -30,7 +30,6 @@ libnmt_newt = static_library(
|
|||
],
|
||||
c_args: [
|
||||
'-DG_LOG_DOMAIN="nmtui"',
|
||||
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
|
||||
],
|
||||
)
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* within each of the two sections.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-newt-button-box.h"
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* #NmtNewtButton implements a button widget.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-newt-button.h"
|
||||
#include "nmt-newt-utils.h"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* #NmtNewtCheckbox implements a checkbox widget.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-newt-checkbox.h"
|
||||
#include "nmt-newt-utils.h"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
* wrap a (single) #newtComponent.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-newt-component.h"
|
||||
#include "nmt-newt-form.h"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
* #NmtNewtGrid is the most generic container type.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-newt-container.h"
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
* #NmtNewtEntryValidator functions, so you should not set your own.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
* See also #NmtNewtEntryNumeric, for numeric-only entries.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-newt-entry.h"
|
||||
#include "nmt-newt-form.h"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
* "form" (aka dialog) to the user.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
* must be implemented by the container...
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-newt-grid.h"
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
* functions that were added after 0.52.15.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-newt-hacks.h"
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
* See also #NmtNewtTextbox, for multiline.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-newt-label.h"
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
* presses Return on a selection.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-newt-listbox.h"
|
||||
#include "nmt-newt-form.h"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
* #NmtNewtForm containing an #NmtNewtListbox to select from.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-newt-popup.h"
|
||||
#include "nmt-newt-form.h"
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
* extent of the section.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-newt-section.h"
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
* between widgets in containers that don't implement padding.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-newt-separator.h"
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* children.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-newt-stack.h"
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
* word-wrapping.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-newt-textbox.h"
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* #NmtNewtToggleButton implements a two-state toggle button.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-newt-toggle-button.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* @short_description: Utility functions
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <unistd.h>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
* FIXME: need RTL support
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-newt-widget.h"
|
||||
#include "nmt-newt-form.h"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
* shared between nmtui, nm-connection-editor, and gnome-control-center.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nm-editor-bindings.h"
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
* nm-connection-editor, and gnome-control-center.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nm-editor-utils.h"
|
||||
#if 0
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* functions.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-address-list.h"
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
* access points displayed by "nmtui connect".
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
* to implement that then we should make it just an #NmtNewtEntry.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-device-entry.h"
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
* "nmtui edit".
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmtui.h"
|
||||
#include "nmtui-edit.h"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
* section border into account as well.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-editor-grid.h"
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* an actual page type.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-editor-page-device.h"
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
* A "page" is a set of related #NmtEditorSections.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-editor-page.h"
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* #NmtEditorSection is the abstract base class for #NmtEditor sections.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-editor-section.h"
|
||||
#include "nmt-newt-toggle-button.h"
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* #NmtEditor is the top-level form for editing a connection.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-editor.h"
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* contains a valid IP address.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
* on whether it currently contains a valid hardware address.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-mac-entry.h"
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* indicating the units used by the entry.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
* can't just use #GBinding.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-page-bond.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* @short_description: The editor page for Bridge ports
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-page-bridge-port.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* @short_description: The editor page for Bridge connections
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-page-bridge.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* @short_description: The editor page for DSL connections
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-page-dsl.h"
|
||||
#include "nmt-page-ethernet.h"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* @short_description: The editor page for Ethernet connections
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-page-ethernet.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* @short_description: The editor page for InfiniBand connections
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-page-infiniband.h"
|
||||
#include "nmt-mtu-entry.h"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* @short_description: The editor page for IP tunnel connections
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-page-ip-tunnel.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* @short_description: The editor page for IP4 configuration
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* @short_description: The editor page for IP6 configuration
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* @short_description: The editor page for PPP configuration
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* @short_description: The editor page for Team ports.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-page-team-port.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* @short_description: The editor page for Team connections
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-page-team.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* @short_description: The editor page for VLAN connections
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nm-editor-bindings.h"
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
* properties.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <linux/if_ether.h>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
* secrets when activating a connection.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-password-dialog.h"
|
||||
#include "nm-secret-agent-simple.h"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
* "Show password" checkbox that toggles whether the password is visible.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-password-fields.h"
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
* wide to fit into the main window.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-route-editor.h"
|
||||
#include "nmt-route-table.h"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
* This is used as a building block by #NmtRouteTable.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
* and buttons to add and remove entries.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
* slaves of a connection.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-slave-list.h"
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
* @short_description: Miscellaneous nmtui-specific utilities
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-utils.h"
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* FIXME: The way this works is sort of weird.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-widget-list.h"
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
* including presenting a password dialog if necessary.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* nmtui-edit implements editing #NMConnections.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* nmtui-hostname implements the "set hostname" functionality
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmt-newt.h"
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
* nmtui_edit(), and nmtui_hostname().
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nmtui.h"
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ libnm_dispatcher_core = static_library(
|
|||
],
|
||||
c_args: [
|
||||
'-DG_LOG_DOMAIN="nm-dispatcher"',
|
||||
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -45,7 +44,6 @@ executable(
|
|||
],
|
||||
c_args: [
|
||||
'-DG_LOG_DOMAIN="nm-dispatcher"',
|
||||
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
|
||||
],
|
||||
link_with: libnm_dispatcher_core,
|
||||
link_args: ldflags_linker_script_binary,
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Copyright (C) 2008 - 2011 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include "nm-dispatcher-utils.h"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Copyright (C) 2008 - 2012 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include <syslog.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -12,8 +12,7 @@ exe = executable(
|
|||
libnm_glib_aux_dep,
|
||||
],
|
||||
c_args: [
|
||||
'-DNETWORKMANAGER_COMPILATION_TEST',
|
||||
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
|
||||
'-DG_LOG_DOMAIN="test"',
|
||||
] + introspection_extra_cflags,
|
||||
link_with: libnm_dispatcher_core,
|
||||
)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Copyright (C) 2011 Red Hat, Inc.
|
||||
*/
|
||||
|
||||
#include "nm-default.h"
|
||||
#include "libnm/nm-default-client.h"
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -300,8 +300,7 @@ libnm_libnm_aux = static_library(
|
|||
'nm-libnm-aux/nm-libnm-aux.c',
|
||||
),
|
||||
c_args: [
|
||||
'-DG_LOG_DOMAIN="@0@"'.format('libnmc'),
|
||||
'-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT',
|
||||
'-DG_LOG_DOMAIN="libnmc"',
|
||||
],
|
||||
dependencies: [
|
||||
libnm_core_nm_default_dep,
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue