| Liboobs (System configuration management) Reference Manual | ||||
|---|---|---|---|---|
OobsIfaceEthernet;
const gchar * oobs_iface_ethernet_get_ip_address (OobsIfaceEthernet *iface);
void oobs_iface_ethernet_set_ip_address (OobsIfaceEthernet *iface,
const gchar *address);
const gchar * oobs_iface_ethernet_get_network_mask
(OobsIfaceEthernet *iface);
void oobs_iface_ethernet_set_network_mask
(OobsIfaceEthernet *iface,
const gchar *mask);
const gchar * oobs_iface_ethernet_get_gateway_address
(OobsIfaceEthernet *iface);
void oobs_iface_ethernet_set_gateway_address
(OobsIfaceEthernet *iface,
const gchar *address);
const gchar * oobs_iface_ethernet_get_network_address
(OobsIfaceEthernet *iface);
void oobs_iface_ethernet_set_network_address
(OobsIfaceEthernet *iface,
const gchar *address);
const gchar * oobs_iface_ethernet_get_broadcast_address
(OobsIfaceEthernet *iface);
void oobs_iface_ethernet_set_broadcast_address
(OobsIfaceEthernet *iface,
const gchar *address);
const gchar * oobs_iface_ethernet_get_configuration_method
(OobsIfaceEthernet *iface);
void oobs_iface_ethernet_set_configuration_method
(OobsIfaceEthernet *iface,
const gchar *method);
GObject +----OobsIface +----OobsIfaceEthernet +----OobsIfaceWireless +----OobsIfaceIRLan
"broadcast-address"gchar * : Read / Write "config-method"gchar * : Read / Write "gateway-address"gchar * : Read / Write "ip-address"gchar * : Read / Write "ip-mask"gchar * : Read / Write "network-address"gchar * : Read / Write
constgchar * oobs_iface_ethernet_get_ip_address (OobsIfaceEthernet *iface);
Returns the IP address that this interface uses.
|
An |
Returns : |
A pointer to the IP address as a string. This string must not be freed, modified or stored. |
void oobs_iface_ethernet_set_ip_address (OobsIfaceEthernet *iface, constgchar *address);
Sets a new IP address for the interface, overwriting the previous one.
|
An |
|
a new IP address for the interface. |
constgchar * oobs_iface_ethernet_get_network_mask (OobsIfaceEthernet *iface);
Returns the IP network mask that this interface uses.
|
An |
Returns : |
A pointer to the network mask as a string. This string must not be freed, modified or stored. |
void oobs_iface_ethernet_set_network_mask (OobsIfaceEthernet *iface, constgchar *mask);
Sets a new IP network mask for the interface, overwriting the previous one.
|
An |
|
a new IP network mask for the interface. |
constgchar * oobs_iface_ethernet_get_gateway_address (OobsIfaceEthernet *iface);
Returns the gateway IP address that this interface uses.
|
An |
Returns : |
A pointer to the gateway address as a string. This string must not be freed, modified or stored. |
void oobs_iface_ethernet_set_gateway_address (OobsIfaceEthernet *iface, constgchar *address);
Sets a new gateway IP address for the interface, overwriting the previous one.
|
An |
|
a new gateway IP address for the interface. |
constgchar * oobs_iface_ethernet_get_network_address (OobsIfaceEthernet *iface);
Returns the network address for this interface.
|
An |
Returns : |
A pointer to the network address as a string. This string must not be freed, modified or stored. |
void oobs_iface_ethernet_set_network_address (OobsIfaceEthernet *iface, constgchar *address);
Sets a new network address for the interface, overwriting the previous one.
|
An |
|
a new network address for the interface. |
constgchar * oobs_iface_ethernet_get_broadcast_address (OobsIfaceEthernet *iface);
Returns the broadcast address for this interface.
|
An |
Returns : |
A pointer to the broadcast address as a string. This string must not be freed, modified or stored. |
void oobs_iface_ethernet_set_broadcast_address (OobsIfaceEthernet *iface, constgchar *address);
Sets a new broadcast address for the interface, overwriting the previous one.
|
An |
|
a new broadcast address for the interface. |
constgchar * oobs_iface_ethernet_get_configuration_method (OobsIfaceEthernet *iface);
Returns the configuration method for the interface.
|
An |
Returns : |
The configuration method that the interface uses. This value must not be modified nor freed. |
void oobs_iface_ethernet_set_configuration_method (OobsIfaceEthernet *iface, constgchar *method);
Sets the configuration method that the interface will use. The valid methods are
provided by oobs_ifaces_config_get_available_configuration_methods().
|
An |
|
A new configuration method for the interface, or NULL |
"broadcast-address" property"broadcast-address"gchar * : Read / Write
Network broadcast for the iface.
Default value: NULL
"config-method" property"config-method"gchar * : Read / Write
Network configuration method for the iface.
Default value: NULL
"gateway-address" property"gateway-address"gchar * : Read / Write
Gateway address for the iface.
Default value: NULL
"ip-address" property"ip-address"gchar * : Read / Write
Address for the iface.
Default value: NULL