Liboobs (System configuration management) Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
Synopsis
OobsIfaceEthernet; OobsIfaceEthernetClass; 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
);
Object Hierarchy
GObject +----OobsIface +----OobsIfaceEthernet +----OobsIfaceIRLan +----OobsIfaceWireless
Properties
"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
Details
OobsIfaceEthernetClass
typedef struct { OobsIfaceClass parent_class; void (*_oobs_padding1) (void); void (*_oobs_padding2) (void); } OobsIfaceEthernetClass;
oobs_iface_ethernet_get_ip_address ()
const gchar* oobs_iface_ethernet_get_ip_address (OobsIfaceEthernet *iface
);
Returns the IP address that this interface uses.
|
An OobsIfaceEthernet. |
Returns : |
A pointer to the IP address as a string. This string must not be freed, modified or stored. |
oobs_iface_ethernet_set_ip_address ()
void oobs_iface_ethernet_set_ip_address (OobsIfaceEthernet *iface
,const gchar *address
);
Sets a new IP address for the interface, overwriting the previous one.
|
An OobsIfaceEthernet. |
|
a new IP address for the interface. |
oobs_iface_ethernet_get_network_mask ()
const gchar* oobs_iface_ethernet_get_network_mask
(OobsIfaceEthernet *iface
);
Returns the IP network mask that this interface uses.
|
An OobsIfaceEthernet. |
Returns : |
A pointer to the network mask as a string. This string must not be freed, modified or stored. |
oobs_iface_ethernet_set_network_mask ()
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.
|
An OobsIfaceEthernet. |
|
a new IP network mask for the interface. |
oobs_iface_ethernet_get_gateway_address ()
const gchar* oobs_iface_ethernet_get_gateway_address
(OobsIfaceEthernet *iface
);
Returns the gateway IP address that this interface uses.
|
An OobsIfaceEthernet. |
Returns : |
A pointer to the gateway address as a string. This string must not be freed, modified or stored. |
oobs_iface_ethernet_set_gateway_address ()
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.
|
An OobsIfaceEthernet. |
|
a new gateway IP address for the interface. |
oobs_iface_ethernet_get_network_address ()
const gchar* oobs_iface_ethernet_get_network_address
(OobsIfaceEthernet *iface
);
Returns the network address for this interface.
|
An OobsIfaceEthernet. |
Returns : |
A pointer to the network address as a string. This string must not be freed, modified or stored. |
oobs_iface_ethernet_set_network_address ()
void oobs_iface_ethernet_set_network_address (OobsIfaceEthernet *iface
,const gchar *address
);
Sets a new network address for the interface, overwriting the previous one.
|
An OobsIfaceEthernet. |
|
a new network address for the interface. |
oobs_iface_ethernet_get_broadcast_address ()
const gchar* oobs_iface_ethernet_get_broadcast_address
(OobsIfaceEthernet *iface
);
Returns the broadcast address for this interface.
|
An OobsIfaceEthernet. |
Returns : |
A pointer to the broadcast address as a string. This string must not be freed, modified or stored. |
oobs_iface_ethernet_set_broadcast_address ()
void oobs_iface_ethernet_set_broadcast_address (OobsIfaceEthernet *iface
,const gchar *address
);
Sets a new broadcast address for the interface, overwriting the previous one.
|
An OobsIfaceEthernet. |
|
a new broadcast address for the interface. |
oobs_iface_ethernet_get_configuration_method ()
const gchar* oobs_iface_ethernet_get_configuration_method
(OobsIfaceEthernet *iface
);
Returns the configuration method for the interface.
|
An OobsIfaceEthernet. |
Returns : |
The configuration method that the interface uses. This value must not be modified nor freed. |
oobs_iface_ethernet_set_configuration_method ()
void oobs_iface_ethernet_set_configuration_method (OobsIfaceEthernet *iface
,const gchar *method
);
Sets the configuration method that the interface will use. The valid methods are
provided by oobs_ifaces_config_get_available_configuration_methods()
.
|
An OobsIfaceEthernet. |
|
A new configuration method for the interface, or NULL .
|
Property Details
The "broadcast-address"
property
"broadcast-address" gchar* : Read / Write
Network broadcast for the iface.
Default value: NULL
The "config-method"
property
"config-method" gchar* : Read / Write
Network configuration method for the iface.
Default value: NULL
The "gateway-address"
property
"gateway-address" gchar* : Read / Write
Gateway address for the iface.
Default value: NULL
The "ip-address"
property
"ip-address" gchar* : Read / Write
Address for the iface.
Default value: NULL
The "network-address"
property
"network-address" gchar* : Read / Write
Network address for the iface.
Default value: NULL