Method
SysprofDocumentlookup_file
Declaration [src]
SysprofDocumentFile*
sysprof_document_lookup_file (
SysprofDocument* self,
const char* path
)
Description [src]
Locates path within the document and returns a SysprofDocumentFile if
it was found which can be used to access the contents.
Parameters
path-
Type:
const char*The path of the file.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string.
Return value
Type: SysprofDocumentFile
A SysprofDocumentFile.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |
The return value can be NULL. |