OsinfoDeviceLinkList

## OsinfoDeviceLinkList OsinfoDeviceLinkList — A list of hardware devicelink |

## Synopsis

    struct              OsinfoDeviceLinkList;
    struct              OsinfoDeviceLinkListClass;
    OsinfoDeviceLinkList * osinfo_devicelinklist_new        (void);
    OsinfoDeviceLinkList * osinfo_devicelinklist_new_copy   (OsinfoDeviceLinkList *source);
    OsinfoDeviceLinkList * osinfo_devicelinklist_new_filtered
                                                            (OsinfoDeviceLinkList *source,
                                                             OsinfoFilter *filter);
    OsinfoDeviceLinkList * osinfo_devicelinklist_new_intersection
                                                            (OsinfoDeviceLinkList *sourceOne,
                                                             OsinfoDeviceLinkList *sourceTwo);
    OsinfoDeviceLinkList * osinfo_devicelinklist_new_union  (OsinfoDeviceLinkList *sourceOne,
                                                             OsinfoDeviceLinkList *sourceTwo);
    OsinfoDeviceList *  osinfo_devicelinklist_get_devices   (OsinfoDeviceLinkList *list,
                                                             OsinfoFilter *filter);

## Object Hierarchy

      GObject
       +----OsinfoList
             +----OsinfoDeviceLinkList

## Description

OsinfoDeviceLinkList is a list specialization that stores only OsinfoDeviceLink objects.

## Details

### struct OsinfoDeviceLinkList

    struct OsinfoDeviceLinkList;

### struct OsinfoDeviceLinkListClass

    struct OsinfoDeviceLinkListClass {
    };

### osinfo_devicelinklist_new ()

    OsinfoDeviceLinkList * osinfo_devicelinklist_new        (void);

Construct a new devicelink list that is initially empty.

Returns : | an empty devicelink list. [transfer full]

### osinfo_devicelinklist_new_copy ()

    OsinfoDeviceLinkList * osinfo_devicelinklist_new_copy   (OsinfoDeviceLinkList *source);

### Warning

`osinfo_devicelinklist_new_copy` has been deprecated since version 0.2.2 and should not be used in newly-written code. Use `osinfo_list_new_copy()` instead.

Construct a new devicelink list that is filled with devicelinks from `source`

`source` : | the devicelink list to copy
Returns : | a copy of the devicelink list. [transfer full]

### osinfo_devicelinklist_new_filtered ()

    OsinfoDeviceLinkList * osinfo_devicelinklist_new_filtered
                                                            (OsinfoDeviceLinkList *source,
                                                             OsinfoFilter *filter);

### Warning

`osinfo_devicelinklist_new_filtered` has been deprecated since version 0.2.2 and should not be used in newly-written code. Use `osinfo_list_new_filtered()` instead.

Construct a new devicelink list that is filled with devicelinks from `source` that match `filter`

`source` : | the devicelink list to copy
`filter` : | the filter to apply
Returns : | a filtered copy of the devicelink list. [transfer full]

### osinfo_devicelinklist_new_intersection ()

    OsinfoDeviceLinkList * osinfo_devicelinklist_new_intersection
                                                            (OsinfoDeviceLinkList *sourceOne,
                                                             OsinfoDeviceLinkList *sourceTwo);

### Warning

`osinfo_devicelinklist_new_intersection` has been deprecated since version 0.2.2 and should not be used in newly-written code. Use `osinfo_list_new_intersection()` instead.

Construct a new devicelink list that is filled with only the devicelinks that are present in both `sourceOne` and `sourceTwo`.

`sourceOne` : | the first devicelink list to copy
`sourceTwo` : | the second devicelink list to copy
Returns : | an intersection of the two devicelink lists. [transfer full]

### osinfo_devicelinklist_new_union ()

    OsinfoDeviceLinkList * osinfo_devicelinklist_new_union  (OsinfoDeviceLinkList *sourceOne,
                                                             OsinfoDeviceLinkList *sourceTwo);

### Warning

`osinfo_devicelinklist_new_union` has been deprecated since version 0.2.2 and should not be used in newly-written code. Use `osinfo_list_new_union()` instead.

Construct a new devicelink list that is filled with all the devicelinks that are present in either `sourceOne` and `sourceTwo`.

`sourceOne` : | the first devicelink list to copy
`sourceTwo` : | the second devicelink list to copy
Returns : | a union of the two devicelink lists. [transfer full]

### osinfo_devicelinklist_get_devices ()

    OsinfoDeviceList *  osinfo_devicelinklist_get_devices   (OsinfoDeviceLinkList *list,
                                                             OsinfoFilter *filter);

Get all devices matching a given filter

`list` : | an device link list
`filter` : | an optional device property filter. [allow-none][transfer none]
Returns : | A list of devices. [transfer full]

## See Also

OsinfoList, OsinfoDeviceLink