| Libosinfo Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
struct OsinfoProductList; struct OsinfoProductListClass; OsinfoProductList * osinfo_productlist_new (void); OsinfoProductList * osinfo_productlist_new_copy (OsinfoProductList *source); OsinfoProductList * osinfo_productlist_new_filtered (OsinfoProductList *source,OsinfoFilter *filter); OsinfoProductList * osinfo_productlist_new_intersection (OsinfoProductList *sourceOne,OsinfoProductList *sourceTwo); OsinfoProductList * osinfo_productlist_new_union (OsinfoProductList *sourceOne,OsinfoProductList *sourceTwo);
GObject +----OsinfoList +----OsinfoProductList +----OsinfoOsList +----OsinfoPlatformList
struct OsinfoProductListClass {
OsinfoListClass parent_class;
/* class members */
};
OsinfoProductList * osinfo_productlist_new (void);
Construct a new os list that is initially empty.
Returns : |
an empty os list. [transfer full] |
OsinfoProductList * osinfo_productlist_new_copy (OsinfoProductList *source);
Construct a new os list that is filled with oss
from source
|
the os list to copy |
Returns : |
a copy of the os list. [transfer full] |
OsinfoProductList * osinfo_productlist_new_filtered (OsinfoProductList *source,OsinfoFilter *filter);
Construct a new os list that is filled with oss
from source that match filter
|
the os list to copy |
|
the filter to apply |
Returns : |
a filtered copy of the os list. [transfer full] |
OsinfoProductList * osinfo_productlist_new_intersection (OsinfoProductList *sourceOne,OsinfoProductList *sourceTwo);
Construct a new os list that is filled with only the
oss that are present in both sourceOne and sourceTwo.
|
the first os list to copy |
|
the second os list to copy |
Returns : |
an intersection of the two os lists. [transfer full] |
OsinfoProductList * osinfo_productlist_new_union (OsinfoProductList *sourceOne,OsinfoProductList *sourceTwo);
Construct a new os list that is filled with all the
oss that are present in either sourceOne and sourceTwo.
|
the first os list to copy |
|
the second os list to copy |
Returns : |
a union of the two os lists. [transfer full] |