![]() |
![]() |
![]() |
Libosinfo Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
struct OsinfoDeploymentList; struct OsinfoDeploymentListClass; OsinfoDeploymentList * osinfo_deploymentlist_new (void
); OsinfoDeploymentList * osinfo_deploymentlist_new_copy (OsinfoDeploymentList *source
); OsinfoDeploymentList * osinfo_deploymentlist_new_filtered (OsinfoDeploymentList *source
,OsinfoFilter *filter
); OsinfoDeploymentList * osinfo_deploymentlist_new_intersection (OsinfoDeploymentList *sourceOne
,OsinfoDeploymentList *sourceTwo
); OsinfoDeploymentList * osinfo_deploymentlist_new_union (OsinfoDeploymentList *sourceOne
,OsinfoDeploymentList *sourceTwo
);
OsinfoDeploymentList is a list specialization that stores only OsinfoDeployment objects.
struct OsinfoDeploymentListClass { OsinfoListClass parent_class; /* class members */ };
OsinfoDeploymentList * osinfo_deploymentlist_new (void
);
Construct a new deployment list that is initially empty.
Returns : |
an empty deployment list. [transfer full] |
OsinfoDeploymentList * osinfo_deploymentlist_new_copy (OsinfoDeploymentList *source
);
Construct a new deployment list that is filled with deployments
from source
|
the deployment list to copy |
Returns : |
a copy of the deployment list. [transfer full] |
OsinfoDeploymentList * osinfo_deploymentlist_new_filtered (OsinfoDeploymentList *source
,OsinfoFilter *filter
);
Construct a new deployment list that is filled with deployments
from source
that match filter
|
the deployment list to copy |
|
the filter to apply |
Returns : |
a filtered copy of the deployment list. [transfer full] |
OsinfoDeploymentList * osinfo_deploymentlist_new_intersection (OsinfoDeploymentList *sourceOne
,OsinfoDeploymentList *sourceTwo
);
Construct a new deployment list that is filled with only the
deployments that are present in both sourceOne
and sourceTwo
.
|
the first deployment list to copy |
|
the second deployment list to copy |
Returns : |
an intersection of the two deployment lists. [transfer full] |
OsinfoDeploymentList * osinfo_deploymentlist_new_union (OsinfoDeploymentList *sourceOne
,OsinfoDeploymentList *sourceTwo
);
Construct a new deployment list that is filled with all the
deployments that are present in either sourceOne
and sourceTwo
.
|
the first deployment list to copy |
|
the second deployment list to copy |
Returns : |
a union of the two deployment lists. [transfer full] |