New header to prevent recursive #include problems
* providers/imap/camel-imap-types.h: New header to prevent recursive #include problems * providers/imap/*.h: Replace some #includes with #include "camel-imap-types.h", remove typedefs that were moved to camel-imap-types.h * providers/imap/*.c: Add #includes to make up for #includes removed from .h files * providers/imap/Makefile.am (libcamelimapinclude_HEADERS): Add camel-imap-types.h svn path=/trunk/; revision=7367
This commit is contained in:
@ -1,3 +1,18 @@
|
||||
2001-01-10 Dan Winship <danw@helixcode.com>
|
||||
|
||||
* providers/imap/camel-imap-types.h: New header to prevent
|
||||
recursive #include problems
|
||||
|
||||
* providers/imap/*.h: Replace some #includes with #include
|
||||
"camel-imap-types.h", remove typedefs that were moved to
|
||||
camel-imap-types.h
|
||||
|
||||
* providers/imap/*.c: Add #includes to make up for #includes
|
||||
removed from .h files
|
||||
|
||||
* providers/imap/Makefile.am (libcamelimapinclude_HEADERS): Add
|
||||
camel-imap-types.h
|
||||
|
||||
2001-01-10 Dan Winship <danw@helixcode.com>
|
||||
|
||||
* camel-store.c (camel_store_sync): New class function, parallel
|
||||
|
||||
@ -37,6 +37,7 @@ libcamelimapinclude_HEADERS = \
|
||||
camel-imap-search.h \
|
||||
camel-imap-store.h \
|
||||
camel-imap-summary.h \
|
||||
camel-imap-types.h \
|
||||
camel-imap-utils.h
|
||||
|
||||
libcamelimap_la_LDFLAGS = $(KRB4_LDFLAGS) -version-info 0:0:0
|
||||
|
||||
@ -34,6 +34,7 @@
|
||||
#include "camel-imap-command.h"
|
||||
#include "camel-imap-utils.h"
|
||||
#include "camel-imap-folder.h"
|
||||
#include "camel-imap-store.h"
|
||||
#include <camel/camel-exception.h>
|
||||
|
||||
static char *imap_read_untagged (CamelImapStore *store, char *line,
|
||||
|
||||
@ -33,12 +33,13 @@ extern "C" {
|
||||
#pragma }
|
||||
#endif /* __cplusplus }*/
|
||||
|
||||
#include "camel-imap-store.h"
|
||||
#include "camel-imap-types.h"
|
||||
#include <glib.h>
|
||||
|
||||
typedef struct {
|
||||
struct _CamelImapResponse {
|
||||
GPtrArray *untagged;
|
||||
char *status;
|
||||
} CamelImapResponse;
|
||||
};
|
||||
|
||||
CamelImapResponse *camel_imap_command (CamelImapStore *store,
|
||||
CamelFolder *folder,
|
||||
|
||||
@ -33,6 +33,7 @@ extern "C" {
|
||||
#pragma }
|
||||
#endif /* __cplusplus }*/
|
||||
|
||||
#include "camel-imap-types.h"
|
||||
#include "camel-folder.h"
|
||||
#include <camel/camel-folder-search.h>
|
||||
|
||||
@ -41,13 +42,13 @@ extern "C" {
|
||||
#define CAMEL_IMAP_FOLDER_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_IMAP_FOLDER_TYPE, CamelImapFolderClass))
|
||||
#define CAMEL_IS_IMAP_FOLDER(o) (CAMEL_CHECK_TYPE((o), CAMEL_IMAP_FOLDER_TYPE))
|
||||
|
||||
typedef struct {
|
||||
struct _CamelImapFolder {
|
||||
CamelFolder parent_object;
|
||||
|
||||
struct _CamelImapFolderPrivate *priv;
|
||||
|
||||
CamelFolderSearch *search;
|
||||
} CamelImapFolder;
|
||||
};
|
||||
|
||||
|
||||
typedef struct {
|
||||
|
||||
@ -30,6 +30,7 @@
|
||||
|
||||
#include "camel-imap-command.h"
|
||||
#include "camel-imap-folder.h"
|
||||
#include "camel-imap-store.h"
|
||||
#include "camel-imap-search.h"
|
||||
#include "camel-imap-private.h"
|
||||
|
||||
|
||||
@ -34,7 +34,6 @@
|
||||
#define CAMEL_IS_IMAP_SEARCH(obj) CAMEL_CHECK_TYPE (obj, camel_imap_search_get_type ())
|
||||
|
||||
typedef struct _CamelImapSearchClass CamelImapSearchClass;
|
||||
typedef struct _CamelImapSearch CamelImapSearch;
|
||||
|
||||
struct _CamelImapSearch {
|
||||
CamelFolderSearch parent;
|
||||
|
||||
@ -32,6 +32,7 @@ extern "C" {
|
||||
#pragma }
|
||||
#endif /* __cplusplus }*/
|
||||
|
||||
#include "camel-imap-types.h"
|
||||
#include "camel-remote-store.h"
|
||||
|
||||
#define CAMEL_IMAP_STORE_TYPE (camel_imap_store_get_type ())
|
||||
@ -54,7 +55,7 @@ typedef enum {
|
||||
#define IMAP_CAPABILITY_UIDPLUS (1 << 6)
|
||||
#define IMAP_CAPABILITY_LITERALPLUS (1 << 7)
|
||||
|
||||
typedef struct {
|
||||
struct _CamelImapStore {
|
||||
CamelRemoteStore parent_object;
|
||||
struct _CamelImapStorePrivate *priv;
|
||||
|
||||
@ -71,7 +72,7 @@ typedef struct {
|
||||
|
||||
GHashTable *subscribed_folders;
|
||||
gboolean useful_lsub;
|
||||
} CamelImapStore;
|
||||
};
|
||||
|
||||
|
||||
typedef struct {
|
||||
|
||||
@ -24,6 +24,7 @@
|
||||
#ifndef _CAMEL_IMAP_SUMMARY_H
|
||||
#define _CAMEL_IMAP_SUMMARY_H
|
||||
|
||||
#include "camel-imap-types.h"
|
||||
#include <camel/camel-folder-summary.h>
|
||||
#include <camel/camel-exception.h>
|
||||
|
||||
@ -31,7 +32,6 @@
|
||||
#define CAMEL_IMAP_SUMMARY_CLASS(klass) CAMEL_CHECK_CLASS_CAST (klass, camel_imap_summary_get_type (), CamelImapSummaryClass)
|
||||
#define CAMEL_IS_IMAP_SUMMARY(obj) CAMEL_CHECK_TYPE (obj, camel_imap_summary_get_type ())
|
||||
|
||||
typedef struct _CamelImapSummary CamelImapSummary;
|
||||
typedef struct _CamelImapSummaryClass CamelImapSummaryClass;
|
||||
|
||||
typedef struct _CamelImapMessageContentInfo {
|
||||
|
||||
Reference in New Issue
Block a user