<refentry id="camel-camel-nntp-newsrc">
<refmeta>
<refentrytitle role="top_of_page" id="camel-camel-nntp-newsrc.top_of_page">camel-nntp-newsrc</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>CAMEL Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>camel-nntp-newsrc</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv id="camel-camel-nntp-newsrc.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
typedef             <link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link>;
<link linkend="int">int</link>                 <link linkend="camel-nntp-newsrc-get-highest-article-read">camel_nntp_newsrc_get_highest_article_read</link>
                                                        (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         const <link linkend="char">char</link> *group_name);
<link linkend="int">int</link>                 <link linkend="camel-nntp-newsrc-get-num-articles-read">camel_nntp_newsrc_get_num_articles_read</link>
                                                        (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         const <link linkend="char">char</link> *group_name);
<link linkend="void">void</link>                <link linkend="camel-nntp-newsrc-mark-article-read">camel_nntp_newsrc_mark_article_read</link> (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         const <link linkend="char">char</link> *group_name,
                                                         <link linkend="int">int</link> num);
<link linkend="void">void</link>                <link linkend="camel-nntp-newsrc-mark-range-read">camel_nntp_newsrc_mark_range_read</link>   (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         const <link linkend="char">char</link> *group_name,
                                                         long <link linkend="low">low</link> ,
                                                         long <link linkend="high">high</link> );
<link linkend="gboolean">gboolean</link>            <link linkend="camel-nntp-newsrc-article-is-read">camel_nntp_newsrc_article_is_read</link>   (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         const <link linkend="char">char</link> *group_name,
                                                         long <link linkend="num">num</link> );
<link linkend="gboolean">gboolean</link>            <link linkend="camel-nntp-newsrc-group-is-subscribed">camel_nntp_newsrc_group_is_subscribed</link>
                                                        (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         const <link linkend="char">char</link> *group_name);
<link linkend="void">void</link>                <link linkend="camel-nntp-newsrc-subscribe-group">camel_nntp_newsrc_subscribe_group</link>   (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         const <link linkend="char">char</link> *group_name);
<link linkend="void">void</link>                <link linkend="camel-nntp-newsrc-unsubscribe-group">camel_nntp_newsrc_unsubscribe_group</link> (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         const <link linkend="char">char</link> *group_name);
<link linkend="GPtrArray">GPtrArray</link>*          <link linkend="camel-nntp-newsrc-get-subscribed-group-names">camel_nntp_newsrc_get_subscribed_group_names</link>
                                                        (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc);
<link linkend="GPtrArray">GPtrArray</link>*          <link linkend="camel-nntp-newsrc-get-all-group-names">camel_nntp_newsrc_get_all_group_names</link>
                                                        (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc);
<link linkend="void">void</link>                <link linkend="camel-nntp-newsrc-free-group-names">camel_nntp_newsrc_free_group_names</link>  (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         <link linkend="GPtrArray">GPtrArray</link> *group_names);
<link linkend="void">void</link>                <link linkend="camel-nntp-newsrc-write-to-file">camel_nntp_newsrc_write_to_file</link>     (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         <link linkend="FILE:CAPS">FILE</link> *fp);
<link linkend="void">void</link>                <link linkend="camel-nntp-newsrc-write">camel_nntp_newsrc_write</link>             (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc);
<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link>*    <link linkend="camel-nntp-newsrc-read-for-server">camel_nntp_newsrc_read_for_server</link>   (const <link linkend="char">char</link> *server);
</synopsis>
</refsynopsisdiv>









<refsect1 id="camel-camel-nntp-newsrc.description" role="desc">
<title role="desc.title">Description</title>
<para>

</para>
</refsect1>

<refsect1 id="camel-camel-nntp-newsrc.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="CamelNNTPNewsrc" role="typedef">
<title>CamelNNTPNewsrc</title>
<indexterm zone="CamelNNTPNewsrc"><primary>CamelNNTPNewsrc</primary></indexterm><programlisting>typedef struct CamelNNTPNewsrc CamelNNTPNewsrc;
</programlisting>
<para>

</para></refsect2>
<refsect2 id="camel-nntp-newsrc-get-highest-article-read" role="function">
<title>camel_nntp_newsrc_get_highest_article_read ()</title>
<indexterm zone="camel-nntp-newsrc-get-highest-article-read"><primary>camel_nntp_newsrc_get_highest_article_read</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_nntp_newsrc_get_highest_article_read
                                                        (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         const <link linkend="char">char</link> *group_name);</programlisting>
<para>

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


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-nntp-newsrc-get-num-articles-read" role="function">
<title>camel_nntp_newsrc_get_num_articles_read ()</title>
<indexterm zone="camel-nntp-newsrc-get-num-articles-read"><primary>camel_nntp_newsrc_get_num_articles_read</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_nntp_newsrc_get_num_articles_read
                                                        (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         const <link linkend="char">char</link> *group_name);</programlisting>
<para>

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


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-nntp-newsrc-mark-article-read" role="function">
<title>camel_nntp_newsrc_mark_article_read ()</title>
<indexterm zone="camel-nntp-newsrc-mark-article-read"><primary>camel_nntp_newsrc_mark_article_read</primary></indexterm><programlisting><link linkend="void">void</link>                camel_nntp_newsrc_mark_article_read (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         const <link linkend="char">char</link> *group_name,
                                                         <link linkend="int">int</link> num);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>newsrc</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>group_name</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>num</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-nntp-newsrc-mark-range-read" role="function">
<title>camel_nntp_newsrc_mark_range_read ()</title>
<indexterm zone="camel-nntp-newsrc-mark-range-read"><primary>camel_nntp_newsrc_mark_range_read</primary></indexterm><programlisting><link linkend="void">void</link>                camel_nntp_newsrc_mark_range_read   (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         const <link linkend="char">char</link> *group_name,
                                                         long <link linkend="low">low</link> ,
                                                         long <link linkend="high">high</link> );</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>newsrc</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>group_name</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>Param3</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>Param4</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-nntp-newsrc-article-is-read" role="function">
<title>camel_nntp_newsrc_article_is_read ()</title>
<indexterm zone="camel-nntp-newsrc-article-is-read"><primary>camel_nntp_newsrc_article_is_read</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            camel_nntp_newsrc_article_is_read   (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         const <link linkend="char">char</link> *group_name,
                                                         long <link linkend="num">num</link> );</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>newsrc</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>group_name</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>Param3</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-nntp-newsrc-group-is-subscribed" role="function">
<title>camel_nntp_newsrc_group_is_subscribed ()</title>
<indexterm zone="camel-nntp-newsrc-group-is-subscribed"><primary>camel_nntp_newsrc_group_is_subscribed</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            camel_nntp_newsrc_group_is_subscribed
                                                        (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         const <link linkend="char">char</link> *group_name);</programlisting>
<para>

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


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-nntp-newsrc-subscribe-group" role="function">
<title>camel_nntp_newsrc_subscribe_group ()</title>
<indexterm zone="camel-nntp-newsrc-subscribe-group"><primary>camel_nntp_newsrc_subscribe_group</primary></indexterm><programlisting><link linkend="void">void</link>                camel_nntp_newsrc_subscribe_group   (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         const <link linkend="char">char</link> *group_name);</programlisting>
<para>

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


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-nntp-newsrc-unsubscribe-group" role="function">
<title>camel_nntp_newsrc_unsubscribe_group ()</title>
<indexterm zone="camel-nntp-newsrc-unsubscribe-group"><primary>camel_nntp_newsrc_unsubscribe_group</primary></indexterm><programlisting><link linkend="void">void</link>                camel_nntp_newsrc_unsubscribe_group (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         const <link linkend="char">char</link> *group_name);</programlisting>
<para>

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


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-nntp-newsrc-get-subscribed-group-names" role="function">
<title>camel_nntp_newsrc_get_subscribed_group_names ()</title>
<indexterm zone="camel-nntp-newsrc-get-subscribed-group-names"><primary>camel_nntp_newsrc_get_subscribed_group_names</primary></indexterm><programlisting><link linkend="GPtrArray">GPtrArray</link>*          camel_nntp_newsrc_get_subscribed_group_names
                                                        (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc);</programlisting>
<para>

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


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-nntp-newsrc-get-all-group-names" role="function">
<title>camel_nntp_newsrc_get_all_group_names ()</title>
<indexterm zone="camel-nntp-newsrc-get-all-group-names"><primary>camel_nntp_newsrc_get_all_group_names</primary></indexterm><programlisting><link linkend="GPtrArray">GPtrArray</link>*          camel_nntp_newsrc_get_all_group_names
                                                        (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc);</programlisting>
<para>

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


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-nntp-newsrc-free-group-names" role="function">
<title>camel_nntp_newsrc_free_group_names ()</title>
<indexterm zone="camel-nntp-newsrc-free-group-names"><primary>camel_nntp_newsrc_free_group_names</primary></indexterm><programlisting><link linkend="void">void</link>                camel_nntp_newsrc_free_group_names  (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         <link linkend="GPtrArray">GPtrArray</link> *group_names);</programlisting>
<para>

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


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-nntp-newsrc-write-to-file" role="function">
<title>camel_nntp_newsrc_write_to_file ()</title>
<indexterm zone="camel-nntp-newsrc-write-to-file"><primary>camel_nntp_newsrc_write_to_file</primary></indexterm><programlisting><link linkend="void">void</link>                camel_nntp_newsrc_write_to_file     (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc,
                                                         <link linkend="FILE:CAPS">FILE</link> *fp);</programlisting>
<para>

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


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-nntp-newsrc-write" role="function">
<title>camel_nntp_newsrc_write ()</title>
<indexterm zone="camel-nntp-newsrc-write"><primary>camel_nntp_newsrc_write</primary></indexterm><programlisting><link linkend="void">void</link>                camel_nntp_newsrc_write             (<link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link> *newsrc);</programlisting>
<para>

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


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-nntp-newsrc-read-for-server" role="function">
<title>camel_nntp_newsrc_read_for_server ()</title>
<indexterm zone="camel-nntp-newsrc-read-for-server"><primary>camel_nntp_newsrc_read_for_server</primary></indexterm><programlisting><link linkend="CamelNNTPNewsrc">CamelNNTPNewsrc</link>*    camel_nntp_newsrc_read_for_server   (const <link linkend="char">char</link> *server);</programlisting>
<para>

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


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

</refsect1>




</refentry>
