Top | Description | Object Hierarchy | ![]() |
![]() |
![]() |
![]() |
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
);
OsinfoDeviceLinkList is a list specialization that stores only OsinfoDeviceLink objects.
OsinfoDeviceLinkList * osinfo_devicelinklist_new (void
);
Construct a new devicelink list that is initially empty.
Returns : |
an empty devicelink list. [transfer full] |
OsinfoDeviceLinkList * osinfo_devicelinklist_new_copy (OsinfoDeviceLinkList *source
);
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
|
the devicelink list to copy |
Returns : |
a copy of the devicelink list. [transfer full] |
OsinfoDeviceLinkList * osinfo_devicelinklist_new_filtered (OsinfoDeviceLinkList *source
,OsinfoFilter *filter
);
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
|
the devicelink list to copy |
|
the filter to apply |
Returns : |
a filtered copy of the devicelink list. [transfer full] |
OsinfoDeviceLinkList * osinfo_devicelinklist_new_intersection (OsinfoDeviceLinkList *sourceOne
,OsinfoDeviceLinkList *sourceTwo
);
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
.
|
the first devicelink list to copy |
|
the second devicelink list to copy |
Returns : |
an intersection of the two devicelink lists. [transfer full] |
OsinfoDeviceLinkList * osinfo_devicelinklist_new_union (OsinfoDeviceLinkList *sourceOne
,OsinfoDeviceLinkList *sourceTwo
);
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
.
|
the first devicelink list to copy |
|
the second devicelink list to copy |
Returns : |
a union of the two devicelink lists. [transfer full] |
OsinfoDeviceList * osinfo_devicelinklist_get_devices (OsinfoDeviceLinkList *list
,OsinfoFilter *filter
);
Get all devices matching a given filter
|
an device link list |
|
an optional device property filter. [allow-none][transfer none] |
Returns : |
A list of devices. [transfer full] |