NMSettingMatch: libnm Reference Manual

## NMSettingMatch NMSettingMatch |

## Functions

NMSetting * | nm_setting_match_new ()
guint | nm_setting_match_get_num_interface_names ()
const char * | nm_setting_match_get_interface_name ()
void | nm_setting_match_remove_interface_name ()
gboolean | nm_setting_match_remove_interface_name_by_value ()
void | nm_setting_match_add_interface_name ()
void | nm_setting_match_clear_interface_names ()
const char *const * | nm_setting_match_get_interface_names ()
guint | nm_setting_match_get_num_kernel_command_lines ()
const char * | nm_setting_match_get_kernel_command_line ()
void | nm_setting_match_remove_kernel_command_line ()
gboolean | nm_setting_match_remove_kernel_command_line_by_value ()
void | nm_setting_match_add_kernel_command_line ()
void | nm_setting_match_clear_kernel_command_lines ()
const char *const * | nm_setting_match_get_kernel_command_lines ()
guint | nm_setting_match_get_num_drivers ()
const char * | nm_setting_match_get_driver ()
void | nm_setting_match_remove_driver ()
gboolean | nm_setting_match_remove_driver_by_value ()
void | nm_setting_match_add_driver ()
void | nm_setting_match_clear_drivers ()
const char *const * | nm_setting_match_get_drivers ()
guint | nm_setting_match_get_num_paths ()
const char * | nm_setting_match_get_path ()
void | nm_setting_match_remove_path ()
gboolean | nm_setting_match_remove_path_by_value ()
void | nm_setting_match_add_path ()
void | nm_setting_match_clear_paths ()
const char *const * | nm_setting_match_get_paths ()

## Types and Values

#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

## Description

## Functions

### nm_setting_match_new ()

    NMSetting *
    nm_setting_match_new (void);

### nm_setting_match_get_num_interface_names ()

    guint
    nm_setting_match_get_num_interface_names
                                   (NMSettingMatch *setting);

### nm_setting_match_get_interface_name ()

    const char *
    nm_setting_match_get_interface_name (NMSettingMatch *setting,
                                         int idx);

### nm_setting_match_remove_interface_name ()

    void
    nm_setting_match_remove_interface_name
                                   (NMSettingMatch *setting,
                                    int idx);

### nm_setting_match_remove_interface_name_by_value ()

    gboolean
    nm_setting_match_remove_interface_name_by_value
                                   (NMSettingMatch *setting,
                                    const char *interface_name);

### nm_setting_match_add_interface_name ()

    void
    nm_setting_match_add_interface_name (NMSettingMatch *setting,
                                         const char *interface_name);

### nm_setting_match_clear_interface_names ()

    void
    nm_setting_match_clear_interface_names
                                   (NMSettingMatch *setting);

### nm_setting_match_get_interface_names ()

    const char *const *
    nm_setting_match_get_interface_names (NMSettingMatch *setting,
                                          guint *length);

### nm_setting_match_get_num_kernel_command_lines ()

    guint
    nm_setting_match_get_num_kernel_command_lines
                                   (NMSettingMatch *setting);

### nm_setting_match_get_kernel_command_line ()

    const char *
    nm_setting_match_get_kernel_command_line
                                   (NMSettingMatch *setting,
                                    guint idx);

### nm_setting_match_remove_kernel_command_line ()

    void
    nm_setting_match_remove_kernel_command_line
                                   (NMSettingMatch *setting,
                                    guint idx);

### nm_setting_match_remove_kernel_command_line_by_value ()

    gboolean
    nm_setting_match_remove_kernel_command_line_by_value
                                   (NMSettingMatch *setting,
                                    const char *kernel_command_line);

### nm_setting_match_add_kernel_command_line ()

    void
    nm_setting_match_add_kernel_command_line
                                   (NMSettingMatch *setting,
                                    const char *kernel_command_line);

### nm_setting_match_clear_kernel_command_lines ()

    void
    nm_setting_match_clear_kernel_command_lines
                                   (NMSettingMatch *setting);

### nm_setting_match_get_kernel_command_lines ()

    const char *const *
    nm_setting_match_get_kernel_command_lines
                                   (NMSettingMatch *setting,
                                    guint *length);

### nm_setting_match_get_num_drivers ()

    guint
    nm_setting_match_get_num_drivers (NMSettingMatch *setting);

### nm_setting_match_get_driver ()

    const char *
    nm_setting_match_get_driver (NMSettingMatch *setting,
                                 guint idx);

### nm_setting_match_remove_driver ()

    void
    nm_setting_match_remove_driver (NMSettingMatch *setting,
                                    guint idx);

### nm_setting_match_remove_driver_by_value ()

    gboolean
    nm_setting_match_remove_driver_by_value
                                   (NMSettingMatch *setting,
                                    const char *driver);

### nm_setting_match_add_driver ()

    void
    nm_setting_match_add_driver (NMSettingMatch *setting,
                                 const char *driver);

### nm_setting_match_clear_drivers ()

    void
    nm_setting_match_clear_drivers (NMSettingMatch *setting);

### nm_setting_match_get_drivers ()

    const char *const *
    nm_setting_match_get_drivers (NMSettingMatch *setting,
                                  guint *length);

### nm_setting_match_get_num_paths ()

    guint
    nm_setting_match_get_num_paths (NMSettingMatch *setting);

### nm_setting_match_get_path ()

    const char *
    nm_setting_match_get_path (NMSettingMatch *setting,
                               guint idx);

### nm_setting_match_remove_path ()

    void
    nm_setting_match_remove_path (NMSettingMatch *setting,
                                  guint idx);

### nm_setting_match_remove_path_by_value ()

    gboolean
    nm_setting_match_remove_path_by_value (NMSettingMatch *setting,
                                           const char *path);

### nm_setting_match_add_path ()

    void
    nm_setting_match_add_path (NMSettingMatch *setting,
                               const char *path);

### nm_setting_match_clear_paths ()

    void
    nm_setting_match_clear_paths (NMSettingMatch *setting);

### nm_setting_match_get_paths ()

    const char *const *
    nm_setting_match_get_paths (NMSettingMatch *setting,
                                guint *length);

## Types and Values

### NM_SETTING_MATCH_SETTING_NAME

    #define NM_SETTING_MATCH_SETTING_NAME "match"

### NM_SETTING_MATCH_INTERFACE_NAME

    #define NM_SETTING_MATCH_INTERFACE_NAME      "interface-name"

### NM_SETTING_MATCH_KERNEL_COMMAND_LINE

    #define NM_SETTING_MATCH_KERNEL_COMMAND_LINE "kernel-command-line"

### NM_SETTING_MATCH_DRIVER

    #define NM_SETTING_MATCH_DRIVER              "driver"

### NM_SETTING_MATCH_PATH

    #define NM_SETTING_MATCH_PATH                "path"