| Top |  |  |  |  | 
| #define | NM_SETTING_MATCH_SETTING_NAME | 
| #define | NM_SETTING_MATCH_INTERFACE_NAME | 
| #define | NM_SETTING_MATCH_KERNEL_COMMAND_LINE | 
| #define | NM_SETTING_MATCH_DRIVER | 
| #define | NM_SETTING_MATCH_PATH | 
NMSetting *
nm_setting_match_new (void);
Creates a new NMSettingMatch object with default values.
Since: 1.14
guint
nm_setting_match_get_num_interface_names
                               (NMSettingMatch *setting);
Since: 1.14
const char * nm_setting_match_get_interface_name (NMSettingMatch *setting,int idx);
Since: 1.14
void nm_setting_match_remove_interface_name (NMSettingMatch *setting,int idx);
Removes the interface name at index idx
.
Since: 1.14
gboolean nm_setting_match_remove_interface_name_by_value (NMSettingMatch *setting,const char *interface_name);
Removes interface_name
.
Since: 1.14
void nm_setting_match_add_interface_name (NMSettingMatch *setting,const char *interface_name);
Adds a new interface name to the setting.
Since: 1.14
void
nm_setting_match_clear_interface_names
                               (NMSettingMatch *setting);
Removes all configured interface names.
Since: 1.14
const char *const * nm_setting_match_get_interface_names (NMSettingMatch *setting,guint *length);
Returns all the interface names.
| setting | the NMSettingMatch | |
| length | the length of the returned interface names array. | [out][allow-none] | 
the NULL terminated list of configured interface names.
Before 1.26, the returned array was not NULL terminated and you MUST provide a length. 
[transfer none][array length=length]
Since: 1.14
guint
nm_setting_match_get_num_kernel_command_lines
                               (NMSettingMatch *setting);
Since: 1.26
const char * nm_setting_match_get_kernel_command_line (NMSettingMatch *setting,guint idx);
| setting | the NMSettingMatch | |
| idx | index number of the kernel command line argument to return | 
Since: 1.26
void nm_setting_match_remove_kernel_command_line (NMSettingMatch *setting,guint idx);
Removes the kernel command line argument at index idx
.
Since: 1.26
gboolean nm_setting_match_remove_kernel_command_line_by_value (NMSettingMatch *setting,const char *kernel_command_line);
Removes kernel_command_line
.
| setting | the NMSettingMatch | |
| kernel_command_line | the kernel command line argument name to remove | 
Since: 1.26
void nm_setting_match_add_kernel_command_line (NMSettingMatch *setting,const char *kernel_command_line);
Adds a new kernel command line argument to the setting.
Since: 1.26
void
nm_setting_match_clear_kernel_command_lines
                               (NMSettingMatch *setting);
Removes all configured kernel command line arguments.
Since: 1.26
const char *const * nm_setting_match_get_kernel_command_lines (NMSettingMatch *setting,guint *length);
Returns all the interface names.
| setting | the NMSettingMatch | |
| length | the length of the returned interface names array. | [out][allow-none] | 
Since: 1.26
guint
nm_setting_match_get_num_drivers (NMSettingMatch *setting);
Since: 1.26
const char * nm_setting_match_get_driver (NMSettingMatch *setting,guint idx);
Since: 1.26
void nm_setting_match_remove_driver (NMSettingMatch *setting,guint idx);
Removes the driver at index idx
.
Since: 1.26
gboolean nm_setting_match_remove_driver_by_value (NMSettingMatch *setting,const char *driver);
Removes driver
.
Since: 1.26
void nm_setting_match_add_driver (NMSettingMatch *setting,const char *driver);
Adds a new driver to the setting.
Since: 1.26
void
nm_setting_match_clear_drivers (NMSettingMatch *setting);
Removes all configured drivers.
Since: 1.26
const char *const * nm_setting_match_get_drivers (NMSettingMatch *setting,guint *length);
Returns all the drivers.
| setting | the NMSettingMatch | |
| length | the length of the returned interface names array. | [out][allow-none] | 
Since: 1.26
guint
nm_setting_match_get_num_paths (NMSettingMatch *setting);
Since: 1.26
const char * nm_setting_match_get_path (NMSettingMatch *setting,guint idx);
Since: 1.26
void nm_setting_match_remove_path (NMSettingMatch *setting,guint idx);
Removes the path at index idx
.
Since: 1.26
gboolean nm_setting_match_remove_path_by_value (NMSettingMatch *setting,const char *path);
Removes path
.
Since: 1.26
void nm_setting_match_add_path (NMSettingMatch *setting,const char *path);
Adds a new path to the setting.
Since: 1.26
void
nm_setting_match_clear_paths (NMSettingMatch *setting);
Removes all configured paths.
Since: 1.26
const char *const * nm_setting_match_get_paths (NMSettingMatch *setting,guint *length);
Returns all the paths.
| setting | the NMSettingMatch | |
| length | the length of the returned paths array. | [out][allow-none] | 
Since: 1.26