Top | ![]() |
![]() |
![]() |
![]() |
gboolean | oobs_iface_get_auto () |
void | oobs_iface_set_auto () |
gboolean | oobs_iface_get_active () |
void | oobs_iface_set_active () |
const gchar * | oobs_iface_get_device_name () |
gboolean | oobs_iface_get_configured () |
void | oobs_iface_set_configured () |
gboolean | oobs_iface_has_gateway () |
gboolean
oobs_iface_get_auto (OobsIface *iface
);
Returns whether the interface is started automatically at boot time.
void oobs_iface_set_auto (OobsIface *iface
,gboolean is_auto
);
Sets whether the interface is started automatically at boot time.
gboolean
oobs_iface_get_active (OobsIface *iface
);
Returns whether the interface is active.
void oobs_iface_set_active (OobsIface *iface
,gboolean is_active
);
Sets whether the interface is currently active.
const gchar *
oobs_iface_get_device_name (OobsIface *iface
);
Returns the device name for the interface.
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()
).
void oobs_iface_set_configured (OobsIface *iface
,gboolean is_configured
);
If is_configured
is FALSE, the function explicitly marks the interface
as not configured. If is_configured
is TRUE, the explicit mark will be
removed, but the interface may still have an incomplete/invalid configuration.
“active”
property“active” gboolean
Whether the interface is active.
Owner: OobsIface
Flags: Read / Write
Default value: FALSE
“auto”
property“auto” gboolean
Whether the interface starts at boot time.
Owner: OobsIface
Flags: Read / Write
Default value: FALSE
“configured”
property“configured” gboolean
Whether the interface is fully configured.
Owner: OobsIface
Flags: Read / Write
Default value: FALSE
“device”
property“device” gchar *
Device name of the iface.
Owner: OobsIface
Flags: Read / Write / Construct Only
Default value: NULL