Constructor

TrackerResourcenew

Declaration [src]

TrackerResource*
tracker_resource_new (
  const char* identifier
)

Description [src]

Creates a TrackerResource instance.

Parameters

identifier const char*
 

A string containing a URI, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.

Return value

Returns: TrackerResource
 

A newly created TrackerResource.

 The caller of the function takes ownership of the data, and is responsible for freeing it.