evolution-data-server r9665 - in trunk/camel: . providers/groupwise providers/imap providers/local providers/nntp
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r9665 - in trunk/camel: . providers/groupwise providers/imap providers/local providers/nntp
- Date: Tue, 14 Oct 2008 05:44:37 +0000 (UTC)
Author: sragavan
Date: Tue Oct 14 05:44:37 2008
New Revision: 9665
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9665&view=rev
Log:
2008-10-06 Srinivasa Ragavan <sragavan novell com>
** Fix for bug #552261
* camel-folder-summary.c: Don't expose sqlite3 header outside.
* camel-folder-summary.h:
* camel-folder.c:
* camel-store.c:
* camel-store.h:
* camel-vee-folder.c:
* camel-vee-summary.c:
* camel-vtrash-folder.c:
Modified:
trunk/camel/ChangeLog
trunk/camel/camel-folder-summary.c
trunk/camel/camel-folder-summary.h
trunk/camel/camel-folder.c
trunk/camel/camel-store.c
trunk/camel/camel-store.h
trunk/camel/camel-vee-folder.c
trunk/camel/camel-vee-summary.c
trunk/camel/camel-vtrash-folder.c
trunk/camel/providers/groupwise/ChangeLog
trunk/camel/providers/groupwise/camel-groupwise-summary.c
trunk/camel/providers/imap/ChangeLog
trunk/camel/providers/imap/camel-imap-folder.c
trunk/camel/providers/imap/camel-imap-store.c
trunk/camel/providers/imap/camel-imap-summary.c
trunk/camel/providers/local/ChangeLog
trunk/camel/providers/local/camel-local-summary.c
trunk/camel/providers/local/camel-maildir-summary.c
trunk/camel/providers/local/camel-mbox-summary.c
trunk/camel/providers/local/camel-mh-summary.c
trunk/camel/providers/local/camel-spool-summary.c
trunk/camel/providers/nntp/ChangeLog
trunk/camel/providers/nntp/camel-nntp-summary.c
Modified: trunk/camel/camel-folder-summary.c
==============================================================================
--- trunk/camel/camel-folder-summary.c (original)
+++ trunk/camel/camel-folder-summary.c Tue Oct 14 05:44:37 2008
@@ -40,6 +40,7 @@
#include <libedataserver/e-memory.h>
+#include "camel-db.h"
#include "camel-file-utils.h"
#include "camel-folder-summary.h"
#include "camel-folder.h"
Modified: trunk/camel/camel-folder-summary.h
==============================================================================
--- trunk/camel/camel-folder-summary.h (original)
+++ trunk/camel/camel-folder-summary.h Tue Oct 14 05:44:37 2008
@@ -27,7 +27,6 @@
#include <camel/camel-mime-parser.h>
#include <camel/camel-object.h>
#include <camel/camel-index.h>
-#include <camel/camel-db.h>
#define CAMEL_FOLDER_SUMMARY_TYPE camel_folder_summary_get_type ()
#define CAMEL_FOLDER_SUMMARY(obj) CAMEL_CHECK_CAST (obj, camel_folder_summary_get_type (), CamelFolderSummary)
@@ -255,6 +254,9 @@
gpointer later[4];
};
+struct _CamelMIRecord;
+struct _CamelFIRecord;
+
struct _CamelFolderSummaryClass {
CamelObjectClass parent_class;
@@ -263,12 +265,12 @@
int (*summary_header_save)(CamelFolderSummary *, FILE *);
/* Load/Save folder summary from DB*/
- int (*summary_header_from_db)(CamelFolderSummary *, CamelFIRecord *);
- CamelFIRecord * (*summary_header_to_db)(CamelFolderSummary *, CamelException *ex);
+ int (*summary_header_from_db)(CamelFolderSummary *, struct _CamelFIRecord *);
+ struct _CamelFIRecord * (*summary_header_to_db)(CamelFolderSummary *, CamelException *ex);
CamelMessageInfo * (*message_info_from_db) (CamelFolderSummary *, struct _CamelMIRecord*);
- CamelMIRecord * (*message_info_to_db) (CamelFolderSummary *, CamelMessageInfo *);
- CamelMessageContentInfo * (*content_info_from_db) (CamelFolderSummary *, CamelMIRecord *);
- int (*content_info_to_db) (CamelFolderSummary *, CamelMessageContentInfo *, CamelMIRecord *);
+ struct _CamelMIRecord * (*message_info_to_db) (CamelFolderSummary *, CamelMessageInfo *);
+ CamelMessageContentInfo * (*content_info_from_db) (CamelFolderSummary *, struct _CamelMIRecord *);
+ int (*content_info_to_db) (CamelFolderSummary *, CamelMessageContentInfo *, struct _CamelMIRecord *);
/* create/save/load an individual message info */
CamelMessageInfo * (*message_info_new_from_header)(CamelFolderSummary *, struct _camel_header_raw *);
Modified: trunk/camel/camel-folder.c
==============================================================================
--- trunk/camel/camel-folder.c (original)
+++ trunk/camel/camel-folder.c Tue Oct 14 05:44:37 2008
@@ -33,6 +33,7 @@
#include <libedataserver/e-memory.h>
+#include "camel-db.h"
#include "camel-debug.h"
#include "camel-exception.h"
#include "camel-filter-driver.h"
Modified: trunk/camel/camel-store.c
==============================================================================
--- trunk/camel/camel-store.c (original)
+++ trunk/camel/camel-store.c Tue Oct 14 05:44:37 2008
@@ -34,6 +34,7 @@
#include <glib.h>
#include <glib/gi18n-lib.h>
+#include "camel-db.h"
#include "camel-debug.h"
#include "camel-exception.h"
#include "camel-folder.h"
Modified: trunk/camel/camel-store.h
==============================================================================
--- trunk/camel/camel-store.h (original)
+++ trunk/camel/camel-store.h Tue Oct 14 05:44:37 2008
@@ -32,7 +32,6 @@
#include <camel/camel-object.h>
#include <camel/camel-service.h>
-#include <camel/camel-db.h>
G_BEGIN_DECLS
@@ -117,13 +116,15 @@
#define CAMEL_STORE_VJUNK (1 << 3)
#define CAMEL_STORE_PROXY (1 << 4)
+struct _CamelDB;
+
struct _CamelStore {
CamelService parent_object;
struct _CamelStorePrivate *priv;
CamelObjectBag *folders;
- CamelDB *cdb_r;
- CamelDB *cdb_w;
+ struct _CamelDB *cdb_r;
+ struct _CamelDB *cdb_w;
guint32 flags;
guint32 mode;
Modified: trunk/camel/camel-vee-folder.c
==============================================================================
--- trunk/camel/camel-vee-folder.c (original)
+++ trunk/camel/camel-vee-folder.c Tue Oct 14 05:44:37 2008
@@ -33,6 +33,7 @@
#include <libedataserver/e-memory.h>
#endif
+#include "camel-db.h"
#include "camel-debug.h"
#include "camel-exception.h"
#include "camel-folder-search.h"
Modified: trunk/camel/camel-vee-summary.c
==============================================================================
--- trunk/camel/camel-vee-summary.c (original)
+++ trunk/camel/camel-vee-summary.c Tue Oct 14 05:44:37 2008
@@ -29,6 +29,7 @@
#include <unistd.h>
#include <sys/stat.h>
+#include "camel-db.h"
#include "camel-folder.h"
#include "camel-store.h"
#include "camel-vee-summary.h"
Modified: trunk/camel/camel-vtrash-folder.c
==============================================================================
--- trunk/camel/camel-vtrash-folder.c (original)
+++ trunk/camel/camel-vtrash-folder.c Tue Oct 14 05:44:37 2008
@@ -30,6 +30,7 @@
#include <glib.h>
#include <glib/gi18n-lib.h>
+#include "camel-db.h"
#include "camel-exception.h"
#include "camel-mime-message.h"
#include "camel-private.h"
Modified: trunk/camel/providers/groupwise/camel-groupwise-summary.c
==============================================================================
--- trunk/camel/providers/groupwise/camel-groupwise-summary.c (original)
+++ trunk/camel/providers/groupwise/camel-groupwise-summary.c Tue Oct 14 05:44:37 2008
@@ -33,6 +33,7 @@
#include <unistd.h>
#include <sys/stat.h>
+#include "camel-db.h"
#include "camel-data-cache.h"
#include "camel-file-utils.h"
#include "camel-folder.h"
Modified: trunk/camel/providers/imap/camel-imap-folder.c
==============================================================================
--- trunk/camel/providers/imap/camel-imap-folder.c (original)
+++ trunk/camel/providers/imap/camel-imap-folder.c Tue Oct 14 05:44:37 2008
@@ -39,6 +39,7 @@
#include <libedataserver/e-data-server-util.h>
#include <libedataserver/e-time-utils.h>
+#include "camel-db.h"
#include "camel-data-wrapper.h"
#include "camel-debug.h"
#include "camel-imap-journal.h"
Modified: trunk/camel/providers/imap/camel-imap-store.c
==============================================================================
--- trunk/camel/providers/imap/camel-imap-store.c (original)
+++ trunk/camel/providers/imap/camel-imap-store.c Tue Oct 14 05:44:37 2008
@@ -36,6 +36,7 @@
#include <glib/gi18n-lib.h>
#include <glib/gstdio.h>
+#include "camel/camel-db.h"
#include "camel/camel-debug.h"
#include "camel/camel-exception.h"
#include "camel/camel-file-utils.h"
Modified: trunk/camel/providers/imap/camel-imap-summary.c
==============================================================================
--- trunk/camel/providers/imap/camel-imap-summary.c (original)
+++ trunk/camel/providers/imap/camel-imap-summary.c Tue Oct 14 05:44:37 2008
@@ -31,6 +31,7 @@
#include <unistd.h>
#include <sys/stat.h>
+#include "camel-db.h"
#include "camel-folder.h"
#include "camel-file-utils.h"
#include "camel-string-utils.h"
Modified: trunk/camel/providers/local/camel-local-summary.c
==============================================================================
--- trunk/camel/providers/local/camel-local-summary.c (original)
+++ trunk/camel/providers/local/camel-local-summary.c Tue Oct 14 05:44:37 2008
@@ -34,6 +34,7 @@
#include <glib/gi18n-lib.h>
#include <glib/gstdio.h>
+#include "camel-db.h"
#include "camel-file-utils.h"
#include "camel-mime-message.h"
#include "camel-stream-null.h"
Modified: trunk/camel/providers/local/camel-maildir-summary.c
==============================================================================
--- trunk/camel/providers/local/camel-maildir-summary.c (original)
+++ trunk/camel/providers/local/camel-maildir-summary.c Tue Oct 14 05:44:37 2008
@@ -38,6 +38,7 @@
#include <libedataserver/e-memory.h>
+#include "camel-db.h"
#include "camel-mime-message.h"
#include "camel-operation.h"
#include "camel-private.h"
Modified: trunk/camel/providers/local/camel-mbox-summary.c
==============================================================================
--- trunk/camel/providers/local/camel-mbox-summary.c (original)
+++ trunk/camel/providers/local/camel-mbox-summary.c Tue Oct 14 05:44:37 2008
@@ -36,6 +36,7 @@
#include <glib/gi18n-lib.h>
#include <glib/gstdio.h>
+#include "camel-db.h"
#include "camel-file-utils.h"
#include "camel-mime-message.h"
#include "camel-operation.h"
Modified: trunk/camel/providers/local/camel-mh-summary.c
==============================================================================
--- trunk/camel/providers/local/camel-mh-summary.c (original)
+++ trunk/camel/providers/local/camel-mh-summary.c Tue Oct 14 05:44:37 2008
@@ -34,6 +34,7 @@
#include <glib/gi18n-lib.h>
+#include "camel-db.h"
#include "camel-store.h"
#include "camel-mime-message.h"
#include "camel-private.h"
Modified: trunk/camel/providers/local/camel-spool-summary.c
==============================================================================
--- trunk/camel/providers/local/camel-spool-summary.c (original)
+++ trunk/camel/providers/local/camel-spool-summary.c Tue Oct 14 05:44:37 2008
@@ -34,6 +34,7 @@
#include <glib/gi18n-lib.h>
+#include "camel-db.h"
#include "camel-file-utils.h"
#include "camel-mime-message.h"
#include "camel-operation.h"
Modified: trunk/camel/providers/nntp/camel-nntp-summary.c
==============================================================================
--- trunk/camel/providers/nntp/camel-nntp-summary.c (original)
+++ trunk/camel/providers/nntp/camel-nntp-summary.c Tue Oct 14 05:44:37 2008
@@ -33,6 +33,7 @@
#include <glib/gi18n-lib.h>
#include "camel/camel-data-cache.h"
+#include "camel/camel-db.h"
#include "camel/camel-debug.h"
#include "camel/camel-file-utils.h"
#include "camel/camel-mime-message.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]