Function

Grlmultiple_search_sync

since: 0.2.0

Declaration [src]

GList*
grl_multiple_search_sync (
  const GList* sources,
  const gchar* text,
  const GList* keys,
  GrlOperationOptions* options,
  GError** error
)

Description [src]

Search for text in all the sources specified in sources.

This method is synchronous.

Available since: 0.2.0

Parameters

sources

Type: A list of None

a GList of GrlSources where to search from (NULL for all available sources with search capability)

The argument can be NULL.
The data is owned by the caller of the function.
text

Type: const gchar*

The text to search for.

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

Type: A list of None

The GList of GrlKeyID to retrieve.

The data is owned by the caller of the function.
options

Type: GrlOperationOptions

Options wanted for that operation.

The data is owned by the caller of the function.
error

Type: GError **

The return location for a recoverable error.

The argument can be NULL.
If the return location is not NULL, then you must initialize it to a NULL GError*.
The argument will be left initialized to NULL by the function if there are no errors.
In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.

Return value

Type: A list of GrlMedia*

A list with GrlMedia elements.

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