Top | Description | Object Hierarchy | ![]() |
![]() |
![]() |
![]() |
struct OsinfoDeviceList; struct OsinfoDeviceListClass; OsinfoDeviceList * osinfo_devicelist_new (void
); OsinfoDeviceList * osinfo_devicelist_new_copy (OsinfoDeviceList *source
); OsinfoDeviceList * osinfo_devicelist_new_filtered (OsinfoDeviceList *source
,OsinfoFilter *filter
); OsinfoDeviceList * osinfo_devicelist_new_intersection (OsinfoDeviceList *sourceOne
,OsinfoDeviceList *sourceTwo
); OsinfoDeviceList * osinfo_devicelist_new_union (OsinfoDeviceList *sourceOne
,OsinfoDeviceList *sourceTwo
);
OsinfoDeviceList * osinfo_devicelist_new (void
);
Construct a new device list that is initially empty.
Returns : |
an empty device list. [transfer full] |
OsinfoDeviceList * osinfo_devicelist_new_copy (OsinfoDeviceList *source
);
osinfo_devicelist_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 device list that is filled with devices
from source
|
the device list to copy |
Returns : |
a copy of the device list. [transfer full] |
OsinfoDeviceList * osinfo_devicelist_new_filtered (OsinfoDeviceList *source
,OsinfoFilter *filter
);
osinfo_devicelist_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 device list that is filled with devices
from source
that match filter
|
the device list to copy |
|
the filter to apply |
Returns : |
a filtered copy of the device list. [transfer full] |
OsinfoDeviceList * osinfo_devicelist_new_intersection (OsinfoDeviceList *sourceOne
,OsinfoDeviceList *sourceTwo
);
osinfo_devicelist_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 device list that is filled with only the
devices that are present in both sourceOne
and sourceTwo
.
|
the first device list to copy |
|
the second device list to copy |
Returns : |
an intersection of the two device lists. [transfer full] |
OsinfoDeviceList * osinfo_devicelist_new_union (OsinfoDeviceList *sourceOne
,OsinfoDeviceList *sourceTwo
);
osinfo_devicelist_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 device list that is filled with all the
devices that are present in either sourceOne
and sourceTwo
.
|
the first device list to copy |
|
the second device list to copy |
Returns : |
a union of the two device lists. [transfer full] |