Method

TrackerResourceidentifier_compare_func

Declaration [src]

gint
tracker_resource_identifier_compare_func (
  TrackerResource* resource,
  const char* identifier
)

Description [src]

A helper function that compares a TrackerResource by its identifier string.

Parameters

identifier const char*
 

A string identifying the resource.

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

Return value

Returns: gint
 

An integer less than, equal to, or greater than zero, if the resource identifier is <, == or > than identifier.