Liboobs (System configuration management) Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
Synopsis
OobsIfaceWireless; OobsIfaceWirelessClass; 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
);
Properties
"essid" gchar* : Read / Write "key" gchar* : Read / Write "key-type" gchar* : Read / Write
Details
OobsIfaceWirelessClass
typedef struct { OobsIfaceEthernetClass parent_class; void (*_oobs_padding1) (void); void (*_oobs_padding2) (void); } OobsIfaceWirelessClass;
oobs_iface_wireless_get_essid ()
const gchar* oobs_iface_wireless_get_essid (OobsIfaceWireless *iface
);
Returns the network identification (ESSID) that this interface uses.
|
an OobsIfaceWireless. |
Returns : |
A pointer to the network identification as a string. This string must not be freed, modified or stored. |
oobs_iface_wireless_set_essid ()
void oobs_iface_wireless_set_essid (OobsIfaceWireless *iface
,const gchar *essid
);
Sets a new network identification (ESSID), overwriting the previous one.
|
An OobsIfaceWireless. |
|
a new ESSID for the interface. |
oobs_iface_wireless_get_key ()
const gchar* oobs_iface_wireless_get_key (OobsIfaceWireless *iface
);
Returns the network key associated to the ESSID that this interface uses.
|
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.
|
oobs_iface_wireless_set_key ()
void oobs_iface_wireless_set_key (OobsIfaceWireless *iface
,const gchar *key
);
Sets a new network key for the ESSID that the interface uses.
|
an OobsIfaceWireless. |
|
a new key for the ESSID, or NULL to unset it.
|
oobs_iface_wireless_get_key_type ()
const gchar* oobs_iface_wireless_get_key_type (OobsIfaceWireless *iface
);
Returns the type of key that the interface uses.
|
an OobsIfaceWireless. |
Returns : |
The key type. |
oobs_iface_wireless_set_key_type ()
void oobs_iface_wireless_set_key_type (OobsIfaceWireless *iface
,const gchar *key_type
);
Sets the type of the contained key.
|
an OobsIfaceWireless. |
|
a new type to define the key. |