diff options
| author | Michael Biebl <biebl@debian.org> | 2020-06-28 18:59:08 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2020-06-28 18:59:08 +0200 |
| commit | 215112eefc83274273a10d9ddb5e107c9beec548 (patch) | |
| tree | a16052cef4bb8707d6a906dd784a50c75945d03e /libnm-core/nm-setting-match.h | |
| parent | 5ed4e66e01b005212aee22c255c9c6b2a4b040a9 (diff) | |
| parent | a54ac63bbf9b2c71026ac9028a8ffaf186cf3c82 (diff) | |
Update upstream source from tag 'upstream/1.25.90'
Update to upstream version '1.25.90' with Debian dir 16d4caa71e8ba8c27ee163c88f11456b6cdc0490
Diffstat (limited to 'libnm-core/nm-setting-match.h')
| -rw-r--r-- | libnm-core/nm-setting-match.h | 60 |
1 files changed, 59 insertions, 1 deletions
diff --git a/libnm-core/nm-setting-match.h b/libnm-core/nm-setting-match.h index e15911ad..63bd4847 100644 --- a/libnm-core/nm-setting-match.h +++ b/libnm-core/nm-setting-match.h @@ -23,7 +23,10 @@ G_BEGIN_DECLS #define NM_SETTING_MATCH_SETTING_NAME "match" -#define NM_SETTING_MATCH_INTERFACE_NAME "interface-name" +#define NM_SETTING_MATCH_INTERFACE_NAME "interface-name" +#define NM_SETTING_MATCH_KERNEL_COMMAND_LINE "kernel-command-line" +#define NM_SETTING_MATCH_DRIVER "driver" +#define NM_SETTING_MATCH_PATH "path" typedef struct _NMSettingMatchClass NMSettingMatchClass; @@ -49,6 +52,61 @@ NM_AVAILABLE_IN_1_14 void nm_setting_match_clear_interface_names (NMSettingMatch *setting); NM_AVAILABLE_IN_1_14 const char *const *nm_setting_match_get_interface_names (NMSettingMatch *setting, guint *length); + + +NM_AVAILABLE_IN_1_26 +guint nm_setting_match_get_num_kernel_command_lines (NMSettingMatch *setting); +NM_AVAILABLE_IN_1_26 +const char *nm_setting_match_get_kernel_command_line (NMSettingMatch *setting, guint idx); +NM_AVAILABLE_IN_1_26 +void nm_setting_match_remove_kernel_command_line (NMSettingMatch *setting, guint idx); +NM_AVAILABLE_IN_1_26 +gboolean nm_setting_match_remove_kernel_command_line_by_value (NMSettingMatch *setting, + const char *kernel_command_line); +NM_AVAILABLE_IN_1_26 +void nm_setting_match_add_kernel_command_line (NMSettingMatch *setting, + const char *kernel_command_line); +NM_AVAILABLE_IN_1_26 +void nm_setting_match_clear_kernel_command_lines (NMSettingMatch *setting); +NM_AVAILABLE_IN_1_26 +const char *const *nm_setting_match_get_kernel_command_lines (NMSettingMatch *setting, guint *length); + + +NM_AVAILABLE_IN_1_26 +guint nm_setting_match_get_num_drivers (NMSettingMatch *setting); +NM_AVAILABLE_IN_1_26 +const char *nm_setting_match_get_driver (NMSettingMatch *setting, guint idx); +NM_AVAILABLE_IN_1_26 +void nm_setting_match_remove_driver (NMSettingMatch *setting, guint idx); +NM_AVAILABLE_IN_1_26 +gboolean nm_setting_match_remove_driver_by_value (NMSettingMatch *setting, + const char *driver); +NM_AVAILABLE_IN_1_26 +void nm_setting_match_add_driver (NMSettingMatch *setting, + const char *driver); +NM_AVAILABLE_IN_1_26 +void nm_setting_match_clear_drivers (NMSettingMatch *setting); +NM_AVAILABLE_IN_1_26 +const char *const *nm_setting_match_get_drivers (NMSettingMatch *setting, guint *length); + + +NM_AVAILABLE_IN_1_26 +guint nm_setting_match_get_num_paths (NMSettingMatch *setting); +NM_AVAILABLE_IN_1_26 +const char *nm_setting_match_get_path (NMSettingMatch *setting, guint idx); +NM_AVAILABLE_IN_1_26 +void nm_setting_match_remove_path (NMSettingMatch *setting, guint idx); +NM_AVAILABLE_IN_1_26 +gboolean nm_setting_match_remove_path_by_value (NMSettingMatch *setting, + const char *path); +NM_AVAILABLE_IN_1_26 +void nm_setting_match_add_path (NMSettingMatch *setting, + const char *path); +NM_AVAILABLE_IN_1_26 +void nm_setting_match_clear_paths (NMSettingMatch *setting); +NM_AVAILABLE_IN_1_26 +const char *const *nm_setting_match_get_paths (NMSettingMatch *setting, guint *length); + G_END_DECLS #endif /* NM_SETTING_MATCH_H */ |