Top | ![]() |
![]() |
![]() |
![]() |
GObject * | nm_ip4_config_new () |
const GSList * | nm_ip4_config_get_addresses () |
const GArray * | nm_ip4_config_get_nameservers () |
const GPtrArray * | nm_ip4_config_get_domains () |
const GSList * | nm_ip4_config_get_routes () |
const GArray * | nm_ip4_config_get_wins_servers () |
gpointer | addresses | Read |
NMStringArray * | domains | Read |
NMUintArray * | nameservers | Read |
gpointer | routes | Read |
NMUintArray * | wins-servers | Read |
#define | NM_IP4_CONFIG_ADDRESSES |
#define | NM_IP4_CONFIG_NAMESERVERS |
#define | NM_IP4_CONFIG_DOMAINS |
#define | NM_IP4_CONFIG_ROUTES |
#define | NM_IP4_CONFIG_WINS_SERVERS |
GObject * nm_ip4_config_new (DBusGConnection *connection
,const char *object_path
);
Creates a new NMIP4Config.
const GSList *
nm_ip4_config_get_addresses (NMIP4Config *config
);
Gets the IP4 addresses (containing the address, prefix, and gateway).
the GSList containing NMIP4Addresses. This is the internal copy used by the configuration and must not be modified.
[element-type NetworkManager.IP4Address]
const GArray *
nm_ip4_config_get_nameservers (NMIP4Config *config
);
Gets the domain name servers (DNS).
the GArray containing guint32
s. This is the internal copy used by the
configuration and must not be modified.
[element-type guint32]
const GPtrArray *
nm_ip4_config_get_domains (NMIP4Config *config
);
Gets the domain names.
the GPtrArray containing domains as strings. This is the internal copy used by the configuration, and must not be modified.
[element-type utf8]
const GSList *
nm_ip4_config_get_routes (NMIP4Config *config
);
Gets the routes.
the GSList containing NMIP4Routes. This is the internal copy used by the configuration, and must not be modified.
[element-type NetworkManager.IP4Route]
const GArray *
nm_ip4_config_get_wins_servers (NMIP4Config *config
);
Gets the Windows Internet Name Service servers (WINS).
the GArray containing guint32
s.
This is the internal copy used by the configuration and must not be modified.
[element-type guint32]