NetworkManager/src/libnm-client-impl/nm-default-libnm.h
Lubomir Rintel 649314ddaa libnm: replace nm-types.h by defining the types in respective headers
The typedefs in nm-types.h confuse gtkdoc-scan. It generates a
libnm-sections.txt file like this:

  <SECTION>
  <FILE>nm-types</FILE>
  <TITLE>NMDeviceOvs</TITLE>
  NMAccessPoint
  NMActiveConnection
  NMCheckpoint
  NMClient
  NMDevice
  ...

Note the wrongly picked title and, more importantly, the object types in
a bogus section. This in turn makes gtkdoc-mkdb fail to include the
property and signal documentation in appropriate sections.

Without nm-types.h, we need to mind the header dependencies. This means
that we need to order the headers that define types before the ones that
use them. Also, we need to break the depencency loops in few palces.
2022-05-06 18:33:27 +02:00

33 lines
932 B
C

/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2015 Red Hat, Inc.
*/
#ifndef __NM_DEFAULT_LIBNM_H__
#define __NM_DEFAULT_LIBNM_H__
/*****************************************************************************/
#include "libnm-glib-aux/nm-default-glib-i18n-lib.h"
#undef NETWORKMANAGER_COMPILATION
#define NETWORKMANAGER_COMPILATION NM_NETWORKMANAGER_COMPILATION_LIBNM
/*****************************************************************************/
#include "nm-version.h"
#include "nm-dbus-interface.h"
#include "nm-dhcp-config.h"
#include "nm-ip-config.h"
#include "nm-connection.h"
#include "nm-remote-connection.h"
#include "nm-active-connection.h"
#include "nm-device.h"
#include "nm-checkpoint.h"
#include "nm-client.h"
#include "nm-vpn-connection.h"
#include "nm-libnm-utils.h"
/*****************************************************************************/
#endif /* __NM_DEFAULT_LIBNM_H__ */