aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-command.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-01-11 04:19:45 +0800
committerDan Winship <danw@src.gnome.org>2001-01-11 04:19:45 +0800
commite1ffe7ed975b20ef6896b3cd41b72199a8aac214 (patch)
tree87dc069dc9e4e6713d241979b86a9aaa180eb5a6 /camel/providers/imap/camel-imap-command.h
parenta1ca83afd9f3fa742d9f2c07b990b576d3867668 (diff)
downloadgsoc2013-evolution-e1ffe7ed975b20ef6896b3cd41b72199a8aac214.tar
gsoc2013-evolution-e1ffe7ed975b20ef6896b3cd41b72199a8aac214.tar.gz
gsoc2013-evolution-e1ffe7ed975b20ef6896b3cd41b72199a8aac214.tar.bz2
gsoc2013-evolution-e1ffe7ed975b20ef6896b3cd41b72199a8aac214.tar.lz
gsoc2013-evolution-e1ffe7ed975b20ef6896b3cd41b72199a8aac214.tar.xz
gsoc2013-evolution-e1ffe7ed975b20ef6896b3cd41b72199a8aac214.tar.zst
gsoc2013-evolution-e1ffe7ed975b20ef6896b3cd41b72199a8aac214.zip
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
Diffstat (limited to 'camel/providers/imap/camel-imap-command.h')
-rw-r--r--camel/providers/imap/camel-imap-command.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/camel/providers/imap/camel-imap-command.h b/camel/providers/imap/camel-imap-command.h
index 38e290c379..a7d3c3eae9 100644
--- a/camel/providers/imap/camel-imap-command.h
+++ b/camel/providers/imap/camel-imap-command.h
@@ -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,