![]() |
![]() |
![]() |
ZIF Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#define ZIF_CHANGESET_ERROR ZifChangeset; ZifChangesetPrivate; ZifChangesetClass; ZifChangeset * zif_changeset_new (void
); guint64 zif_changeset_get_date (ZifChangeset *changeset
); const gchar * zif_changeset_get_author (ZifChangeset *changeset
); const gchar * zif_changeset_get_description (ZifChangeset *changeset
); const gchar * zif_changeset_get_version (ZifChangeset *changeset
); void zif_changeset_set_date (ZifChangeset *changeset
,guint64 date
); void zif_changeset_set_author (ZifChangeset *changeset
,const gchar *author
); void zif_changeset_set_description (ZifChangeset *changeset
,const gchar *description
); void zif_changeset_set_version (ZifChangeset *changeset
,const gchar *version
); gboolean zif_changeset_parse_header (ZifChangeset *changeset
,const gchar *header
,GError **error
);
"author" gchar* : Read "date" guint64 : Read "description" gchar* : Read "version" gchar* : Read
ZifChangeset * zif_changeset_new (void
);
Returns : |
A new ZifChangeset class instance. |
Since 0.1.0
guint64 zif_changeset_get_date (ZifChangeset *changeset
);
Gets the date and date of the update.
|
the ZifChangeset object |
Returns : |
the date of the update, or 0 for unset. |
Since 0.1.0
const gchar * zif_changeset_get_author (ZifChangeset *changeset
);
Gets the author for this changeset.
|
the ZifChangeset object |
Returns : |
A string value, or NULL .
|
Since 0.1.0
const gchar * zif_changeset_get_description (ZifChangeset *changeset
);
Gets the description for this changeset.
|
the ZifChangeset object |
Returns : |
A string value, or NULL .
|
Since 0.1.0
const gchar * zif_changeset_get_version (ZifChangeset *changeset
);
Gets the date this changeset was version.
|
the ZifChangeset object |
Returns : |
A string value, or NULL .
|
Since 0.1.0
void zif_changeset_set_date (ZifChangeset *changeset
,guint64 date
);
Sets the changeset date status.
|
the ZifChangeset object |
|
The date of the changeset |
Since 0.1.0
void zif_changeset_set_author (ZifChangeset *changeset
,const gchar *author
);
Sets the changeset author.
|
the ZifChangeset object |
|
the changeset author |
Since 0.1.0
void zif_changeset_set_description (ZifChangeset *changeset
,const gchar *description
);
Sets the changeset description.
|
the ZifChangeset object |
|
the changeset description |
Since 0.1.0
void zif_changeset_set_version (ZifChangeset *changeset
,const gchar *version
);
Sets the date the changeset was version.
|
the ZifChangeset object |
|
the changeset version date |
Since 0.1.0
gboolean zif_changeset_parse_header (ZifChangeset *changeset
,const gchar *header
,GError **error
);
Sets the author and version from the package header.
|
the ZifChangeset object |
|
the package header, e.g "Ania Hughes <ahughes&redhat.com> - 2.29.91-1.fc13" |
|
a GError which is used on failure, or NULL
|
Returns : |
TRUE if the data was parsed correctly
|
Since 0.1.0