mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 05:18:23 +02:00
config: add NM_CONFIG_KEYFILE_LIST_SEPARATOR define
(cherry picked from commit a05e80913e)
This commit is contained in:
parent
68a1c54fa2
commit
bd2df64bac
2 changed files with 3 additions and 1 deletions
|
|
@ -404,7 +404,7 @@ nm_config_create_keyfile ()
|
||||||
GKeyFile *keyfile;
|
GKeyFile *keyfile;
|
||||||
|
|
||||||
keyfile = g_key_file_new ();
|
keyfile = g_key_file_new ();
|
||||||
g_key_file_set_list_separator (keyfile, ',');
|
g_key_file_set_list_separator (keyfile, NM_CONFIG_KEYFILE_LIST_SEPARATOR);
|
||||||
return keyfile;
|
return keyfile;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,8 @@ G_BEGIN_DECLS
|
||||||
#define NM_CONFIG_DEFAULT_CONNECTIVITY_INTERVAL 300
|
#define NM_CONFIG_DEFAULT_CONNECTIVITY_INTERVAL 300
|
||||||
#define NM_CONFIG_DEFAULT_CONNECTIVITY_RESPONSE "NetworkManager is online" /* NOT LOCALIZED */
|
#define NM_CONFIG_DEFAULT_CONNECTIVITY_RESPONSE "NetworkManager is online" /* NOT LOCALIZED */
|
||||||
|
|
||||||
|
#define NM_CONFIG_KEYFILE_LIST_SEPARATOR ','
|
||||||
|
|
||||||
typedef struct NMConfigCmdLineOptions NMConfigCmdLineOptions;
|
typedef struct NMConfigCmdLineOptions NMConfigCmdLineOptions;
|
||||||
|
|
||||||
struct _NMConfig {
|
struct _NMConfig {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue