Top |
JcatItem * | jcat_item_new () |
gchar * | jcat_item_to_string () |
GPtrArray * | jcat_item_get_blobs () |
GPtrArray * | jcat_item_get_blobs_by_kind () |
JcatBlob * | jcat_item_get_blob_by_kind () |
void | jcat_item_add_blob () |
const gchar * | jcat_item_get_id () |
void | jcat_item_add_alias_id () |
void | jcat_item_remove_alias_id () |
GPtrArray * | jcat_item_get_alias_ids () |
gboolean | jcat_item_has_target () |
gchar *
jcat_item_to_string (JcatItem *self
);
Converts the JcatItem to a string.
Since: 0.1.0
GPtrArray *
jcat_item_get_blobs (JcatItem *self
);
Gets all the blobs for this item.
Since: 0.1.0
GPtrArray * jcat_item_get_blobs_by_kind (JcatItem *self
,JcatBlobKind kind
);
Gets the item blobs by a specific kind.
Since: 0.1.0
JcatBlob * jcat_item_get_blob_by_kind (JcatItem *self
,JcatBlobKind kind
,GError **error
);
Gets the item blobs by a specific kind.
Since: 0.2.0
void jcat_item_add_blob (JcatItem *self
,JcatBlob *blob
);
Adds a new blob to the item.
Since: 0.1.0
const gchar *
jcat_item_get_id (JcatItem *self
);
Returns the item ID.
Since: 0.1.0
void jcat_item_add_alias_id (JcatItem *self
,const gchar *id
);
Adds an item alias ID. Alias IDs are matched when using functions such as
jcat_file_get_item_by_id()
.
Since: 0.1.1
void jcat_item_remove_alias_id (JcatItem *self
,const gchar *id
);
Removes an item alias ID.
Since: 0.1.1
GPtrArray *
jcat_item_get_alias_ids (JcatItem *self
);
Gets the list of alias IDs.
Since: 0.1.1
gboolean
jcat_item_has_target (JcatItem *self
);
Finds out if any of the blobs are targeting an internal checksum.
If this returns with success then the caller might be able to use functions like
jcat_context_verify_target()
supplying some target checksums.
Since: 0.2.0