<refentry id="libtracker-client-Search-(Deprecated)">
<refmeta>
<refentrytitle role="top_of_page" id="libtracker-client-Search-(Deprecated).top_of_page">Search (Deprecated)</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBTRACKER-CLIENT Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>Search (Deprecated)</refname>
<refpurpose>Simple search functions.</refpurpose>
</refnamediv>

<refsynopsisdiv id="libtracker-client-Search-(Deprecated).synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>

#include &lt;libtracker-client/tracker.h&gt;

<link linkend="void">void</link>                (<link linkend="TrackerReplyGPtrArray">*TrackerReplyGPtrArray</link>)            (<link linkend="GPtrArray">GPtrArray</link> *result,
                                                         <link linkend="GError">GError</link> *error,
                                                         <link linkend="gpointer">gpointer</link> user_data);
<link linkend="guint">guint</link>               <link linkend="tracker-search-metadata-by-text-async">tracker_search_metadata_by_text_async</link>
                                                        (<link linkend="TrackerClient">TrackerClient</link> *client,
                                                         const <link linkend="gchar">gchar</link> *query,
                                                         <link linkend="TrackerReplyArray">TrackerReplyArray</link> callback,
                                                         <link linkend="gpointer">gpointer</link> user_data);
<link linkend="guint">guint</link>               <link linkend="tracker-search-metadata-by-text-and-location-async">tracker_search_metadata_by_text_and_location_async</link>
                                                        (<link linkend="TrackerClient">TrackerClient</link> *client,
                                                         const <link linkend="gchar">gchar</link> *query,
                                                         const <link linkend="gchar">gchar</link> *location,
                                                         <link linkend="TrackerReplyArray">TrackerReplyArray</link> callback,
                                                         <link linkend="gpointer">gpointer</link> user_data);
<link linkend="guint">guint</link>               <link linkend="tracker-search-metadata-by-text-and-mime-async">tracker_search_metadata_by_text_and_mime_async</link>
                                                        (<link linkend="TrackerClient">TrackerClient</link> *client,
                                                         const <link linkend="gchar">gchar</link> *query,
                                                         const <link linkend="gchar">gchar</link> **mimes,
                                                         <link linkend="TrackerReplyArray">TrackerReplyArray</link> callback,
                                                         <link linkend="gpointer">gpointer</link> user_data);
<link linkend="guint">guint</link>               <link linkend="tracker-search-metadata-by-text-and-mime-and-location-async">tracker_search_metadata_by_text_and_mime_and_location_async</link>
                                                        (<link linkend="TrackerClient">TrackerClient</link> *client,
                                                         const <link linkend="gchar">gchar</link> *query,
                                                         const <link linkend="gchar">gchar</link> **mimes,
                                                         const <link linkend="gchar">gchar</link> *location,
                                                         <link linkend="TrackerReplyArray">TrackerReplyArray</link> callback,
                                                         <link linkend="gpointer">gpointer</link> user_data);
</synopsis>
</refsynopsisdiv>









<refsect1 id="libtracker-client-Search-(Deprecated).description" role="desc">
<title role="desc.title">Description</title>
<para>
Simple search API.</para>
<para>
</para>
</refsect1>

<refsect1 id="libtracker-client-Search-(Deprecated).details" role="details">
<title role="details.title">Details</title>
<refsect2 id="TrackerReplyGPtrArray" role="function">
<title>TrackerReplyGPtrArray ()</title>
<indexterm zone="TrackerReplyGPtrArray"><primary sortas="TrackerReplyGPtrArray">TrackerReplyGPtrArray</primary></indexterm><programlisting><link linkend="void">void</link>                (*TrackerReplyGPtrArray)            (<link linkend="GPtrArray">GPtrArray</link> *result,
                                                         <link linkend="GError">GError</link> *error,
                                                         <link linkend="gpointer">gpointer</link> user_data);</programlisting>
<para>
The returned <link linkend="GPtrArray"><type>GPtrArray</type></link> contains an array of <link linkend="GStrv"><type>GStrv</type></link> with the
results from the query unless there is an error in the query. If
there is an error the <parameter>error</parameter> is populated with the details.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>result</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="tracker-search-metadata-by-text-async" role="function">
<title>tracker_search_metadata_by_text_async ()</title>
<indexterm zone="tracker-search-metadata-by-text-async"><primary sortas="tracker_search_metadata_by_text_async">tracker_search_metadata_by_text_async</primary></indexterm><programlisting><link linkend="guint">guint</link>               tracker_search_metadata_by_text_async
                                                        (<link linkend="TrackerClient">TrackerClient</link> *client,
                                                         const <link linkend="gchar">gchar</link> *query,
                                                         <link linkend="TrackerReplyArray">TrackerReplyArray</link> callback,
                                                         <link linkend="gpointer">gpointer</link> user_data);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>client</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>query</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>callback</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="tracker-search-metadata-by-text-and-location-async" role="function">
<title>tracker_search_metadata_by_text_and_location_async ()</title>
<indexterm zone="tracker-search-metadata-by-text-and-location-async"><primary sortas="tracker_search_metadata_by_text_and_location_async">tracker_search_metadata_by_text_and_location_async</primary></indexterm><programlisting><link linkend="guint">guint</link>               tracker_search_metadata_by_text_and_location_async
                                                        (<link linkend="TrackerClient">TrackerClient</link> *client,
                                                         const <link linkend="gchar">gchar</link> *query,
                                                         const <link linkend="gchar">gchar</link> *location,
                                                         <link linkend="TrackerReplyArray">TrackerReplyArray</link> callback,
                                                         <link linkend="gpointer">gpointer</link> user_data);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>client</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>query</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>location</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>callback</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="tracker-search-metadata-by-text-and-mime-async" role="function">
<title>tracker_search_metadata_by_text_and_mime_async ()</title>
<indexterm zone="tracker-search-metadata-by-text-and-mime-async"><primary sortas="tracker_search_metadata_by_text_and_mime_async">tracker_search_metadata_by_text_and_mime_async</primary></indexterm><programlisting><link linkend="guint">guint</link>               tracker_search_metadata_by_text_and_mime_async
                                                        (<link linkend="TrackerClient">TrackerClient</link> *client,
                                                         const <link linkend="gchar">gchar</link> *query,
                                                         const <link linkend="gchar">gchar</link> **mimes,
                                                         <link linkend="TrackerReplyArray">TrackerReplyArray</link> callback,
                                                         <link linkend="gpointer">gpointer</link> user_data);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>client</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>query</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>mimes</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>callback</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="tracker-search-metadata-by-text-and-mime-and-location-async" role="function">
<title>tracker_search_metadata_by_text_and_mime_and_location_async ()</title>
<indexterm zone="tracker-search-metadata-by-text-and-mime-and-location-async"><primary sortas="tracker_search_metadata_by_text_and_mime_and_location_async">tracker_search_metadata_by_text_and_mime_and_location_async</primary></indexterm><programlisting><link linkend="guint">guint</link>               tracker_search_metadata_by_text_and_mime_and_location_async
                                                        (<link linkend="TrackerClient">TrackerClient</link> *client,
                                                         const <link linkend="gchar">gchar</link> *query,
                                                         const <link linkend="gchar">gchar</link> **mimes,
                                                         const <link linkend="gchar">gchar</link> *location,
                                                         <link linkend="TrackerReplyArray">TrackerReplyArray</link> callback,
                                                         <link linkend="gpointer">gpointer</link> user_data);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>client</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>query</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>mimes</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>location</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>callback</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>user_data</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
