Constructor
AppStreamChecksumnew_with_value
Declaration [src]
AsChecksum*
as_checksum_new_with_value (
AsChecksumKind kind,
const gchar* value
)
Description [src]
Creates a new AsChecksum
with the given hash
function and hash value.
Available since: | 0.12.11 |
Parameters
kind |
AsChecksumKind |
No description available. | |
value |
const gchar* |
No description available. | |
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. |
Return value
Returns: | AsChecksum |
An |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |