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

<refnamediv>
<refname>CamelDB</refname>
<refpurpose></refpurpose>
</refnamediv>

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

<synopsis>
#define             <link linkend="CAMEL-DB-FILE--CAPS">CAMEL_DB_FILE</link>
#define             <link linkend="CAMEL-DB-FREE-CACHE-SIZE--CAPS">CAMEL_DB_FREE_CACHE_SIZE</link>
#define             <link linkend="CAMEL-DB-SLEEP-INTERVAL--CAPS">CAMEL_DB_SLEEP_INTERVAL</link>
#define             <link linkend="CAMEL-DB-RELEASE-SQLITE-MEMORY--CAPS">CAMEL_DB_RELEASE_SQLITE_MEMORY</link>
#define             <link linkend="CAMEL-DB-USE-SHARED-CACHE--CAPS">CAMEL_DB_USE_SHARED_CACHE</link>
<link linkend="int">int</link>                 (<link linkend="CamelDBCollate">*CamelDBCollate</link>)                   (<link linkend="void">void</link> *,
                                                         ...,
                                                         const <link linkend="void">void</link> *,
                                                         ...,
                                                         const <link linkend="void">void</link> *);
                    <link linkend="CamelDB">CamelDB</link>;
                    <link linkend="CamelMIRecord">CamelMIRecord</link>;
                    <link linkend="CamelFIRecord">CamelFIRecord</link>;
<link linkend="int">int</link>                 (<link linkend="CamelDBSelectCB">*CamelDBSelectCB</link>)                  (<link linkend="gpointer">gpointer</link> data,
                                                         <link linkend="int">int</link> ncol,
                                                         <link linkend="char">char</link> **colvalues,
                                                         <link linkend="char">char</link> **colnames);
<link linkend="CamelDB">CamelDB</link> *           <link linkend="camel-db-open">camel_db_open</link>                       (const <link linkend="char">char</link> *path,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="void">void</link>                <link linkend="camel-db-close">camel_db_close</link>                      (<link linkend="CamelDB">CamelDB</link> *cdb);
<link linkend="int">int</link>                 <link linkend="camel-db-command">camel_db_command</link>                    (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *stmt,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-transaction-command">camel_db_transaction_command</link>        (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         <link linkend="GSList">GSList</link> *qry_list,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-begin-transaction">camel_db_begin_transaction</link>          (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-add-to-transaction">camel_db_add_to_transaction</link>         (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *query,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-end-transaction">camel_db_end_transaction</link>            (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-abort-transaction">camel_db_abort_transaction</link>          (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-clear-folder-summary">camel_db_clear_folder_summary</link>       (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         <link linkend="char">char</link> *folder,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-rename-folder">camel_db_rename_folder</link>              (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *old_folder,
                                                         const <link linkend="char">char</link> *new_folder,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-delete-folder">camel_db_delete_folder</link>              (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *folder,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-delete-uid">camel_db_delete_uid</link>                 (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *folder,
                                                         const <link linkend="char">char</link> *uid,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-delete-uids">camel_db_delete_uids</link>                (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *folder_name,
                                                         <link linkend="GSList">GSList</link> *uids,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-create-folders-table">camel_db_create_folders_table</link>       (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-select">camel_db_select</link>                     (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *stmt,
                                                         <link linkend="CamelDBSelectCB">CamelDBSelectCB</link> callback,
                                                         <link linkend="gpointer">gpointer</link> data,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-write-folder-info-record">camel_db_write_folder_info_record</link>   (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         <link linkend="CamelFIRecord">CamelFIRecord</link> *record,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-read-folder-info-record">camel_db_read_folder_info_record</link>    (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *folder_name,
                                                         <link linkend="CamelFIRecord">CamelFIRecord</link> **record,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-prepare-message-info-table">camel_db_prepare_message_info_table</link> (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *folder_name,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-write-message-info-record">camel_db_write_message_info_record</link>  (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *folder_name,
                                                         <link linkend="CamelMIRecord">CamelMIRecord</link> *record,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-read-message-info-records">camel_db_read_message_info_records</link>  (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *folder_name,
                                                         <link linkend="gpointer">gpointer</link> p,
                                                         <link linkend="CamelDBSelectCB">CamelDBSelectCB</link> read_mir_callback,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-read-message-info-record-with-uid">camel_db_read_message_info_record_with_uid</link>
                                                        (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *folder_name,
                                                         const <link linkend="char">char</link> *uid,
                                                         <link linkend="gpointer">gpointer</link> p,
                                                         <link linkend="CamelDBSelectCB">CamelDBSelectCB</link> read_mir_callback,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-count-junk-message-info">camel_db_count_junk_message_info</link>    (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *table_name,
                                                         <link linkend="guint32">guint32</link> *count,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-count-unread-message-info">camel_db_count_unread_message_info</link>  (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *table_name,
                                                         <link linkend="guint32">guint32</link> *count,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-count-deleted-message-info">camel_db_count_deleted_message_info</link> (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *table_name,
                                                         <link linkend="guint32">guint32</link> *count,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-count-total-message-info">camel_db_count_total_message_info</link>   (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *table_name,
                                                         <link linkend="guint32">guint32</link> *count,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-count-visible-message-info">camel_db_count_visible_message_info</link> (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *table_name,
                                                         <link linkend="guint32">guint32</link> *count,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-count-visible-unread-message-info">camel_db_count_visible_unread_message_info</link>
                                                        (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *table_name,
                                                         <link linkend="guint32">guint32</link> *count,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-count-junk-not-deleted-message-info">camel_db_count_junk_not_deleted_message_info</link>
                                                        (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *table_name,
                                                         <link linkend="guint32">guint32</link> *count,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="void">void</link>                <link linkend="camel-db-camel-mir-free">camel_db_camel_mir_free</link>             (<link linkend="CamelMIRecord">CamelMIRecord</link> *record);
<link linkend="int">int</link>                 <link linkend="camel-db-create-vfolder">camel_db_create_vfolder</link>             (<link linkend="CamelDB">CamelDB</link> *db,
                                                         const <link linkend="char">char</link> *folder_name,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-recreate-vfolder">camel_db_recreate_vfolder</link>           (<link linkend="CamelDB">CamelDB</link> *db,
                                                         const <link linkend="char">char</link> *folder_name,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-delete-uid-from-vfolder">camel_db_delete_uid_from_vfolder</link>    (<link linkend="CamelDB">CamelDB</link> *db,
                                                         <link linkend="char">char</link> *folder_name,
                                                         <link linkend="char">char</link> *vuid,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-delete-uid-from-vfolder-transaction">camel_db_delete_uid_from_vfolder_transaction</link>
                                                        (<link linkend="CamelDB">CamelDB</link> *db,
                                                         <link linkend="char">char</link> *folder_name,
                                                         <link linkend="char">char</link> *vuid,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="GPtrArray">GPtrArray</link> *         <link linkend="camel-db-get-vuids-from-vfolder">camel_db_get_vuids_from_vfolder</link>     (<link linkend="CamelDB">CamelDB</link> *db,
                                                         <link linkend="char">char</link> *folder_name,
                                                         <link linkend="char">char</link> *filter,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-add-to-vfolder">camel_db_add_to_vfolder</link>             (<link linkend="CamelDB">CamelDB</link> *db,
                                                         <link linkend="char">char</link> *folder_name,
                                                         <link linkend="char">char</link> *vuid,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-add-to-vfolder-transaction">camel_db_add_to_vfolder_transaction</link> (<link linkend="CamelDB">CamelDB</link> *db,
                                                         <link linkend="char">char</link> *folder_name,
                                                         <link linkend="char">char</link> *vuid,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="int">int</link>                 <link linkend="camel-db-get-folder-uids">camel_db_get_folder_uids</link>            (<link linkend="CamelDB">CamelDB</link> *db,
                                                         <link linkend="char">char</link> *folder_name,
                                                         <link linkend="char">char</link> *sort_by,
                                                         <link linkend="char">char</link> *collate,
                                                         <link linkend="GPtrArray">GPtrArray</link> *array,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="GPtrArray">GPtrArray</link> *         <link linkend="camel-db-get-folder-junk-uids">camel_db_get_folder_junk_uids</link>       (<link linkend="CamelDB">CamelDB</link> *db,
                                                         <link linkend="char">char</link> *folder_name,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="GPtrArray">GPtrArray</link> *         <link linkend="camel-db-get-folder-deleted-uids">camel_db_get_folder_deleted_uids</link>    (<link linkend="CamelDB">CamelDB</link> *db,
                                                         <link linkend="char">char</link> *folder_name,
                                                         <link linkend="CamelException">CamelException</link> *ex);
<link linkend="char">char</link> *              <link linkend="camel-db-sqlize-string">camel_db_sqlize_string</link>              (const <link linkend="char">char</link> *string);
<link linkend="void">void</link>                <link linkend="camel-db-free-sqlized-string">camel_db_free_sqlized_string</link>        (<link linkend="char">char</link> *string);
<link linkend="char">char</link> *              <link linkend="camel-db-get-column-name">camel_db_get_column_name</link>            (const <link linkend="char">char</link> *raw_name);
<link linkend="int">int</link>                 <link linkend="camel-db-set-collate">camel_db_set_collate</link>                (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *col,
                                                         const <link linkend="char">char</link> *collate,
                                                         <link linkend="CamelDBCollate">CamelDBCollate</link> func);
<link linkend="int">int</link>                 <link linkend="camel-db-migrate-vfolders-to-14">camel_db_migrate_vfolders_to_14</link>     (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *folder,
                                                         <link linkend="CamelException">CamelException</link> *ex);
</synopsis>
</refsynopsisdiv>









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

<refsect1 id="camel-CamelDB.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="CAMEL-DB-FILE--CAPS" role="macro">
<title>CAMEL_DB_FILE</title>
<indexterm zone="CAMEL-DB-FILE--CAPS"><primary sortas="CAMEL_DB_FILE">CAMEL_DB_FILE</primary></indexterm><programlisting>#define CAMEL_DB_FILE "folders.db"
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CAMEL-DB-FREE-CACHE-SIZE--CAPS" role="macro">
<title>CAMEL_DB_FREE_CACHE_SIZE</title>
<indexterm zone="CAMEL-DB-FREE-CACHE-SIZE--CAPS"><primary sortas="CAMEL_DB_FREE_CACHE_SIZE">CAMEL_DB_FREE_CACHE_SIZE</primary></indexterm><programlisting>#define CAMEL_DB_FREE_CACHE_SIZE 2 * 1024 * 1024
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CAMEL-DB-SLEEP-INTERVAL--CAPS" role="macro">
<title>CAMEL_DB_SLEEP_INTERVAL</title>
<indexterm zone="CAMEL-DB-SLEEP-INTERVAL--CAPS"><primary sortas="CAMEL_DB_SLEEP_INTERVAL">CAMEL_DB_SLEEP_INTERVAL</primary></indexterm><programlisting>#define CAMEL_DB_SLEEP_INTERVAL 1*10*10
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CAMEL-DB-RELEASE-SQLITE-MEMORY--CAPS" role="macro">
<title>CAMEL_DB_RELEASE_SQLITE_MEMORY</title>
<indexterm zone="CAMEL-DB-RELEASE-SQLITE-MEMORY--CAPS"><primary sortas="CAMEL_DB_RELEASE_SQLITE_MEMORY">CAMEL_DB_RELEASE_SQLITE_MEMORY</primary></indexterm><programlisting>#define CAMEL_DB_RELEASE_SQLITE_MEMORY if(!g_getenv("CAMEL_SQLITE_FREE_CACHE")) sqlite3_release_memory(CAMEL_DB_FREE_CACHE_SIZE);
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CAMEL-DB-USE-SHARED-CACHE--CAPS" role="macro">
<title>CAMEL_DB_USE_SHARED_CACHE</title>
<indexterm zone="CAMEL-DB-USE-SHARED-CACHE--CAPS"><primary sortas="CAMEL_DB_USE_SHARED_CACHE">CAMEL_DB_USE_SHARED_CACHE</primary></indexterm><programlisting>#define CAMEL_DB_USE_SHARED_CACHE if(g_getenv("CAMEL_SQLITE_SHARED_CACHE")) sqlite3_enable_shared_cache(TRUE);
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CamelDBCollate" role="function">
<title>CamelDBCollate ()</title>
<indexterm zone="CamelDBCollate"><primary sortas="CamelDBCollate">CamelDBCollate</primary></indexterm><programlisting><link linkend="int">int</link>                 (*CamelDBCollate)                   (<link linkend="void">void</link> *,
                                                         ...,
                                                         const <link linkend="void">void</link> *,
                                                         ...,
                                                         const <link linkend="void">void</link> *);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>Param1</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>...</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>Param3</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>...</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>Param5</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="CamelDB" role="struct">
<title>CamelDB</title>
<indexterm zone="CamelDB"><primary sortas="CamelDB">CamelDB</primary></indexterm><programlisting>typedef struct {
	sqlite3 *db;
	GMutex *lock;
	CamelDBPrivate *priv;
} CamelDB;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CamelMIRecord" role="struct">
<title>CamelMIRecord</title>
<indexterm zone="CamelMIRecord"><primary sortas="CamelMIRecord">CamelMIRecord</primary></indexterm><programlisting>typedef struct {
	char *uid;
	guint32 flags;
	guint32 msg_type;
	guint32 dirty;
	gboolean read;
	gboolean deleted;
	gboolean replied;
	gboolean important;
	gboolean junk;
	gboolean attachment;
	guint32 size;
	time_t dsent;
	time_t dreceived;
	char *subject;
	char *from;
	char *to;
	char *cc;
	char *mlist;
	char *followup_flag;
	char *followup_completed_on;
	char *followup_due_by;
	char *part;
	char *labels;
	char *usertags;
	char *cinfo;
	char *bdata;
} CamelMIRecord;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CamelFIRecord" role="struct">
<title>CamelFIRecord</title>
<indexterm zone="CamelFIRecord"><primary sortas="CamelFIRecord">CamelFIRecord</primary></indexterm><programlisting>typedef struct {
	char *folder_name;
	guint32 version;
	guint32 flags;
	guint32 nextuid;
	time_t time;
	guint32 saved_count;
	guint32 unread_count;
	guint32 deleted_count;
	guint32 junk_count;
	guint32 visible_count;
	guint32 jnd_count;  /* Junked not deleted */
	char *bdata;
} CamelFIRecord;
</programlisting>
<para>
</para></refsect2>
<refsect2 id="CamelDBSelectCB" role="function">
<title>CamelDBSelectCB ()</title>
<indexterm zone="CamelDBSelectCB"><primary sortas="CamelDBSelectCB">CamelDBSelectCB</primary></indexterm><programlisting><link linkend="int">int</link>                 (*CamelDBSelectCB)                  (<link linkend="gpointer">gpointer</link> data,
                                                         <link linkend="int">int</link> ncol,
                                                         <link linkend="char">char</link> **colvalues,
                                                         <link linkend="char">char</link> **colnames);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>data</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ncol</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>colvalues</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>colnames</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-open" role="function">
<title>camel_db_open ()</title>
<indexterm zone="camel-db-open"><primary sortas="camel_db_open">camel_db_open</primary></indexterm><programlisting><link linkend="CamelDB">CamelDB</link> *           camel_db_open                       (const <link linkend="char">char</link> *path,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>path</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-close" role="function">
<title>camel_db_close ()</title>
<indexterm zone="camel-db-close"><primary sortas="camel_db_close">camel_db_close</primary></indexterm><programlisting><link linkend="void">void</link>                camel_db_close                      (<link linkend="CamelDB">CamelDB</link> *cdb);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-command" role="function">
<title>camel_db_command ()</title>
<indexterm zone="camel-db-command"><primary sortas="camel_db_command">camel_db_command</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_command                    (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *stmt,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>stmt</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-transaction-command" role="function">
<title>camel_db_transaction_command ()</title>
<indexterm zone="camel-db-transaction-command"><primary sortas="camel_db_transaction_command">camel_db_transaction_command</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_transaction_command        (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         <link linkend="GSList">GSList</link> *qry_list,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>qry_list</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-begin-transaction" role="function">
<title>camel_db_begin_transaction ()</title>
<indexterm zone="camel-db-begin-transaction"><primary sortas="camel_db_begin_transaction">camel_db_begin_transaction</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_begin_transaction          (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-add-to-transaction" role="function">
<title>camel_db_add_to_transaction ()</title>
<indexterm zone="camel-db-add-to-transaction"><primary sortas="camel_db_add_to_transaction">camel_db_add_to_transaction</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_add_to_transaction         (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *query,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>query</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-end-transaction" role="function">
<title>camel_db_end_transaction ()</title>
<indexterm zone="camel-db-end-transaction"><primary sortas="camel_db_end_transaction">camel_db_end_transaction</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_end_transaction            (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-abort-transaction" role="function">
<title>camel_db_abort_transaction ()</title>
<indexterm zone="camel-db-abort-transaction"><primary sortas="camel_db_abort_transaction">camel_db_abort_transaction</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_abort_transaction          (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-clear-folder-summary" role="function">
<title>camel_db_clear_folder_summary ()</title>
<indexterm zone="camel-db-clear-folder-summary"><primary sortas="camel_db_clear_folder_summary">camel_db_clear_folder_summary</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_clear_folder_summary       (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         <link linkend="char">char</link> *folder,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-rename-folder" role="function">
<title>camel_db_rename_folder ()</title>
<indexterm zone="camel-db-rename-folder"><primary sortas="camel_db_rename_folder">camel_db_rename_folder</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_rename_folder              (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *old_folder,
                                                         const <link linkend="char">char</link> *new_folder,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>old_folder</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>new_folder</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-delete-folder" role="function">
<title>camel_db_delete_folder ()</title>
<indexterm zone="camel-db-delete-folder"><primary sortas="camel_db_delete_folder">camel_db_delete_folder</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_delete_folder              (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *folder,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-delete-uid" role="function">
<title>camel_db_delete_uid ()</title>
<indexterm zone="camel-db-delete-uid"><primary sortas="camel_db_delete_uid">camel_db_delete_uid</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_delete_uid                 (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *folder,
                                                         const <link linkend="char">char</link> *uid,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>uid</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-delete-uids" role="function">
<title>camel_db_delete_uids ()</title>
<indexterm zone="camel-db-delete-uids"><primary sortas="camel_db_delete_uids">camel_db_delete_uids</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_delete_uids                (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *folder_name,
                                                         <link linkend="GSList">GSList</link> *uids,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>uids</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-create-folders-table" role="function">
<title>camel_db_create_folders_table ()</title>
<indexterm zone="camel-db-create-folders-table"><primary sortas="camel_db_create_folders_table">camel_db_create_folders_table</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_create_folders_table       (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-select" role="function">
<title>camel_db_select ()</title>
<indexterm zone="camel-db-select"><primary sortas="camel_db_select">camel_db_select</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_select                     (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *stmt,
                                                         <link linkend="CamelDBSelectCB">CamelDBSelectCB</link> callback,
                                                         <link linkend="gpointer">gpointer</link> data,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>stmt</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>callback</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>data</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-write-folder-info-record" role="function">
<title>camel_db_write_folder_info_record ()</title>
<indexterm zone="camel-db-write-folder-info-record"><primary sortas="camel_db_write_folder_info_record">camel_db_write_folder_info_record</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_write_folder_info_record   (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         <link linkend="CamelFIRecord">CamelFIRecord</link> *record,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>record</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-read-folder-info-record" role="function">
<title>camel_db_read_folder_info_record ()</title>
<indexterm zone="camel-db-read-folder-info-record"><primary sortas="camel_db_read_folder_info_record">camel_db_read_folder_info_record</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_read_folder_info_record    (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *folder_name,
                                                         <link linkend="CamelFIRecord">CamelFIRecord</link> **record,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>record</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-prepare-message-info-table" role="function">
<title>camel_db_prepare_message_info_table ()</title>
<indexterm zone="camel-db-prepare-message-info-table"><primary sortas="camel_db_prepare_message_info_table">camel_db_prepare_message_info_table</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_prepare_message_info_table (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *folder_name,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-write-message-info-record" role="function">
<title>camel_db_write_message_info_record ()</title>
<indexterm zone="camel-db-write-message-info-record"><primary sortas="camel_db_write_message_info_record">camel_db_write_message_info_record</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_write_message_info_record  (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *folder_name,
                                                         <link linkend="CamelMIRecord">CamelMIRecord</link> *record,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>record</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-read-message-info-records" role="function">
<title>camel_db_read_message_info_records ()</title>
<indexterm zone="camel-db-read-message-info-records"><primary sortas="camel_db_read_message_info_records">camel_db_read_message_info_records</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_read_message_info_records  (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *folder_name,
                                                         <link linkend="gpointer">gpointer</link> p,
                                                         <link linkend="CamelDBSelectCB">CamelDBSelectCB</link> read_mir_callback,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>p</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>read_mir_callback</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-read-message-info-record-with-uid" role="function">
<title>camel_db_read_message_info_record_with_uid ()</title>
<indexterm zone="camel-db-read-message-info-record-with-uid"><primary sortas="camel_db_read_message_info_record_with_uid">camel_db_read_message_info_record_with_uid</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_read_message_info_record_with_uid
                                                        (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *folder_name,
                                                         const <link linkend="char">char</link> *uid,
                                                         <link linkend="gpointer">gpointer</link> p,
                                                         <link linkend="CamelDBSelectCB">CamelDBSelectCB</link> read_mir_callback,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>uid</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>p</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>read_mir_callback</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-count-junk-message-info" role="function">
<title>camel_db_count_junk_message_info ()</title>
<indexterm zone="camel-db-count-junk-message-info"><primary sortas="camel_db_count_junk_message_info">camel_db_count_junk_message_info</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_count_junk_message_info    (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *table_name,
                                                         <link linkend="guint32">guint32</link> *count,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>table_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>count</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-count-unread-message-info" role="function">
<title>camel_db_count_unread_message_info ()</title>
<indexterm zone="camel-db-count-unread-message-info"><primary sortas="camel_db_count_unread_message_info">camel_db_count_unread_message_info</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_count_unread_message_info  (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *table_name,
                                                         <link linkend="guint32">guint32</link> *count,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>table_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>count</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-count-deleted-message-info" role="function">
<title>camel_db_count_deleted_message_info ()</title>
<indexterm zone="camel-db-count-deleted-message-info"><primary sortas="camel_db_count_deleted_message_info">camel_db_count_deleted_message_info</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_count_deleted_message_info (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *table_name,
                                                         <link linkend="guint32">guint32</link> *count,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>table_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>count</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-count-total-message-info" role="function">
<title>camel_db_count_total_message_info ()</title>
<indexterm zone="camel-db-count-total-message-info"><primary sortas="camel_db_count_total_message_info">camel_db_count_total_message_info</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_count_total_message_info   (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *table_name,
                                                         <link linkend="guint32">guint32</link> *count,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>table_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>count</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-count-visible-message-info" role="function">
<title>camel_db_count_visible_message_info ()</title>
<indexterm zone="camel-db-count-visible-message-info"><primary sortas="camel_db_count_visible_message_info">camel_db_count_visible_message_info</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_count_visible_message_info (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *table_name,
                                                         <link linkend="guint32">guint32</link> *count,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>table_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>count</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-count-visible-unread-message-info" role="function">
<title>camel_db_count_visible_unread_message_info ()</title>
<indexterm zone="camel-db-count-visible-unread-message-info"><primary sortas="camel_db_count_visible_unread_message_info">camel_db_count_visible_unread_message_info</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_count_visible_unread_message_info
                                                        (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *table_name,
                                                         <link linkend="guint32">guint32</link> *count,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>table_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>count</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-count-junk-not-deleted-message-info" role="function">
<title>camel_db_count_junk_not_deleted_message_info ()</title>
<indexterm zone="camel-db-count-junk-not-deleted-message-info"><primary sortas="camel_db_count_junk_not_deleted_message_info">camel_db_count_junk_not_deleted_message_info</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_count_junk_not_deleted_message_info
                                                        (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *table_name,
                                                         <link linkend="guint32">guint32</link> *count,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>table_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>count</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-camel-mir-free" role="function">
<title>camel_db_camel_mir_free ()</title>
<indexterm zone="camel-db-camel-mir-free"><primary sortas="camel_db_camel_mir_free">camel_db_camel_mir_free</primary></indexterm><programlisting><link linkend="void">void</link>                camel_db_camel_mir_free             (<link linkend="CamelMIRecord">CamelMIRecord</link> *record);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>record</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-create-vfolder" role="function">
<title>camel_db_create_vfolder ()</title>
<indexterm zone="camel-db-create-vfolder"><primary sortas="camel_db_create_vfolder">camel_db_create_vfolder</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_create_vfolder             (<link linkend="CamelDB">CamelDB</link> *db,
                                                         const <link linkend="char">char</link> *folder_name,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>db</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-recreate-vfolder" role="function">
<title>camel_db_recreate_vfolder ()</title>
<indexterm zone="camel-db-recreate-vfolder"><primary sortas="camel_db_recreate_vfolder">camel_db_recreate_vfolder</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_recreate_vfolder           (<link linkend="CamelDB">CamelDB</link> *db,
                                                         const <link linkend="char">char</link> *folder_name,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>db</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-delete-uid-from-vfolder" role="function">
<title>camel_db_delete_uid_from_vfolder ()</title>
<indexterm zone="camel-db-delete-uid-from-vfolder"><primary sortas="camel_db_delete_uid_from_vfolder">camel_db_delete_uid_from_vfolder</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_delete_uid_from_vfolder    (<link linkend="CamelDB">CamelDB</link> *db,
                                                         <link linkend="char">char</link> *folder_name,
                                                         <link linkend="char">char</link> *vuid,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>db</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>vuid</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-delete-uid-from-vfolder-transaction" role="function">
<title>camel_db_delete_uid_from_vfolder_transaction ()</title>
<indexterm zone="camel-db-delete-uid-from-vfolder-transaction"><primary sortas="camel_db_delete_uid_from_vfolder_transaction">camel_db_delete_uid_from_vfolder_transaction</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_delete_uid_from_vfolder_transaction
                                                        (<link linkend="CamelDB">CamelDB</link> *db,
                                                         <link linkend="char">char</link> *folder_name,
                                                         <link linkend="char">char</link> *vuid,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>db</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>vuid</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-get-vuids-from-vfolder" role="function">
<title>camel_db_get_vuids_from_vfolder ()</title>
<indexterm zone="camel-db-get-vuids-from-vfolder"><primary sortas="camel_db_get_vuids_from_vfolder">camel_db_get_vuids_from_vfolder</primary></indexterm><programlisting><link linkend="GPtrArray">GPtrArray</link> *         camel_db_get_vuids_from_vfolder     (<link linkend="CamelDB">CamelDB</link> *db,
                                                         <link linkend="char">char</link> *folder_name,
                                                         <link linkend="char">char</link> *filter,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>db</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>filter</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-add-to-vfolder" role="function">
<title>camel_db_add_to_vfolder ()</title>
<indexterm zone="camel-db-add-to-vfolder"><primary sortas="camel_db_add_to_vfolder">camel_db_add_to_vfolder</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_add_to_vfolder             (<link linkend="CamelDB">CamelDB</link> *db,
                                                         <link linkend="char">char</link> *folder_name,
                                                         <link linkend="char">char</link> *vuid,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>db</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>vuid</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-add-to-vfolder-transaction" role="function">
<title>camel_db_add_to_vfolder_transaction ()</title>
<indexterm zone="camel-db-add-to-vfolder-transaction"><primary sortas="camel_db_add_to_vfolder_transaction">camel_db_add_to_vfolder_transaction</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_add_to_vfolder_transaction (<link linkend="CamelDB">CamelDB</link> *db,
                                                         <link linkend="char">char</link> *folder_name,
                                                         <link linkend="char">char</link> *vuid,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>db</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>vuid</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-get-folder-uids" role="function">
<title>camel_db_get_folder_uids ()</title>
<indexterm zone="camel-db-get-folder-uids"><primary sortas="camel_db_get_folder_uids">camel_db_get_folder_uids</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_get_folder_uids            (<link linkend="CamelDB">CamelDB</link> *db,
                                                         <link linkend="char">char</link> *folder_name,
                                                         <link linkend="char">char</link> *sort_by,
                                                         <link linkend="char">char</link> *collate,
                                                         <link linkend="GPtrArray">GPtrArray</link> *array,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>db</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>sort_by</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>collate</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>array</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-get-folder-junk-uids" role="function">
<title>camel_db_get_folder_junk_uids ()</title>
<indexterm zone="camel-db-get-folder-junk-uids"><primary sortas="camel_db_get_folder_junk_uids">camel_db_get_folder_junk_uids</primary></indexterm><programlisting><link linkend="GPtrArray">GPtrArray</link> *         camel_db_get_folder_junk_uids       (<link linkend="CamelDB">CamelDB</link> *db,
                                                         <link linkend="char">char</link> *folder_name,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>db</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-get-folder-deleted-uids" role="function">
<title>camel_db_get_folder_deleted_uids ()</title>
<indexterm zone="camel-db-get-folder-deleted-uids"><primary sortas="camel_db_get_folder_deleted_uids">camel_db_get_folder_deleted_uids</primary></indexterm><programlisting><link linkend="GPtrArray">GPtrArray</link> *         camel_db_get_folder_deleted_uids    (<link linkend="CamelDB">CamelDB</link> *db,
                                                         <link linkend="char">char</link> *folder_name,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>db</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-sqlize-string" role="function">
<title>camel_db_sqlize_string ()</title>
<indexterm zone="camel-db-sqlize-string"><primary sortas="camel_db_sqlize_string">camel_db_sqlize_string</primary></indexterm><programlisting><link linkend="char">char</link> *              camel_db_sqlize_string              (const <link linkend="char">char</link> *string);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>string</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-free-sqlized-string" role="function">
<title>camel_db_free_sqlized_string ()</title>
<indexterm zone="camel-db-free-sqlized-string"><primary sortas="camel_db_free_sqlized_string">camel_db_free_sqlized_string</primary></indexterm><programlisting><link linkend="void">void</link>                camel_db_free_sqlized_string        (<link linkend="char">char</link> *string);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>string</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-get-column-name" role="function">
<title>camel_db_get_column_name ()</title>
<indexterm zone="camel-db-get-column-name"><primary sortas="camel_db_get_column_name">camel_db_get_column_name</primary></indexterm><programlisting><link linkend="char">char</link> *              camel_db_get_column_name            (const <link linkend="char">char</link> *raw_name);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>raw_name</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-set-collate" role="function">
<title>camel_db_set_collate ()</title>
<indexterm zone="camel-db-set-collate"><primary sortas="camel_db_set_collate">camel_db_set_collate</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_set_collate                (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *col,
                                                         const <link linkend="char">char</link> *collate,
                                                         <link linkend="CamelDBCollate">CamelDBCollate</link> func);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>col</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>collate</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>func</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="camel-db-migrate-vfolders-to-14" role="function">
<title>camel_db_migrate_vfolders_to_14 ()</title>
<indexterm zone="camel-db-migrate-vfolders-to-14"><primary sortas="camel_db_migrate_vfolders_to_14">camel_db_migrate_vfolders_to_14</primary></indexterm><programlisting><link linkend="int">int</link>                 camel_db_migrate_vfolders_to_14     (<link linkend="CamelDB">CamelDB</link> *cdb,
                                                         const <link linkend="char">char</link> *folder,
                                                         <link linkend="CamelException">CamelException</link> *ex);</programlisting>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>cdb</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>folder</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>ex</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
