| Liboobs (System configuration management) Reference Manual | ||||
|---|---|---|---|---|
OobsIface;
gboolean oobs_iface_get_auto (OobsIface *iface);
void oobs_iface_set_auto (OobsIface *iface,
gboolean is_auto);
gboolean oobs_iface_get_active (OobsIface *iface);
void oobs_iface_set_active (OobsIface *iface,
gboolean is_active);
const gchar * oobs_iface_get_device_name (OobsIface *iface);
gboolean oobs_iface_get_configured (OobsIface *iface);
void oobs_iface_set_configured (OobsIface *iface,
gboolean is_configured);
gboolean oobs_iface_has_gateway (OobsIface *iface);
"active"gboolean : Read / Write "auto"gboolean : Read / Write "configured"gboolean : Read / Write "device"gchar * : Read / Write / Construct Only
gboolean oobs_iface_get_auto (OobsIface *iface);
Returns whether the interface is started automatically at boot time.
|
An |
Returns : |
|
void oobs_iface_set_auto (OobsIface *iface,gboolean is_auto);
Sets whether the interface is started automatically at boot time.
|
An |
|
|
gboolean oobs_iface_get_active (OobsIface *iface);
Returns whether the interface is active.
|
An |
Returns : |
|
void oobs_iface_set_active (OobsIface *iface,gboolean is_active);
Sets whether the interface is currently active.
|
An |
|
|
constgchar * oobs_iface_get_device_name (OobsIface *iface);
Returns the device name for the interface.
|
An |
Returns : |
A string containing the device name. This string must not be freed or modified. |
gboolean oobs_iface_get_configured (OobsIface *iface);
Returns whether the interface has a valid (i.e.: complete)
configuration and is explicitly marked as configured
(see oobs_iface_set_configured()).
|
An |
Returns : |
|
void oobs_iface_set_configured (OobsIface *iface,gboolean is_configured);
If is_configured is is_configured is
|
An |
|
|
gboolean oobs_iface_has_gateway (OobsIface *iface);
Returns whether the interface has a defined gateway.
|
An |
Returns : |
|
"active" property"active"gboolean : Read / Write
Whether the interface is active.
Default value: FALSE
"auto" property"auto"gboolean : Read / Write
Whether the interface starts at boot time.
Default value: FALSE
"configured" property"configured"gboolean : Read / Write
Whether the interface is fully configured.
Default value: FALSE
"state-changed" signalvoid user_function (OobsIface *oobsiface,gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |