mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 01:47:58 +02:00
libnm: move declaration of NM_SETTING_SECRET_FLAGS_ALL to nm-core-internal.h
As NM_SETTING_SECRET_FLAGS_ALL is used in libnm/nm-vpn-plugin-utils.c, it is exposed as internal API and should be declared in nm-core-internal.h. Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
8fe1b79012
commit
d299c425d4
4 changed files with 10 additions and 8 deletions
|
|
@ -53,4 +53,12 @@ gboolean _nm_setting_ip4_config_add_address_with_label (NMSettingIP4Config *s
|
|||
#define NM_SETTING_COMPARE_FLAG_INFERRABLE 0x80000000
|
||||
|
||||
|
||||
|
||||
#define NM_SETTING_SECRET_FLAGS_ALL \
|
||||
(NM_SETTING_SECRET_FLAG_NONE | \
|
||||
NM_SETTING_SECRET_FLAG_AGENT_OWNED | \
|
||||
NM_SETTING_SECRET_FLAG_NOT_SAVED | \
|
||||
NM_SETTING_SECRET_FLAG_NOT_REQUIRED)
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -26,12 +26,6 @@
|
|||
|
||||
#include "nm-core-internal.h"
|
||||
|
||||
#define NM_SETTING_SECRET_FLAGS_ALL \
|
||||
(NM_SETTING_SECRET_FLAG_NONE | \
|
||||
NM_SETTING_SECRET_FLAG_AGENT_OWNED | \
|
||||
NM_SETTING_SECRET_FLAG_NOT_SAVED | \
|
||||
NM_SETTING_SECRET_FLAG_NOT_REQUIRED)
|
||||
|
||||
/**
|
||||
* NMSettingVerifyResult:
|
||||
* @NM_SETTING_VERIFY_SUCCESS: the setting verifies successfully
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ typedef enum {
|
|||
NM_SETTING_SECRET_FLAG_NOT_SAVED = 0x00000002,
|
||||
NM_SETTING_SECRET_FLAG_NOT_REQUIRED = 0x00000004
|
||||
|
||||
/* NOTE: if adding flags, update nm-setting-private.h as well */
|
||||
/* NOTE: if adding flags, update nm-core-internal.h as well */
|
||||
} NMSettingSecretFlags;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include "nm-vpn-plugin-utils.h"
|
||||
#include "nm-vpn-plugin.h"
|
||||
#include "nm-setting-private.h"
|
||||
#include "nm-core-internal.h"
|
||||
#include "nm-dbus-glib-types.h"
|
||||
|
||||
#define DATA_KEY_TAG "DATA_KEY="
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue