libnm: add internal header file "nm-core-types-internal.h"
This shall contain type definitions, with similar use to "nm-core-internal.h". However, it should contain a minimal set, so that we can include this header in other headers under "src/", without including the whole "nm-core-internal.h" in headers.
This commit is contained in:
@@ -39,6 +39,7 @@ IGNORE_HFILES= \
|
|||||||
nm-dbus-helpers.h \
|
nm-dbus-helpers.h \
|
||||||
nm-core-internal.h \
|
nm-core-internal.h \
|
||||||
nm-core-types.h \
|
nm-core-types.h \
|
||||||
|
nm-core-types-internal.h \
|
||||||
nm-device-private.h \
|
nm-device-private.h \
|
||||||
nm-dhcp4-config.h \
|
nm-dhcp4-config.h \
|
||||||
nm-dhcp6-config.h \
|
nm-dhcp6-config.h \
|
||||||
|
@@ -51,6 +51,7 @@ libnm_core_private_headers = \
|
|||||||
$(core)/crypto.h \
|
$(core)/crypto.h \
|
||||||
$(core)/nm-connection-private.h \
|
$(core)/nm-connection-private.h \
|
||||||
$(core)/nm-core-internal.h \
|
$(core)/nm-core-internal.h \
|
||||||
|
$(core)/nm-core-types-internal.h \
|
||||||
$(core)/nm-keyfile-internal.h \
|
$(core)/nm-keyfile-internal.h \
|
||||||
$(core)/nm-keyfile-utils.h \
|
$(core)/nm-keyfile-utils.h \
|
||||||
$(core)/nm-property-compare.h \
|
$(core)/nm-property-compare.h \
|
||||||
|
@@ -67,6 +67,7 @@
|
|||||||
#include "nm-simple-connection.h"
|
#include "nm-simple-connection.h"
|
||||||
#include "nm-utils.h"
|
#include "nm-utils.h"
|
||||||
#include "nm-vpn-dbus-interface.h"
|
#include "nm-vpn-dbus-interface.h"
|
||||||
|
#include "nm-core-types-internal.h"
|
||||||
|
|
||||||
/* NM_SETTING_COMPARE_FLAG_INFERRABLE: check whether a device-generated
|
/* NM_SETTING_COMPARE_FLAG_INFERRABLE: check whether a device-generated
|
||||||
* connection can be replaced by a already-defined connection. This flag only
|
* connection can be replaced by a already-defined connection. This flag only
|
||||||
|
25
libnm-core/nm-core-types-internal.h
Normal file
25
libnm-core/nm-core-types-internal.h
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the
|
||||||
|
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
* Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* (C) Copyright 2015 Red Hat, Inc.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef NM_CORE_TYPES_INTERNAL_H
|
||||||
|
#define NM_CORE_TYPES_INTERNAL_H
|
||||||
|
|
||||||
|
#endif /* NM_CORE_TYPES_INTERNAL_H */
|
Reference in New Issue
Block a user