<refentry id="liblivejournal-getevents">
<refmeta>
<refentrytitle>getevents</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBLIVEJOURNAL Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>getevents</refname><refpurpose></refpurpose>
</refnamediv>

<refsynopsisdiv><title>Synopsis</title>

<synopsis>



enum        <link linkend="LJGetEventsMode">LJGetEventsMode</link>;
<link linkend="LJGetEventsSingle">LJGetEventsSingle</link>* <link linkend="lj-getevents-single-new">lj_getevents_single_new</link>  (<link linkend="LJUser">LJUser</link> *user,
                                             const char *usejournal,
                                             int itemid);
void        <link linkend="lj-getevents-single-free">lj_getevents_single_free</link>        (<link linkend="LJGetEventsSingle">LJGetEventsSingle</link> *getevents,
                                             <link linkend="gboolean">gboolean</link> includeevent);
<link linkend="LJGetEvents">LJGetEvents</link>* <link linkend="lj-getevents-new-recent">lj_getevents_new_recent</link>        (<link linkend="LJUser">LJUser</link> *user,
                                             const char *usejournal,
                                             <link linkend="gboolean">gboolean</link> summary,
                                             int count);
<link linkend="LJGetEventsSync">LJGetEventsSync</link>* <link linkend="lj-getevents-sync-new">lj_getevents_sync_new</link>      (<link linkend="LJUser">LJUser</link> *user,
                                             const char *usejournal,
                                             const char *lastsync);
void        <link linkend="lj-getevents-sync-free">lj_getevents_sync_free</link>          (<link linkend="LJGetEventsSync">LJGetEventsSync</link> *getevents,
                                             <link linkend="gboolean">gboolean</link> includeentries);
<link linkend="LJGetEventsRecent">LJGetEventsRecent</link>* <link linkend="lj-getevents-recent-new">lj_getevents_recent_new</link>  (<link linkend="LJUser">LJUser</link> *user,
                                             const char *usejournal,
                                             int howmany,
                                             const char *beforedate,
                                             <link linkend="gboolean">gboolean</link> summary,
                                             int truncate);
void        <link linkend="lj-getevents-recent-free">lj_getevents_recent_free</link>        (<link linkend="LJGetEventsRecent">LJGetEventsRecent</link> *getevents,
                                             <link linkend="gboolean">gboolean</link> includeentries);
</synopsis>
</refsynopsisdiv>







<refsect1>
<title>Description</title>
<para>

</para>
</refsect1>

<refsect1>
<title>Details</title>
<refsect2>
<title><anchor id="LJGetEventsMode">enum LJGetEventsMode</title>
<programlisting>typedef enum {
	LJ_GETEVENTS_MODE_SINGLE,
	LJ_GETEVENTS_MODE_RECENT,
} LJGetEventsMode;
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="lj-getevents-single-new">lj_getevents_single_new ()</title>
<programlisting><link linkend="LJGetEventsSingle">LJGetEventsSingle</link>* lj_getevents_single_new  (<link linkend="LJUser">LJUser</link> *user,
                                             const char *usejournal,
                                             int itemid);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>user</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>usejournal</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>itemid</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="lj-getevents-single-free">lj_getevents_single_free ()</title>
<programlisting>void        lj_getevents_single_free        (<link linkend="LJGetEventsSingle">LJGetEventsSingle</link> *getevents,
                                             <link linkend="gboolean">gboolean</link> includeevent);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>getevents</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>includeevent</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="lj-getevents-new-recent">lj_getevents_new_recent ()</title>
<programlisting><link linkend="LJGetEvents">LJGetEvents</link>* lj_getevents_new_recent        (<link linkend="LJUser">LJUser</link> *user,
                                             const char *usejournal,
                                             <link linkend="gboolean">gboolean</link> summary,
                                             int count);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>user</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>usejournal</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>summary</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>count</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="lj-getevents-sync-new">lj_getevents_sync_new ()</title>
<programlisting><link linkend="LJGetEventsSync">LJGetEventsSync</link>* lj_getevents_sync_new      (<link linkend="LJUser">LJUser</link> *user,
                                             const char *usejournal,
                                             const char *lastsync);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>user</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>usejournal</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>lastsync</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="lj-getevents-sync-free">lj_getevents_sync_free ()</title>
<programlisting>void        lj_getevents_sync_free          (<link linkend="LJGetEventsSync">LJGetEventsSync</link> *getevents,
                                             <link linkend="gboolean">gboolean</link> includeentries);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>getevents</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>includeentries</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="lj-getevents-recent-new">lj_getevents_recent_new ()</title>
<programlisting><link linkend="LJGetEventsRecent">LJGetEventsRecent</link>* lj_getevents_recent_new  (<link linkend="LJUser">LJUser</link> *user,
                                             const char *usejournal,
                                             int howmany,
                                             const char *beforedate,
                                             <link linkend="gboolean">gboolean</link> summary,
                                             int truncate);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>user</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>usejournal</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>howmany</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>beforedate</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>summary</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>truncate</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="lj-getevents-recent-free">lj_getevents_recent_free ()</title>
<programlisting>void        lj_getevents_recent_free        (<link linkend="LJGetEventsRecent">LJGetEventsRecent</link> *getevents,
                                             <link linkend="gboolean">gboolean</link> includeentries);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>getevents</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>includeentries</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
