<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[
  <!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
]>
<refentry id="zeitgeist-2.0-enumerations">
<refmeta>
<refentrytitle role="top_of_page" id="zeitgeist-2.0-enumerations.top_of_page">enumerations</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>
  ZEITGEIST-2.0 Library
</refmiscinfo>
</refmeta>
<refnamediv>
<refname>enumerations</refname>
<refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv id="zeitgeist-2.0-enumerations.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>
<anchor id="ZeitgeistResultType"/><anchor id="ZeitgeistRelevantResultType"/><anchor id="ZeitgeistStorageState"/>
<synopsis><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            <link linkend="zeitgeist-result-type-is-sort-order-asc">zeitgeist_result_type_is_sort_order_asc</link>
                                                        (<parameter><link linkend="ZeitgeistResultType"><type>ZeitgeistResultType</type></link> result_type</parameter>);
enum                <link linkend="ZeitgeistResultType-enum">ZeitgeistResultType</link>;
enum                <link linkend="ZeitgeistRelevantResultType-enum">ZeitgeistRelevantResultType</link>;
enum                <link linkend="ZeitgeistStorageState-enum">ZeitgeistStorageState</link>;
enum                <link linkend="ZeitgeistDataModelError">ZeitgeistDataModelError</link>;
</synopsis>
</refsynopsisdiv>
<refsect1 id="zeitgeist-2.0-enumerations.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
  <link linkend="GEnum">GEnum</link>
   +----ZeitgeistResultType
</synopsis>
<synopsis>
  <link linkend="GEnum">GEnum</link>
   +----ZeitgeistRelevantResultType
</synopsis>
<synopsis>
  <link linkend="GEnum">GEnum</link>
   +----ZeitgeistStorageState
</synopsis>
</refsect1>

<refsect1 id="zeitgeist-2.0-enumerations.description" role="desc">
<title role="desc.title">Description</title>

</refsect1>
<refsect1 id="zeitgeist-2.0-enumerations.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="zeitgeist-result-type-is-sort-order-asc" role="function">
<title>zeitgeist_result_type_is_sort_order_asc ()</title>
<indexterm zone="zeitgeist-result-type-is-sort-order-asc"><primary>zeitgeist_result_type_is_sort_order_asc</primary></indexterm>
<programlisting><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>            zeitgeist_result_type_is_sort_order_asc
                                                        (<parameter><link linkend="ZeitgeistResultType"><type>ZeitgeistResultType</type></link> result_type</parameter>);</programlisting>
<variablelist role="params">
<varlistentry><term><parameter>result_type</parameter>&#160;:</term>
<listitem><simpara>&nbsp;.  A <link linkend="ZeitgeistResultType"><type>ZeitgeistResultType</type></link>. <emphasis role="annotation">[<acronym>in</acronym>]</emphasis></simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>true if the results for the given result_type will be sorted ascendantly by date, false if they&apos;ll be sorted descendingly.</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="ZeitgeistResultType-enum" role="enum">
<title>enum ZeitgeistResultType</title>
<indexterm zone="ZeitgeistResultType-enum"><primary>ZeitgeistResultType</primary></indexterm>
<programlisting>typedef enum {
	ZEITGEIST_RESULT_TYPE_MOST_RECENT_EVENTS = 0,
	ZEITGEIST_RESULT_TYPE_LEAST_RECENT_EVENTS = 1,
	ZEITGEIST_RESULT_TYPE_MOST_RECENT_SUBJECTS = 2,
	ZEITGEIST_RESULT_TYPE_LEAST_RECENT_SUBJECTS = 3,
	ZEITGEIST_RESULT_TYPE_MOST_POPULAR_SUBJECTS = 4,
	ZEITGEIST_RESULT_TYPE_LEAST_POPULAR_SUBJECTS = 5,
	ZEITGEIST_RESULT_TYPE_MOST_POPULAR_ACTOR = 6,
	ZEITGEIST_RESULT_TYPE_LEAST_POPULAR_ACTOR = 7,
	ZEITGEIST_RESULT_TYPE_MOST_RECENT_ACTOR = 8,
	ZEITGEIST_RESULT_TYPE_LEAST_RECENT_ACTOR = 9,
	ZEITGEIST_RESULT_TYPE_MOST_RECENT_ORIGIN = 10,
	ZEITGEIST_RESULT_TYPE_LEAST_RECENT_ORIGIN = 11,
	ZEITGEIST_RESULT_TYPE_MOST_POPULAR_ORIGIN = 12,
	ZEITGEIST_RESULT_TYPE_LEAST_POPULAR_ORIGIN = 13,
	ZEITGEIST_RESULT_TYPE_OLDEST_ACTOR = 14,
	ZEITGEIST_RESULT_TYPE_MOST_RECENT_SUBJECT_INTERPRETATION = 15,
	ZEITGEIST_RESULT_TYPE_LEAST_RECENT_SUBJECT_INTERPRETATION = 16,
	ZEITGEIST_RESULT_TYPE_MOST_POPULAR_SUBJECT_INTERPRETATION = 17,
	ZEITGEIST_RESULT_TYPE_LEAST_POPULAR_SUBJECT_INTERPRETATION = 18,
	ZEITGEIST_RESULT_TYPE_MOST_RECENT_MIMETYPE = 19,
	ZEITGEIST_RESULT_TYPE_LEAST_RECENT_MIMETYPE = 20,
	ZEITGEIST_RESULT_TYPE_MOST_POPULAR_MIMETYPE = 21,
	ZEITGEIST_RESULT_TYPE_LEAST_POPULAR_MIMETYPE = 22,
	ZEITGEIST_RESULT_TYPE_MOST_RECENT_CURRENT_URI = 23,
	ZEITGEIST_RESULT_TYPE_LEAST_RECENT_CURRENT_URI = 24,
	ZEITGEIST_RESULT_TYPE_MOST_POPULAR_CURRENT_URI = 25,
	ZEITGEIST_RESULT_TYPE_LEAST_POPULAR_CURRENT_URI = 26,
	ZEITGEIST_RESULT_TYPE_MOST_RECENT_EVENT_ORIGIN = 27,
	ZEITGEIST_RESULT_TYPE_LEAST_RECENT_EVENT_ORIGIN = 28,
	ZEITGEIST_RESULT_TYPE_MOST_POPULAR_EVENT_ORIGIN = 29,
	ZEITGEIST_RESULT_TYPE_LEAST_POPULAR_EVENT_ORIGIN = 30,
	ZEITGEIST_RESULT_TYPE_MOST_RECENT_CURRENT_ORIGIN = 31,
	ZEITGEIST_RESULT_TYPE_LEAST_RECENT_CURRENT_ORIGIN = 32,
	ZEITGEIST_RESULT_TYPE_MOST_POPULAR_CURRENT_ORIGIN = 33,
	ZEITGEIST_RESULT_TYPE_LEAST_POPULAR_CURRENT_ORIGIN = 34,
	ZEITGEIST_RESULT_TYPE_RELEVANCY = 100
} ZeitgeistResultType;
</programlisting>
<para>
ZeitgeistResultType
</para>
<para>
<para>Used to control how the query results are grouped and sorted. See <link linkend="zeitgeist-log-find-events"><function>zeitgeist_log_find_events()</function></link>, <link linkend="zeitgeist-log-find-event-ids"><function>zeitgeist_log_find_event_ids()</function></link>, and <link linkend="zeitgeist-index-search"><function>zeitgeist_index_search()</function></link>.</para>
</para><variablelist role="enum">
<varlistentry id="ZEITGEIST-RESULT-TYPE-MOST-RECENT-EVENTS:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_MOST_RECENT_EVENTS</literal></term>
<listitem><simpara>All events with the most recent events first
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-LEAST-RECENT-EVENTS:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_LEAST_RECENT_EVENTS</literal></term>
<listitem><simpara>All events with the oldest
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-MOST-RECENT-SUBJECTS:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_MOST_RECENT_SUBJECTS</literal></term>
<listitem><simpara>One event for each subject only, ordered with the most recent events first
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-LEAST-RECENT-SUBJECTS:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_LEAST_RECENT_SUBJECTS</literal></term>
<listitem><simpara>One event for each subject, only, ordered with oldest events first
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-MOST-POPULAR-SUBJECTS:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_MOST_POPULAR_SUBJECTS</literal></term>
<listitem><simpara>One event for each subject only, ordered by the popularity of the subject
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-LEAST-POPULAR-SUBJECTS:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_LEAST_POPULAR_SUBJECTS</literal></term>
<listitem><simpara>One event for each subject only, ordered ascendingly by popularity of the subject
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-MOST-POPULAR-ACTOR:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_MOST_POPULAR_ACTOR</literal></term>
<listitem><simpara>The last event of each different actor ordered by the popularity of the actor
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-LEAST-POPULAR-ACTOR:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_LEAST_POPULAR_ACTOR</literal></term>
<listitem><simpara>The last event of each different actor, ordered ascendingly by the popularity of the actor
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-MOST-RECENT-ACTOR:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_MOST_RECENT_ACTOR</literal></term>
<listitem><simpara>The actor that has been used to most recently
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-LEAST-RECENT-ACTOR:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_LEAST_RECENT_ACTOR</literal></term>
<listitem><simpara>The actor that has been used to least recently
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-MOST-RECENT-ORIGIN:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_MOST_RECENT_ORIGIN</literal></term>
<listitem><simpara>The last event of each different subject origin.
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-LEAST-RECENT-ORIGIN:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_LEAST_RECENT_ORIGIN</literal></term>
<listitem><simpara>The last event of each different subject origin, ordered by least recently used first
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-MOST-POPULAR-ORIGIN:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_MOST_POPULAR_ORIGIN</literal></term>
<listitem><simpara>The last event of each different subject origin, ordered by the popularity of the origins
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-LEAST-POPULAR-ORIGIN:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_LEAST_POPULAR_ORIGIN</literal></term>
<listitem><simpara>The last event of each different subject origin, ordered ascendingly by the popularity of the origin
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-OLDEST-ACTOR:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_OLDEST_ACTOR</literal></term>
<listitem><simpara>The first event of each different actor
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-MOST-RECENT-SUBJECT-INTERPRETATION:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_MOST_RECENT_SUBJECT_INTERPRETATION</literal></term>
<listitem><simpara>One event for each subject interpretation only, ordered with the most recent events first
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-LEAST-RECENT-SUBJECT-INTERPRETATION:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_LEAST_RECENT_SUBJECT_INTERPRETATION</literal></term>
<listitem><simpara>One event for each subject interpretation only, ordered with the least recent events first
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-MOST-POPULAR-SUBJECT-INTERPRETATION:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_MOST_POPULAR_SUBJECT_INTERPRETATION</literal></term>
<listitem><simpara>One event for each subject interpretation only, ordered by the popularity of the subject interpretation
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-LEAST-POPULAR-SUBJECT-INTERPRETATION:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_LEAST_POPULAR_SUBJECT_INTERPRETATION</literal></term>
<listitem><simpara>One event for each subject interpretation only, ordered ascendingly by popularity of the subject interpretation
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-MOST-RECENT-MIMETYPE:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_MOST_RECENT_MIMETYPE</literal></term>
<listitem><simpara>One event for each mimetype only ordered with the most recent events first
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-LEAST-RECENT-MIMETYPE:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_LEAST_RECENT_MIMETYPE</literal></term>
<listitem><simpara>One event for each mimetype only ordered with the least recent events first
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-MOST-POPULAR-MIMETYPE:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_MOST_POPULAR_MIMETYPE</literal></term>
<listitem><simpara>One event for each mimetype only ordered by the popularity of the mimetype
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-LEAST-POPULAR-MIMETYPE:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_LEAST_POPULAR_MIMETYPE</literal></term>
<listitem><simpara>One event for each mimetype only ordered ascendingly by popularity of the mimetype
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-MOST-RECENT-CURRENT-URI:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_MOST_RECENT_CURRENT_URI</literal></term>
<listitem><simpara>One event for each subject only by current_uri instead of uri ordered with the most recent events first
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-LEAST-RECENT-CURRENT-URI:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_LEAST_RECENT_CURRENT_URI</literal></term>
<listitem><simpara><itemizedlist mark="none"><listitem>One event for each subject only by current_uri instead of uri ordered with oldest events first</listitem></itemizedlist>
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-MOST-POPULAR-CURRENT-URI:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_MOST_POPULAR_CURRENT_URI</literal></term>
<listitem><simpara>One event for each subject only by current_uri instead of uri ordered by the popularity of the subject
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-LEAST-POPULAR-CURRENT-URI:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_LEAST_POPULAR_CURRENT_URI</literal></term>
<listitem><simpara>One event for each subject only by current_uri instead of uri ordered ascendingly by popularity of the subject
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-MOST-RECENT-EVENT-ORIGIN:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_MOST_RECENT_EVENT_ORIGIN</literal></term>
<listitem><simpara>The last event of each different origin
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-LEAST-RECENT-EVENT-ORIGIN:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_LEAST_RECENT_EVENT_ORIGIN</literal></term>
<listitem><simpara>The last event of each different origin, ordered by least recently used first
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-MOST-POPULAR-EVENT-ORIGIN:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_MOST_POPULAR_EVENT_ORIGIN</literal></term>
<listitem><simpara>The last event of each different origin ordered by the popularity of the origins
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-LEAST-POPULAR-EVENT-ORIGIN:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_LEAST_POPULAR_EVENT_ORIGIN</literal></term>
<listitem><simpara>The last event of each different origin, ordered ascendingly by the popularity of the origin
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-MOST-RECENT-CURRENT-ORIGIN:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_MOST_RECENT_CURRENT_ORIGIN</literal></term>
<listitem><simpara>The last event of each different subject origin.
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-LEAST-RECENT-CURRENT-ORIGIN:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_LEAST_RECENT_CURRENT_ORIGIN</literal></term>
<listitem><simpara>The last event of each different subject origin, ordered by least recently used first
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-MOST-POPULAR-CURRENT-ORIGIN:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_MOST_POPULAR_CURRENT_ORIGIN</literal></term>
<listitem><simpara>The last event of each different subject origin, ordered by the popularity of the origins
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-LEAST-POPULAR-CURRENT-ORIGIN:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_LEAST_POPULAR_CURRENT_ORIGIN</literal></term>
<listitem><simpara>The last event of each different subject origin, ordered ascendingly by the popularity of the origin
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RESULT-TYPE-RELEVANCY:CAPS" role="constant">
<term><literal>ZEITGEIST_RESULT_TYPE_RELEVANCY</literal></term>
<listitem><simpara>Only allowed on <link linkend="zeitgeist-index-search"><function>zeitgeist_index_search()</function></link>. Events are sorted by query relevancy
</simpara></listitem>
</varlistentry>
</variablelist></refsect2>
<refsect2 id="ZeitgeistRelevantResultType-enum" role="enum">
<title>enum ZeitgeistRelevantResultType</title>
<indexterm zone="ZeitgeistRelevantResultType-enum"><primary>ZeitgeistRelevantResultType</primary></indexterm>
<programlisting>typedef enum {
	ZEITGEIST_RELEVANT_RESULT_TYPE_RECENT = 0,
	ZEITGEIST_RELEVANT_RESULT_TYPE_RELATED = 1
} ZeitgeistRelevantResultType;
</programlisting>
<variablelist role="enum">
<varlistentry id="ZEITGEIST-RELEVANT-RESULT-TYPE-RECENT:CAPS" role="constant">
<term><literal>ZEITGEIST_RELEVANT_RESULT_TYPE_RECENT</literal></term>
<listitem><simpara>All uris with the most recent uri first
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-RELEVANT-RESULT-TYPE-RELATED:CAPS" role="constant">
<term><literal>ZEITGEIST_RELEVANT_RESULT_TYPE_RELATED</literal></term>
<listitem><simpara>All uris with the most related one first
</simpara></listitem>
</varlistentry>
</variablelist></refsect2>
<refsect2 id="ZeitgeistStorageState-enum" role="enum">
<title>enum ZeitgeistStorageState</title>
<indexterm zone="ZeitgeistStorageState-enum"><primary>ZeitgeistStorageState</primary></indexterm>
<programlisting>typedef enum {
	ZEITGEIST_STORAGE_STATE_NOT_AVAILABLE = 0,
	ZEITGEIST_STORAGE_STATE_AVAILABLE = 1,
	ZEITGEIST_STORAGE_STATE_ANY = 2
} ZeitgeistStorageState;
</programlisting>
<para>
Enumeration class defining the possible values for the storage state of an event subject.
</para>
<para>
<para>The StorageState enumeration can be used to control whether or not matched events must have their subjects available to the user. Fx. not including deleted files, files on unplugged USB drives, files available only when a network is available etc.</para>
</para><variablelist role="enum">
<varlistentry id="ZEITGEIST-STORAGE-STATE-NOT-AVAILABLE:CAPS" role="constant">
<term><literal>ZEITGEIST_STORAGE_STATE_NOT_AVAILABLE</literal></term>
<listitem><simpara>The storage medium of the events subjects must not be available to the user
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-STORAGE-STATE-AVAILABLE:CAPS" role="constant">
<term><literal>ZEITGEIST_STORAGE_STATE_AVAILABLE</literal></term>
<listitem><simpara>The storage medium of all event subjects must be immediately available to the user
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-STORAGE-STATE-ANY:CAPS" role="constant">
<term><literal>ZEITGEIST_STORAGE_STATE_ANY</literal></term>
<listitem><simpara>The event subjects may or may not be available
</simpara></listitem>
</varlistentry>
</variablelist></refsect2>
<refsect2 id="ZeitgeistDataModelError" role="enum">
<title>enum ZeitgeistDataModelError</title>
<indexterm zone="ZeitgeistDataModelError"><primary>ZeitgeistDataModelError</primary></indexterm>
<programlisting>typedef enum {
	ZEITGEIST_DATA_MODEL_ERROR_INVALID_SIGNATURE,
	ZEITGEIST_DATA_MODEL_ERROR_NULL_EVENT,
	ZEITGEIST_DATA_MODEL_ERROR_TOO_MANY_RESULTS
} ZeitgeistDataModelError;
</programlisting>
<para>
Errors which can be thrown when asynchronously querying for <link linkend="ZeitgeistEvent"><type>ZeitgeistEvent</type></link>s.
</para><variablelist role="enum">
<varlistentry id="ZEITGEIST-DATA-MODEL-ERROR-INVALID-SIGNATURE:CAPS" role="constant">
<term><literal>ZEITGEIST_DATA_MODEL_ERROR_INVALID_SIGNATURE</literal></term>
<listitem><simpara>Signature sent over DBus is invalid.
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-DATA-MODEL-ERROR-NULL-EVENT:CAPS" role="constant">
<term><literal>ZEITGEIST_DATA_MODEL_ERROR_NULL_EVENT</literal></term>
<listitem><simpara><link linkend="ZeitgeistEvent"><type>ZeitgeistEvent</type></link> is NULL.
</simpara></listitem>
</varlistentry>
<varlistentry id="ZEITGEIST-DATA-MODEL-ERROR-TOO-MANY-RESULTS:CAPS" role="constant">
<term><literal>ZEITGEIST_DATA_MODEL_ERROR_TOO_MANY_RESULTS</literal></term>
<listitem><simpara>Query return too many <link linkend="ZeitgeistEvent"><type>ZeitgeistEvent</type></link>s.
</simpara></listitem>
</varlistentry>
</variablelist></refsect2>

</refsect1>

</refentry>
