NetworkManager/libnm-util
Thomas Haller 831286df30 include: use double-quotes to include our own headers
In practice, this should only matter when there are multiple
header files with the same name. That is something we try
to avoid already, by giving headers a distinct name.

When building NetworkManager itself, we clearly want to use
double-quotes for including our own headers.
But we also want to do that in our public headers. For example:

  ./a.c
    #include <stdio.h>
    #include <nm-1.h>
    void main() {
        printf ("INCLUDED %s/nm-2.h\n", SYMB);
    }

  ./1/nm-1.h
    #include <nm-2.h>

  ./1/nm-2.h
    #define SYMB "1"

  ./2/nm-2.h
    #define SYMB "2"

$ cc -I./2 -I./1 ./a.c
$ ./a.out
INCLUDED 2/nm-2.h

Exceptions to this are
  - headers in "shared/nm-utils" that include <NetworkManager.h>. These
    headers are copied into projects and hence used like headers owned by
    those projects.
  - examples/C
2017-03-09 14:12:35 +01:00
..
tests build: merge "libnm-util/tests/Makefile.am" into toplevel Makefile 2016-10-21 17:37:57 +02:00
COPYING doc: fix FSF address (bgo #575625) 2009-09-10 21:03:30 -04:00
crypto.c crypto: don't try to decrypt PKCS#8 key if no password is supplied 2016-09-23 18:05:54 +02:00
crypto.h all: cleanup includes in header files 2016-08-17 19:09:50 +02:00
crypto_gnutls.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
crypto_nss.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
libnm-util.pc.in libnm-glib,libnm-util: -glib requires -util, -util requires NetworkManager 2013-03-14 10:23:19 -05:00
libnm-util.ver libnm-util: add non-failing versions of nm_connection_new_from_hash() and replace-settings 2016-03-29 11:56:27 +02:00
NetworkManager.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
NetworkManagerVPN.h dbus: remove the telepathy annotations 2016-04-05 14:37:51 +02:00
nm-connection.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-connection.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-dbus-glib-types.h core: final gdbus porting 2015-08-10 09:41:26 -04:00
nm-gvaluearray-compat.h nm-glib: remove G_GNUC_EXTENSION 2016-06-17 12:25:15 +02:00
nm-param-spec-specialized.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-param-spec-specialized.h all: cleanup includes in header files 2016-08-17 19:09:50 +02:00
nm-setting-8021x.c all: replace _nm_utils_string_in_list() with g_strv_contains() 2016-06-17 12:25:33 +02:00
nm-setting-8021x.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-adsl.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-adsl.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-bluetooth.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-bluetooth.h libnm-util, libnm-glib: standardize copyright/license headers 2014-07-15 09:44:54 -04:00
nm-setting-bond.c all: replace _nm_utils_string_in_list() with g_strv_contains() 2016-06-17 12:25:33 +02:00
nm-setting-bond.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-bridge-port.c settings: drop redundant range check from NMSettingBridgePort::verify() 2017-02-06 19:27:21 +01:00
nm-setting-bridge-port.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-bridge.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-bridge.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-cdma.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-cdma.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-connection.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-setting-connection.h libnm-util, libnm-glib: whitespace fixes 2014-07-15 09:44:55 -04:00
nm-setting-dcb.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-setting-dcb.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-generic.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-setting-generic.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-gsm.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-gsm.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-infiniband.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-infiniband.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-ip4-config.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-ip4-config.h libnm-util: add ipv4.dhcp-timeout property 2015-10-06 14:16:55 +02:00
nm-setting-ip6-config.c settings: allow method=shared with manual IPv6 configuration 2016-11-09 17:23:32 +01:00
nm-setting-ip6-config.h libnm: add NMSettingIPConfig:route-metric 2014-11-07 15:19:06 +01:00
nm-setting-olpc-mesh.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-olpc-mesh.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-ppp.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-ppp.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-pppoe.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-pppoe.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-private.h all: cleanup includes in header files 2016-08-17 19:09:50 +02:00
nm-setting-serial.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-serial.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-team-port.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-team-port.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-team.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-team.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-template.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-template.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-vlan.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-setting-vlan.h vlan: (all) add VLAN MVRP flag 2015-10-27 17:17:05 +01:00
nm-setting-vpn.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-vpn.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-wimax.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-setting-wimax.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-wired.c all: replace _nm_utils_string_in_list() with g_strv_contains() 2016-06-17 12:25:33 +02:00
nm-setting-wired.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-wireless-security.c all: replace _nm_utils_string_in_list() with g_strv_contains() 2016-06-17 12:25:33 +02:00
nm-setting-wireless-security.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting-wireless.c all: replace _nm_utils_string_in_list() with g_strv_contains() 2016-06-17 12:25:33 +02:00
nm-setting-wireless.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-setting.c all: modify line separator comments to be 80 chars wide 2016-10-03 12:01:15 +02:00
nm-setting.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
nm-utils-private.h all: replace _nm_utils_string_in_list() with g_strv_contains() 2016-06-17 12:25:33 +02:00
nm-utils.c all: cleanup switch fall-through comments for -Wimplicit-fallthrough warning 2017-02-06 16:45:20 +01:00
nm-utils.h libnm: add function nm_utils_file_search_in_paths() 2014-12-05 11:07:42 +01:00
nm-value-transforms.c all: cleanup includes and let "nm-default.h" include "config.h" 2016-02-19 17:53:25 +01:00
nm-version.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00