NetworkManager/clients/cli
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
..
agent.c cli: use nmc_do_cmd to get the client and check if the daemon is running 2016-11-11 16:18:03 +01:00
agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
common.c cli: support route options 2017-03-06 15:20:25 +01:00
common.h cli: support route options 2017-03-06 15:20:25 +01:00
connections.c cli: support dummy connections 2017-02-22 21:05:04 +01:00
connections.h cli: add -f argument completion 2016-08-01 15:51:29 +02:00
devices.c cli: make match() return boolean 2017-02-15 13:04:07 +01:00
devices.h cli: add -f argument completion 2016-08-01 15:51:29 +02:00
general.c cli: make match() return boolean 2017-02-15 13:04:07 +01:00
general.h cli: output a short summary of devices when called without arguments 2016-07-19 14:29:05 +02:00
nmcli-completion cli: make nmcli do its own command completion 2017-02-13 16:32:15 +01:00
nmcli.c cli: make match() return boolean 2017-02-15 13:04:07 +01:00
nmcli.h include: use double-quotes to include our own headers 2017-03-09 14:12:35 +01:00
polkit-agent.c all: cleanup includes in header files 2016-08-17 19:51:17 +02:00
polkit-agent.h cli: add 'nmcli agent' command (bgo #739568) 2014-11-07 11:58:25 +01:00
settings-docs.xsl clients: reorganize source tree, put all the installed clients together 2014-07-30 15:56:19 -04:00
settings.c cli: support route options 2017-03-06 15:20:25 +01:00
settings.h cli: support dummy connections 2017-02-22 21:05:04 +01:00
utils.c cli: fix match() 2017-02-16 10:39:08 +01:00
utils.h cli: make match() return boolean 2017-02-15 13:04:07 +01:00