iface_valid_name


Description:


[ Version ( deprecated = true , deprecated_since = "1.6" ) ]
public bool iface_valid_name (string? name)

Warning: iface_valid_name is deprecated since 1.6.

Validate the network interface name.

Note:

Use is_valid_iface_name instead, with better error reporting.

Parameters:

name

Name of interface

Returns:

true if interface name is valid, otherwise false is returned.

Before 1.20, this function did not accept null as name argument. If you want to run against older versions of libnm, don't pass null.


Namespace: NM.Utils
Package: libnm