![]() |
![]() |
![]() |
ZIF Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#define ZIF_UPDATE_INFO_ERROR struct ZifUpdateInfo; struct ZifUpdateInfoClass; enum ZifUpdateInfoKind; ZifUpdateInfoKind zif_update_info_get_kind (ZifUpdateInfo *update_info
); const gchar * zif_update_info_get_title (ZifUpdateInfo *update_info
); const gchar * zif_update_info_get_url (ZifUpdateInfo *update_info
); ZifUpdateInfoKind zif_update_info_kind_from_string (const gchar *type
); const gchar * zif_update_info_kind_to_string (ZifUpdateInfoKind type
); ZifUpdateInfo * zif_update_info_new (void
);
typedef enum { ZIF_UPDATE_INFO_KIND_CVE, ZIF_UPDATE_INFO_KIND_BUGZILLA, ZIF_UPDATE_INFO_KIND_VENDOR, ZIF_UPDATE_INFO_KIND_LAST } ZifUpdateInfoKind;
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_title (ZifUpdateInfo *update_info
);
Gets the title for this update.
|
A ZifUpdateInfo |
Returns : |
A string value, or NULL . |
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
ZifUpdateInfoKind zif_update_info_kind_from_string (const gchar *type
);
Gets the string representation of a ZifUpdateInfoKind.
|
A ZifUpdateInfoKind enumerated value |
Returns : |
A string |
const gchar * zif_update_info_kind_to_string (ZifUpdateInfoKind type
);
Gets the string representation of a ZifUpdateInfoKind.
|
A ZifUpdateInfoKind enumerated value |
Returns : |
A string |
ZifUpdateInfo * zif_update_info_new (void
);
Returns : |
A new ZifUpdateInfo instance. |
Since 0.1.0