![]() |
![]() |
![]() |
ZIF Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#define ZIF_UPDATE_INFO_ERROR struct ZifUpdateInfo; ZifUpdateInfoPrivate; struct ZifUpdateInfoClass; enum ZifUpdateInfoKind; ZifUpdateInfo * zif_update_info_new (void
); ZifUpdateInfoKind zif_update_info_get_kind (ZifUpdateInfo *update_info
); const gchar * zif_update_info_get_url (ZifUpdateInfo *update_info
); const gchar * zif_update_info_get_title (ZifUpdateInfo *update_info
); void zif_update_info_set_kind (ZifUpdateInfo *update_info
,ZifUpdateInfoKind kind
); void zif_update_info_set_url (ZifUpdateInfo *update_info
,const gchar *url
); void zif_update_info_set_title (ZifUpdateInfo *update_info
,const gchar *title
); const gchar * zif_update_info_kind_to_string (ZifUpdateInfoKind type
); ZifUpdateInfoKind zif_update_info_kind_from_string (const gchar *type
);
typedef enum { ZIF_UPDATE_INFO_KIND_CVE, ZIF_UPDATE_INFO_KIND_BUGZILLA, ZIF_UPDATE_INFO_KIND_VENDOR, ZIF_UPDATE_INFO_KIND_LAST } ZifUpdateInfoKind;
ZifUpdateInfo * zif_update_info_new (void
);
Returns : |
A new ZifUpdateInfo instance. |
Since 0.1.0
ZifUpdateInfoKind zif_update_info_get_kind (ZifUpdateInfo *update_info
);
Gets the update info kind.
|
A ZifUpdateInfo |
Returns : |
The kind of update info, e.g. ZIF_UPDATE_INFO_KIND_CVE . |
Since 0.1.0
const gchar * zif_update_info_get_url (ZifUpdateInfo *update_info
);
Gets the URL for this update.
|
A ZifUpdateInfo |
Returns : |
A string value, or NULL . |
Since 0.1.0
const gchar * zif_update_info_get_title (ZifUpdateInfo *update_info
);
Gets the title for this update.
|
A ZifUpdateInfo |
Returns : |
A string value, or NULL . |
Since 0.1.0
void zif_update_info_set_kind (ZifUpdateInfo *update_info
,ZifUpdateInfoKind kind
);
Sets the update info kind.
|
A ZifUpdateInfo |
|
A kind of update info, e.g. ZIF_UPDATE_INFO_KIND_BUGZILLA
|
Since 0.1.0
void zif_update_info_set_url (ZifUpdateInfo *update_info
,const gchar *url
);
Sets the update info URL.
|
A ZifUpdateInfo |
|
The update info URL |
Since 0.1.0
void zif_update_info_set_title (ZifUpdateInfo *update_info
,const gchar *title
);
Sets the update info title.
|
A ZifUpdateInfo |
|
The update info title |
Since 0.1.0
const gchar * zif_update_info_kind_to_string (ZifUpdateInfoKind type
);
Gets the string representation of a ZifUpdateInfoKind.
|
A ZifUpdateInfoKind enumerated value |
Returns : |
A string |
ZifUpdateInfoKind zif_update_info_kind_from_string (const gchar *type
);
Gets the string representation of a ZifUpdateInfoKind.
|
A ZifUpdateInfoKind enumerated value |
Returns : |
A string |