libnm: add "nm-keyfile.h" header

Keyfile API will become part of public libnm API. Add "nm-keyfile.h"
header for that.
This commit is contained in:
Thomas Haller 2020-05-20 09:50:53 +02:00
parent ed82bbe986
commit 49fd96bf01
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728
8 changed files with 29 additions and 3 deletions

View file

@ -925,6 +925,7 @@ libnm_core_lib_h_pub_real = \
libnm-core/nm-core-types.h \
libnm-core/nm-dbus-interface.h \
libnm-core/nm-errors.h \
libnm-core/nm-keyfile.h \
libnm-core/nm-setting-6lowpan.h \
libnm-core/nm-setting-8021x.h \
libnm-core/nm-setting-adsl.h \

View file

@ -18,6 +18,7 @@ libnm_core_headers = files(
'nm-core-types.h',
'nm-dbus-interface.h',
'nm-errors.h',
'nm-keyfile.h',
'nm-setting-6lowpan.h',
'nm-setting-8021x.h',
'nm-setting-adsl.h',

16
libnm-core/nm-keyfile.h Normal file
View file

@ -0,0 +1,16 @@
// SPDX-License-Identifier: LGPL-2.1+
#ifndef __NM_KEYFILE_H__
#define __NM_KEYFILE_H__
#if !defined(__NETWORKMANAGER_H_INSIDE__) && !defined(NETWORKMANAGER_COMPILATION)
#error "Only <NetworkManager.h> can be included directly."
#endif
#include "nm-core-types.h"
G_BEGIN_DECLS
G_END_DECLS
#endif /* __NM_KEYFILE_H__ */

View file

@ -13,6 +13,8 @@
#include <sys/types.h>
#include "nm-keyfile.h"
#include "nm-connection.h"
#include "nm-setting-8021x.h"

View file

@ -11,11 +11,13 @@
#include "nm-glib-aux/nm-str-buf.h"
#include "nm-keyfile-internal.h"
#include "nm-keyfile.h"
#include "nm-setting-wired.h"
#include "nm-setting-wireless.h"
#include "nm-setting-wireless-security.h"
#include "nm-keyfile-internal.h"
/*****************************************************************************/
/**

View file

@ -20,11 +20,13 @@
#include "nm-glib-aux/nm-secret-utils.h"
#include "systemd/nm-sd-utils-shared.h"
#include "nm-libnm-core-intern/nm-common-macros.h"
#include "nm-core-internal.h"
#include "nm-keyfile-utils.h"
#include "nm-core-internal.h"
#include "nm-keyfile.h"
#include "nm-setting-user.h"
#include "nm-keyfile-utils.h"
/*****************************************************************************/
typedef struct _ParseInfoProperty ParseInfoProperty;

View file

@ -45,6 +45,7 @@
#include "nm-dhcp-config.h"
#include "nm-enum-types.h"
#include "nm-ip-config.h"
#include "nm-keyfile.h"
#include "nm-object.h"
#include "nm-remote-connection.h"
#include "nm-setting-6lowpan.h"

View file

@ -138,6 +138,7 @@ deps = [
libnmdbus_dep,
libnm_libnm_core_intern_dep,
libnm_nm_default_dep,
libnm_keyfile_dep,
libnm_udev_aux_dep,
libudev_dep,
]