Top |
Functions
AsChecksum * | as_checksum_new () |
AsChecksumTarget | as_checksum_target_from_string () |
const gchar * | as_checksum_target_to_string () |
const gchar * | as_checksum_get_filename () |
const gchar * | as_checksum_get_value () |
GChecksumType | as_checksum_get_kind () |
AsChecksumTarget | as_checksum_get_target () |
void | as_checksum_set_filename () |
void | as_checksum_set_value () |
void | as_checksum_set_kind () |
void | as_checksum_set_target () |
Functions
as_checksum_target_from_string ()
AsChecksumTarget
as_checksum_target_from_string (const gchar *target
);
Converts the text representation to an enumerated value.
Since: 0.4.2
as_checksum_target_to_string ()
const gchar *
as_checksum_target_to_string (AsChecksumTarget target
);
Converts the enumerated value to an text representation.
Since: 0.4.2
as_checksum_get_filename ()
const gchar *
as_checksum_get_filename (AsChecksum *checksum
);
Gets the full qualified URL for the checksum, usually pointing at some mirror.
Since: 0.4.2
as_checksum_get_value ()
const gchar *
as_checksum_get_value (AsChecksum *checksum
);
Gets the suggested value the checksum, including file extension.
Since: 0.4.2
as_checksum_get_kind ()
GChecksumType
as_checksum_get_kind (AsChecksum *checksum
);
Gets the checksum kind.
Since: 0.4.2
as_checksum_get_target ()
AsChecksumTarget
as_checksum_get_target (AsChecksum *checksum
);
Gets the checksum target.
Since: 0.4.2
as_checksum_set_filename ()
void as_checksum_set_filename (AsChecksum *checksum
,const gchar *filename
);
Sets the filename used to generate the checksum.
Since: 0.4.2
as_checksum_set_value ()
void as_checksum_set_value (AsChecksum *checksum
,const gchar *value
);
Sets the checksum value filename.
Since: 0.4.2
as_checksum_set_kind ()
void as_checksum_set_kind (AsChecksum *checksum
,GChecksumType kind
);
Sets the checksum kind.
Since: 0.4.2
as_checksum_set_target ()
void as_checksum_set_target (AsChecksum *checksum
,AsChecksumTarget target
);
Sets the checksum target.
Parameters
checksum |
a AsChecksum instance. |
|
target |
the GChecksumType, e.g. |
Since: 0.4.2