libostree-deployment

libostree-deployment

Functions

Types and Values

Description

Functions

ostree_deployment_hash ()

guint
ostree_deployment_hash (gconstpointer v);

ostree_deployment_equal ()

gboolean
ostree_deployment_equal (gconstpointer ap,
                         gconstpointer bp);

Parameters

ap

A deployment.

[type OstreeDeployment]

bp

A deployment.

[type OstreeDeployment]

Returns

TRUE if deployments have the same osname, csum, and deployserial


ostree_deployment_new ()

OstreeDeployment *
ostree_deployment_new (int index,
                       const char *osname,
                       const char *csum,
                       int deployserial,
                       const char *bootcsum,
                       int bootserial);

ostree_deployment_get_index ()

int
ostree_deployment_get_index (OstreeDeployment *self);

ostree_deployment_get_osname ()

const char *
ostree_deployment_get_osname (OstreeDeployment *self);

ostree_deployment_get_deployserial ()

int
ostree_deployment_get_deployserial (OstreeDeployment *self);

ostree_deployment_get_csum ()

const char *
ostree_deployment_get_csum (OstreeDeployment *self);

ostree_deployment_get_bootcsum ()

const char *
ostree_deployment_get_bootcsum (OstreeDeployment *self);

ostree_deployment_get_bootserial ()

int
ostree_deployment_get_bootserial (OstreeDeployment *self);

ostree_deployment_get_bootconfig ()

OstreeBootconfigParser *
ostree_deployment_get_bootconfig (OstreeDeployment *self);

Parameters

self

Deployment

 

Returns

Boot configuration.

[transfer none]


ostree_deployment_get_origin ()

GKeyFile *
ostree_deployment_get_origin (OstreeDeployment *self);

Parameters

self

Deployment

 

Returns

Origin.

[transfer none]


ostree_deployment_set_index ()

void
ostree_deployment_set_index (OstreeDeployment *self,
                             int index);

ostree_deployment_set_bootserial ()

void
ostree_deployment_set_bootserial (OstreeDeployment *self,
                                  int index);

ostree_deployment_set_bootconfig ()

void
ostree_deployment_set_bootconfig (OstreeDeployment *self,
                                  OstreeBootconfigParser *bootconfig);

ostree_deployment_set_origin ()

void
ostree_deployment_set_origin (OstreeDeployment *self,
                              GKeyFile *origin);

ostree_deployment_clone ()

OstreeDeployment *
ostree_deployment_clone (OstreeDeployment *self);

Parameters

self

Deployment

 

Returns

New deep copy of self .

[transfer full]

Types and Values

OstreeDeployment

typedef struct _OstreeDeployment OstreeDeployment;