[−][src]Function spatialite_sys::gaiaXmlBlobAddFileId
pub unsafe extern "C" fn gaiaXmlBlobAddFileId(
p_cache: *const c_void,
blob: *const c_uchar,
size: c_int,
identifier: *const c_char,
ns_id: *const c_char,
uri_id: *const c_char,
ns_charstr: *const c_char,
uri_charstr: *const c_char,
new_blob: *mut *mut c_uchar,
new_size: *mut c_int
) -> c_int
Return a new XmlBLOB (ISO Metadata) by inserting a 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 inserted. \param ns_id prefix corresponding to FileIdentifier NameSpace (may be NULL) \param uri_id URI corresponding to the FileIdentifier NameSpace (may be NULL) \param ns_charstr prefix corresponding to CharacterString NameSpace (may be NULL) \param uri_charstr URI corresponding to CharacterString NameSpace (may be NULL) \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, gaiaXmlBlobSetFileId
\note the output XmlBLOB corresponds to dynamically allocated memory: so you are responsible to free() it before or after.