From c81fb49aa55b0f3001a372b6034dd04712c1d10f Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 13 Aug 2014 14:10:11 -0400 Subject: [PATCH] all: fix up multiple-include-guard defines Previously, src/nm-ip4-config.h, libnm/nm-ip4-config.h, and libnm-glib/nm-ip4-config.h all used "NM_IP4_CONFIG_H" as an include guard, which meant that nm-test-utils.h could not tell which of them was being included (and so, eg, if you tried to include nm-ip4-config.h in a libnm test, it would fail to compile because nm-test-utils.h was referring to symbols in src/nm-ip4-config.h). Fix this by changing the include guards in the non-API-stable parts of the tree: - libnm-glib/nm-ip4-config.h remains NM_IP4_CONFIG_H - libnm/nm-ip4-config.h now uses __NM_IP4_CONFIG_H__ - src/nm-ip4-config.h now uses __NETWORKMANAGER_IP4_CONFIG_H__ And likewise for all other headers. The two non-"nm"-prefixed headers, libnm/NetworkManager.h and src/NetworkManagerUtils.h are now __NETWORKMANAGER_H__ and __NETWORKMANAGER_UTILS_H__ respectively, which, while not entirely consistent with the general scheme, do still mostly make sense in isolation. --- callouts/nm-dispatcher-utils.h | 6 +++--- include/nm-dbus-glib-types.h | 6 +++--- include/nm-glib-compat.h | 6 +++--- include/nm-gvaluearray-compat.h | 6 +++--- include/nm-test-utils.h | 14 +++++++------- libnm-core/nm-connection.h | 6 +++--- libnm-core/nm-dbus-interface.h | 6 +++--- libnm-core/nm-param-spec-specialized.h | 6 +++--- libnm-core/nm-setting-8021x.h | 6 +++--- libnm-core/nm-setting-adsl.h | 6 +++--- libnm-core/nm-setting-bluetooth.h | 6 +++--- libnm-core/nm-setting-bond.h | 6 +++--- libnm-core/nm-setting-bridge-port.h | 6 +++--- libnm-core/nm-setting-bridge.h | 6 +++--- libnm-core/nm-setting-cdma.h | 6 +++--- libnm-core/nm-setting-connection.h | 6 +++--- libnm-core/nm-setting-dcb.h | 6 +++--- libnm-core/nm-setting-generic.h | 6 +++--- libnm-core/nm-setting-gsm.h | 6 +++--- libnm-core/nm-setting-infiniband.h | 6 +++--- libnm-core/nm-setting-ip4-config.h | 6 +++--- libnm-core/nm-setting-ip6-config.h | 6 +++--- libnm-core/nm-setting-olpc-mesh.h | 6 +++--- libnm-core/nm-setting-ppp.h | 6 +++--- libnm-core/nm-setting-pppoe.h | 6 +++--- libnm-core/nm-setting-private.h | 4 ++-- libnm-core/nm-setting-serial.h | 6 +++--- libnm-core/nm-setting-team-port.h | 6 +++--- libnm-core/nm-setting-team.h | 6 +++--- libnm-core/nm-setting-vlan.h | 6 +++--- libnm-core/nm-setting-vpn.h | 6 +++--- libnm-core/nm-setting-wimax.h | 6 +++--- libnm-core/nm-setting-wired.h | 6 +++--- libnm-core/nm-setting-wireless-security.h | 6 +++--- libnm-core/nm-setting-wireless.h | 6 +++--- libnm-core/nm-setting.h | 6 +++--- libnm-core/nm-utils.h | 6 +++--- libnm-core/nm-vpn-dbus-interface.h | 6 +++--- libnm/NetworkManager.h | 6 +++--- libnm/nm-access-point.h | 6 +++--- libnm/nm-active-connection.h | 6 +++--- libnm/nm-client.h | 6 +++--- libnm/nm-dbus-helpers-private.h | 6 +++--- libnm/nm-device-adsl.h | 6 +++--- libnm/nm-device-bond.h | 6 +++--- libnm/nm-device-bridge.h | 6 +++--- libnm/nm-device-bt.h | 6 +++--- libnm/nm-device-ethernet.h | 6 +++--- libnm/nm-device-generic.h | 6 +++--- libnm/nm-device-infiniband.h | 6 +++--- libnm/nm-device-modem.h | 6 +++--- libnm/nm-device-olpc-mesh.h | 6 +++--- libnm/nm-device-private.h | 6 +++--- libnm/nm-device-team.h | 6 +++--- libnm/nm-device-vlan.h | 6 +++--- libnm/nm-device-wifi.h | 6 +++--- libnm/nm-device-wimax.h | 6 +++--- libnm/nm-device.h | 6 +++--- libnm/nm-dhcp4-config.h | 6 +++--- libnm/nm-dhcp6-config.h | 6 +++--- libnm/nm-ip4-config.h | 6 +++--- libnm/nm-ip6-config.h | 6 +++--- libnm/nm-object-cache.h | 6 +++--- libnm/nm-object-private.h | 6 +++--- libnm/nm-object.h | 6 +++--- libnm/nm-remote-settings.h | 6 +++--- libnm/nm-secret-agent.h | 6 +++--- libnm/nm-types-private.h | 6 +++--- libnm/nm-types.h | 6 +++--- libnm/nm-vpn-connection.h | 6 +++--- libnm/nm-vpn-plugin-ui-interface.h | 4 ++-- libnm/nm-vpn-plugin-utils.h | 6 +++--- libnm/nm-vpn-plugin.h | 6 +++--- libnm/nm-wimax-nsp.h | 6 +++--- src/NetworkManagerUtils.h | 6 +++--- src/devices/adsl/nm-atm-manager.h | 6 +++--- src/devices/adsl/nm-device-adsl.h | 4 ++-- src/devices/bluetooth/nm-bluez-common.h | 4 ++-- src/devices/bluetooth/nm-bluez-device.h | 6 +++--- src/devices/bluetooth/nm-bluez-manager.h | 6 +++--- src/devices/bluetooth/nm-bluez4-adapter.h | 6 +++--- src/devices/bluetooth/nm-bluez4-manager.h | 6 +++--- src/devices/bluetooth/nm-bluez5-manager.h | 6 +++--- src/devices/bluetooth/nm-device-bt.h | 6 +++--- src/devices/nm-device-bond.h | 4 ++-- src/devices/nm-device-bridge.h | 4 ++-- src/devices/nm-device-ethernet.h | 4 ++-- src/devices/nm-device-factory.h | 6 +++--- src/devices/nm-device-generic.h | 4 ++-- src/devices/nm-device-gre.h | 4 ++-- src/devices/nm-device-infiniband.h | 4 ++-- src/devices/nm-device-logging.h | 6 +++--- src/devices/nm-device-macvlan.h | 4 ++-- src/devices/nm-device-private.h | 4 ++-- src/devices/nm-device-tun.h | 4 ++-- src/devices/nm-device-veth.h | 4 ++-- src/devices/nm-device-vlan.h | 4 ++-- src/devices/nm-device-vxlan.h | 4 ++-- src/devices/nm-device.h | 4 ++-- src/devices/team/nm-device-team.h | 4 ++-- src/devices/team/nm-team-factory.h | 6 +++--- src/devices/wifi/nm-device-olpc-mesh.h | 4 ++-- src/devices/wifi/nm-device-wifi.h | 4 ++-- src/devices/wifi/nm-wifi-ap-utils.h | 4 ++-- src/devices/wifi/nm-wifi-ap.h | 6 +++--- src/devices/wimax/iwmxsdk.h | 6 +++--- src/devices/wimax/nm-device-wimax.h | 4 ++-- src/devices/wimax/nm-wimax-nsp.h | 4 ++-- src/devices/wimax/nm-wimax-types.h | 4 ++-- src/devices/wimax/nm-wimax-util.h | 4 ++-- src/devices/wwan/nm-device-modem.h | 6 +++--- src/devices/wwan/nm-modem-broadband.h | 6 +++--- src/devices/wwan/nm-modem-manager.h | 6 +++--- src/devices/wwan/nm-modem.h | 6 +++--- src/devices/wwan/nm-wwan-factory.h | 6 +++--- src/dhcp-manager/nm-dhcp-client.h | 6 +++--- src/dhcp-manager/nm-dhcp-dhclient-utils.h | 6 +++--- src/dhcp-manager/nm-dhcp-dhclient.h | 6 +++--- src/dhcp-manager/nm-dhcp-dhcpcd.h | 6 +++--- src/dhcp-manager/nm-dhcp-manager.h | 6 +++--- src/dhcp-manager/nm-dhcp-utils.h | 6 +++--- src/dns-manager/nm-dns-dnsmasq.h | 6 +++--- src/dns-manager/nm-dns-manager.h | 6 +++--- src/dns-manager/nm-dns-plugin.h | 6 +++--- src/dns-manager/nm-dns-unbound.h | 6 +++--- src/dns-manager/nm-dns-utils.h | 4 ++-- src/dnsmasq-manager/nm-dnsmasq-manager.h | 6 +++--- src/dnsmasq-manager/nm-dnsmasq-utils.h | 6 +++--- src/firewall-manager/nm-firewall-manager.h | 6 +++--- src/nm-activation-request.h | 6 +++--- src/nm-active-connection.h | 6 +++--- src/nm-auth-subject.h | 6 +++--- src/nm-config.h | 6 +++--- src/nm-connection-provider.h | 6 +++--- src/nm-connectivity.h | 6 +++--- src/nm-dcb.h | 6 +++--- src/nm-dhcp4-config.h | 6 +++--- src/nm-dhcp6-config.h | 6 +++--- src/nm-dispatcher.h | 6 +++--- src/nm-ip4-config.h | 6 +++--- src/nm-ip6-config.h | 6 +++--- src/nm-logging.h | 6 +++--- src/nm-manager-auth.h | 6 +++--- src/nm-manager.h | 6 +++--- src/nm-policy.h | 6 +++--- src/nm-posix-signals.h | 6 +++--- src/nm-rfkill-manager.h | 4 ++-- src/nm-session-monitor.h | 6 +++--- src/nm-session-utils.h | 4 ++-- src/nm-sleep-monitor.h | 6 +++--- src/nm-types.h | 4 ++-- src/platform/nm-fake-platform.h | 6 +++--- src/platform/nm-linux-platform.h | 6 +++--- src/platform/nm-platform.h | 6 +++--- src/platform/wifi/wifi-utils-nl80211.h | 6 +++--- src/platform/wifi/wifi-utils-private.h | 6 +++--- src/platform/wifi/wifi-utils-wext.h | 6 +++--- src/platform/wifi/wifi-utils.h | 6 +++--- src/ppp-manager/nm-ppp-manager.h | 6 +++--- src/ppp-manager/nm-ppp-status.h | 6 +++--- src/rdisc/nm-fake-rdisc.h | 6 +++--- src/rdisc/nm-lndp-rdisc.h | 6 +++--- src/rdisc/nm-rdisc.h | 6 +++--- src/settings/nm-agent-manager.h | 6 +++--- src/settings/nm-secret-agent.h | 6 +++--- src/settings/nm-settings-connection.h | 6 +++--- src/settings/nm-settings-error.h | 6 +++--- src/settings/nm-settings-utils.h | 4 ++-- src/settings/nm-system-config-interface.h | 4 ++-- .../plugins/example/nm-example-connection.h | 6 +++--- .../plugins/ifcfg-rh/nm-ifcfg-connection.h | 6 +++--- src/settings/plugins/ifnet/nm-ifnet-connection.h | 4 ++-- .../plugins/ifupdown/nm-ifupdown-connection.h | 6 +++--- .../plugins/keyfile/nm-keyfile-connection.h | 6 +++--- src/supplicant-manager/nm-call-store.h | 6 +++--- src/supplicant-manager/nm-supplicant-config.h | 4 ++-- src/supplicant-manager/nm-supplicant-interface.h | 4 ++-- src/supplicant-manager/nm-supplicant-manager.h | 6 +++--- .../nm-supplicant-settings-verify.h | 6 +++--- src/supplicant-manager/nm-supplicant-types.h | 4 ++-- src/tests/config/nm-test-device.h | 4 ++-- src/vpn-manager/nm-vpn-connection.h | 6 +++--- src/vpn-manager/nm-vpn-manager.h | 6 +++--- src/vpn-manager/nm-vpn-service.h | 4 ++-- 184 files changed, 519 insertions(+), 519 deletions(-) diff --git a/callouts/nm-dispatcher-utils.h b/callouts/nm-dispatcher-utils.h index 33202e0eb..d64dfce19 100644 --- a/callouts/nm-dispatcher-utils.h +++ b/callouts/nm-dispatcher-utils.h @@ -18,8 +18,8 @@ * Copyright (C) 2008 - 2011 Red Hat, Inc. */ -#ifndef NM_DISPATCHER_UTILS_H -#define NM_DISPATCHER_UTILS_H +#ifndef __NETWORKMANAGER_DISPATCHER_UTILS_H__ +#define __NETWORKMANAGER_DISPATCHER_UTILS_H__ #include @@ -37,5 +37,5 @@ nm_dispatcher_utils_construct_envp (const char *action, GHashTable *vpn_ip6_props, char **out_iface); -#endif /* NM_DISPATCHER_UTILS_H */ +#endif /* __NETWORKMANAGER_DISPATCHER_UTILS_H__ */ diff --git a/include/nm-dbus-glib-types.h b/include/nm-dbus-glib-types.h index 78a0695ad..66f45685a 100644 --- a/include/nm-dbus-glib-types.h +++ b/include/nm-dbus-glib-types.h @@ -17,8 +17,8 @@ * Copyright 2008 Red Hat, Inc. */ -#ifndef DBUS_GLIB_TYPES_H -#define DBUS_GLIB_TYPES_H +#ifndef __NM_DBUS_GLIB_TYPES_H__ +#define __NM_DBUS_GLIB_TYPES_H__ #include @@ -37,4 +37,4 @@ #define DBUS_TYPE_G_IP6_ROUTE (dbus_g_type_get_struct ("GValueArray", DBUS_TYPE_G_UCHAR_ARRAY, G_TYPE_UINT, DBUS_TYPE_G_UCHAR_ARRAY, G_TYPE_UINT, G_TYPE_INVALID)) #define DBUS_TYPE_G_ARRAY_OF_IP6_ROUTE (dbus_g_type_get_collection ("GPtrArray", DBUS_TYPE_G_IP6_ROUTE)) -#endif /* DBUS_GLIB_TYPES_H */ +#endif /* __NM_DBUS_GLIB_TYPES_H__ */ diff --git a/include/nm-glib-compat.h b/include/nm-glib-compat.h index 698221e6b..0489f3d8a 100644 --- a/include/nm-glib-compat.h +++ b/include/nm-glib-compat.h @@ -17,8 +17,8 @@ * Copyright 2008 - 2011 Red Hat, Inc. */ -#ifndef NM_GLIB_COMPAT_H -#define NM_GLIB_COMPAT_H +#ifndef __NM_GLIB_COMPAT_H__ +#define __NM_GLIB_COMPAT_H__ #include @@ -124,4 +124,4 @@ __nmtst_g_test_skip (const gchar *msg) } #define g_test_skip __nmtst_g_test_skip -#endif /* NM_GLIB_COMPAT_H */ +#endif /* __NM_GLIB_COMPAT_H__ */ diff --git a/include/nm-gvaluearray-compat.h b/include/nm-gvaluearray-compat.h index 89c028380..f0b4a6cdc 100644 --- a/include/nm-gvaluearray-compat.h +++ b/include/nm-gvaluearray-compat.h @@ -17,8 +17,8 @@ * Copyright 2013 Red Hat, Inc. */ -#ifndef NM_GVALUEARRAY_COMPAT_H -#define NM_GVALUEARRAY_COMPAT_H +#ifndef __NM_GVALUEARRAY_COMPAT_H__ +#define __NM_GVALUEARRAY_COMPAT_H__ #include @@ -105,4 +105,4 @@ __g_value_array_free (GValueArray *value_array) G_GNUC_END_IGNORE_DEPRECATIONS \ }) -#endif /* NM_GVALUEARRAY_COMPAT_H */ +#endif /* __NM_GVALUEARRAY_COMPAT_H__ */ diff --git a/include/nm-test-utils.h b/include/nm-test-utils.h index 6dae81be4..5188cd262 100644 --- a/include/nm-test-utils.h +++ b/include/nm-test-utils.h @@ -243,7 +243,7 @@ __nmtst_init (int *argc, char ***argv, gboolean assert_logging, const char *log_ if (!__nmtst_internal.assert_logging) { gboolean success = TRUE; -#ifdef NM_LOGGING_H +#ifdef __NETWORKMANAGER_LOGGING_H__ success = nm_logging_setup (log_level, log_domains, NULL, NULL); #endif g_assert (success); @@ -293,13 +293,13 @@ __nmtst_init (int *argc, char ***argv, gboolean assert_logging, const char *log_ g_once_init_leave (&atexit_registered, 1); } -#ifdef NETWORK_MANAGER_UTILS_H +#ifdef __NETWORKMANAGER_UTILS_H__ /* ensure that monotonic timestamp is called (because it initially logs a line) */ nm_utils_get_monotonic_timestamp_s (); #endif } -#ifdef NM_LOGGING_H +#ifdef __NETWORKMANAGER_LOGGING_H__ inline static void nmtst_init_with_logging (int *argc, char ***argv, const char *log_level, const char *log_domains) { @@ -544,7 +544,7 @@ __nmtst_spawn_sync (const char *working_directory, char **standard_out, char **s /*******************************************************************************/ -#ifdef NM_PLATFORM_H +#ifdef __NETWORKMANAGER_PLATFORM_H__ inline static NMPlatformIP6Address * nmtst_platform_ip6_address (const char *address, const char *peer_address, guint plen) @@ -649,7 +649,7 @@ nmtst_platform_ip6_routes_equal (const NMPlatformIP6Route *a, const NMPlatformIP #endif -#ifdef NM_IP4_CONFIG_H +#ifdef __NETWORKMANAGER_IP4_CONFIG_H__ inline static NMIP4Config * nmtst_ip4_config_clone (NMIP4Config *config) @@ -665,7 +665,7 @@ nmtst_ip4_config_clone (NMIP4Config *config) #endif -#ifdef NM_IP6_CONFIG_H +#ifdef __NETWORKMANAGER_IP6_CONFIG_H__ inline static NMIP6Config * nmtst_ip6_config_clone (NMIP6Config *config) @@ -680,7 +680,7 @@ nmtst_ip6_config_clone (NMIP6Config *config) #endif -#ifdef NM_CONNECTION_H +#ifdef __NM_CONNECTION_H__ inline static NMConnection * nmtst_create_minimal_connection (const char *id, const char *uuid, const char *type, NMSettingConnection **out_s_con) diff --git a/libnm-core/nm-connection.h b/libnm-core/nm-connection.h index 20027a9f0..bcc9cbcc4 100644 --- a/libnm-core/nm-connection.h +++ b/libnm-core/nm-connection.h @@ -20,8 +20,8 @@ * Copyright 2007 - 2008 Novell, Inc. */ -#ifndef NM_CONNECTION_H -#define NM_CONNECTION_H +#ifndef __NM_CONNECTION_H__ +#define __NM_CONNECTION_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -251,4 +251,4 @@ NMSettingVlan * nm_connection_get_setting_vlan (NMConnec G_END_DECLS -#endif /* NM_CONNECTION_H */ +#endif /* __NM_CONNECTION_H__ */ diff --git a/libnm-core/nm-dbus-interface.h b/libnm-core/nm-dbus-interface.h index 801382eff..7963e2867 100644 --- a/libnm-core/nm-dbus-interface.h +++ b/libnm-core/nm-dbus-interface.h @@ -23,8 +23,8 @@ * used by some external code that does not link to libnm. */ -#ifndef NM_DBUS_INTERFACE_H -#define NM_DBUS_INTERFACE_H +#ifndef __NM_DBUS_INTERFACE_H__ +#define __NM_DBUS_INTERFACE_H__ #include "nm-version.h" @@ -607,4 +607,4 @@ typedef enum /*< flags >*/ { NM_SECRET_AGENT_CAPABILITY_LAST = NM_SECRET_AGENT_CAPABILITY_VPN_HINTS } NMSecretAgentCapabilities; -#endif /* NM_DBUS_INTERFACE_H */ +#endif /* __NM_DBUS_INTERFACE_H__ */ diff --git a/libnm-core/nm-param-spec-specialized.h b/libnm-core/nm-param-spec-specialized.h index 7803e919a..100e07052 100644 --- a/libnm-core/nm-param-spec-specialized.h +++ b/libnm-core/nm-param-spec-specialized.h @@ -20,8 +20,8 @@ * Copyright 2007 - 2008 Novell, Inc. */ -#ifndef NM_PARAM_SPEC_SPECIALIZED_H -#define NM_PARAM_SPEC_SPECIALIZED_H +#ifndef __NM_PARAM_SPEC_SPECIALIZED_H__ +#define __NM_PARAM_SPEC_SPECIALIZED_H__ #include @@ -40,4 +40,4 @@ GParamSpec *_nm_param_spec_specialized (const char *name, GType specialized_type, GParamFlags flags); -#endif /* NM_PARAM_SPEC_SPECIALIZED_H */ +#endif /* __NM_PARAM_SPEC_SPECIALIZED_H__ */ diff --git a/libnm-core/nm-setting-8021x.h b/libnm-core/nm-setting-8021x.h index 9c3600330..6901b79d6 100644 --- a/libnm-core/nm-setting-8021x.h +++ b/libnm-core/nm-setting-8021x.h @@ -20,8 +20,8 @@ * Copyright 2007 - 2008 Novell, Inc. */ -#ifndef NM_SETTING_8021X_H -#define NM_SETTING_8021X_H +#ifndef __NM_SETTING_8021X_H__ +#define __NM_SETTING_8021X_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -292,4 +292,4 @@ NMSetting8021xCKFormat nm_setting_802_1x_get_phase2_private_key_format (NMSett G_END_DECLS -#endif /* NM_SETTING_8021X_H */ +#endif /* __NM_SETTING_8021X_H__ */ diff --git a/libnm-core/nm-setting-adsl.h b/libnm-core/nm-setting-adsl.h index 146c6e1af..baa8b8d7f 100644 --- a/libnm-core/nm-setting-adsl.h +++ b/libnm-core/nm-setting-adsl.h @@ -19,8 +19,8 @@ * Copyright 2007 - 2008 Red Hat, Inc. */ -#ifndef NM_SETTING_ADSL_H -#define NM_SETTING_ADSL_H +#ifndef __NM_SETTING_ADSL_H__ +#define __NM_SETTING_ADSL_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -94,4 +94,4 @@ NMSettingSecretFlags nm_setting_adsl_get_password_flags (NMSettingAdsl *setting) G_END_DECLS -#endif /* NM_SETTING_ADSL_H */ +#endif /* __NM_SETTING_ADSL_H__ */ diff --git a/libnm-core/nm-setting-bluetooth.h b/libnm-core/nm-setting-bluetooth.h index 2184c4a77..eaf97f0fe 100644 --- a/libnm-core/nm-setting-bluetooth.h +++ b/libnm-core/nm-setting-bluetooth.h @@ -20,8 +20,8 @@ * Copyright 2007 - 2008 Novell, Inc. */ -#ifndef NM_SETTING_BLUETOOTH_H -#define NM_SETTING_BLUETOOTH_H +#ifndef __NM_SETTING_BLUETOOTH_H__ +#define __NM_SETTING_BLUETOOTH_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -98,4 +98,4 @@ const char * nm_setting_bluetooth_get_connection_type (NMSettingBluetooth * G_END_DECLS -#endif /* NM_SETTING_BLUETOOTH_H */ +#endif /* __NM_SETTING_BLUETOOTH_H__ */ diff --git a/libnm-core/nm-setting-bond.h b/libnm-core/nm-setting-bond.h index 093c9a3eb..1179aa208 100644 --- a/libnm-core/nm-setting-bond.h +++ b/libnm-core/nm-setting-bond.h @@ -19,8 +19,8 @@ * Copyright 2011 - 2013 Red Hat, Inc. */ -#ifndef NM_SETTING_BOND_H -#define NM_SETTING_BOND_H +#ifndef __NM_SETTING_BOND_H__ +#define __NM_SETTING_BOND_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -114,4 +114,4 @@ const char * nm_setting_bond_get_option_default (NMSettingBond *setting, G_END_DECLS -#endif /* NM_SETTING_BOND_H */ +#endif /* __NM_SETTING_BOND_H__ */ diff --git a/libnm-core/nm-setting-bridge-port.h b/libnm-core/nm-setting-bridge-port.h index 423fa31ac..cf38d90e0 100644 --- a/libnm-core/nm-setting-bridge-port.h +++ b/libnm-core/nm-setting-bridge-port.h @@ -19,8 +19,8 @@ * Copyright 2012 Red Hat, Inc. */ -#ifndef NM_SETTING_BRIDGE_PORT_H -#define NM_SETTING_BRIDGE_PORT_H +#ifndef __NM_SETTING_BRIDGE_PORT_H__ +#define __NM_SETTING_BRIDGE_PORT_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -82,4 +82,4 @@ gboolean nm_setting_bridge_port_get_hairpin_mode (NMSettingBridgePort *settin G_END_DECLS -#endif /* NM_SETTING_BRIDGE_PORT_H */ +#endif /* __NM_SETTING_BRIDGE_PORT_H__ */ diff --git a/libnm-core/nm-setting-bridge.h b/libnm-core/nm-setting-bridge.h index e0d75ccb7..47d62fac0 100644 --- a/libnm-core/nm-setting-bridge.h +++ b/libnm-core/nm-setting-bridge.h @@ -19,8 +19,8 @@ * Copyright 2011 - 2012 Red Hat, Inc. */ -#ifndef NM_SETTING_BRIDGE_H -#define NM_SETTING_BRIDGE_H +#ifndef __NM_SETTING_BRIDGE_H__ +#define __NM_SETTING_BRIDGE_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -97,4 +97,4 @@ guint32 nm_setting_bridge_get_ageing_time (NMSettingBridge *setting); G_END_DECLS -#endif /* NM_SETTING_BRIDGE_H */ +#endif /* __NM_SETTING_BRIDGE_H__ */ diff --git a/libnm-core/nm-setting-cdma.h b/libnm-core/nm-setting-cdma.h index 7b2fb3228..5c13d67f5 100644 --- a/libnm-core/nm-setting-cdma.h +++ b/libnm-core/nm-setting-cdma.h @@ -20,8 +20,8 @@ * Copyright 2007 - 2008 Novell, Inc. */ -#ifndef NM_SETTING_CDMA_H -#define NM_SETTING_CDMA_H +#ifndef __NM_SETTING_CDMA_H__ +#define __NM_SETTING_CDMA_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -85,4 +85,4 @@ NMSettingSecretFlags nm_setting_cdma_get_password_flags (NMSettingCdma *setting) G_END_DECLS -#endif /* NM_SETTING_CDMA_H */ +#endif /* __NM_SETTING_CDMA_H__ */ diff --git a/libnm-core/nm-setting-connection.h b/libnm-core/nm-setting-connection.h index ff7ab2099..7782567e3 100644 --- a/libnm-core/nm-setting-connection.h +++ b/libnm-core/nm-setting-connection.h @@ -20,8 +20,8 @@ * Copyright 2007 - 2008 Novell, Inc. */ -#ifndef NM_SETTING_CONNECTION_H -#define NM_SETTING_CONNECTION_H +#ifndef __NM_SETTING_CONNECTION_H__ +#define __NM_SETTING_CONNECTION_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -145,4 +145,4 @@ guint32 nm_setting_connection_get_gateway_ping_timeout (NMSettingConnection G_END_DECLS -#endif /* NM_SETTING_CONNECTION_H */ +#endif /* __NM_SETTING_CONNECTION_H__ */ diff --git a/libnm-core/nm-setting-dcb.h b/libnm-core/nm-setting-dcb.h index 8448a6f3d..1fd9df630 100644 --- a/libnm-core/nm-setting-dcb.h +++ b/libnm-core/nm-setting-dcb.h @@ -19,8 +19,8 @@ * Copyright 2013 Red Hat, Inc. */ -#ifndef NM_SETTING_DCB_H -#define NM_SETTING_DCB_H +#ifndef __NM_SETTING_DCB_H__ +#define __NM_SETTING_DCB_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -177,4 +177,4 @@ void nm_setting_dcb_set_priority_traffic_class (NMSettingDcb *setting, G_END_DECLS -#endif /* NM_SETTING_DCB_H */ +#endif /* __NM_SETTING_DCB_H__ */ diff --git a/libnm-core/nm-setting-generic.h b/libnm-core/nm-setting-generic.h index 9d9d501a6..aa9efd17f 100644 --- a/libnm-core/nm-setting-generic.h +++ b/libnm-core/nm-setting-generic.h @@ -19,8 +19,8 @@ * Copyright 2013 Red Hat, Inc. */ -#ifndef NM_SETTING_GENERIC_H -#define NM_SETTING_GENERIC_H +#ifndef __NM_SETTING_GENERIC_H__ +#define __NM_SETTING_GENERIC_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -72,4 +72,4 @@ NMSetting * nm_setting_generic_new (void); G_END_DECLS -#endif /* NM_SETTING_GENERIC_H */ +#endif /* __NM_SETTING_GENERIC_H__ */ diff --git a/libnm-core/nm-setting-gsm.h b/libnm-core/nm-setting-gsm.h index 919af9e3d..05c529aa5 100644 --- a/libnm-core/nm-setting-gsm.h +++ b/libnm-core/nm-setting-gsm.h @@ -20,8 +20,8 @@ * Copyright 2007 - 2008 Novell, Inc. */ -#ifndef NM_SETTING_GSM_H -#define NM_SETTING_GSM_H +#ifndef __NM_SETTING_GSM_H__ +#define __NM_SETTING_GSM_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -100,4 +100,4 @@ NMSettingSecretFlags nm_setting_gsm_get_password_flags (NMSettingGsm *setting); G_END_DECLS -#endif /* NM_SETTING_GSM_H */ +#endif /* __NM_SETTING_GSM_H__ */ diff --git a/libnm-core/nm-setting-infiniband.h b/libnm-core/nm-setting-infiniband.h index 6fa4fe2a9..dcc8fa830 100644 --- a/libnm-core/nm-setting-infiniband.h +++ b/libnm-core/nm-setting-infiniband.h @@ -19,8 +19,8 @@ * Copyright 2011 Red Hat, Inc. */ -#ifndef NM_SETTING_INFINIBAND_H -#define NM_SETTING_INFINIBAND_H +#ifndef __NM_SETTING_INFINIBAND_H__ +#define __NM_SETTING_INFINIBAND_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -83,4 +83,4 @@ const char * nm_setting_infiniband_get_parent (NMSettingInfiniband G_END_DECLS -#endif /* NM_SETTING_INFINIBAND_H */ +#endif /* __NM_SETTING_INFINIBAND_H__ */ diff --git a/libnm-core/nm-setting-ip4-config.h b/libnm-core/nm-setting-ip4-config.h index 5c1ed21fd..1caa563dd 100644 --- a/libnm-core/nm-setting-ip4-config.h +++ b/libnm-core/nm-setting-ip4-config.h @@ -20,8 +20,8 @@ * Copyright 2007 - 2008 Novell, Inc. */ -#ifndef NM_SETTING_IP4_CONFIG_H -#define NM_SETTING_IP4_CONFIG_H +#ifndef __NM_SETTING_IP4_CONFIG_H__ +#define __NM_SETTING_IP4_CONFIG_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -223,4 +223,4 @@ gboolean nm_setting_ip4_config_get_may_fail (NMSettingIP4Config * G_END_DECLS -#endif /* NM_SETTING_IP4_CONFIG_H */ +#endif /* __NM_SETTING_IP4_CONFIG_H__ */ diff --git a/libnm-core/nm-setting-ip6-config.h b/libnm-core/nm-setting-ip6-config.h index b7433c22f..2dc9c8dde 100644 --- a/libnm-core/nm-setting-ip6-config.h +++ b/libnm-core/nm-setting-ip6-config.h @@ -19,8 +19,8 @@ * Copyright 2007 - 2014 Red Hat, Inc. */ -#ifndef NM_SETTING_IP6_CONFIG_H -#define NM_SETTING_IP6_CONFIG_H +#ifndef __NM_SETTING_IP6_CONFIG_H__ +#define __NM_SETTING_IP6_CONFIG_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -250,4 +250,4 @@ NMSettingIP6ConfigPrivacy nm_setting_ip6_config_get_ip6_privacy (NMSettingIP6Con G_END_DECLS -#endif /* NM_SETTING_IP6_CONFIG_H */ +#endif /* __NM_SETTING_IP6_CONFIG_H__ */ diff --git a/libnm-core/nm-setting-olpc-mesh.h b/libnm-core/nm-setting-olpc-mesh.h index 268413fd3..67c0981fc 100644 --- a/libnm-core/nm-setting-olpc-mesh.h +++ b/libnm-core/nm-setting-olpc-mesh.h @@ -20,8 +20,8 @@ * Copyright 2009 One Laptop per Child */ -#ifndef NM_SETTING_OLPC_MESH_H -#define NM_SETTING_OLPC_MESH_H +#ifndef __NM_SETTING_OLPC_MESH_H__ +#define __NM_SETTING_OLPC_MESH_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -80,4 +80,4 @@ const GByteArray *nm_setting_olpc_mesh_get_dhcp_anycast_address (NMSettingOlpcMe G_END_DECLS -#endif /* NM_SETTING_OLPC_MESH_H */ +#endif /* __NM_SETTING_OLPC_MESH_H__ */ diff --git a/libnm-core/nm-setting-ppp.h b/libnm-core/nm-setting-ppp.h index c71526cae..34be5b26f 100644 --- a/libnm-core/nm-setting-ppp.h +++ b/libnm-core/nm-setting-ppp.h @@ -20,8 +20,8 @@ * Copyright 2007 - 2008 Novell, Inc. */ -#ifndef NM_SETTING_PPP_H -#define NM_SETTING_PPP_H +#ifndef __NM_SETTING_PPP_H__ +#define __NM_SETTING_PPP_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -113,4 +113,4 @@ guint32 nm_setting_ppp_get_lcp_echo_interval (NMSettingPpp *setting); G_END_DECLS -#endif /* NM_SETTING_PPP_H */ +#endif /* __NM_SETTING_PPP_H__ */ diff --git a/libnm-core/nm-setting-pppoe.h b/libnm-core/nm-setting-pppoe.h index 97bf46981..652c9c9b0 100644 --- a/libnm-core/nm-setting-pppoe.h +++ b/libnm-core/nm-setting-pppoe.h @@ -20,8 +20,8 @@ * Copyright 2007 - 2008 Novell, Inc. */ -#ifndef NM_SETTING_PPPOE_H -#define NM_SETTING_PPPOE_H +#ifndef __NM_SETTING_PPPOE_H__ +#define __NM_SETTING_PPPOE_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -85,4 +85,4 @@ NMSettingSecretFlags nm_setting_pppoe_get_password_flags (NMSettingPppoe *settin G_END_DECLS -#endif /* NM_SETTING_PPPOE_H */ +#endif /* __NM_SETTING_PPPOE_H__ */ diff --git a/libnm-core/nm-setting-private.h b/libnm-core/nm-setting-private.h index 99590b9e1..19849aa4c 100644 --- a/libnm-core/nm-setting-private.h +++ b/libnm-core/nm-setting-private.h @@ -18,8 +18,8 @@ * Copyright 2011 Red Hat, Inc. */ -#ifndef NM_SETTING_PRIVATE_H -#define NM_SETTING_PRIVATE_H +#ifndef __NM_SETTING_PRIVATE_H__ +#define __NM_SETTING_PRIVATE_H__ #include "nm-setting.h" #include "nm-glib-compat.h" diff --git a/libnm-core/nm-setting-serial.h b/libnm-core/nm-setting-serial.h index 818143010..b1274a86c 100644 --- a/libnm-core/nm-setting-serial.h +++ b/libnm-core/nm-setting-serial.h @@ -20,8 +20,8 @@ * Copyright 2007 - 2008 Novell, Inc. */ -#ifndef NM_SETTING_SERIAL_H -#define NM_SETTING_SERIAL_H +#ifndef __NM_SETTING_SERIAL_H__ +#define __NM_SETTING_SERIAL_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -87,4 +87,4 @@ guint64 nm_setting_serial_get_send_delay (NMSettingSerial *setting); G_END_DECLS -#endif /* NM_SETTING_SERIAL_H */ +#endif /* __NM_SETTING_SERIAL_H__ */ diff --git a/libnm-core/nm-setting-team-port.h b/libnm-core/nm-setting-team-port.h index 527ac4bce..f8ed805c6 100644 --- a/libnm-core/nm-setting-team-port.h +++ b/libnm-core/nm-setting-team-port.h @@ -18,8 +18,8 @@ * Copyright 2013 Jiri Pirko */ -#ifndef NM_SETTING_TEAM_PORT_H -#define NM_SETTING_TEAM_PORT_H +#ifndef __NM_SETTING_TEAM_PORT_H__ +#define __NM_SETTING_TEAM_PORT_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -75,4 +75,4 @@ const char * nm_setting_team_port_get_config (NMSettingTeamPort *setting); G_END_DECLS -#endif /* NM_SETTING_TEAM_PORT_H */ +#endif /* __NM_SETTING_TEAM_PORT_H__ */ diff --git a/libnm-core/nm-setting-team.h b/libnm-core/nm-setting-team.h index 4ef04c24f..c3f6f4bf5 100644 --- a/libnm-core/nm-setting-team.h +++ b/libnm-core/nm-setting-team.h @@ -18,8 +18,8 @@ * Copyright 2013 Jiri Pirko */ -#ifndef NM_SETTING_TEAM_H -#define NM_SETTING_TEAM_H +#ifndef __NM_SETTING_TEAM_H__ +#define __NM_SETTING_TEAM_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -77,4 +77,4 @@ const char * nm_setting_team_get_config (NMSettingTeam *setting); G_END_DECLS -#endif /* NM_SETTING_TEAM_H */ +#endif /* __NM_SETTING_TEAM_H__ */ diff --git a/libnm-core/nm-setting-vlan.h b/libnm-core/nm-setting-vlan.h index 3d777f7fe..7f06f2a64 100644 --- a/libnm-core/nm-setting-vlan.h +++ b/libnm-core/nm-setting-vlan.h @@ -19,8 +19,8 @@ * Copyright 2011 - 2014 Red Hat, Inc. */ -#ifndef NM_SETTING_VLAN_H -#define NM_SETTING_VLAN_H +#ifndef __NM_SETTING_VLAN_H__ +#define __NM_SETTING_VLAN_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -152,4 +152,4 @@ gboolean nm_setting_vlan_add_priority_str (NMSettingVlan *setting, G_END_DECLS -#endif /* NM_SETTING_VLAN_H */ +#endif /* __NM_SETTING_VLAN_H__ */ diff --git a/libnm-core/nm-setting-vpn.h b/libnm-core/nm-setting-vpn.h index 09fcb6074..059f8f99b 100644 --- a/libnm-core/nm-setting-vpn.h +++ b/libnm-core/nm-setting-vpn.h @@ -20,8 +20,8 @@ * Copyright 2007 - 2008 Novell, Inc. */ -#ifndef NM_SETTING_VPN_H -#define NM_SETTING_VPN_H +#ifndef __NM_SETTING_VPN_H__ +#define __NM_SETTING_VPN_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -113,4 +113,4 @@ void nm_setting_vpn_foreach_secret (NMSettingVpn *setting, G_END_DECLS -#endif /* NM_SETTING_VPN_H */ +#endif /* __NM_SETTING_VPN_H__ */ diff --git a/libnm-core/nm-setting-wimax.h b/libnm-core/nm-setting-wimax.h index f5b49fd8e..e70c135ae 100644 --- a/libnm-core/nm-setting-wimax.h +++ b/libnm-core/nm-setting-wimax.h @@ -19,8 +19,8 @@ * Copyright 2009 Novell, Inc. */ -#ifndef NM_SETTING_WIMAX_H -#define NM_SETTING_WIMAX_H +#ifndef __NM_SETTING_WIMAX_H__ +#define __NM_SETTING_WIMAX_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -77,4 +77,4 @@ const GByteArray *nm_setting_wimax_get_mac_address (NMSettingWimax *setting); G_END_DECLS -#endif /* NM_SETTING_WIMAX_H */ +#endif /* __NM_SETTING_WIMAX_H__ */ diff --git a/libnm-core/nm-setting-wired.h b/libnm-core/nm-setting-wired.h index f8d215ec2..c635d6008 100644 --- a/libnm-core/nm-setting-wired.h +++ b/libnm-core/nm-setting-wired.h @@ -20,8 +20,8 @@ * Copyright 2007 - 2008 Novell, Inc. */ -#ifndef NM_SETTING_WIRED_H -#define NM_SETTING_WIRED_H +#ifndef __NM_SETTING_WIRED_H__ +#define __NM_SETTING_WIRED_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -122,4 +122,4 @@ const char ** nm_setting_wired_get_valid_s390_options (NMSettingWired *setti G_END_DECLS -#endif /* NM_SETTING_WIRED_H */ +#endif /* __NM_SETTING_WIRED_H__ */ diff --git a/libnm-core/nm-setting-wireless-security.h b/libnm-core/nm-setting-wireless-security.h index 92685cc1d..dac735784 100644 --- a/libnm-core/nm-setting-wireless-security.h +++ b/libnm-core/nm-setting-wireless-security.h @@ -20,8 +20,8 @@ * Copyright 2007 - 2008 Novell, Inc. */ -#ifndef NM_SETTING_WIRELESS_SECURITY_H -#define NM_SETTING_WIRELESS_SECURITY_H +#ifndef __NM_SETTING_WIRELESS_SECURITY_H__ +#define __NM_SETTING_WIRELESS_SECURITY_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -173,4 +173,4 @@ NMWepKeyType nm_setting_wireless_security_get_wep_key_type (NMSettingWirelessSec G_END_DECLS -#endif /* NM_SETTING_WIRELESS_SECURITY_H */ +#endif /* __NM_SETTING_WIRELESS_SECURITY_H__ */ diff --git a/libnm-core/nm-setting-wireless.h b/libnm-core/nm-setting-wireless.h index 6ca9c87c3..e8c5984e6 100644 --- a/libnm-core/nm-setting-wireless.h +++ b/libnm-core/nm-setting-wireless.h @@ -20,8 +20,8 @@ * Copyright 2007 - 2008 Novell, Inc. */ -#ifndef NM_SETTING_WIRELESS_H -#define NM_SETTING_WIRELESS_H +#ifndef __NM_SETTING_WIRELESS_H__ +#define __NM_SETTING_WIRELESS_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -160,4 +160,4 @@ gboolean nm_setting_wireless_ap_security_compatible (NMSettingWireless G_END_DECLS -#endif /* NM_SETTING_WIRELESS_H */ +#endif /* __NM_SETTING_WIRELESS_H__ */ diff --git a/libnm-core/nm-setting.h b/libnm-core/nm-setting.h index 57a921679..154bd0c57 100644 --- a/libnm-core/nm-setting.h +++ b/libnm-core/nm-setting.h @@ -20,8 +20,8 @@ * Copyright 2007 - 2008 Novell, Inc. */ -#ifndef NM_SETTING_H -#define NM_SETTING_H +#ifndef __NM_SETTING_H__ +#define __NM_SETTING_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -315,4 +315,4 @@ const char *nm_setting_get_virtual_iface_name (NMSetting *setting); G_END_DECLS -#endif /* NM_SETTING_H */ +#endif /* __NM_SETTING_H__ */ diff --git a/libnm-core/nm-utils.h b/libnm-core/nm-utils.h index e4ce9dfdb..36319d0ee 100644 --- a/libnm-core/nm-utils.h +++ b/libnm-core/nm-utils.h @@ -18,8 +18,8 @@ * Copyright 2005 - 2013 Red Hat, Inc. */ -#ifndef NM_UTILS_H -#define NM_UTILS_H +#ifndef __NM_UTILS_H__ +#define __NM_UTILS_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -173,4 +173,4 @@ gboolean nm_utils_check_virtual_device_compatibility (GType virtual_type, GType G_END_DECLS -#endif /* NM_UTILS_H */ +#endif /* __NM_UTILS_H__ */ diff --git a/libnm-core/nm-vpn-dbus-interface.h b/libnm-core/nm-vpn-dbus-interface.h index c2cd7be43..ab294df7c 100644 --- a/libnm-core/nm-vpn-dbus-interface.h +++ b/libnm-core/nm-vpn-dbus-interface.h @@ -23,8 +23,8 @@ * used by some external code that does not link to libnm. */ -#ifndef NM_VPN_DBUS_INTERFACE_H -#define NM_VPN_DBUS_INTERFACE_H +#ifndef __NM_VPN_DBUS_INTERFACE_H__ +#define __NM_VPN_DBUS_INTERFACE_H__ /* * dbus services details @@ -299,4 +299,4 @@ typedef enum { /* boolean: prevent this VPN connection from ever getting the default route */ #define NM_VPN_PLUGIN_IP6_CONFIG_NEVER_DEFAULT "never-default" -#endif /* NM_VPN_DBUS_INTERFACE_H */ +#endif /* __NM_VPN_DBUS_INTERFACE_H__ */ diff --git a/libnm/NetworkManager.h b/libnm/NetworkManager.h index da0a4e328..08b4f4cc9 100644 --- a/libnm/NetworkManager.h +++ b/libnm/NetworkManager.h @@ -18,8 +18,8 @@ * Copyright 2014 Red Hat, Inc. */ -#ifndef NETWORKMANAGER_H -#define NETWORKMANAGER_H +#ifndef __NETWORKMANAGER_H__ +#define __NETWORKMANAGER_H__ #define __NETWORKMANAGER_H_INSIDE__ @@ -88,4 +88,4 @@ #undef __NETWORKMANAGER_H_INSIDE__ -#endif /* NETWORKMANAGER_H */ +#endif /* __NETWORKMANAGER_H__ */ diff --git a/libnm/nm-access-point.h b/libnm/nm-access-point.h index e0ec11894..1792db442 100644 --- a/libnm/nm-access-point.h +++ b/libnm/nm-access-point.h @@ -19,8 +19,8 @@ * Copyright 2007 - 2011 Red Hat, Inc. */ -#ifndef NM_ACCESS_POINT_H -#define NM_ACCESS_POINT_H +#ifndef __NM_ACCESS_POINT_H__ +#define __NM_ACCESS_POINT_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -86,4 +86,4 @@ gboolean nm_access_point_connection_valid (NMAccessPoint *ap, G_END_DECLS -#endif /* NM_ACCESS_POINT_H */ +#endif /* __NM_ACCESS_POINT_H__ */ diff --git a/libnm/nm-active-connection.h b/libnm/nm-active-connection.h index 5c67b325b..09fe891ed 100644 --- a/libnm/nm-active-connection.h +++ b/libnm/nm-active-connection.h @@ -19,8 +19,8 @@ * Copyright 2008 Novell, Inc. */ -#ifndef NM_ACTIVE_CONNECTION_H -#define NM_ACTIVE_CONNECTION_H +#ifndef __NM_ACTIVE_CONNECTION_H__ +#define __NM_ACTIVE_CONNECTION_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -92,4 +92,4 @@ gboolean nm_active_connection_get_vpn (NMActiveConnection *c G_END_DECLS -#endif /* NM_ACTIVE_CONNECTION_H */ +#endif /* __NM_ACTIVE_CONNECTION_H__ */ diff --git a/libnm/nm-client.h b/libnm/nm-client.h index 52d59d4bd..2d8acab51 100644 --- a/libnm/nm-client.h +++ b/libnm/nm-client.h @@ -19,8 +19,8 @@ * Copyright 2007 - 2012 Red Hat, Inc. */ -#ifndef NM_CLIENT_H -#define NM_CLIENT_H +#ifndef __NM_CLIENT_H__ +#define __NM_CLIENT_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -249,4 +249,4 @@ NMActiveConnection *nm_client_get_activating_connection (NMClient *client); G_END_DECLS -#endif /* NM_CLIENT_H */ +#endif /* __NM_CLIENT_H__ */ diff --git a/libnm/nm-dbus-helpers-private.h b/libnm/nm-dbus-helpers-private.h index 8a350e783..10e8ecd81 100644 --- a/libnm/nm-dbus-helpers-private.h +++ b/libnm/nm-dbus-helpers-private.h @@ -18,8 +18,8 @@ * Copyright 2013 Red Hat, Inc. */ -#ifndef NM_DBUS_HELPERS_PRIVATE_H -#define NM_DBUS_HELPERS_PRIVATE_H +#ifndef __NM_DBUS_HELPERS_PRIVATE_H__ +#define __NM_DBUS_HELPERS_PRIVATE_H__ #include #include @@ -33,4 +33,4 @@ DBusGProxy * _nm_dbus_new_proxy_for_connection (DBusGConnection *connection, const char *path, const char *interface); -#endif /* NM_DBUS_HELPERS_PRIVATE_H */ +#endif /* __NM_DBUS_HELPERS_PRIVATE_H__ */ diff --git a/libnm/nm-device-adsl.h b/libnm/nm-device-adsl.h index 26af4a441..3c175f0f8 100644 --- a/libnm/nm-device-adsl.h +++ b/libnm/nm-device-adsl.h @@ -18,8 +18,8 @@ * Copyright 2011 Pantelis Koukousoulas */ -#ifndef NM_DEVICE_ADSL_H -#define NM_DEVICE_ADSL_H +#ifndef __NM_DEVICE_ADSL_H__ +#define __NM_DEVICE_ADSL_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -70,4 +70,4 @@ gboolean nm_device_adsl_get_carrier (NMDeviceAdsl *device); G_END_DECLS -#endif /* NM_DEVICE_ADSL_H */ +#endif /* __NM_DEVICE_ADSL_H__ */ diff --git a/libnm/nm-device-bond.h b/libnm/nm-device-bond.h index 53312de70..8e1522af2 100644 --- a/libnm/nm-device-bond.h +++ b/libnm/nm-device-bond.h @@ -18,8 +18,8 @@ * Copyright 2012 Red Hat, Inc. */ -#ifndef NM_DEVICE_BOND_H -#define NM_DEVICE_BOND_H +#ifndef __NM_DEVICE_BOND_H__ +#define __NM_DEVICE_BOND_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -76,4 +76,4 @@ const GPtrArray *nm_device_bond_get_slaves (NMDeviceBond *device); G_END_DECLS -#endif /* NM_DEVICE_BOND_H */ +#endif /* __NM_DEVICE_BOND_H__ */ diff --git a/libnm/nm-device-bridge.h b/libnm/nm-device-bridge.h index 056729de3..f1ca791c1 100644 --- a/libnm/nm-device-bridge.h +++ b/libnm/nm-device-bridge.h @@ -18,8 +18,8 @@ * Copyright 2012 Red Hat, Inc. */ -#ifndef NM_DEVICE_BRIDGE_H -#define NM_DEVICE_BRIDGE_H +#ifndef __NM_DEVICE_BRIDGE_H__ +#define __NM_DEVICE_BRIDGE_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -78,4 +78,4 @@ const GPtrArray *nm_device_bridge_get_slaves (NMDeviceBridge *device); G_END_DECLS -#endif /* NM_DEVICE_BRIDGE_H */ +#endif /* __NM_DEVICE_BRIDGE_H__ */ diff --git a/libnm/nm-device-bt.h b/libnm/nm-device-bt.h index 03a24be7a..5861e812a 100644 --- a/libnm/nm-device-bt.h +++ b/libnm/nm-device-bt.h @@ -19,8 +19,8 @@ * Copyright 2008 Novell, Inc. */ -#ifndef NM_DEVICE_BT_H -#define NM_DEVICE_BT_H +#ifndef __NM_DEVICE_BT_H__ +#define __NM_DEVICE_BT_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -84,4 +84,4 @@ NMBluetoothCapabilities nm_device_bt_get_capabilities (NMDeviceBt *device); G_END_DECLS -#endif /* NM_DEVICE_BT_H */ +#endif /* __NM_DEVICE_BT_H__ */ diff --git a/libnm/nm-device-ethernet.h b/libnm/nm-device-ethernet.h index 05cafce9d..68a8f4010 100644 --- a/libnm/nm-device-ethernet.h +++ b/libnm/nm-device-ethernet.h @@ -19,8 +19,8 @@ * Copyright 2007 - 2012 Red Hat, Inc. */ -#ifndef NM_DEVICE_ETHERNET_H -#define NM_DEVICE_ETHERNET_H +#ifndef __NM_DEVICE_ETHERNET_H__ +#define __NM_DEVICE_ETHERNET_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -81,4 +81,4 @@ gboolean nm_device_ethernet_get_carrier (NMDeviceEthernet *device); G_END_DECLS -#endif /* NM_DEVICE_ETHERNET_H */ +#endif /* __NM_DEVICE_ETHERNET_H__ */ diff --git a/libnm/nm-device-generic.h b/libnm/nm-device-generic.h index 4b2ead760..d6160be67 100644 --- a/libnm/nm-device-generic.h +++ b/libnm/nm-device-generic.h @@ -18,8 +18,8 @@ * Copyright 2013 Red Hat, Inc. */ -#ifndef NM_DEVICE_GENERIC_H -#define NM_DEVICE_GENERIC_H +#ifndef __NM_DEVICE_GENERIC_H__ +#define __NM_DEVICE_GENERIC_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -71,4 +71,4 @@ const char *nm_device_generic_get_hw_address (NMDeviceGeneric *device); G_END_DECLS -#endif /* NM_DEVICE_GENERIC_H */ +#endif /* __NM_DEVICE_GENERIC_H__ */ diff --git a/libnm/nm-device-infiniband.h b/libnm/nm-device-infiniband.h index 97d86c5f1..279af5026 100644 --- a/libnm/nm-device-infiniband.h +++ b/libnm/nm-device-infiniband.h @@ -18,8 +18,8 @@ * Copyright 2011 - 2012 Red Hat, Inc. */ -#ifndef NM_DEVICE_INFINIBAND_H -#define NM_DEVICE_INFINIBAND_H +#ifndef __NM_DEVICE_INFINIBAND_H__ +#define __NM_DEVICE_INFINIBAND_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -76,4 +76,4 @@ gboolean nm_device_infiniband_get_carrier (NMDeviceInfiniband *device); G_END_DECLS -#endif /* NM_DEVICE_INFINIBAND_H */ +#endif /* __NM_DEVICE_INFINIBAND_H__ */ diff --git a/libnm/nm-device-modem.h b/libnm/nm-device-modem.h index 423a82ee7..22e219503 100644 --- a/libnm/nm-device-modem.h +++ b/libnm/nm-device-modem.h @@ -19,8 +19,8 @@ * Copyright 2008 Novell, Inc. */ -#ifndef NM_DEVICE_MODEM_H -#define NM_DEVICE_MODEM_H +#ifndef __NM_DEVICE_MODEM_H__ +#define __NM_DEVICE_MODEM_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -75,4 +75,4 @@ NMDeviceModemCapabilities nm_device_modem_get_current_capabilities (NMDeviceMode G_END_DECLS -#endif /* NM_DEVICE_MODEM_H */ +#endif /* __NM_DEVICE_MODEM_H__ */ diff --git a/libnm/nm-device-olpc-mesh.h b/libnm/nm-device-olpc-mesh.h index 5a2206875..69097b063 100644 --- a/libnm/nm-device-olpc-mesh.h +++ b/libnm/nm-device-olpc-mesh.h @@ -18,8 +18,8 @@ * Copyright 2012 Red Hat, Inc. */ -#ifndef NM_DEVICE_OLPC_MESH_H -#define NM_DEVICE_OLPC_MESH_H +#ifndef __NM_DEVICE_OLPC_MESH_H__ +#define __NM_DEVICE_OLPC_MESH_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -75,4 +75,4 @@ guint32 nm_device_olpc_mesh_get_active_channel (NMDeviceOlpcMesh *device); G_END_DECLS -#endif /* NM_DEVICE_OLPC_MESH_H */ +#endif /* __NM_DEVICE_OLPC_MESH_H__ */ diff --git a/libnm/nm-device-private.h b/libnm/nm-device-private.h index 82d676f92..66fc6b6b4 100644 --- a/libnm/nm-device-private.h +++ b/libnm/nm-device-private.h @@ -18,9 +18,9 @@ * Copyright 2007 - 2012 Red Hat, Inc. */ -#ifndef NM_DEVICE_PRIVATE_H -#define NM_DEVICE_PRIVATE_H +#ifndef __NM_DEVICE_PRIVATE_H__ +#define __NM_DEVICE_PRIVATE_H__ void _nm_device_set_device_type (NMDevice *device, NMDeviceType dtype); -#endif /* NM_DEVICE_PRIVATE_H */ +#endif /* __NM_DEVICE_PRIVATE_H__ */ diff --git a/libnm/nm-device-team.h b/libnm/nm-device-team.h index c44adcc4a..3cb4e358e 100644 --- a/libnm/nm-device-team.h +++ b/libnm/nm-device-team.h @@ -18,8 +18,8 @@ * Copyright 2013 Jiri Pirko */ -#ifndef NM_DEVICE_TEAM_H -#define NM_DEVICE_TEAM_H +#ifndef __NM_DEVICE_TEAM_H__ +#define __NM_DEVICE_TEAM_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -76,4 +76,4 @@ const GPtrArray *nm_device_team_get_slaves (NMDeviceTeam *device); G_END_DECLS -#endif /* NM_DEVICE_TEAM_H */ +#endif /* __NM_DEVICE_TEAM_H__ */ diff --git a/libnm/nm-device-vlan.h b/libnm/nm-device-vlan.h index 6825abefc..574e13c7e 100644 --- a/libnm/nm-device-vlan.h +++ b/libnm/nm-device-vlan.h @@ -18,8 +18,8 @@ * Copyright 2012 Red Hat, Inc. */ -#ifndef NM_DEVICE_VLAN_H -#define NM_DEVICE_VLAN_H +#ifndef __NM_DEVICE_VLAN_H__ +#define __NM_DEVICE_VLAN_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -80,4 +80,4 @@ guint nm_device_vlan_get_vlan_id (NMDeviceVlan *device); G_END_DECLS -#endif /* NM_DEVICE_VLAN_H */ +#endif /* __NM_DEVICE_VLAN_H__ */ diff --git a/libnm/nm-device-wifi.h b/libnm/nm-device-wifi.h index 195c3328d..c56de3092 100644 --- a/libnm/nm-device-wifi.h +++ b/libnm/nm-device-wifi.h @@ -19,8 +19,8 @@ * Copyright 2007 - 2012 Red Hat, Inc. */ -#ifndef NM_DEVICE_WIFI_H -#define NM_DEVICE_WIFI_H +#ifndef __NM_DEVICE_WIFI_H__ +#define __NM_DEVICE_WIFI_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -109,4 +109,4 @@ void nm_device_wifi_request_scan_simple (NMDeviceWifi * G_END_DECLS -#endif /* NM_DEVICE_WIFI_H */ +#endif /* __NM_DEVICE_WIFI_H__ */ diff --git a/libnm/nm-device-wimax.h b/libnm/nm-device-wimax.h index 5853add41..36b13e4f6 100644 --- a/libnm/nm-device-wimax.h +++ b/libnm/nm-device-wimax.h @@ -19,8 +19,8 @@ * Copyright 2009 Novell, Inc. */ -#ifndef NM_DEVICE_WIMAX_H -#define NM_DEVICE_WIMAX_H +#ifndef __NM_DEVICE_WIMAX_H__ +#define __NM_DEVICE_WIMAX_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -98,4 +98,4 @@ const char * nm_device_wimax_get_bsid (NMDeviceWimax *self); G_END_DECLS -#endif /* NM_DEVICE_WIMAX_H */ +#endif /* __NM_DEVICE_WIMAX_H__ */ diff --git a/libnm/nm-device.h b/libnm/nm-device.h index 085e14770..098258a9f 100644 --- a/libnm/nm-device.h +++ b/libnm/nm-device.h @@ -19,8 +19,8 @@ * Copyright 2007 - 2013 Red Hat, Inc. */ -#ifndef NM_DEVICE_H -#define NM_DEVICE_H +#ifndef __NM_DEVICE_H__ +#define __NM_DEVICE_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -170,4 +170,4 @@ GType nm_device_get_setting_type (NMDevice *device); G_END_DECLS -#endif /* NM_DEVICE_H */ +#endif /* __NM_DEVICE_H__ */ diff --git a/libnm/nm-dhcp4-config.h b/libnm/nm-dhcp4-config.h index 9b0c81078..f49b6e265 100644 --- a/libnm/nm-dhcp4-config.h +++ b/libnm/nm-dhcp4-config.h @@ -19,8 +19,8 @@ * Copyright 2008 Novell, Inc. */ -#ifndef NM_DHCP4_CONFIG_H -#define NM_DHCP4_CONFIG_H +#ifndef __NM_DHCP4_CONFIG_H__ +#define __NM_DHCP4_CONFIG_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -60,4 +60,4 @@ const char * nm_dhcp4_config_get_one_option (NMDhcp4Config *config, const char * G_END_DECLS -#endif /* NM_DHCP4_CONFIG_H */ +#endif /* __NM_DHCP4_CONFIG_H__ */ diff --git a/libnm/nm-dhcp6-config.h b/libnm/nm-dhcp6-config.h index cef2a1a37..e6f2f3c68 100644 --- a/libnm/nm-dhcp6-config.h +++ b/libnm/nm-dhcp6-config.h @@ -19,8 +19,8 @@ * Copyright 2008 Novell, Inc. */ -#ifndef NM_DHCP6_CONFIG_H -#define NM_DHCP6_CONFIG_H +#ifndef __NM_DHCP6_CONFIG_H__ +#define __NM_DHCP6_CONFIG_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -60,4 +60,4 @@ const char * nm_dhcp6_config_get_one_option (NMDhcp6Config *config, const char * G_END_DECLS -#endif /* NM_DHCP6_CONFIG_H */ +#endif /* __NM_DHCP6_CONFIG_H__ */ diff --git a/libnm/nm-ip4-config.h b/libnm/nm-ip4-config.h index 554248695..26c180108 100644 --- a/libnm/nm-ip4-config.h +++ b/libnm/nm-ip4-config.h @@ -19,8 +19,8 @@ * Copyright 2008 Red Hat, Inc. */ -#ifndef NM_IP4_CONFIG_H -#define NM_IP4_CONFIG_H +#ifndef __NM_IP4_CONFIG_H__ +#define __NM_IP4_CONFIG_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -71,4 +71,4 @@ const GArray * nm_ip4_config_get_wins_servers (NMIP4Config *config); G_END_DECLS -#endif /* NM_IP4_CONFIG_H */ +#endif /* __NM_IP4_CONFIG_H__ */ diff --git a/libnm/nm-ip6-config.h b/libnm/nm-ip6-config.h index a1793fd25..64c650b9e 100644 --- a/libnm/nm-ip6-config.h +++ b/libnm/nm-ip6-config.h @@ -19,8 +19,8 @@ * Copyright 2008 - 2014 Red Hat, Inc. */ -#ifndef NM_IP6_CONFIG_H -#define NM_IP6_CONFIG_H +#ifndef __NM_IP6_CONFIG_H__ +#define __NM_IP6_CONFIG_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -71,4 +71,4 @@ const GPtrArray * nm_ip6_config_get_searches (NMIP6Config *config); G_END_DECLS -#endif /* NM_IP6_CONFIG_H */ +#endif /* __NM_IP6_CONFIG_H__ */ diff --git a/libnm/nm-object-cache.h b/libnm/nm-object-cache.h index 7aca3b4fb..ebadbaa8d 100644 --- a/libnm/nm-object-cache.h +++ b/libnm/nm-object-cache.h @@ -18,8 +18,8 @@ * Copyright 2008 Red Hat, Inc. */ -#ifndef NM_OBJECT_CACHE_H -#define NM_OBJECT_CACHE_H +#ifndef __NM_OBJECT_CACHE_H__ +#define __NM_OBJECT_CACHE_H__ #include #include @@ -34,4 +34,4 @@ void _nm_object_cache_clear (void); G_END_DECLS -#endif /* NM_OBJECT_CACHE_H */ +#endif /* __NM_OBJECT_CACHE_H__ */ diff --git a/libnm/nm-object-private.h b/libnm/nm-object-private.h index f9925cf73..4422883f8 100644 --- a/libnm/nm-object-private.h +++ b/libnm/nm-object-private.h @@ -18,8 +18,8 @@ * Copyright 2008 - 2011 Red Hat, Inc. */ -#ifndef NM_OBJECT_PRIVATE_H -#define NM_OBJECT_PRIVATE_H +#ifndef __NM_OBJECT_PRIVATE_H__ +#define __NM_OBJECT_PRIVATE_H__ #include #include "nm-object.h" @@ -90,4 +90,4 @@ void _nm_object_register_type_func (GType base_type, NMObjectTypeFunc type_func, #define NM_OBJECT_NM_RUNNING "nm-running-internal" gboolean _nm_object_get_nm_running (NMObject *self); -#endif /* NM_OBJECT_PRIVATE_H */ +#endif /* __NM_OBJECT_PRIVATE_H__ */ diff --git a/libnm/nm-object.h b/libnm/nm-object.h index e3e0d739f..6e263d488 100644 --- a/libnm/nm-object.h +++ b/libnm/nm-object.h @@ -19,8 +19,8 @@ * Copyright 2007 - 2012 Red Hat, Inc. */ -#ifndef NM_OBJECT_H -#define NM_OBJECT_H +#ifndef __NM_OBJECT_H__ +#define __NM_OBJECT_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -90,4 +90,4 @@ const char *nm_object_get_path (NMObject *object); G_END_DECLS -#endif /* NM_OBJECT_H */ +#endif /* __NM_OBJECT_H__ */ diff --git a/libnm/nm-remote-settings.h b/libnm/nm-remote-settings.h index 7ba7527fb..afda60628 100644 --- a/libnm/nm-remote-settings.h +++ b/libnm/nm-remote-settings.h @@ -19,8 +19,8 @@ * Copyright 2009 - 2011 Red Hat, Inc. */ -#ifndef NM_REMOTE_SETTINGS_H -#define NM_REMOTE_SETTINGS_H +#ifndef __NM_REMOTE_SETTINGS_H__ +#define __NM_REMOTE_SETTINGS_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -154,4 +154,4 @@ gboolean nm_remote_settings_save_hostname (NMRemoteSettings *settings, G_END_DECLS -#endif /* NM_REMOTE_SETTINGS_H */ +#endif /* __NM_REMOTE_SETTINGS_H__ */ diff --git a/libnm/nm-secret-agent.h b/libnm/nm-secret-agent.h index 84ddaaa9d..c70b21cbb 100644 --- a/libnm/nm-secret-agent.h +++ b/libnm/nm-secret-agent.h @@ -18,8 +18,8 @@ * Copyright 2010 - 2011 Red Hat, Inc. */ -#ifndef NM_SECRET_AGENT_H -#define NM_SECRET_AGENT_H +#ifndef __NM_SECRET_AGENT_H__ +#define __NM_SECRET_AGENT_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -257,4 +257,4 @@ void nm_secret_agent_delete_secrets (NMSecretAgent *self, G_END_DECLS -#endif /* NM_SECRET_AGENT_H */ +#endif /* __NM_SECRET_AGENT_H__ */ diff --git a/libnm/nm-types-private.h b/libnm/nm-types-private.h index c34d9a8f7..9979f6c9f 100644 --- a/libnm/nm-types-private.h +++ b/libnm/nm-types-private.h @@ -18,8 +18,8 @@ * Copyright 2007 - 2008 Red Hat, Inc. */ -#ifndef NM_TYPES_PRIVATE_H -#define NM_TYPES_PRIVATE_H +#ifndef __NM_TYPES_PRIVATE_H__ +#define __NM_TYPES_PRIVATE_H__ #include #include "nm-types.h" @@ -34,4 +34,4 @@ gboolean _nm_object_array_demarshal (GValue *value, NMObjectCreatorFunc func); gboolean _nm_ip6_address_array_demarshal (GValue *value, GSList **dest); -#endif /* NM_TYPES_PRIVATE_H */ +#endif /* __NM_TYPES_PRIVATE_H__ */ diff --git a/libnm/nm-types.h b/libnm/nm-types.h index 9fcef32e1..a50f83c7c 100644 --- a/libnm/nm-types.h +++ b/libnm/nm-types.h @@ -18,8 +18,8 @@ * Copyright 2008 Red Hat, Inc. */ -#ifndef NM_TYPES_H -#define NM_TYPES_H +#ifndef __NM_TYPES_H__ +#define __NM_TYPES_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -55,4 +55,4 @@ GType nm_ip6_route_object_array_get_type (void) G_GNUC_CONST; G_END_DECLS -#endif /* NM_TYPES_H */ +#endif /* __NM_TYPES_H__ */ diff --git a/libnm/nm-vpn-connection.h b/libnm/nm-vpn-connection.h index a7abc8c53..0cf64e3aa 100644 --- a/libnm/nm-vpn-connection.h +++ b/libnm/nm-vpn-connection.h @@ -19,8 +19,8 @@ * Copyright 2007 - 2010 Red Hat, Inc. */ -#ifndef NM_VPN_CONNECTION_H -#define NM_VPN_CONNECTION_H +#ifndef __NM_VPN_CONNECTION_H__ +#define __NM_VPN_CONNECTION_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -67,4 +67,4 @@ const char * nm_vpn_connection_get_banner (NMVpnConnection *vpn); G_END_DECLS -#endif /* NM_VPN_CONNECTION_H */ +#endif /* __NM_VPN_CONNECTION_H__ */ diff --git a/libnm/nm-vpn-plugin-ui-interface.h b/libnm/nm-vpn-plugin-ui-interface.h index 11f44b376..121936029 100644 --- a/libnm/nm-vpn-plugin-ui-interface.h +++ b/libnm/nm-vpn-plugin-ui-interface.h @@ -19,8 +19,8 @@ * Copyright 2008 Novell, Inc. */ -#ifndef NM_VPN_PLUGIN_UI_INTERFACE_H -#define NM_VPN_PLUGIN_UI_INTERFACE_H +#ifndef __NM_VPN_PLUGIN_UI_INTERFACE_H__ +#define __NM_VPN_PLUGIN_UI_INTERFACE_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." diff --git a/libnm/nm-vpn-plugin-utils.h b/libnm/nm-vpn-plugin-utils.h index acab12f38..5073d1ee0 100644 --- a/libnm/nm-vpn-plugin-utils.h +++ b/libnm/nm-vpn-plugin-utils.h @@ -18,8 +18,8 @@ * Copyright 2011 Red Hat, Inc. */ -#ifndef NM_VPN_PLUGIN_UTILS_H -#define NM_VPN_PLUGIN_UTILS_H +#ifndef __NM_VPN_PLUGIN_UTILS_H__ +#define __NM_VPN_PLUGIN_UTILS_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -40,4 +40,4 @@ gboolean nm_vpn_plugin_utils_get_secret_flags (GHashTable *data, G_END_DECLS -#endif /* NM_VPN_PLUGIN_UTILS_H */ +#endif /* __NM_VPN_PLUGIN_UTILS_H__ */ diff --git a/libnm/nm-vpn-plugin.h b/libnm/nm-vpn-plugin.h index 839cfb08c..5f20abff6 100644 --- a/libnm/nm-vpn-plugin.h +++ b/libnm/nm-vpn-plugin.h @@ -19,8 +19,8 @@ * Copyright 2007 - 2013 Red Hat, Inc. */ -#ifndef NM_VPN_PLUGIN_H -#define NM_VPN_PLUGIN_H +#ifndef __NM_VPN_PLUGIN_H__ +#define __NM_VPN_PLUGIN_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -173,4 +173,4 @@ gboolean nm_vpn_plugin_disconnect (NMVpnPlugin *plugin, G_END_DECLS -#endif /* NM_VPN_PLUGIN_H */ +#endif /* __NM_VPN_PLUGIN_H__ */ diff --git a/libnm/nm-wimax-nsp.h b/libnm/nm-wimax-nsp.h index 48f89fa15..3cae3fc26 100644 --- a/libnm/nm-wimax-nsp.h +++ b/libnm/nm-wimax-nsp.h @@ -19,8 +19,8 @@ * Copyright 2009 Novell, Inc. */ -#ifndef NM_WIMAX_NSP_H -#define NM_WIMAX_NSP_H +#ifndef __NM_WIMAX_NSP_H__ +#define __NM_WIMAX_NSP_H__ #if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION) #error "Only can be included directly." @@ -76,4 +76,4 @@ gboolean nm_wimax_nsp_connection_valid (NMWimaxNsp *nsp, G_END_DECLS -#endif /* NM_WIMAX_NSP_H */ +#endif /* __NM_WIMAX_NSP_H__ */ diff --git a/src/NetworkManagerUtils.h b/src/NetworkManagerUtils.h index bb5043fa6..8b532b78a 100644 --- a/src/NetworkManagerUtils.h +++ b/src/NetworkManagerUtils.h @@ -19,8 +19,8 @@ * Copyright (C) 2005 - 2008 Novell, Inc. */ -#ifndef NETWORK_MANAGER_UTILS_H -#define NETWORK_MANAGER_UTILS_H +#ifndef __NETWORKMANAGER_UTILS_H__ +#define __NETWORKMANAGER_UTILS_H__ #include #include @@ -162,4 +162,4 @@ void nm_utils_ipv6_addr_set_interface_identfier (struct in6_addr *addr, void nm_utils_ipv6_interface_identfier_get_from_addr (NMUtilsIPv6IfaceId *iid, const struct in6_addr *addr); -#endif /* NETWORK_MANAGER_UTILS_H */ +#endif /* __NETWORKMANAGER_UTILS_H__ */ diff --git a/src/devices/adsl/nm-atm-manager.h b/src/devices/adsl/nm-atm-manager.h index 005252207..e4ec3e6ae 100644 --- a/src/devices/adsl/nm-atm-manager.h +++ b/src/devices/adsl/nm-atm-manager.h @@ -19,8 +19,8 @@ * Copyright (C) 2007 - 2014 Red Hat, Inc. */ -#ifndef NM_ATM_MANAGER_H -#define NM_ATM_MANAGER_H +#ifndef __NETWORKMANAGER_ATM_MANAGER_H__ +#define __NETWORKMANAGER_ATM_MANAGER_H__ #include #include @@ -38,5 +38,5 @@ typedef struct { GObjectClass parent; } NMAtmManagerClass; -#endif /* NM_ATM_MANAGER_H */ +#endif /* __NETWORKMANAGER_ATM_MANAGER_H__ */ diff --git a/src/devices/adsl/nm-device-adsl.h b/src/devices/adsl/nm-device-adsl.h index bbd0e63f0..f21381c21 100644 --- a/src/devices/adsl/nm-device-adsl.h +++ b/src/devices/adsl/nm-device-adsl.h @@ -19,8 +19,8 @@ * Copyright (C) 2009 - 2011 Red Hat Inc. */ -#ifndef NM_DEVICE_ADSL_H -#define NM_DEVICE_ADSL_H +#ifndef __NETWORKMANAGER_DEVICE_ADSL_H__ +#define __NETWORKMANAGER_DEVICE_ADSL_H__ #include diff --git a/src/devices/bluetooth/nm-bluez-common.h b/src/devices/bluetooth/nm-bluez-common.h index f80cfc2e3..f0cab43b3 100644 --- a/src/devices/bluetooth/nm-bluez-common.h +++ b/src/devices/bluetooth/nm-bluez-common.h @@ -18,8 +18,8 @@ * Copyright (C) 2009 Red Hat, Inc. */ -#ifndef NM_BLUEZ_COMMON_H -#define NM_BLUEZ_COMMON_H +#ifndef __NETWORKMANAGER_BLUEZ_COMMON_H__ +#define __NETWORKMANAGER_BLUEZ_COMMON_H__ #include diff --git a/src/devices/bluetooth/nm-bluez-device.h b/src/devices/bluetooth/nm-bluez-device.h index 0bf7d898b..6b8dc97a7 100644 --- a/src/devices/bluetooth/nm-bluez-device.h +++ b/src/devices/bluetooth/nm-bluez-device.h @@ -18,8 +18,8 @@ * Copyright (C) 2009 - 2014 Red Hat, Inc. */ -#ifndef NM_BLUEZ_DEVICE_H -#define NM_BLUEZ_DEVICE_H +#ifndef __NETWORKMANAGER_BLUEZ_DEVICE_H__ +#define __NETWORKMANAGER_BLUEZ_DEVICE_H__ #include #include @@ -94,5 +94,5 @@ nm_bluez_device_connect_finish (NMBluezDevice *self, void nm_bluez_device_disconnect (NMBluezDevice *self); -#endif /* NM_BLUEZ_DEVICE_H */ +#endif /* __NETWORKMANAGER_BLUEZ_DEVICE_H__ */ diff --git a/src/devices/bluetooth/nm-bluez-manager.h b/src/devices/bluetooth/nm-bluez-manager.h index 68d6dbe5e..8320b2987 100644 --- a/src/devices/bluetooth/nm-bluez-manager.h +++ b/src/devices/bluetooth/nm-bluez-manager.h @@ -19,8 +19,8 @@ * Copyright (C) 2007 - 2014 Red Hat, Inc. */ -#ifndef NM_BLUEZ_MANAGER_H -#define NM_BLUEZ_MANAGER_H +#ifndef __NETWORKMANAGER_BLUEZ_MANAGER_H__ +#define __NETWORKMANAGER_BLUEZ_MANAGER_H__ #include #include @@ -40,5 +40,5 @@ typedef struct { GObjectClass parent; } NMBluezManagerClass; -#endif /* NM_BLUEZ_MANAGER_H */ +#endif /* __NETWORKMANAGER_BLUEZ_MANAGER_H__ */ diff --git a/src/devices/bluetooth/nm-bluez4-adapter.h b/src/devices/bluetooth/nm-bluez4-adapter.h index 454ca557e..a62564127 100644 --- a/src/devices/bluetooth/nm-bluez4-adapter.h +++ b/src/devices/bluetooth/nm-bluez4-adapter.h @@ -18,8 +18,8 @@ * Copyright (C) 2009 - 2012 Red Hat, Inc. */ -#ifndef NM_BLUEZ4_ADAPTER_H -#define NM_BLUEZ4_ADAPTER_H +#ifndef __NETWORKMANAGER_BLUEZ4_ADAPTER_H__ +#define __NETWORKMANAGER_BLUEZ4_ADAPTER_H__ #include #include @@ -65,5 +65,5 @@ gboolean nm_bluez4_adapter_get_initialized (NMBluez4Adapter *self); GSList *nm_bluez4_adapter_get_devices (NMBluez4Adapter *self); -#endif /* NM_BLUEZ4_ADAPTER_H */ +#endif /* __NETWORKMANAGER_BLUEZ4_ADAPTER_H__ */ diff --git a/src/devices/bluetooth/nm-bluez4-manager.h b/src/devices/bluetooth/nm-bluez4-manager.h index 19b1c65a1..13cfef939 100644 --- a/src/devices/bluetooth/nm-bluez4-manager.h +++ b/src/devices/bluetooth/nm-bluez4-manager.h @@ -19,8 +19,8 @@ * Copyright (C) 2007 - 2013 Red Hat, Inc. */ -#ifndef NM_BLUEZ4_MANAGER_H -#define NM_BLUEZ4_MANAGER_H +#ifndef __NETWORKMANAGER_BLUEZ4_MANAGER_H__ +#define __NETWORKMANAGER_BLUEZ4_MANAGER_H__ #include #include @@ -58,5 +58,5 @@ NMBluez4Manager *nm_bluez4_manager_new (NMConnectionProvider *provider); void nm_bluez4_manager_query_devices (NMBluez4Manager *manager); -#endif /* NM_BLUEZ4_MANAGER_H */ +#endif /* __NETWORKMANAGER_BLUEZ4_MANAGER_H__ */ diff --git a/src/devices/bluetooth/nm-bluez5-manager.h b/src/devices/bluetooth/nm-bluez5-manager.h index 79f347bce..8152976dc 100644 --- a/src/devices/bluetooth/nm-bluez5-manager.h +++ b/src/devices/bluetooth/nm-bluez5-manager.h @@ -19,8 +19,8 @@ * Copyright (C) 2007 - 2013 Red Hat, Inc. */ -#ifndef NM_BLUEZ5_MANAGER_H -#define NM_BLUEZ5_MANAGER_H +#ifndef __NETWORKMANAGER_BLUEZ5_MANAGER_H__ +#define __NETWORKMANAGER_BLUEZ5_MANAGER_H__ #include #include @@ -58,5 +58,5 @@ NMBluez5Manager *nm_bluez5_manager_new (NMConnectionProvider *provider); void nm_bluez5_manager_query_devices (NMBluez5Manager *manager); -#endif /* NM_BLUEZ5_MANAGER_H */ +#endif /* __NETWORKMANAGER_BLUEZ5_MANAGER_H__ */ diff --git a/src/devices/bluetooth/nm-device-bt.h b/src/devices/bluetooth/nm-device-bt.h index 83732bc09..6e6ae546c 100644 --- a/src/devices/bluetooth/nm-device-bt.h +++ b/src/devices/bluetooth/nm-device-bt.h @@ -18,8 +18,8 @@ * Copyright (C) 2009 Red Hat, Inc. */ -#ifndef NM_DEVICE_BT_H -#define NM_DEVICE_BT_H +#ifndef __NETWORKMANAGER_DEVICE_BT_H__ +#define __NETWORKMANAGER_DEVICE_BT_H__ #include #include "nm-bluez-device.h" @@ -71,4 +71,4 @@ gboolean nm_device_bt_modem_added (NMDeviceBt *device, G_END_DECLS -#endif /* NM_DEVICE_BT_H */ +#endif /* __NETWORKMANAGER_DEVICE_BT_H__ */ diff --git a/src/devices/nm-device-bond.h b/src/devices/nm-device-bond.h index f4683ad85..216589387 100644 --- a/src/devices/nm-device-bond.h +++ b/src/devices/nm-device-bond.h @@ -18,8 +18,8 @@ * Copyright 2012 Red Hat, Inc. */ -#ifndef NM_DEVICE_BOND_H -#define NM_DEVICE_BOND_H +#ifndef __NETWORKMANAGER_DEVICE_BOND_H__ +#define __NETWORKMANAGER_DEVICE_BOND_H__ #include diff --git a/src/devices/nm-device-bridge.h b/src/devices/nm-device-bridge.h index 5570c7355..d39d64e55 100644 --- a/src/devices/nm-device-bridge.h +++ b/src/devices/nm-device-bridge.h @@ -18,8 +18,8 @@ * Copyright 2012 Red Hat, Inc. */ -#ifndef NM_DEVICE_BRIDGE_H -#define NM_DEVICE_BRIDGE_H +#ifndef __NETWORKMANAGER_DEVICE_BRIDGE_H__ +#define __NETWORKMANAGER_DEVICE_BRIDGE_H__ #include diff --git a/src/devices/nm-device-ethernet.h b/src/devices/nm-device-ethernet.h index bcaf270a0..c0ad7f2e2 100644 --- a/src/devices/nm-device-ethernet.h +++ b/src/devices/nm-device-ethernet.h @@ -19,8 +19,8 @@ * Copyright (C) 2006 - 2008 Novell, Inc. */ -#ifndef NM_DEVICE_ETHERNET_H -#define NM_DEVICE_ETHERNET_H +#ifndef __NETWORKMANAGER_DEVICE_ETHERNET_H__ +#define __NETWORKMANAGER_DEVICE_ETHERNET_H__ #include diff --git a/src/devices/nm-device-factory.h b/src/devices/nm-device-factory.h index 08d9743fb..0f3871021 100644 --- a/src/devices/nm-device-factory.h +++ b/src/devices/nm-device-factory.h @@ -18,8 +18,8 @@ * Copyright (C) 2007 - 2014 Red Hat, Inc. */ -#ifndef NM_DEVICE_FACTORY_H -#define NM_DEVICE_FACTORY_H +#ifndef __NETWORKMANAGER_DEVICE_FACTORY_H__ +#define __NETWORKMANAGER_DEVICE_FACTORY_H__ #include #include @@ -153,5 +153,5 @@ NMDevice * nm_device_factory_create_virtual_device_for_connection (NMDeviceFacto gboolean nm_device_factory_emit_component_added (NMDeviceFactory *factory, GObject *component); -#endif /* NM_DEVICE_FACTORY_H */ +#endif /* __NETWORKMANAGER_DEVICE_FACTORY_H__ */ diff --git a/src/devices/nm-device-generic.h b/src/devices/nm-device-generic.h index e7b7090b1..1decc2eb6 100644 --- a/src/devices/nm-device-generic.h +++ b/src/devices/nm-device-generic.h @@ -18,8 +18,8 @@ * Copyright 2013 Red Hat, Inc. */ -#ifndef NM_DEVICE_GENERIC_H -#define NM_DEVICE_GENERIC_H +#ifndef __NETWORKMANAGER_DEVICE_GENERIC_H__ +#define __NETWORKMANAGER_DEVICE_GENERIC_H__ #include diff --git a/src/devices/nm-device-gre.h b/src/devices/nm-device-gre.h index 610b38050..b3f8b984c 100644 --- a/src/devices/nm-device-gre.h +++ b/src/devices/nm-device-gre.h @@ -18,8 +18,8 @@ * Copyright 2013 Red Hat, Inc. */ -#ifndef NM_DEVICE_GRE_H -#define NM_DEVICE_GRE_H +#ifndef __NETWORKMANAGER_DEVICE_GRE_H__ +#define __NETWORKMANAGER_DEVICE_GRE_H__ #include diff --git a/src/devices/nm-device-infiniband.h b/src/devices/nm-device-infiniband.h index 45dc1ab6a..032fbddf7 100644 --- a/src/devices/nm-device-infiniband.h +++ b/src/devices/nm-device-infiniband.h @@ -18,8 +18,8 @@ * Copyright 2011 Red Hat, Inc. */ -#ifndef NM_DEVICE_INFINIBAND_H -#define NM_DEVICE_INFINIBAND_H +#ifndef __NETWORKMANAGER_DEVICE_INFINIBAND_H__ +#define __NETWORKMANAGER_DEVICE_INFINIBAND_H__ #include diff --git a/src/devices/nm-device-logging.h b/src/devices/nm-device-logging.h index b632d0f9f..c6f4f99f1 100644 --- a/src/devices/nm-device-logging.h +++ b/src/devices/nm-device-logging.h @@ -18,8 +18,8 @@ * Copyright (C) 2014 Red Hat, Inc. */ -#ifndef NM_DEVICE_LOGGING_H -#define NM_DEVICE_LOGGING_H +#ifndef __NETWORKMANAGER_DEVICE_LOGGING_H__ +#define __NETWORKMANAGER_DEVICE_LOGGING_H__ #include "nm-logging.h" #include "nm-device.h" @@ -42,4 +42,4 @@ _nm_device_log_self_to_device (t *self) \ #define _LOGW(domain, ...) _LOG (LOGL_WARN, domain, __VA_ARGS__) #define _LOGE(domain, ...) _LOG (LOGL_ERR, domain, __VA_ARGS__) -#endif /* NM_DEVICE_LOGGING_H */ +#endif /* __NETWORKMANAGER_DEVICE_LOGGING_H__ */ diff --git a/src/devices/nm-device-macvlan.h b/src/devices/nm-device-macvlan.h index 348ed2f96..1e350ce1b 100644 --- a/src/devices/nm-device-macvlan.h +++ b/src/devices/nm-device-macvlan.h @@ -18,8 +18,8 @@ * Copyright 2013 Red Hat, Inc. */ -#ifndef NM_DEVICE_MACVLAN_H -#define NM_DEVICE_MACVLAN_H +#ifndef __NETWORKMANAGER_DEVICE_MACVLAN_H__ +#define __NETWORKMANAGER_DEVICE_MACVLAN_H__ #include diff --git a/src/devices/nm-device-private.h b/src/devices/nm-device-private.h index bed89f7c3..21776d47a 100644 --- a/src/devices/nm-device-private.h +++ b/src/devices/nm-device-private.h @@ -19,8 +19,8 @@ * Copyright (C) 2007 - 2011 Red Hat, Inc. */ -#ifndef NM_DEVICE_PRIVATE_H -#define NM_DEVICE_PRIVATE_H +#ifndef __NETWORKMANAGER_DEVICE_PRIVATE_H__ +#define __NETWORKMANAGER_DEVICE_PRIVATE_H__ #include "nm-device.h" diff --git a/src/devices/nm-device-tun.h b/src/devices/nm-device-tun.h index cfcf4d7be..0ff1db1ec 100644 --- a/src/devices/nm-device-tun.h +++ b/src/devices/nm-device-tun.h @@ -18,8 +18,8 @@ * Copyright 2013 Red Hat, Inc. */ -#ifndef NM_DEVICE_TUN_H -#define NM_DEVICE_TUN_H +#ifndef __NETWORKMANAGER_DEVICE_TUN_H__ +#define __NETWORKMANAGER_DEVICE_TUN_H__ #include diff --git a/src/devices/nm-device-veth.h b/src/devices/nm-device-veth.h index bc8fedffd..584ec8572 100644 --- a/src/devices/nm-device-veth.h +++ b/src/devices/nm-device-veth.h @@ -18,8 +18,8 @@ * Copyright 2013 Red Hat, Inc. */ -#ifndef NM_DEVICE_VETH_H -#define NM_DEVICE_VETH_H +#ifndef __NETWORKMANAGER_DEVICE_VETH_H__ +#define __NETWORKMANAGER_DEVICE_VETH_H__ #include diff --git a/src/devices/nm-device-vlan.h b/src/devices/nm-device-vlan.h index 0f2ac70d5..b1d0ed967 100644 --- a/src/devices/nm-device-vlan.h +++ b/src/devices/nm-device-vlan.h @@ -18,8 +18,8 @@ * Copyright 2012 Red Hat, Inc. */ -#ifndef NM_DEVICE_VLAN_H -#define NM_DEVICE_VLAN_H +#ifndef __NETWORKMANAGER_DEVICE_VLAN_H__ +#define __NETWORKMANAGER_DEVICE_VLAN_H__ #include diff --git a/src/devices/nm-device-vxlan.h b/src/devices/nm-device-vxlan.h index 14b158ded..0e0857106 100644 --- a/src/devices/nm-device-vxlan.h +++ b/src/devices/nm-device-vxlan.h @@ -18,8 +18,8 @@ * Copyright 2013, 2014 Red Hat, Inc. */ -#ifndef NM_DEVICE_VXLAN_H -#define NM_DEVICE_VXLAN_H +#ifndef __NETWORKMANAGER_DEVICE_VXLAN_H__ +#define __NETWORKMANAGER_DEVICE_VXLAN_H__ #include diff --git a/src/devices/nm-device.h b/src/devices/nm-device.h index 17f68efdf..e570803fa 100644 --- a/src/devices/nm-device.h +++ b/src/devices/nm-device.h @@ -19,8 +19,8 @@ * Copyright (C) 2006 - 2008 Novell, Inc. */ -#ifndef NM_DEVICE_H -#define NM_DEVICE_H +#ifndef __NETWORKMANAGER_DEVICE_H__ +#define __NETWORKMANAGER_DEVICE_H__ #include #include diff --git a/src/devices/team/nm-device-team.h b/src/devices/team/nm-device-team.h index fb2a18411..57f3aeffc 100644 --- a/src/devices/team/nm-device-team.h +++ b/src/devices/team/nm-device-team.h @@ -18,8 +18,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef NM_DEVICE_TEAM_H -#define NM_DEVICE_TEAM_H +#ifndef __NETWORKMANAGER_DEVICE_TEAM_H__ +#define __NETWORKMANAGER_DEVICE_TEAM_H__ #include diff --git a/src/devices/team/nm-team-factory.h b/src/devices/team/nm-team-factory.h index f637371d7..2f02ac572 100644 --- a/src/devices/team/nm-team-factory.h +++ b/src/devices/team/nm-team-factory.h @@ -18,8 +18,8 @@ * Copyright (C) 2014 Red Hat, Inc. */ -#ifndef NM_TEAM_FACTORY_H -#define NM_TEAM_FACTORY_H +#ifndef __NETWORKMANAGER_TEAM_FACTORY_H__ +#define __NETWORKMANAGER_TEAM_FACTORY_H__ #include @@ -34,4 +34,4 @@ typedef struct { GObjectClass parent; } NMTeamFactoryClass; -#endif /* NM_TEAM_FACTORY_H */ +#endif /* __NETWORKMANAGER_TEAM_FACTORY_H__ */ diff --git a/src/devices/wifi/nm-device-olpc-mesh.h b/src/devices/wifi/nm-device-olpc-mesh.h index c25dd8e53..c7f6f24ff 100644 --- a/src/devices/wifi/nm-device-olpc-mesh.h +++ b/src/devices/wifi/nm-device-olpc-mesh.h @@ -25,8 +25,8 @@ * (C) Copyright 2009 One Laptop per Child */ -#ifndef NM_DEVICE_OLPC_MESH_H -#define NM_DEVICE_OLPC_MESH_H +#ifndef __NETWORKMANAGER_DEVICE_OLPC_MESH_H__ +#define __NETWORKMANAGER_DEVICE_OLPC_MESH_H__ #include #include diff --git a/src/devices/wifi/nm-device-wifi.h b/src/devices/wifi/nm-device-wifi.h index 117d5e7e1..3ae00ed17 100644 --- a/src/devices/wifi/nm-device-wifi.h +++ b/src/devices/wifi/nm-device-wifi.h @@ -19,8 +19,8 @@ * Copyright (C) 2006 - 2008 Novell, Inc. */ -#ifndef NM_DEVICE_WIFI_H -#define NM_DEVICE_WIFI_H +#ifndef __NETWORKMANAGER_DEVICE_WIFI_H__ +#define __NETWORKMANAGER_DEVICE_WIFI_H__ #include #include diff --git a/src/devices/wifi/nm-wifi-ap-utils.h b/src/devices/wifi/nm-wifi-ap-utils.h index cdb8db7d9..d64d9dd53 100644 --- a/src/devices/wifi/nm-wifi-ap-utils.h +++ b/src/devices/wifi/nm-wifi-ap-utils.h @@ -18,8 +18,8 @@ * (C) Copyright 2011 Red Hat, Inc. */ -#ifndef NM_WIFI_AP_UTILS_H -#define NM_WIFI_AP_UTILS_H +#ifndef __NETWORKMANAGER_WIFI_AP_UTILS_H__ +#define __NETWORKMANAGER_WIFI_AP_UTILS_H__ #include diff --git a/src/devices/wifi/nm-wifi-ap.h b/src/devices/wifi/nm-wifi-ap.h index ac41dac2d..c9175821b 100644 --- a/src/devices/wifi/nm-wifi-ap.h +++ b/src/devices/wifi/nm-wifi-ap.h @@ -19,8 +19,8 @@ * Copyright (C) 2006 - 2008 Novell, Inc. */ -#ifndef NM_ACCESS_POINT_H -#define NM_ACCESS_POINT_H +#ifndef __NETWORKMANAGER_ACCESS_POINT_H__ +#define __NETWORKMANAGER_ACCESS_POINT_H__ #include #include @@ -118,4 +118,4 @@ NMAccessPoint * nm_ap_match_in_list (NMAccessPoint *find_ap, void nm_ap_dump (NMAccessPoint *ap, const char *prefix); -#endif /* NM_ACCESS_POINT_H */ +#endif /* __NETWORKMANAGER_ACCESS_POINT_H__ */ diff --git a/src/devices/wimax/iwmxsdk.h b/src/devices/wimax/iwmxsdk.h index 785ca8c2f..9a1b8196d 100644 --- a/src/devices/wimax/iwmxsdk.h +++ b/src/devices/wimax/iwmxsdk.h @@ -19,8 +19,8 @@ * */ -#ifndef IWMXSDK_H -#define IWMXSDK_H +#ifndef __IWMXSDK_H__ +#define __IWMXSDK_H__ #include #include @@ -108,4 +108,4 @@ int iwmx_sdk_get_networks(struct wmxsdk *wmxsdk); int iwmx_sdk_api_init(void); void iwmx_sdk_api_exit(void); -#endif /* IWMXSDK_H */ +#endif /* __IWMXSDK_H__ */ diff --git a/src/devices/wimax/nm-device-wimax.h b/src/devices/wimax/nm-device-wimax.h index 0606a1999..b70c3f88b 100644 --- a/src/devices/wimax/nm-device-wimax.h +++ b/src/devices/wimax/nm-device-wimax.h @@ -19,8 +19,8 @@ * Copyright (C) 2009 Novell, Inc. */ -#ifndef NM_DEVICE_WIMAX_H -#define NM_DEVICE_WIMAX_H +#ifndef __NETWORKMANAGER_DEVICE_WIMAX_H__ +#define __NETWORKMANAGER_DEVICE_WIMAX_H__ #include "nm-device.h" #include "nm-wimax-nsp.h" diff --git a/src/devices/wimax/nm-wimax-nsp.h b/src/devices/wimax/nm-wimax-nsp.h index a74b68a79..8d0a6a14b 100644 --- a/src/devices/wimax/nm-wimax-nsp.h +++ b/src/devices/wimax/nm-wimax-nsp.h @@ -18,8 +18,8 @@ * Copyright (C) 2009 Novell, Inc. */ -#ifndef NM_WIMAX_NSP_H -#define NM_WIMAX_NSP_H +#ifndef __NETWORKMANAGER_WIMAX_NSP_H__ +#define __NETWORKMANAGER_WIMAX_NSP_H__ #include #include "nm-wimax-types.h" diff --git a/src/devices/wimax/nm-wimax-types.h b/src/devices/wimax/nm-wimax-types.h index 8c807fd8a..207d2477a 100644 --- a/src/devices/wimax/nm-wimax-types.h +++ b/src/devices/wimax/nm-wimax-types.h @@ -18,8 +18,8 @@ * Copyright (C) 2009 Novell, Inc. */ -#ifndef NM_WIMAX_TYPES_H -#define NM_WIMAX_TYPES_H +#ifndef __NETWORKMANAGER_WIMAX_TYPES_H__ +#define __NETWORKMANAGER_WIMAX_TYPES_H__ typedef enum { NM_WIMAX_NSP_NETWORK_TYPE_UNKNOWN, diff --git a/src/devices/wimax/nm-wimax-util.h b/src/devices/wimax/nm-wimax-util.h index 71f5aa29d..d5ec0f04d 100644 --- a/src/devices/wimax/nm-wimax-util.h +++ b/src/devices/wimax/nm-wimax-util.h @@ -18,8 +18,8 @@ * Copyright (C) 2009 Novell, Inc. */ -#ifndef NM_WIMAX_UTIL_H -#define NM_WIMAX_UTIL_H +#ifndef __NETWORKMANAGER_WIMAX_UTIL_H__ +#define __NETWORKMANAGER_WIMAX_UTIL_H__ #include diff --git a/src/devices/wwan/nm-device-modem.h b/src/devices/wwan/nm-device-modem.h index ee6b2988c..996195c49 100644 --- a/src/devices/wwan/nm-device-modem.h +++ b/src/devices/wwan/nm-device-modem.h @@ -18,8 +18,8 @@ * Copyright (C) 2011 Red Hat, Inc. */ -#ifndef NM_DEVICE_MODEM_H -#define NM_DEVICE_MODEM_H +#ifndef __NETWORKMANAGER_DEVICE_MODEM_H__ +#define __NETWORKMANAGER_DEVICE_MODEM_H__ #include #include @@ -51,4 +51,4 @@ GType nm_device_modem_get_type (void); NMDevice *nm_device_modem_new (NMModem *modem); -#endif /* NM_DEVICE_MODEM_H */ +#endif /* __NETWORKMANAGER_DEVICE_MODEM_H__ */ diff --git a/src/devices/wwan/nm-modem-broadband.h b/src/devices/wwan/nm-modem-broadband.h index e12ca68ca..5fcba845f 100644 --- a/src/devices/wwan/nm-modem-broadband.h +++ b/src/devices/wwan/nm-modem-broadband.h @@ -18,8 +18,8 @@ * Copyright (C) 2012 - Aleksander Morgado */ -#ifndef NM_MODEM_BROADBAND_H -#define NM_MODEM_BROADBAND_H +#ifndef __NETWORKMANAGER_MODEM_BROADBAND_H__ +#define __NETWORKMANAGER_MODEM_BROADBAND_H__ #include #include @@ -55,4 +55,4 @@ NMModem *nm_modem_broadband_new (GObject *object, GError **error); G_END_DECLS -#endif /* NM_MODEM_BROADBAND_H */ +#endif /* __NETWORKMANAGER_MODEM_BROADBAND_H__ */ diff --git a/src/devices/wwan/nm-modem-manager.h b/src/devices/wwan/nm-modem-manager.h index 3082bdb39..9e0db41e3 100644 --- a/src/devices/wwan/nm-modem-manager.h +++ b/src/devices/wwan/nm-modem-manager.h @@ -20,8 +20,8 @@ * Copyright (C) 2009 Canonical Ltd. */ -#ifndef NM_MODEM_MANAGER_H -#define NM_MODEM_MANAGER_H +#ifndef __NETWORKMANAGER_MODEM_MANAGER_H__ +#define __NETWORKMANAGER_MODEM_MANAGER_H__ #include #include "nm-modem.h" @@ -46,4 +46,4 @@ typedef struct { GType nm_modem_manager_get_type (void); -#endif /* NM_MODEM_MANAGER_H */ +#endif /* __NETWORKMANAGER_MODEM_MANAGER_H__ */ diff --git a/src/devices/wwan/nm-modem.h b/src/devices/wwan/nm-modem.h index 776d3d7f3..81bd2283a 100644 --- a/src/devices/wwan/nm-modem.h +++ b/src/devices/wwan/nm-modem.h @@ -19,8 +19,8 @@ * Copyright (C) 2009 Novell, Inc. */ -#ifndef NM_MODEM_H -#define NM_MODEM_H +#ifndef __NETWORKMANAGER_MODEM_H__ +#define __NETWORKMANAGER_MODEM_H__ #include #include @@ -261,4 +261,4 @@ void nm_modem_emit_ip6_config_result (NMModem *self, G_END_DECLS -#endif /* NM_MODEM_H */ +#endif /* __NETWORKMANAGER_MODEM_H__ */ diff --git a/src/devices/wwan/nm-wwan-factory.h b/src/devices/wwan/nm-wwan-factory.h index b7aee01f1..c6c03f1f0 100644 --- a/src/devices/wwan/nm-wwan-factory.h +++ b/src/devices/wwan/nm-wwan-factory.h @@ -18,8 +18,8 @@ * Copyright (C) 2014 Red Hat, Inc. */ -#ifndef NM_WWAN_FACTORY_H -#define NM_WWAN_FACTORY_H +#ifndef __NETWORKMANAGER_WWAN_FACTORY_H__ +#define __NETWORKMANAGER_WWAN_FACTORY_H__ #include @@ -34,4 +34,4 @@ typedef struct { GObjectClass parent; } NMWwanFactoryClass; -#endif /* NM_WWAN_FACTORY_H */ +#endif /* __NETWORKMANAGER_WWAN_FACTORY_H__ */ diff --git a/src/dhcp-manager/nm-dhcp-client.h b/src/dhcp-manager/nm-dhcp-client.h index a36ba67b6..f458b13ff 100644 --- a/src/dhcp-manager/nm-dhcp-client.h +++ b/src/dhcp-manager/nm-dhcp-client.h @@ -16,8 +16,8 @@ * Copyright (C) 2005 - 2010 Red Hat, Inc. */ -#ifndef NM_DHCP_CLIENT_H -#define NM_DHCP_CLIENT_H +#ifndef __NETWORKMANAGER_DHCP_CLIENT_H__ +#define __NETWORKMANAGER_DHCP_CLIENT_H__ #include #include @@ -144,5 +144,5 @@ void nm_dhcp_client_set_state (NMDhcpClient *self, GObject *ip_config, /* NMIP4Config or NMIP6Config */ GHashTable *options); /* str:str hash */ -#endif /* NM_DHCP_CLIENT_H */ +#endif /* __NETWORKMANAGER_DHCP_CLIENT_H__ */ diff --git a/src/dhcp-manager/nm-dhcp-dhclient-utils.h b/src/dhcp-manager/nm-dhcp-dhclient-utils.h index e8d91b314..61da24877 100644 --- a/src/dhcp-manager/nm-dhcp-dhclient-utils.h +++ b/src/dhcp-manager/nm-dhcp-dhclient-utils.h @@ -16,8 +16,8 @@ * Copyright (C) 2010 Red Hat, Inc. */ -#ifndef NM_DHCP_DHCLIENT_UTILS_H -#define NM_DHCP_DHCLIENT_UTILS_H +#ifndef __NETWORKMANAGER_DHCP_DHCLIENT_UTILS_H__ +#define __NETWORKMANAGER_DHCP_DHCLIENT_UTILS_H__ #include #include @@ -48,5 +48,5 @@ GSList *nm_dhcp_dhclient_read_lease_ip_configs (const char *iface, gboolean ipv6, GDateTime *now); -#endif /* NM_DHCP_DHCLIENT_UTILS_H */ +#endif /* __NETWORKMANAGER_DHCP_DHCLIENT_UTILS_H__ */ diff --git a/src/dhcp-manager/nm-dhcp-dhclient.h b/src/dhcp-manager/nm-dhcp-dhclient.h index 592109c66..8192a599b 100644 --- a/src/dhcp-manager/nm-dhcp-dhclient.h +++ b/src/dhcp-manager/nm-dhcp-dhclient.h @@ -16,8 +16,8 @@ * Copyright (C) 2005 - 2010 Red Hat, Inc. */ -#ifndef NM_DHCP_DHCLIENT_H -#define NM_DHCP_DHCLIENT_H +#ifndef __NETWORKMANAGER_DHCP_DHCLIENT_H__ +#define __NETWORKMANAGER_DHCP_DHCLIENT_H__ #include #include @@ -47,5 +47,5 @@ GSList *nm_dhcp_dhclient_get_lease_ip_configs (const char *iface, const char *nm_dhcp_dhclient_get_path (const char *try_first); -#endif /* NM_DHCP_DHCLIENT_H */ +#endif /* __NETWORKMANAGER_DHCP_DHCLIENT_H__ */ diff --git a/src/dhcp-manager/nm-dhcp-dhcpcd.h b/src/dhcp-manager/nm-dhcp-dhcpcd.h index 51380eb66..6dfe0dda9 100644 --- a/src/dhcp-manager/nm-dhcp-dhcpcd.h +++ b/src/dhcp-manager/nm-dhcp-dhcpcd.h @@ -16,8 +16,8 @@ * Copyright (C) 2005 - 2010 Red Hat, Inc. */ -#ifndef NM_DHCP_DHCPCD_H -#define NM_DHCP_DHCPCD_H +#ifndef __NETWORKMANAGER_DHCP_DHCPCD_H__ +#define __NETWORKMANAGER_DHCP_DHCPCD_H__ #include #include @@ -43,5 +43,5 @@ GType nm_dhcp_dhcpcd_get_type (void); const char *nm_dhcp_dhcpcd_get_path (const char *try_first); -#endif /* NM_DHCP_DHCPCD_H */ +#endif /* __NETWORKMANAGER_DHCP_DHCPCD_H__ */ diff --git a/src/dhcp-manager/nm-dhcp-manager.h b/src/dhcp-manager/nm-dhcp-manager.h index 9c197b543..23b1fa10f 100644 --- a/src/dhcp-manager/nm-dhcp-manager.h +++ b/src/dhcp-manager/nm-dhcp-manager.h @@ -19,8 +19,8 @@ * Copyright (C) 2006 - 2008 Novell, Inc. */ -#ifndef NM_DHCP_MANAGER_H -#define NM_DHCP_MANAGER_H +#ifndef __NETWORKMANAGER_DHCP_MANAGER_H__ +#define __NETWORKMANAGER_DHCP_MANAGER_H__ #include #include @@ -93,4 +93,4 @@ GSList * nm_dhcp_manager_get_lease_ip_configs (NMDhcpManager *self, /* For testing only */ extern const char* nm_dhcp_helper_path; -#endif /* NM_DHCP_MANAGER_H */ +#endif /* __NETWORKMANAGER_DHCP_MANAGER_H__ */ diff --git a/src/dhcp-manager/nm-dhcp-utils.h b/src/dhcp-manager/nm-dhcp-utils.h index be6b28106..ab9d45fe4 100644 --- a/src/dhcp-manager/nm-dhcp-utils.h +++ b/src/dhcp-manager/nm-dhcp-utils.h @@ -16,8 +16,8 @@ * Copyright (C) 2014 Red Hat, Inc. */ -#ifndef NM_DHCP_UTILS_H -#define NM_DHCP_UTILS_H +#ifndef __NETWORKMANAGER_DHCP_UTILS_H__ +#define __NETWORKMANAGER_DHCP_UTILS_H__ #include #include @@ -35,5 +35,5 @@ NMIP6Config *nm_dhcp_utils_ip6_config_from_options (const char *iface, char * nm_dhcp_utils_duid_to_string (const GByteArray *duid); -#endif /* NM_DHCP_UTILS_H */ +#endif /* __NETWORKMANAGER_DHCP_UTILS_H__ */ diff --git a/src/dns-manager/nm-dns-dnsmasq.h b/src/dns-manager/nm-dns-dnsmasq.h index 70933c0f1..fc80f0794 100644 --- a/src/dns-manager/nm-dns-dnsmasq.h +++ b/src/dns-manager/nm-dns-dnsmasq.h @@ -16,8 +16,8 @@ * Copyright (C) 2010 Red Hat, Inc. */ -#ifndef NM_DNS_DNSMASQ_H -#define NM_DNS_DNSMASQ_H +#ifndef __NETWORKMANAGER_DNS_DNSMASQ_H__ +#define __NETWORKMANAGER_DNS_DNSMASQ_H__ #include #include @@ -43,5 +43,5 @@ GType nm_dns_dnsmasq_get_type (void); NMDnsPlugin *nm_dns_dnsmasq_new (void); -#endif /* NM_DNS_DNSMASQ_H */ +#endif /* __NETWORKMANAGER_DNS_DNSMASQ_H__ */ diff --git a/src/dns-manager/nm-dns-manager.h b/src/dns-manager/nm-dns-manager.h index b2bf2467c..238d924a8 100644 --- a/src/dns-manager/nm-dns-manager.h +++ b/src/dns-manager/nm-dns-manager.h @@ -21,8 +21,8 @@ * and others */ -#ifndef NM_DNS_MANAGER_H -#define NM_DNS_MANAGER_H +#ifndef __NETWORKMANAGER_DNS_MANAGER_H__ +#define __NETWORKMANAGER_DNS_MANAGER_H__ #include #include @@ -114,4 +114,4 @@ NMDnsManagerResolvConfMode nm_dns_manager_get_resolv_conf_mode (NMDnsManager *mg G_END_DECLS -#endif /* NM_DNS_MANAGER_H */ +#endif /* __NETWORKMANAGER_DNS_MANAGER_H__ */ diff --git a/src/dns-manager/nm-dns-plugin.h b/src/dns-manager/nm-dns-plugin.h index 41a12a58e..ee735a5ab 100644 --- a/src/dns-manager/nm-dns-plugin.h +++ b/src/dns-manager/nm-dns-plugin.h @@ -16,8 +16,8 @@ * Copyright (C) 2010 Red Hat, Inc. */ -#ifndef NM_DNS_PLUGIN_H -#define NM_DNS_PLUGIN_H +#ifndef __NETWORKMANAGER_DNS_PLUGIN_H__ +#define __NETWORKMANAGER_DNS_PLUGIN_H__ #include #include @@ -109,5 +109,5 @@ GPid nm_dns_plugin_child_spawn (NMDnsPlugin *self, gboolean nm_dns_plugin_child_kill (NMDnsPlugin *self); -#endif /* NM_DNS_PLUGIN_H */ +#endif /* __NETWORKMANAGER_DNS_PLUGIN_H__ */ diff --git a/src/dns-manager/nm-dns-unbound.h b/src/dns-manager/nm-dns-unbound.h index 2aaae7dd4..261326b2d 100644 --- a/src/dns-manager/nm-dns-unbound.h +++ b/src/dns-manager/nm-dns-unbound.h @@ -15,8 +15,8 @@ * * Copyright (C) 2014 Red Hat, Inc. */ -#ifndef NM_DNS_UNBOUND_H -#define NM_DNS_UNBOUND_H +#ifndef __NETWORKMANAGER_DNS_UNBOUND_H__ +#define __NETWORKMANAGER_DNS_UNBOUND_H__ #include @@ -41,4 +41,4 @@ GType nm_dns_unbound_get_type (void); NMDnsPlugin *nm_dns_unbound_new (void); -#endif /* NM_DNS_UNBOUND_H */ +#endif /* __NETWORKMANAGER_DNS_UNBOUND_H__ */ diff --git a/src/dns-manager/nm-dns-utils.h b/src/dns-manager/nm-dns-utils.h index daa6711cc..75c6b0608 100644 --- a/src/dns-manager/nm-dns-utils.h +++ b/src/dns-manager/nm-dns-utils.h @@ -17,8 +17,8 @@ * */ -#ifndef NM_DNS_UTILS_H -#define NM_DNS_UTILS_H +#ifndef __NETWORKMANAGER_DNS_UTILS_H__ +#define __NETWORKMANAGER_DNS_UTILS_H__ #include "nm-ip4-config.h" diff --git a/src/dnsmasq-manager/nm-dnsmasq-manager.h b/src/dnsmasq-manager/nm-dnsmasq-manager.h index e98a6adb5..c6afcd7cb 100644 --- a/src/dnsmasq-manager/nm-dnsmasq-manager.h +++ b/src/dnsmasq-manager/nm-dnsmasq-manager.h @@ -18,8 +18,8 @@ * Copyright (C) 2008 Red Hat, Inc. */ -#ifndef NM_DNSMASQ_MANAGER_H -#define NM_DNSMASQ_MANAGER_H +#ifndef __NETWORKMANAGER_DNSMASQ_MANAGER_H__ +#define __NETWORKMANAGER_DNSMASQ_MANAGER_H__ #include #include @@ -66,4 +66,4 @@ void nm_dnsmasq_manager_stop (NMDnsMasqManager *manager); GQuark nm_dnsmasq_manager_error_quark (void); -#endif /* NM_DNSMASQ_MANAGER_H */ +#endif /* __NETWORKMANAGER_DNSMASQ_MANAGER_H__ */ diff --git a/src/dnsmasq-manager/nm-dnsmasq-utils.h b/src/dnsmasq-manager/nm-dnsmasq-utils.h index 4534c6ef2..bb468c824 100644 --- a/src/dnsmasq-manager/nm-dnsmasq-utils.h +++ b/src/dnsmasq-manager/nm-dnsmasq-utils.h @@ -18,8 +18,8 @@ * Copyright (C) 2013 Red Hat, Inc. */ -#ifndef NM_DNSMASQ_UTILS_H -#define NM_DNSMASQ_UTILS_H +#ifndef __NETWORKMANAGER_DNSMASQ_UTILS_H__ +#define __NETWORKMANAGER_DNSMASQ_UTILS_H__ #include #include "nm-platform.h" @@ -29,4 +29,4 @@ gboolean nm_dnsmasq_utils_get_range (const NMPlatformIP4Address *addr, char *out_last, char **out_error_desc); -#endif /* NM_DNSMASQ_UTILS_H */ +#endif /* __NETWORKMANAGER_DNSMASQ_UTILS_H__ */ diff --git a/src/firewall-manager/nm-firewall-manager.h b/src/firewall-manager/nm-firewall-manager.h index a77984e37..cf527fd97 100644 --- a/src/firewall-manager/nm-firewall-manager.h +++ b/src/firewall-manager/nm-firewall-manager.h @@ -18,8 +18,8 @@ * Copyright (C) 2011 Red Hat, Inc. */ -#ifndef NM_FIREWALL_MANAGER_H -#define NM_FIREWALL_MANAGER_H +#ifndef __NETWORKMANAGER_FIREWALL_MANAGER_H__ +#define __NETWORKMANAGER_FIREWALL_MANAGER_H__ #include #include @@ -70,4 +70,4 @@ gpointer nm_firewall_manager_remove_from_zone (NMFirewallManager *mgr, void nm_firewall_manager_cancel_call (NMFirewallManager *mgr, gpointer fw_call); -#endif /* NM_FIREWALL_MANAGER_H */ +#endif /* __NETWORKMANAGER_FIREWALL_MANAGER_H__ */ diff --git a/src/nm-activation-request.h b/src/nm-activation-request.h index 0229d81ad..69756069a 100644 --- a/src/nm-activation-request.h +++ b/src/nm-activation-request.h @@ -18,8 +18,8 @@ * (C) Copyright 2005 - 2012 Red Hat, Inc. */ -#ifndef NM_ACTIVATION_REQUEST_H -#define NM_ACTIVATION_REQUEST_H +#ifndef __NETWORKMANAGER_ACTIVATION_REQUEST_H__ +#define __NETWORKMANAGER_ACTIVATION_REQUEST_H__ #include #include @@ -78,5 +78,5 @@ guint32 nm_act_request_get_secrets (NMActRequest *req, void nm_act_request_cancel_secrets (NMActRequest *req, guint32 call_id); -#endif /* NM_ACTIVATION_REQUEST_H */ +#endif /* __NETWORKMANAGER_ACTIVATION_REQUEST_H__ */ diff --git a/src/nm-active-connection.h b/src/nm-active-connection.h index 2609ed9dd..9a6a54711 100644 --- a/src/nm-active-connection.h +++ b/src/nm-active-connection.h @@ -18,8 +18,8 @@ * Copyright (C) 2008 - 2012 Red Hat, Inc. */ -#ifndef NM_ACTIVE_CONNECTION_H -#define NM_ACTIVE_CONNECTION_H +#ifndef __NETWORKMANAGER_ACTIVE_CONNECTION_H__ +#define __NETWORKMANAGER_ACTIVE_CONNECTION_H__ #include #include "nm-types.h" @@ -141,4 +141,4 @@ void nm_active_connection_set_assumed (NMActiveConnection *self, gboolean nm_active_connection_get_assumed (NMActiveConnection *self); -#endif /* NM_ACTIVE_CONNECTION_H */ +#endif /* __NETWORKMANAGER_ACTIVE_CONNECTION_H__ */ diff --git a/src/nm-auth-subject.h b/src/nm-auth-subject.h index 41dc3f439..4834005e2 100644 --- a/src/nm-auth-subject.h +++ b/src/nm-auth-subject.h @@ -18,8 +18,8 @@ * Copyright (C) 2013 Red Hat, Inc. */ -#ifndef NM_AUTH_SUBJECT_H -#define NM_AUTH_SUBJECT_H +#ifndef __NETWORKMANAGER_AUTH_SUBJECT_H__ +#define __NETWORKMANAGER_AUTH_SUBJECT_H__ #include #include @@ -69,4 +69,4 @@ gboolean nm_auth_subject_get_internal (NMAuthSubject *subject); PolkitSubject *nm_auth_subject_get_polkit_subject (NMAuthSubject *subject); #endif -#endif /* NM_AUTH_SUBJECT_H */ +#endif /* __NETWORKMANAGER_AUTH_SUBJECT_H__ */ diff --git a/src/nm-config.h b/src/nm-config.h index fd243f4cc..8f4fa1f7a 100644 --- a/src/nm-config.h +++ b/src/nm-config.h @@ -19,8 +19,8 @@ * Copyright (C) 2013 Thomas Bechtold */ -#ifndef NM_CONFIG_H -#define NM_CONFIG_H +#ifndef __NETWORKMANAGER_CONFIG_H__ +#define __NETWORKMANAGER_CONFIG_H__ #include #include @@ -74,5 +74,5 @@ NMConfig *nm_config_new (GError **error); G_END_DECLS -#endif /* NM_CONFIG_H */ +#endif /* __NETWORKMANAGER_CONFIG_H__ */ diff --git a/src/nm-connection-provider.h b/src/nm-connection-provider.h index 62f3295e3..8d5f7a696 100644 --- a/src/nm-connection-provider.h +++ b/src/nm-connection-provider.h @@ -13,8 +13,8 @@ * Copyright (C) 2012 Red Hat, Inc. */ -#ifndef NM_CONNECTION_PROVIDER_H -#define NM_CONNECTION_PROVIDER_H +#ifndef __NETWORKMANAGER_CONNECTION_PROVIDER_H__ +#define __NETWORKMANAGER_CONNECTION_PROVIDER_H__ #include #include @@ -133,4 +133,4 @@ NMConnection *nm_connection_provider_add_connection (NMConnectionProvider *self, NMConnection *nm_connection_provider_get_connection_by_uuid (NMConnectionProvider *self, const char *uuid); -#endif /* NM_CONNECTION_PROVIDER_H */ +#endif /* __NETWORKMANAGER_CONNECTION_PROVIDER_H__ */ diff --git a/src/nm-connectivity.h b/src/nm-connectivity.h index a471fd10c..771abdc23 100644 --- a/src/nm-connectivity.h +++ b/src/nm-connectivity.h @@ -18,8 +18,8 @@ * Copyright (C) 2011 Thomas Bechtold */ -#ifndef NM_CONNECTIVITY_H -#define NM_CONNECTIVITY_H +#ifndef __NETWORKMANAGER_CONNECTIVITY_H__ +#define __NETWORKMANAGER_CONNECTIVITY_H__ #include #include @@ -65,4 +65,4 @@ NMConnectivityState nm_connectivity_check_finish (NMConnectivity *self, GAsyncResult *result, GError **error); -#endif /* NM_CONNECTIVITY_H */ +#endif /* __NETWORKMANAGER_CONNECTIVITY_H__ */ diff --git a/src/nm-dcb.h b/src/nm-dcb.h index bfe5cedff..7c56d653a 100644 --- a/src/nm-dcb.h +++ b/src/nm-dcb.h @@ -18,8 +18,8 @@ * Copyright (C) 2013 Red Hat, Inc. */ -#ifndef NM_DCB_H -#define NM_DCB_H +#ifndef __NETWORKMANAGER_DCB_H__ +#define __NETWORKMANAGER_DCB_H__ #include #include "nm-setting-dcb.h" @@ -97,4 +97,4 @@ gboolean _fcoe_cleanup (const char *iface, gpointer user_data, GError **error); -#endif /* NM_DCB_H */ +#endif /* __NETWORKMANAGER_DCB_H__ */ diff --git a/src/nm-dhcp4-config.h b/src/nm-dhcp4-config.h index bdaa7edcf..227d44817 100644 --- a/src/nm-dhcp4-config.h +++ b/src/nm-dhcp4-config.h @@ -18,8 +18,8 @@ * Copyright (C) 2008 Red Hat, Inc. */ -#ifndef NM_DHCP4_CONFIG_H -#define NM_DHCP4_CONFIG_H +#ifndef __NETWORKMANAGER_DHCP4_CONFIG_H__ +#define __NETWORKMANAGER_DHCP4_CONFIG_H__ #include #include @@ -60,4 +60,4 @@ const char *nm_dhcp4_config_get_option (NMDhcp4Config *config, const char *optio GSList *nm_dhcp4_config_list_options (NMDhcp4Config *config); -#endif /* NM_DHCP4_CONFIG_H */ +#endif /* __NETWORKMANAGER_DHCP4_CONFIG_H__ */ diff --git a/src/nm-dhcp6-config.h b/src/nm-dhcp6-config.h index e577d3d3d..eaca61b1c 100644 --- a/src/nm-dhcp6-config.h +++ b/src/nm-dhcp6-config.h @@ -18,8 +18,8 @@ * Copyright (C) 2008 Red Hat, Inc. */ -#ifndef NM_DHCP6_CONFIG_H -#define NM_DHCP6_CONFIG_H +#ifndef __NETWORKMANAGER_DHCP6_CONFIG_H__ +#define __NETWORKMANAGER_DHCP6_CONFIG_H__ #include #include @@ -60,4 +60,4 @@ const char *nm_dhcp6_config_get_option (NMDhcp6Config *config, const char *optio GSList *nm_dhcp6_config_list_options (NMDhcp6Config *self); -#endif /* NM_DHCP6_CONFIG_H */ +#endif /* __NETWORKMANAGER_DHCP6_CONFIG_H__ */ diff --git a/src/nm-dispatcher.h b/src/nm-dispatcher.h index 4a5b1df1d..e93816b6b 100644 --- a/src/nm-dispatcher.h +++ b/src/nm-dispatcher.h @@ -19,8 +19,8 @@ * Copyright (C) 2005 - 2008 Novell, Inc. */ -#ifndef NM_DISPATCHER_H -#define NM_DISPATCHER_H +#ifndef __NETWORKMANAGER_DISPATCHER_H__ +#define __NETWORKMANAGER_DISPATCHER_H__ #include #include @@ -76,4 +76,4 @@ void nm_dispatcher_call_cancel (guint call_id); void nm_dispatcher_init (void); -#endif /* NM_DISPATCHER_H */ +#endif /* __NETWORKMANAGER_DISPATCHER_H__ */ diff --git a/src/nm-ip4-config.h b/src/nm-ip4-config.h index 8a8993fd3..6b88228bb 100644 --- a/src/nm-ip4-config.h +++ b/src/nm-ip4-config.h @@ -18,8 +18,8 @@ * Copyright (C) 2008–2013 Red Hat, Inc. */ -#ifndef NM_IP4_CONFIG_H -#define NM_IP4_CONFIG_H +#ifndef __NETWORKMANAGER_IP4_CONFIG_H__ +#define __NETWORKMANAGER_IP4_CONFIG_H__ #include @@ -146,4 +146,4 @@ gboolean nm_ip4_config_equal (const NMIP4Config *a, const NMIP4Config *b); gboolean nm_ip4_config_capture_resolv_conf (GArray *nameservers, const char *rc_contents); -#endif /* NM_IP4_CONFIG_H */ +#endif /* __NETWORKMANAGER_IP4_CONFIG_H__ */ diff --git a/src/nm-ip6-config.h b/src/nm-ip6-config.h index 143ebab02..f9c0cac02 100644 --- a/src/nm-ip6-config.h +++ b/src/nm-ip6-config.h @@ -18,8 +18,8 @@ * Copyright (C) 2008–2013 Red Hat, Inc. */ -#ifndef NM_IP6_CONFIG_H -#define NM_IP6_CONFIG_H +#ifndef __NETWORKMANAGER_IP6_CONFIG_H__ +#define __NETWORKMANAGER_IP6_CONFIG_H__ #include @@ -127,4 +127,4 @@ gboolean nm_ip6_config_equal (const NMIP6Config *a, const NMIP6Config *b); gboolean nm_ip6_config_capture_resolv_conf (GArray *nameservers, const char *rc_contents); -#endif /* NM_IP6_CONFIG_H */ +#endif /* __NETWORKMANAGER_IP6_CONFIG_H__ */ diff --git a/src/nm-logging.h b/src/nm-logging.h index fdbed088d..2158ec067 100644 --- a/src/nm-logging.h +++ b/src/nm-logging.h @@ -19,8 +19,8 @@ * Copyright (C) 2006 - 2008 Novell, Inc. */ -#ifndef NM_LOGGING_H -#define NM_LOGGING_H +#ifndef __NETWORKMANAGER_LOGGING_H__ +#define __NETWORKMANAGER_LOGGING_H__ #ifdef __NM_TEST_UTILS_H__ #error nm-test-utils.h must be included as last header @@ -154,4 +154,4 @@ gboolean nm_logging_setup (const char *level, void nm_logging_syslog_openlog (gboolean debug); void nm_logging_syslog_closelog (void); -#endif /* NM_LOGGING_H */ +#endif /* __NETWORKMANAGER_LOGGING_H__ */ diff --git a/src/nm-manager-auth.h b/src/nm-manager-auth.h index 8fb629bbc..25f3cd591 100644 --- a/src/nm-manager-auth.h +++ b/src/nm-manager-auth.h @@ -18,8 +18,8 @@ * Copyright (C) 2010 Red Hat, Inc. */ -#ifndef NM_MANAGER_AUTH_H -#define NM_MANAGER_AUTH_H +#ifndef __NETWORKMANAGER_MANAGER_AUTH_H__ +#define __NETWORKMANAGER_MANAGER_AUTH_H__ #include #include @@ -102,5 +102,5 @@ void nm_auth_changed_func_register (GDestroyNotify callback, gpointer callback_d void nm_auth_changed_func_unregister (GDestroyNotify callback, gpointer callback_data); -#endif /* NM_MANAGER_AUTH_H */ +#endif /* __NETWORKMANAGER_MANAGER_AUTH_H__ */ diff --git a/src/nm-manager.h b/src/nm-manager.h index 40c61b2f2..08780a381 100644 --- a/src/nm-manager.h +++ b/src/nm-manager.h @@ -19,8 +19,8 @@ * Copyright (C) 2007 - 2010 Red Hat, Inc. */ -#ifndef NM_MANAGER_H -#define NM_MANAGER_H +#ifndef __NETWORKMANAGER_MANAGER_H__ +#define __NETWORKMANAGER_MANAGER_H__ #include #include @@ -134,4 +134,4 @@ gboolean nm_manager_deactivate_connection (NMManager *manager, NMState nm_manager_get_state (NMManager *manager); -#endif /* NM_MANAGER_H */ +#endif /* __NETWORKMANAGER_MANAGER_H__ */ diff --git a/src/nm-policy.h b/src/nm-policy.h index 141799a87..76653529e 100644 --- a/src/nm-policy.h +++ b/src/nm-policy.h @@ -19,8 +19,8 @@ * Copyright (C) 2007 - 2008 Novell, Inc. */ -#ifndef NM_POLICY_H -#define NM_POLICY_H +#ifndef __NETWORKMANAGER_POLICY_H__ +#define __NETWORKMANAGER_POLICY_H__ #include "nm-types.h" @@ -54,4 +54,4 @@ NMDevice *nm_policy_get_default_ip6_device (NMPolicy *policy); NMDevice *nm_policy_get_activating_ip4_device (NMPolicy *policy); NMDevice *nm_policy_get_activating_ip6_device (NMPolicy *policy); -#endif /* NM_POLICY_H */ +#endif /* __NETWORKMANAGER_POLICY_H__ */ diff --git a/src/nm-posix-signals.h b/src/nm-posix-signals.h index 81be5e1c4..e2af559ba 100644 --- a/src/nm-posix-signals.h +++ b/src/nm-posix-signals.h @@ -18,8 +18,8 @@ * Copyright (C) 2012 Red Hat, Inc. */ -#ifndef NM_POSIX_SIGNALS_H -#define NM_POSIX_SIGNALS_H +#ifndef __NETWORKMANAGER_POSIX_SIGNALS_H__ +#define __NETWORKMANAGER_POSIX_SIGNALS_H__ #include #include @@ -33,4 +33,4 @@ void nm_unblock_posix_signals (gpointer user_data); void nm_save_original_signal_mask (sigset_t sig_mask); const sigset_t *nm_get_original_signal_mask (void); -#endif /* NM_POSIX_SIGNALS_H */ +#endif /* __NETWORKMANAGER_POSIX_SIGNALS_H__ */ diff --git a/src/nm-rfkill-manager.h b/src/nm-rfkill-manager.h index a50742185..220f3c2c6 100644 --- a/src/nm-rfkill-manager.h +++ b/src/nm-rfkill-manager.h @@ -23,8 +23,8 @@ #include "nm-types.h" -#ifndef NM_RFKILL_MANAGER_H -#define NM_RFKILL_MANAGER_H +#ifndef __NETWORKMANAGER_RFKILL_MANAGER_H__ +#define __NETWORKMANAGER_RFKILL_MANAGER_H__ typedef enum { RFKILL_UNBLOCKED = 0, diff --git a/src/nm-session-monitor.h b/src/nm-session-monitor.h index ed168248e..3efe6eca6 100644 --- a/src/nm-session-monitor.h +++ b/src/nm-session-monitor.h @@ -18,8 +18,8 @@ * Author: Dan Williams */ -#ifndef NM_SESSION_MONITOR_H -#define NM_SESSION_MONITOR_H +#ifndef __NETWORKMANAGER_SESSION_MONITOR_H__ +#define __NETWORKMANAGER_SESSION_MONITOR_H__ #include @@ -61,5 +61,5 @@ gboolean nm_session_monitor_uid_active (NMSessionMonitor *monitor G_END_DECLS -#endif /* NM_SESSION_MONITOR_H */ +#endif /* __NETWORKMANAGER_SESSION_MONITOR_H__ */ diff --git a/src/nm-session-utils.h b/src/nm-session-utils.h index 54b6d4c43..1608c222d 100644 --- a/src/nm-session-utils.h +++ b/src/nm-session-utils.h @@ -17,8 +17,8 @@ * Author: Dan Williams */ -#ifndef NM_SESSION_UTILS_H -#define NM_SESSION_UTILS_H +#ifndef __NETWORKMANAGER_SESSION_UTILS_H__ +#define __NETWORKMANAGER_SESSION_UTILS_H__ #include #include diff --git a/src/nm-sleep-monitor.h b/src/nm-sleep-monitor.h index 00eeaa03a..84623771a 100644 --- a/src/nm-sleep-monitor.h +++ b/src/nm-sleep-monitor.h @@ -17,8 +17,8 @@ * Author: Matthias Clasen */ -#ifndef NM_SLEEP_MONITOR_H -#define NM_SLEEP_MONITOR_H +#ifndef __NETWORKMANAGER_SLEEP_MONITOR_H__ +#define __NETWORKMANAGER_SLEEP_MONITOR_H__ #include @@ -43,5 +43,5 @@ NMSleepMonitor *nm_sleep_monitor_get (void); G_END_DECLS -#endif /* NM_SLEEP_MONITOR_H */ +#endif /* __NETWORKMANAGER_SLEEP_MONITOR_H__ */ diff --git a/src/nm-types.h b/src/nm-types.h index e902e3017..2acc25c0b 100644 --- a/src/nm-types.h +++ b/src/nm-types.h @@ -18,8 +18,8 @@ * Copyright (C) 2012 Red Hat, Inc. */ -#ifndef NM_TYPES_H -#define NM_TYPES_H +#ifndef __NETWORKMANAGER_TYPES_H__ +#define __NETWORKMANAGER_TYPES_H__ /* core */ typedef struct _NMActiveConnection NMActiveConnection; diff --git a/src/platform/nm-fake-platform.h b/src/platform/nm-fake-platform.h index c9fa42eb6..53a2ff1a6 100644 --- a/src/platform/nm-fake-platform.h +++ b/src/platform/nm-fake-platform.h @@ -18,8 +18,8 @@ * Copyright (C) 2012 Red Hat, Inc. */ -#ifndef NM_FAKE_PLATFORM_H -#define NM_FAKE_PLATFORM_H +#ifndef __NETWORKMANAGER_FAKE_PLATFORM_H__ +#define __NETWORKMANAGER_FAKE_PLATFORM_H__ #include "nm-platform.h" @@ -46,4 +46,4 @@ GType nm_fake_platform_get_type (void); void nm_fake_platform_setup (void); -#endif /* NM_FAKE_PLATFORM_H */ +#endif /* __NETWORKMANAGER_FAKE_PLATFORM_H__ */ diff --git a/src/platform/nm-linux-platform.h b/src/platform/nm-linux-platform.h index 53ea75e69..6f2c19939 100644 --- a/src/platform/nm-linux-platform.h +++ b/src/platform/nm-linux-platform.h @@ -18,8 +18,8 @@ * Copyright (C) 2012 Red Hat, Inc. */ -#ifndef NM_LINUX_PLATFORM_H -#define NM_LINUX_PLATFORM_H +#ifndef __NETWORKMANAGER_LINUX_PLATFORM_H__ +#define __NETWORKMANAGER_LINUX_PLATFORM_H__ #include "nm-platform.h" @@ -46,4 +46,4 @@ GType nm_linux_platform_get_type (void); void nm_linux_platform_setup (void); -#endif /* NM_LINUX_PLATFORM_H */ +#endif /* __NETWORKMANAGER_LINUX_PLATFORM_H__ */ diff --git a/src/platform/nm-platform.h b/src/platform/nm-platform.h index 8ad32d499..8bcc30ec8 100644 --- a/src/platform/nm-platform.h +++ b/src/platform/nm-platform.h @@ -18,8 +18,8 @@ * Copyright (C) 2009 - 2010 Red Hat, Inc. */ -#ifndef NM_PLATFORM_H -#define NM_PLATFORM_H +#ifndef __NETWORKMANAGER_PLATFORM_H__ +#define __NETWORKMANAGER_PLATFORM_H__ #include #include "nm-glib-compat.h" @@ -628,4 +628,4 @@ void nm_platform_addr_flags2str (int flags, char *buf, size_t size); int nm_platform_ip_address_cmp_expiry (const NMPlatformIPAddress *a, const NMPlatformIPAddress *b); -#endif /* NM_PLATFORM_H */ +#endif /* __NETWORKMANAGER_PLATFORM_H__ */ diff --git a/src/platform/wifi/wifi-utils-nl80211.h b/src/platform/wifi/wifi-utils-nl80211.h index 2a7fe874a..f34e960de 100644 --- a/src/platform/wifi/wifi-utils-nl80211.h +++ b/src/platform/wifi/wifi-utils-nl80211.h @@ -18,8 +18,8 @@ * Copyright (C) 2011 Intel Corporation. All rights reserved. */ -#ifndef WIFI_UTILS_NL80211_H -#define WIFI_UTILS_NL80211_H +#ifndef __WIFI_UTILS_NL80211_H__ +#define __WIFI_UTILS_NL80211_H__ #include "wifi-utils.h" @@ -27,4 +27,4 @@ WifiData *wifi_nl80211_init (const char *iface, int ifindex); gboolean wifi_nl80211_is_wifi (const char *iface); -#endif /* WIFI_UTILS_NL80211_H */ +#endif /* __WIFI_UTILS_NL80211_H__ */ diff --git a/src/platform/wifi/wifi-utils-private.h b/src/platform/wifi/wifi-utils-private.h index 47c2386d2..91417fe7e 100644 --- a/src/platform/wifi/wifi-utils-private.h +++ b/src/platform/wifi/wifi-utils-private.h @@ -18,8 +18,8 @@ * Copyright (C) 2011 Red Hat, Inc. */ -#ifndef WIFI_UTILS_PRIVATE_H -#define WIFI_UTILS_PRIVATE_H +#ifndef __WIFI_UTILS_PRIVATE_H__ +#define __WIFI_UTILS_PRIVATE_H__ #include @@ -74,4 +74,4 @@ struct WifiData { gpointer wifi_data_new (const char *iface, int ifindex, gsize len); void wifi_data_free (WifiData *data); -#endif /* WIFI_UTILS_PRIVATE_H */ +#endif /* __WIFI_UTILS_PRIVATE_H__ */ diff --git a/src/platform/wifi/wifi-utils-wext.h b/src/platform/wifi/wifi-utils-wext.h index 96ad74eb4..e168fe28a 100644 --- a/src/platform/wifi/wifi-utils-wext.h +++ b/src/platform/wifi/wifi-utils-wext.h @@ -18,8 +18,8 @@ * Copyright (C) 2011 Red Hat, Inc. */ -#ifndef WIFI_UTILS_WEXT_H -#define WIFI_UTILS_WEXT_H +#ifndef __WIFI_UTILS_WEXT_H__ +#define __WIFI_UTILS_WEXT_H__ #include "wifi-utils.h" @@ -27,4 +27,4 @@ WifiData *wifi_wext_init (const char *iface, int ifindex, gboolean check_scan); gboolean wifi_wext_is_wifi (const char *iface); -#endif /* WIFI_UTILS_WEXT_H */ +#endif /* __WIFI_UTILS_WEXT_H__ */ diff --git a/src/platform/wifi/wifi-utils.h b/src/platform/wifi/wifi-utils.h index e6fa39fca..a08ed8a2b 100644 --- a/src/platform/wifi/wifi-utils.h +++ b/src/platform/wifi/wifi-utils.h @@ -19,8 +19,8 @@ * Copyright (C) 2006 - 2008 Novell, Inc. */ -#ifndef WIFI_UTILS_H -#define WIFI_UTILS_H +#ifndef __WIFI_UTILS_H__ +#define __WIFI_UTILS_H__ #include #include @@ -73,4 +73,4 @@ gboolean wifi_utils_set_mesh_channel (WifiData *data, guint32 channel); gboolean wifi_utils_set_mesh_ssid (WifiData *data, const GByteArray *ssid); -#endif /* WIFI_UTILS_H */ +#endif /* __WIFI_UTILS_H__ */ diff --git a/src/ppp-manager/nm-ppp-manager.h b/src/ppp-manager/nm-ppp-manager.h index 7b0125b41..e074534e4 100644 --- a/src/ppp-manager/nm-ppp-manager.h +++ b/src/ppp-manager/nm-ppp-manager.h @@ -19,8 +19,8 @@ * Copyright (C) 2008 - 2010 Red Hat, Inc. */ -#ifndef NM_PPP_MANAGER_H -#define NM_PPP_MANAGER_H +#ifndef __NETWORKMANAGER_PPP_MANAGER_H__ +#define __NETWORKMANAGER_PPP_MANAGER_H__ #include #include @@ -75,4 +75,4 @@ gboolean nm_ppp_manager_start (NMPPPManager *manager, GQuark nm_ppp_manager_error_quark (void); -#endif /* NM_PPP_MANAGER_H */ +#endif /* __NETWORKMANAGER_PPP_MANAGER_H__ */ diff --git a/src/ppp-manager/nm-ppp-status.h b/src/ppp-manager/nm-ppp-status.h index cfc7c393b..391b5aa98 100644 --- a/src/ppp-manager/nm-ppp-status.h +++ b/src/ppp-manager/nm-ppp-status.h @@ -19,8 +19,8 @@ * Copyright (C) 2008 Red Hat, Inc. */ -#ifndef NM_PPP_STATUS_H -#define NM_PPP_STATUS_H +#ifndef __NETWORKMANAGER_PPP_STATUS_H__ +#define __NETWORKMANAGER_PPP_STATUS_H__ typedef enum { NM_PPP_STATUS_UNKNOWN, @@ -40,4 +40,4 @@ typedef enum { NM_PPP_STATUS_MASTER } NMPPPStatus; -#endif /* NM_PPP_STATUS_H */ +#endif /* __NETWORKMANAGER_PPP_STATUS_H__ */ diff --git a/src/rdisc/nm-fake-rdisc.h b/src/rdisc/nm-fake-rdisc.h index 248283b22..b4eff7ecf 100644 --- a/src/rdisc/nm-fake-rdisc.h +++ b/src/rdisc/nm-fake-rdisc.h @@ -18,8 +18,8 @@ * Copyright (C) 2013 Red Hat, Inc. */ -#ifndef NM_FAKE_RDISC_H -#define NM_FAKE_RDISC_H +#ifndef __NETWORKMANAGER_FAKE_RDISC_H__ +#define __NETWORKMANAGER_FAKE_RDISC_H__ #include "nm-rdisc.h" @@ -46,4 +46,4 @@ GType nm_fake_rdisc_get_type (void); NMRDisc *nm_fake_rdisc_new (int ifindex, const char *ifname); -#endif /* NM_FAKE_RDISC_H */ +#endif /* __NETWORKMANAGER_FAKE_RDISC_H__ */ diff --git a/src/rdisc/nm-lndp-rdisc.h b/src/rdisc/nm-lndp-rdisc.h index eb6a1df6d..407e1f925 100644 --- a/src/rdisc/nm-lndp-rdisc.h +++ b/src/rdisc/nm-lndp-rdisc.h @@ -18,8 +18,8 @@ * Copyright (C) 2013 Red Hat, Inc. */ -#ifndef NM_LNDP_RDISC_H -#define NM_LNDP_RDISC_H +#ifndef __NETWORKMANAGER_LNDP_RDISC_H__ +#define __NETWORKMANAGER_LNDP_RDISC_H__ #include "nm-rdisc.h" @@ -46,4 +46,4 @@ GType nm_lndp_rdisc_get_type (void); NMRDisc *nm_lndp_rdisc_new (int ifindex, const char *ifname); -#endif /* NM_LNDP_RDISC_H */ +#endif /* __NETWORKMANAGER_LNDP_RDISC_H__ */ diff --git a/src/rdisc/nm-rdisc.h b/src/rdisc/nm-rdisc.h index 642e7c967..35db3c917 100644 --- a/src/rdisc/nm-rdisc.h +++ b/src/rdisc/nm-rdisc.h @@ -18,8 +18,8 @@ * Copyright (C) 2013 Red Hat, Inc. */ -#ifndef NM_RDISC_H -#define NM_RDISC_H +#ifndef __NETWORKMANAGER_RDISC_H__ +#define __NETWORKMANAGER_RDISC_H__ #include @@ -138,4 +138,4 @@ GType nm_rdisc_get_type (void); void nm_rdisc_set_iid (NMRDisc *rdisc, const NMUtilsIPv6IfaceId iid); void nm_rdisc_start (NMRDisc *rdisc); -#endif /* NM_RDISC_H */ +#endif /* __NETWORKMANAGER_RDISC_H__ */ diff --git a/src/settings/nm-agent-manager.h b/src/settings/nm-agent-manager.h index 564a99a13..1aac2d2ae 100644 --- a/src/settings/nm-agent-manager.h +++ b/src/settings/nm-agent-manager.h @@ -18,8 +18,8 @@ * Copyright (C) 2010 - 2011 Red Hat, Inc. */ -#ifndef NM_AGENT_MANAGER_H -#define NM_AGENT_MANAGER_H +#ifndef __NETWORKMANAGER_AGENT_MANAGER_H__ +#define __NETWORKMANAGER_AGENT_MANAGER_H__ #include #include @@ -103,4 +103,4 @@ gboolean nm_agent_manager_all_agents_have_capability (NMAgentManager *manager, NMAuthSubject *subject, NMSecretAgentCapabilities capability); -#endif /* NM_AGENT_MANAGER_H */ +#endif /* __NETWORKMANAGER_AGENT_MANAGER_H__ */ diff --git a/src/settings/nm-secret-agent.h b/src/settings/nm-secret-agent.h index 315209cdf..285a447e2 100644 --- a/src/settings/nm-secret-agent.h +++ b/src/settings/nm-secret-agent.h @@ -18,8 +18,8 @@ * Copyright (C) 2010 - 2011 Red Hat, Inc. */ -#ifndef NM_SECRET_AGENT_H -#define NM_SECRET_AGENT_H +#ifndef __NETWORKMANAGER_SECRET_AGENT_H__ +#define __NETWORKMANAGER_SECRET_AGENT_H__ #include #include @@ -103,4 +103,4 @@ gconstpointer nm_secret_agent_delete_secrets (NMSecretAgent *agent, NMSecretAgentCallback callback, gpointer callback_data); -#endif /* NM_SECRET_AGENT_H */ +#endif /* __NETWORKMANAGER_SECRET_AGENT_H__ */ diff --git a/src/settings/nm-settings-connection.h b/src/settings/nm-settings-connection.h index ae88c1ac4..cacb8b968 100644 --- a/src/settings/nm-settings-connection.h +++ b/src/settings/nm-settings-connection.h @@ -19,8 +19,8 @@ * (C) Copyright 2008 - 2013 Red Hat, Inc. */ -#ifndef NM_SETTINGS_CONNECTION_H -#define NM_SETTINGS_CONNECTION_H +#ifndef __NETWORKMANAGER_SETTINGS_CONNECTION_H__ +#define __NETWORKMANAGER_SETTINGS_CONNECTION_H__ #include @@ -166,4 +166,4 @@ gboolean nm_settings_connection_get_nm_generated (NMSettingsConnection *connecti G_END_DECLS -#endif /* NM_SETTINGS_CONNECTION_H */ +#endif /* __NETWORKMANAGER_SETTINGS_CONNECTION_H__ */ diff --git a/src/settings/nm-settings-error.h b/src/settings/nm-settings-error.h index a2b4cd466..a63968a4b 100644 --- a/src/settings/nm-settings-error.h +++ b/src/settings/nm-settings-error.h @@ -19,8 +19,8 @@ * Copyright (C) 2008 - 2011 Red Hat, Inc. */ -#ifndef NM_SETTINGS_ERROR_H -#define NM_SETTINGS_ERROR_H +#ifndef __NETWORKMANAGER_SETTINGS_ERROR_H__ +#define __NETWORKMANAGER_SETTINGS_ERROR_H__ #include #include @@ -50,4 +50,4 @@ GQuark nm_settings_error_quark (void); #define NM_TYPE_SETTINGS_ERROR (nm_settings_error_get_type ()) GType nm_settings_error_get_type (void); -#endif /* NM_SETTINGS_ERROR_H */ +#endif /* __NETWORKMANAGER_SETTINGS_ERROR_H__ */ diff --git a/src/settings/nm-settings-utils.h b/src/settings/nm-settings-utils.h index f669d2b10..4ab8d44ee 100644 --- a/src/settings/nm-settings-utils.h +++ b/src/settings/nm-settings-utils.h @@ -16,8 +16,8 @@ * (C) Copyright 2011 Red Hat, Inc. */ -#ifndef NM_SETTINGS_UTILS_H -#define NM_SETTINGS_UTILS_H +#ifndef __NETWORKMANAGER_SETTINGS_UTILS_H__ +#define __NETWORKMANAGER_SETTINGS_UTILS_H__ #include diff --git a/src/settings/nm-system-config-interface.h b/src/settings/nm-system-config-interface.h index d1c83ec33..144aadbf7 100644 --- a/src/settings/nm-system-config-interface.h +++ b/src/settings/nm-system-config-interface.h @@ -19,8 +19,8 @@ * Copyright (C) 2008 Novell, Inc. */ -#ifndef NM_SYSTEM_CONFIG_INTERFACE_H -#define NM_SYSTEM_CONFIG_INTERFACE_H +#ifndef __NETWORKMANAGER_SYSTEM_CONFIG_INTERFACE_H__ +#define __NETWORKMANAGER_SYSTEM_CONFIG_INTERFACE_H__ #include #include diff --git a/src/settings/plugins/example/nm-example-connection.h b/src/settings/plugins/example/nm-example-connection.h index 6d57a1ad2..ddbd7ac2d 100644 --- a/src/settings/plugins/example/nm-example-connection.h +++ b/src/settings/plugins/example/nm-example-connection.h @@ -18,8 +18,8 @@ * Copyright (C) 2012 Red Hat, Inc. */ -#ifndef NM_EXAMPLE_CONNECTION_H -#define NM_EXAMPLE_CONNECTION_H +#ifndef __NETWORKMANAGER_EXAMPLE_CONNECTION_H__ +#define __NETWORKMANAGER_EXAMPLE_CONNECTION_H__ #include @@ -52,4 +52,4 @@ const char *nm_example_connection_get_path (NMExampleConnection *self); G_END_DECLS -#endif /* NM_EXAMPLE_CONNECTION_H */ +#endif /* __NETWORKMANAGER_EXAMPLE_CONNECTION_H__ */ diff --git a/src/settings/plugins/ifcfg-rh/nm-ifcfg-connection.h b/src/settings/plugins/ifcfg-rh/nm-ifcfg-connection.h index cc76d9543..37eacaf0d 100644 --- a/src/settings/plugins/ifcfg-rh/nm-ifcfg-connection.h +++ b/src/settings/plugins/ifcfg-rh/nm-ifcfg-connection.h @@ -18,8 +18,8 @@ * Copyright (C) 2008 - 2011 Red Hat, Inc. */ -#ifndef NM_IFCFG_CONNECTION_H -#define NM_IFCFG_CONNECTION_H +#ifndef __NETWORKMANAGER_IFCFG_CONNECTION_H__ +#define __NETWORKMANAGER_IFCFG_CONNECTION_H__ G_BEGIN_DECLS @@ -65,4 +65,4 @@ gboolean nm_ifcfg_connection_update (NMIfcfgConnection *self, G_END_DECLS -#endif /* NM_IFCFG_CONNECTION_H */ +#endif /* __NETWORKMANAGER_IFCFG_CONNECTION_H__ */ diff --git a/src/settings/plugins/ifnet/nm-ifnet-connection.h b/src/settings/plugins/ifnet/nm-ifnet-connection.h index 1cb67c341..baa4c07ed 100644 --- a/src/settings/plugins/ifnet/nm-ifnet-connection.h +++ b/src/settings/plugins/ifnet/nm-ifnet-connection.h @@ -19,8 +19,8 @@ * Copyright (C) 1999-2010 Gentoo Foundation, Inc. */ -#ifndef NM_IFNET_CONNECTION_H -#define NM_IFNET_CONNECTION_H +#ifndef __NETWORKMANAGER_IFNET_CONNECTION_H__ +#define __NETWORKMANAGER_IFNET_CONNECTION_H__ #include #include "net_parser.h" diff --git a/src/settings/plugins/ifupdown/nm-ifupdown-connection.h b/src/settings/plugins/ifupdown/nm-ifupdown-connection.h index 447af78a9..be2ebc0a3 100644 --- a/src/settings/plugins/ifupdown/nm-ifupdown-connection.h +++ b/src/settings/plugins/ifupdown/nm-ifupdown-connection.h @@ -21,8 +21,8 @@ * (C) Copyright 2008 Canonical Ltd. */ -#ifndef NM_IFUPDOWN_CONNECTION_H -#define NM_IFUPDOWN_CONNECTION_H +#ifndef __NETWORKMANAGER_IFUPDOWN_CONNECTION_H__ +#define __NETWORKMANAGER_IFUPDOWN_CONNECTION_H__ #include #include "interface_parser.h" @@ -52,4 +52,4 @@ NMIfupdownConnection *nm_ifupdown_connection_new (if_block *block); G_END_DECLS -#endif /* NM_IFUPDOWN_CONNECTION_H */ +#endif /* __NETWORKMANAGER_IFUPDOWN_CONNECTION_H__ */ diff --git a/src/settings/plugins/keyfile/nm-keyfile-connection.h b/src/settings/plugins/keyfile/nm-keyfile-connection.h index 07dcafcb2..135bb49f7 100644 --- a/src/settings/plugins/keyfile/nm-keyfile-connection.h +++ b/src/settings/plugins/keyfile/nm-keyfile-connection.h @@ -19,8 +19,8 @@ * Copyright (C) 2008 - 2012 Red Hat, Inc. */ -#ifndef NM_KEYFILE_CONNECTION_H -#define NM_KEYFILE_CONNECTION_H +#ifndef __NETWORKMANAGER_KEYFILE_CONNECTION_H__ +#define __NETWORKMANAGER_KEYFILE_CONNECTION_H__ #include @@ -52,4 +52,4 @@ void nm_keyfile_connection_set_path (NMKeyfileConnection *self, const cha G_END_DECLS -#endif /* NM_KEYFILE_CONNECTION_H */ +#endif /* __NETWORKMANAGER_KEYFILE_CONNECTION_H__ */ diff --git a/src/supplicant-manager/nm-call-store.h b/src/supplicant-manager/nm-call-store.h index b24c97a46..bcee54cfb 100644 --- a/src/supplicant-manager/nm-call-store.h +++ b/src/supplicant-manager/nm-call-store.h @@ -18,8 +18,8 @@ * (C) Copyright 2007 Novell, Inc. */ -#ifndef NM_CALLBACK_STORE_H -#define NM_CALLBACK_STORE_H +#ifndef __NETWORKMANAGER_CALLBACK_STORE_H__ +#define __NETWORKMANAGER_CALLBACK_STORE_H__ #include #include @@ -38,4 +38,4 @@ void nm_call_store_remove (NMCallStore *store, void nm_call_store_clear (NMCallStore *store); void nm_call_store_destroy (NMCallStore *store); -#endif /* NM_CALLBACK_STORE_H */ +#endif /* __NETWORKMANAGER_CALLBACK_STORE_H__ */ diff --git a/src/supplicant-manager/nm-supplicant-config.h b/src/supplicant-manager/nm-supplicant-config.h index 75d6b779f..482e3545b 100644 --- a/src/supplicant-manager/nm-supplicant-config.h +++ b/src/supplicant-manager/nm-supplicant-config.h @@ -19,8 +19,8 @@ * Copyright (C) 2007 - 2008 Novell, Inc. */ -#ifndef NM_SUPPLICANT_CONFIG_H -#define NM_SUPPLICANT_CONFIG_H +#ifndef __NETWORKMANAGER_SUPPLICANT_CONFIG_H__ +#define __NETWORKMANAGER_SUPPLICANT_CONFIG_H__ #include #include diff --git a/src/supplicant-manager/nm-supplicant-interface.h b/src/supplicant-manager/nm-supplicant-interface.h index 633c16cc5..47ccc7949 100644 --- a/src/supplicant-manager/nm-supplicant-interface.h +++ b/src/supplicant-manager/nm-supplicant-interface.h @@ -19,8 +19,8 @@ * Copyright (C) 2007 - 2008 Novell, Inc. */ -#ifndef NM_SUPPLICANT_INTERFACE_H -#define NM_SUPPLICANT_INTERFACE_H +#ifndef __NETWORKMANAGER_SUPPLICANT_INTERFACE_H__ +#define __NETWORKMANAGER_SUPPLICANT_INTERFACE_H__ #include #include diff --git a/src/supplicant-manager/nm-supplicant-manager.h b/src/supplicant-manager/nm-supplicant-manager.h index 9e2f3b21b..5e7f1eb59 100644 --- a/src/supplicant-manager/nm-supplicant-manager.h +++ b/src/supplicant-manager/nm-supplicant-manager.h @@ -19,8 +19,8 @@ * Copyright (C) 2007 - 2008 Novell, Inc. */ -#ifndef NM_SUPPLICANT_MANAGER_H -#define NM_SUPPLICANT_MANAGER_H +#ifndef __NETWORKMANAGER_SUPPLICANT_MANAGER_H__ +#define __NETWORKMANAGER_SUPPLICANT_MANAGER_H__ #include #include "nm-supplicant-types.h" @@ -65,4 +65,4 @@ void nm_supplicant_manager_iface_release (NMSupplicantManager *mgr, gboolean nm_supplicant_manager_available (NMSupplicantManager *mgr); -#endif /* NM_SUPPLICANT_MANAGER_H */ +#endif /* __NETWORKMANAGER_SUPPLICANT_MANAGER_H__ */ diff --git a/src/supplicant-manager/nm-supplicant-settings-verify.h b/src/supplicant-manager/nm-supplicant-settings-verify.h index eb213e0e8..920343bac 100644 --- a/src/supplicant-manager/nm-supplicant-settings-verify.h +++ b/src/supplicant-manager/nm-supplicant-settings-verify.h @@ -18,8 +18,8 @@ * Copyright (C) 2006 - 2008 Red Hat, Inc. */ -#ifndef NM_SUPPLICANT_SETTINGS_VERIFY_H -#define NM_SUPPLICANT_SETTINGS_VERIFY_H +#ifndef __NETWORKMANAGER_SUPPLICANT_SETTINGS_VERIFY_H__ +#define __NETWORKMANAGER_SUPPLICANT_SETTINGS_VERIFY_H__ typedef enum { TYPE_INVALID = 0, @@ -35,4 +35,4 @@ OptType nm_supplicant_settings_verify_setting (const char * key, const guint32 len); -#endif /* NM_SUPPLICANT_SETTINGS_VERIFY_H */ +#endif /* __NETWORKMANAGER_SUPPLICANT_SETTINGS_VERIFY_H__ */ diff --git a/src/supplicant-manager/nm-supplicant-types.h b/src/supplicant-manager/nm-supplicant-types.h index 16e4a6ba4..619f0c3e9 100644 --- a/src/supplicant-manager/nm-supplicant-types.h +++ b/src/supplicant-manager/nm-supplicant-types.h @@ -18,8 +18,8 @@ * Copyright (C) 2006 - 2008 Red Hat, Inc. */ -#ifndef NM_SUPPLICANT_TYPES_H -#define NM_SUPPLICANT_TYPES_H +#ifndef __NETWORKMANAGER_SUPPLICANT_TYPES_H__ +#define __NETWORKMANAGER_SUPPLICANT_TYPES_H__ typedef struct _NMSupplicantManager NMSupplicantManager; typedef struct _NMSupplicantInterface NMSupplicantInterface; diff --git a/src/tests/config/nm-test-device.h b/src/tests/config/nm-test-device.h index 5c4f28b51..00b21c426 100644 --- a/src/tests/config/nm-test-device.h +++ b/src/tests/config/nm-test-device.h @@ -18,8 +18,8 @@ * Copyright 2013 Red Hat, Inc. */ -#ifndef NM_TEST_DEVICE_H -#define NM_TEST_DEVICE_H +#ifndef __NETWORKMANAGER_TEST_DEVICE_H__ +#define __NETWORKMANAGER_TEST_DEVICE_H__ #include diff --git a/src/vpn-manager/nm-vpn-connection.h b/src/vpn-manager/nm-vpn-connection.h index 209e2747d..156f79f77 100644 --- a/src/vpn-manager/nm-vpn-connection.h +++ b/src/vpn-manager/nm-vpn-connection.h @@ -19,8 +19,8 @@ * Copyright (C) 2006 - 2008 Novell, Inc. */ -#ifndef NM_VPN_CONNECTION_H -#define NM_VPN_CONNECTION_H +#ifndef __NETWORKMANAGER_VPN_CONNECTION_H__ +#define __NETWORKMANAGER_VPN_CONNECTION_H__ #include #include @@ -90,4 +90,4 @@ int nm_vpn_connection_get_ip_ifindex (NMVpnConnection *connect guint32 nm_vpn_connection_get_ip4_internal_gateway (NMVpnConnection *connection); struct in6_addr * nm_vpn_connection_get_ip6_internal_gateway (NMVpnConnection *connection); -#endif /* NM_VPN_CONNECTION_H */ +#endif /* __NETWORKMANAGER_VPN_CONNECTION_H__ */ diff --git a/src/vpn-manager/nm-vpn-manager.h b/src/vpn-manager/nm-vpn-manager.h index 5cc4b30a1..bb272be9a 100644 --- a/src/vpn-manager/nm-vpn-manager.h +++ b/src/vpn-manager/nm-vpn-manager.h @@ -19,8 +19,8 @@ * Copyright (C) 2006 - 2008 Novell, Inc. */ -#ifndef NM_VPN_MANAGER_H -#define NM_VPN_MANAGER_H +#ifndef __NETWORKMANAGER_VPN_MANAGER_H__ +#define __NETWORKMANAGER_VPN_MANAGER_H__ #include #include @@ -67,4 +67,4 @@ gboolean nm_vpn_manager_deactivate_connection (NMVpnManager *manager, NMVpnConnection *connection, NMVpnConnectionStateReason reason); -#endif /* NM_VPN_MANAGER_H */ +#endif /* __NETWORKMANAGER_VPN_MANAGER_H__ */ diff --git a/src/vpn-manager/nm-vpn-service.h b/src/vpn-manager/nm-vpn-service.h index 84d7dc8c5..cafa6904a 100644 --- a/src/vpn-manager/nm-vpn-service.h +++ b/src/vpn-manager/nm-vpn-service.h @@ -19,8 +19,8 @@ * Copyright (C) 2005 - 2008 Novell, Inc. */ -#ifndef NM_VPN_SERVICE_H -#define NM_VPN_SERVICE_H +#ifndef __NETWORKMANAGER_VPN_SERVICE_H__ +#define __NETWORKMANAGER_VPN_SERVICE_H__ #include #include