Function gaiaXmlBlobSetFileId

Source
pub unsafe extern "C" fn gaiaXmlBlobSetFileId(
    p_cache: *const c_void,
    blob: *const c_uchar,
    size: c_int,
    identifier: *const c_char,
    new_blob: *mut *mut c_uchar,
    new_size: *mut c_int,
) -> c_int
Expand description

Return a new XmlBLOB (ISO Metadata) by replacing the FileId value

\param p_cache a memory pointer returned by spatialite_alloc_connection() \param blob pointer to the input XmlBLOB buffer. \param size input XmlBLOB’s size (in bytes). \param identifier the new FileId value to be set. \param new_blob on completion will contain a pointer to the output XmlBLOB buffer. \param new_size on completion will containg the output XmlBlob’s size (in bytes).

\return TRUE for success; FALSE for any failure cause.

\sa gaiaIsIsoMetadataXmlBlob, gaiaXmlBlobGetFileId, gaiaXmlBlobAddFileId

\note the output XmlBLOB corresponds to dynamically allocated memory: so you are responsible to free() it before or after.