Method

AravisDomDocumentget_href_data

Declaration [src]

void*
arv_dom_document_get_href_data (
  ArvDomDocument* self,
  const char* href,
  gsize* size
)

Description [src]

Load the content referenced by href.

Parameters

href const char*
 

Document reference.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
size gsize*
 

Data size placeholder.

 The data is owned by the caller of the function.

Return value

Returns: void*
 

A newly allocated data buffer.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.