![]() |
![]() |
![]() |
Liboobs (Gnome System Tools) Reference Manual | ![]() |
---|---|---|---|---|
enum OobsIfaceConfigurationMethod; #define OOBS_TYPE_IFACE_CONFIGURATION_METHOD OobsIfaceEthernet; GType oobs_iface_ethernet_get_type (void); 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); OobsIfaceConfigurationMethod oobs_iface_ethernet_get_configuration_method (OobsIfaceEthernet *iface); void oobs_iface_ethernet_set_configuration_method (OobsIfaceEthernet *iface, OobsIfaceConfigurationMethod method);
GObject +----OobsIface +----OobsIfaceEthernet +----OobsIfaceIRLan +----OobsIfaceWireless
"broadcast-address" gchararray : Read / Write "config-method" OobsIfaceConfigurationMethod : Read / Write "gateway-address" gchararray : Read / Write "ip-address" gchararray : Read / Write "ip-mask" gchararray : Read / Write "network-address" gchararray : Read / Write
typedef enum { OOBS_METHOD_NONE, OOBS_METHOD_STATIC, OOBS_METHOD_DHCP } OobsIfaceConfigurationMethod;
#define OOBS_TYPE_IFACE_CONFIGURATION_METHOD (oobs_iface_configuration_method_get_type ())
const gchar* oobs_iface_ethernet_get_ip_address (OobsIfaceEthernet *iface);
Returns the IP address that this interface uses.
iface : |
An OobsIfaceEthernet. |
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, const gchar *address);
Sets a new IP address for the interface, overwriting the previous one.
iface : |
An OobsIfaceEthernet. |
address : |
a new IP address for the interface. |
const gchar* oobs_iface_ethernet_get_network_mask (OobsIfaceEthernet *iface);
Returns the IP network mask that this interface uses.
iface : |
An OobsIfaceEthernet. |
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, const gchar *mask);
Sets a new IP network mask for the interface, overwriting the previous one.
iface : |
An OobsIfaceEthernet. |
mask : |
a new IP network mask for the interface. |
const gchar* oobs_iface_ethernet_get_gateway_address (OobsIfaceEthernet *iface);
Returns the gateway IP address that this interface uses.
iface : |
An OobsIfaceEthernet. |
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, const gchar *address);
Sets a new gateway IP address for the interface, overwriting the previous one.
iface : |
An OobsIfaceEthernet. |
address : |
a new gateway IP address for the interface. |
const gchar* oobs_iface_ethernet_get_network_address (OobsIfaceEthernet *iface);
Returns the network address for this interface.
iface : |
An OobsIfaceEthernet. |
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, const gchar *address);
Sets a new network address for the interface, overwriting the previous one.
iface : |
An OobsIfaceEthernet. |
address : |
a new network address for the interface. |
const gchar* oobs_iface_ethernet_get_broadcast_address (OobsIfaceEthernet *iface);
Returns the broadcast address for this interface.
iface : |
An OobsIfaceEthernet. |
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, const gchar *address);
Sets a new broadcast address for the interface, overwriting the previous one.
iface : |
An OobsIfaceEthernet. |
address : |
a new broadcast address for the interface. |
OobsIfaceConfigurationMethod oobs_iface_ethernet_get_configuration_method (OobsIfaceEthernet *iface);
Returns the configuration method for the interface.
iface : |
An OobsIfaceEthernet. |
Returns : | The configuration method that the interface uses. |
void oobs_iface_ethernet_set_configuration_method (OobsIfaceEthernet *iface, OobsIfaceConfigurationMethod method);
Sets the configuration method that the interface will use.
iface : |
An OobsIfaceEthernet. |
method : |
An OobsIfaceConfigurationMethod. |
broadcast-address
" property"broadcast-address" gchararray : Read / Write
Network broadcast for the iface.
Default value: NULL
config-method
" property"config-method" OobsIfaceConfigurationMethod : Read / Write
Network configuration method for the iface.
Default value: OOBS_METHOD_NONE
gateway-address
" property"gateway-address" gchararray : Read / Write
Gateway address for the iface.
Default value: NULL
ip-address
" property"ip-address" gchararray : Read / Write
Address for the iface.
Default value: NULL
ip-mask
" property"ip-mask" gchararray : Read / Write
Netmask for the iface.
Default value: NULL