| Liboobs (System configuration management) Reference Manual | ||||
|---|---|---|---|---|
enum OobsIfaceType; #define OOBS_TYPE_IFACE_TYPE OobsIfacesConfig;GType oobs_iface_type_get_type (void); OobsObject* oobs_ifaces_config_get (void); OobsList* oobs_ifaces_config_get_ifaces (OobsIfacesConfig *config, OobsIfaceType type);GList * oobs_ifaces_config_get_available_configuration_methods (OobsIfacesConfig *config);GList * oobs_ifaces_config_get_available_key_types (OobsIfacesConfig *config);GList * oobs_ifaces_config_get_available_ppp_types (OobsIfacesConfig *config);
typedef enum {
OOBS_IFACE_TYPE_ETHERNET,
OOBS_IFACE_TYPE_WIRELESS,
OOBS_IFACE_TYPE_IRLAN,
OOBS_IFACE_TYPE_PLIP,
OOBS_IFACE_TYPE_PPP
} OobsIfaceType;
OobsObject* oobs_ifaces_config_get (void);
Returns the OobsIfacesConfig singleton, which represents the network interfaces and their configuration.
Returns : |
the singleton OobsIfacesConfig object. |
OobsList* oobs_ifaces_config_get_ifaces (OobsIfacesConfig *config, OobsIfaceType type);
Returns an OobsList containing the interfaces that match the
type defined by type.
|
An |
|
An |
Returns : |
An OobsList, you must not unref this object. |
GList * oobs_ifaces_config_get_available_configuration_methods (OobsIfacesConfig *config);
Retrieves the list of available configuration methods for ethernet based interfaces.
|
An |
Returns : |
A |
GList * oobs_ifaces_config_get_available_key_types (OobsIfacesConfig *config);
Retrieves the list of available key types methods for wireless interfaces.
|
An |
Returns : |
A |
GList * oobs_ifaces_config_get_available_ppp_types (OobsIfacesConfig *config);
Retrieves the list of available PPP interface types.
|
An |
Returns : |
A |