aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2000-05-26 09:05:49 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-05-26 09:05:49 +0800
commitac85ed858a161f7ff4cec27a8b0c1fff1b502ac9 (patch)
treeedc733a4776633cb5eb5b9f1fd9c053f7e181d2e
parentbd7bb08d4786f2d96c5d3cc556b7cd1333bcd81c (diff)
downloadgsoc2013-evolution-ac85ed858a161f7ff4cec27a8b0c1fff1b502ac9.tar.gz
gsoc2013-evolution-ac85ed858a161f7ff4cec27a8b0c1fff1b502ac9.tar.zst
gsoc2013-evolution-ac85ed858a161f7ff4cec27a8b0c1fff1b502ac9.zip
Updated several imap source files
svn path=/trunk/; revision=3210
-rw-r--r--camel/providers/imap/camel-imap-folder.h19
-rw-r--r--camel/providers/imap/camel-imap-store.c7
2 files changed, 8 insertions, 18 deletions
diff --git a/camel/providers/imap/camel-imap-folder.h b/camel/providers/imap/camel-imap-folder.h
index 13471f2e23..5a54d693d2 100644
--- a/camel/providers/imap/camel-imap-folder.h
+++ b/camel/providers/imap/camel-imap-folder.h
@@ -2,10 +2,10 @@
/* camel-imap-folder.h : Abstract class for an imap folder */
/*
+ * Author:
+ * Jeffrey Stedfast <fejj@helixcode.com>
*
- * Authors: Jeffrey Stedfast <fejj@helixcode.com>
- *
- * Copyright (C) 2000 Helix Code .
+ * Copyright (C) 2000 Helix Code, Inc. (www.helixcode.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -34,12 +34,7 @@ extern "C" {
#endif /* __cplusplus }*/
#include <gtk/gtk.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-folder-search.h>
-#include <libibex/ibex.h>
-#include "camel-imap-summary.h"
-
-/* #include "camel-store.h" */
+#include "camel-folder.h"
#define CAMEL_IMAP_FOLDER_TYPE (camel_imap_folder_get_type ())
#define CAMEL_IMAP_FOLDER(obj) (GTK_CHECK_CAST((obj), CAMEL_IMAP_FOLDER_TYPE, CamelImapFolder))
@@ -50,17 +45,12 @@ typedef struct {
CamelFolder parent_object;
gchar *folder_file_path; /* contains the messages */
- gchar *summary_file_path; /* contains the messages summary */
gchar *folder_dir_path; /* contains the subfolders */
gchar *index_file_path; /* index of body contents */
- ibex *index; /* index for this folder */
- CamelImapSummary *summary;
- CamelFolderSearch *search; /* used to run searches, we just use the real thing (tm) */
} CamelImapFolder;
-
typedef struct {
CamelFolderClass parent_class;
@@ -70,6 +60,7 @@ typedef struct {
/* public methods */
+CamelFolder *camel_imap_folder_new (CamelStore *parent, CamelException *ex);
/* Standard Gtk function */
GtkType camel_imap_folder_get_type (void);
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index 22f81c189d..b5d5f71ccc 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -163,10 +163,9 @@ try_connect (CamelService *service, CamelException *ex)
fd = socket (h->h_addrtype, SOCK_STREAM, 0);
if (fd == -1 || connect (fd, (struct sockaddr *)&sin, sizeof(sin)) == -1) {
- camel_exception_setv (ex, CAMEL_EXCEPTION_SERVICE_UNAVAILABLE,
- "Could not connect to %s (port %s): %s",
- service->url->host, service->url->port,
- strerror(errno));
+
+ /* We don't want to set a CamelException here */
+
if (fd > -1)
close (fd);
tr> * Move post-extract to pre-build so that gmake is used after it is added.kris2004-04-121-1/+1 * SIZEify (maintainer timeout)trevor2004-03-311-0/+1 * Use PLIST_FILES (bento-tested, marcus-reviewed).trevor2004-02-062-1/+1 * Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1 * - Update to version 1.92fkrion2003-09-254-70/+54 * get rid of libgnugetopt dependency for -CURRENT,sf2003-07-142-5/+5