Top |
JcatBlobKind | jcat_blob_kind_from_string () |
const gchar * | jcat_blob_kind_to_string () |
const gchar * | jcat_blob_kind_to_filename_ext () |
JcatBlob * | jcat_blob_new () |
JcatBlob * | jcat_blob_new_full () |
JcatBlob * | jcat_blob_new_utf8 () |
gchar * | jcat_blob_to_string () |
GBytes * | jcat_blob_get_data () |
gchar * | jcat_blob_get_data_as_string () |
JcatBlobKind | jcat_blob_get_kind () |
JcatBlobKind | jcat_blob_get_target () |
void | jcat_blob_set_target () |
gint64 | jcat_blob_get_timestamp () |
void | jcat_blob_set_timestamp () |
const gchar * | jcat_blob_get_appstream_id () |
void | jcat_blob_set_appstream_id () |
#define | JCAT_TYPE_BLOB |
enum | JcatBlobKind |
enum | JcatBlobMethod |
enum | JcatBlobFlags |
struct | JcatBlobClass |
JcatBlob |
JcatBlobKind
jcat_blob_kind_from_string (const gchar *kind
);
Converts the string to an enumerated kind.
Since: 0.1.0
const gchar *
jcat_blob_kind_to_string (JcatBlobKind kind
);
Converts the enumerated kind to a string.
Since: 0.1.0
const gchar *
jcat_blob_kind_to_filename_ext (JcatBlobKind kind
);
Converts the enumerated kind to the normal file extension.
Since: 0.1.0
JcatBlob * jcat_blob_new (JcatBlobKind kind
,GBytes *data
);
Creates a new blob.
Since: 0.1.0
JcatBlob * jcat_blob_new_full (JcatBlobKind kind
,GBytes *data
,JcatBlobFlags flags
);
Creates a new blob.
Since: 0.1.0
JcatBlob * jcat_blob_new_utf8 (JcatBlobKind kind
,const gchar *data
);
Creates a new ASCII blob.
Since: 0.1.0
gchar *
jcat_blob_to_string (JcatBlob *self
);
Converts the JcatBlob to a string.
Since: 0.1.0
GBytes *
jcat_blob_get_data (JcatBlob *self
);
Gets the data stored in the blob, typically in binary (unprintable) form.
Since: 0.1.0
gchar *
jcat_blob_get_data_as_string (JcatBlob *self
);
Gets the data stored in the blob, in human readable form.
Since: 0.1.0
JcatBlobKind
jcat_blob_get_kind (JcatBlob *self
);
gets the blob kind
Since: 0.1.0
JcatBlobKind
jcat_blob_get_target (JcatBlob *self
);
Gets the blob target.
Since: 0.2.0
void jcat_blob_set_target (JcatBlob *self
,JcatBlobKind target
);
Sets the blob target.
Since: 0.2.0
gint64
jcat_blob_get_timestamp (JcatBlob *self
);
Gets the creation timestamp for the blob.
Since: 0.1.0
void jcat_blob_set_timestamp (JcatBlob *self
,gint64 timestamp
);
Sets the creation timestamp for the blob.
Since: 0.1.0
const gchar *
jcat_blob_get_appstream_id (JcatBlob *self
);
Gets the optional AppStream ID for the blob.
Since: 0.1.0
The kind of blob stored as a signature on the item.