OobsIfacesConfig

## OobsIfacesConfig OobsIfacesConfig — Object that represents network interfaces configuration |

## Synopsis

    enum                OobsIfaceType;
                        OobsIfacesConfig;
                        OobsIfacesConfigClass;
    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);

## Object Hierarchy

      GObject
       +----OobsObject
             +----OobsIfacesConfig

## Description

## Details

### enum OobsIfaceType

    typedef enum {
      OOBS_IFACE_TYPE_ETHERNET,
      OOBS_IFACE_TYPE_WIRELESS,
      OOBS_IFACE_TYPE_IRLAN,
      OOBS_IFACE_TYPE_PLIP,
      OOBS_IFACE_TYPE_PPP
    } OobsIfaceType;

### OobsIfacesConfig

    typedef struct _OobsIfacesConfig OobsIfacesConfig;

### OobsIfacesConfigClass

    typedef struct {
      OobsObjectClass parent_class;

      void (*_oobs_padding1) (void);
      void (*_oobs_padding2) (void);
      void (*_oobs_padding3) (void);
      void (*_oobs_padding4) (void);
    } OobsIfacesConfigClass;

### oobs_iface_type_get_type ()

    GType               oobs_iface_type_get_type            (void);

Returns : |

### oobs_ifaces_config_get ()

    OobsObject*         oobs_ifaces_config_get              (void);

Returns the OobsIfacesConfig singleton, which represents the network interfaces and their configuration.

Returns : | the singleton OobsIfacesConfig object.

### oobs_ifaces_config_get_ifaces ()

    OobsList*           oobs_ifaces_config_get_ifaces       (OobsIfacesConfig *config,
                                                             OobsIfaceType type);

Returns an OobsList containing the interfaces that match the type defined by `type`.

`config` : | An OobsIfacesConfig.
`type` : | An OobsIfaceType.
Returns : | An OobsList, you must not unref this object.

### oobs_ifaces_config_get_available_configuration_methods ()

    GList*              oobs_ifaces_config_get_available_configuration_methods
                                                            (OobsIfacesConfig *config);

Retrieves the list of available configuration methods for ethernet based interfaces.

`config` : | An OobsIfaceConfig.
Returns : | A GList of strings. This must not be modified or freed.

### oobs_ifaces_config_get_available_key_types ()

    GList*              oobs_ifaces_config_get_available_key_types
                                                            (OobsIfacesConfig *config);

Retrieves the list of available key types methods for wireless interfaces.

`config` : | An OobsIfaceConfig.
Returns : | A GList of strings. This must not be modified or freed.

### oobs_ifaces_config_get_available_ppp_types ()

    GList*              oobs_ifaces_config_get_available_ppp_types
                                                            (OobsIfacesConfig *config);

Retrieves the list of available PPP interface types.

`config` : | An OobsIfaceConfig.
Returns : | A GList of strings. This must not be modified or freed.

## See Also

OobsIface, OobsIfaceEthernet, OobsIfaceIRLan, OobsIfacePlip, OobsIfacePPP, OobsIfaceWireless