[][src]Function spatialite_sys::gaiaXmlBlobSetParentId

pub unsafe extern "C" fn gaiaXmlBlobSetParentId(
    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

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

\param p_cache a memory pointer returned by spatialite_alloc_connection() \param blob pointer to the inputXmlBLOB buffer. \param size input XmlBLOB's size (in bytes). \param identifier the new ParentId 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, gaiaXmlBlobGetParentId, gaiaXmlBlobAddParentId

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