Function

Grlmultiple_search

since: 0.2.0

Declaration [src]

guint
grl_multiple_search (
  const GList* sources,
  const gchar* text,
  const GList* keys,
  GrlOperationOptions* options,
  GrlSourceResultCb callback,
  gpointer user_data
)

Description [src]

Search for text in all the sources specified in sources.

If text is NULL then NULL-text searchs will be used for each searchable plugin (see #grl_source_search for more details).

This method is asynchronous.

Available since: 0.2.0

Parameters

sources

Type: A list of None

a GList of GrlSources to search from (NULL for all searchable sources)

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.
callback

Type: GrlSourceResultCb

The user defined callback.

user_data

Type: gpointer

The user data to pass to the user callback.

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

Return value

Type: guint

The operation identifier.