![]() |
![]() |
![]() |
Liboobs (System configuration management) Reference Manual | ![]() |
---|---|---|---|---|
OobsIfaceWireless; const gchar* oobs_iface_wireless_get_essid (OobsIfaceWireless *iface); void oobs_iface_wireless_set_essid (OobsIfaceWireless *iface, const gchar *essid); const gchar* oobs_iface_wireless_get_key (OobsIfaceWireless *iface); void oobs_iface_wireless_set_key (OobsIfaceWireless *iface, const gchar *key); const gchar* oobs_iface_wireless_get_key_type (OobsIfaceWireless *iface); void oobs_iface_wireless_set_key_type (OobsIfaceWireless *iface, const gchar *key_type);
"essid" gchararray : Read / Write "key" gchararray : Read / Write "key-type" gchararray : Read / Write
const gchar* oobs_iface_wireless_get_essid (OobsIfaceWireless *iface);
Returns the network identification (ESSID) that this interface uses.
iface : |
an OobsIfaceWireless. |
Returns : | A pointer to the network identification as a string. This string must not be freed, modified or stored. |
void oobs_iface_wireless_set_essid (OobsIfaceWireless *iface, const gchar *essid);
Sets a new network identification (ESSID), overwriting the previous one.
iface : |
An OobsIfaceWireless. |
essid : |
a new ESSID for the interface. |
const gchar* oobs_iface_wireless_get_key (OobsIfaceWireless *iface);
Returns the network key associated to the ESSID that this interface uses.
iface : |
an OobsIfaceWireless. |
Returns : | A pointer to the network key as a string,
or NULL if it's unset. This string must
not be freed, modified or stored.
|
void oobs_iface_wireless_set_key (OobsIfaceWireless *iface, const gchar *key);
Sets a new network key for the ESSID that the interface uses.
iface : |
an OobsIfaceWireless. |
key : |
a new key for the ESSID, or NULL to unset it.
|
const gchar* oobs_iface_wireless_get_key_type (OobsIfaceWireless *iface);
Returns the type of key that the interface uses.
iface : |
an OobsIfaceWireless. |
Returns : | The key type. |
void oobs_iface_wireless_set_key_type (OobsIfaceWireless *iface, const gchar *key_type);
Sets the type of the contained key.
iface : |
an OobsIfaceWireless. |
key_type : |
a new type to define the key. |