libnm: add nm-types.h, to avoid include loops

System Internals / NetworkManager - Dan Winship [gnome.org] - 10 October 2014 12:10 UTC

Add nm-types.h defining all the type structs, to avoid future include loops. Clean up the includes in all of the installed headers.

8c3d6f7 libnm: add nm-types.h, to avoid include loops
libnm/Makefile.am | 1 +
libnm/nm-access-point.h | 10 +++-----
libnm/nm-active-connection.c | 4 +++
libnm/nm-active-connection.h | 14 +++--------
libnm/nm-client.c | 1 +
libnm/nm-client.h | 14 +++--------
libnm/nm-device-adsl.h | 6 ++---
libnm/nm-device-bond.h | 6 ++---
libnm/nm-device-bridge.h | 6 ++---
libnm/nm-device-bt.h | 7 +++---
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 | 7 +++---
libnm/nm-device-team.h | 6 ++---
libnm/nm-device-vlan.h | 6 ++---
libnm/nm-device-wifi.c | 1 +
libnm/nm-device-wifi.h | 7 +++---
libnm/nm-device-wimax.c | 1 +
libnm/nm-device-wimax.h | 7 +++---
libnm/nm-device.c | 5 ++++
libnm/nm-device.h | 15 +++--------
libnm/nm-dhcp4-config.h | 8 +++---
libnm/nm-dhcp6-config.h | 8 +++---
libnm/nm-ip4-config.h | 8 +++---
libnm/nm-ip6-config.h | 8 +++---
libnm/nm-manager.h | 4 +--
libnm/nm-object.h | 8 +++---
libnm/nm-remote-connection.h | 5 ++--
libnm/nm-remote-settings.c | 1 +
libnm/nm-remote-settings.h | 3 ---
libnm/nm-secret-agent.h | 7 +++---
libnm/nm-types.h | 56 ++++++++++++++++++++++++++++++++++++++++++
libnm/nm-vpn-connection.h | 10 +++-----
libnm/nm-wimax-nsp.h | 9 +++----
36 files changed, 150 insertions(+), 133 deletions(-)

Upstream: cgit.freedesktop.org


  • Share