[evolution-kolab/ek-wip-porting-imapx] IMAPX: indentation cleanup, header include cleanup



commit 4b866649f1ba16ac8288e98de24fc77f160e4b36
Author: Christian Hilberg <hilberg kernelconcepts de>
Date:   Mon Dec 5 15:48:12 2011 +0100

    IMAPX: indentation cleanup, header include cleanup
    
    * reindented the IMAPX extension files
    * include the camel-system-headers file from libekolabutil
      instead of including camel directly

 .../providers/imapx/camel-imapx-extd-folder.c      |   48 +++++-----
 .../providers/imapx/camel-imapx-extd-folder.h      |   62 ++++++------
 .../providers/imapx/camel-imapx-extd-server.c      |  106 ++++++++++----------
 .../providers/imapx/camel-imapx-extd-server.h      |   60 ++++++------
 src/camel/providers/imapx/camel-imapx-metadata.c   |    2 -
 src/camel/providers/imapx/camel-imapx-metadata.h   |   75 +++++++++++----
 6 files changed, 196 insertions(+), 157 deletions(-)
---
diff --git a/src/camel/providers/imapx/camel-imapx-extd-folder.c b/src/camel/providers/imapx/camel-imapx-extd-folder.c
index de959e6..72b997c 100644
--- a/src/camel/providers/imapx/camel-imapx-extd-folder.c
+++ b/src/camel/providers/imapx/camel-imapx-extd-folder.c
@@ -1,27 +1,27 @@
 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
 /***************************************************************************
-*            camel-imapx-extd-folder.c
-*
-*  2011-11-25, 21:02:28
-*  Copyright 2011, Christian Hilberg
-*  <hilberg unix-ag org>
-****************************************************************************/
+ *            camel-imapx-extd-folder.c
+ *
+ *  2011-11-25, 21:02:28
+ *  Copyright 2011, Christian Hilberg
+ *  <hilberg unix-ag org>
+ ****************************************************************************/
 
 /*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU Lesser General Public
-* License as published by the Free Software Foundation; either
-* version 2.1 of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with main.c; if not, write to the Free Software
-* Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
-*/
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with main.c; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
+ */
 
 /*----------------------------------------------------------------------------*/
 
@@ -72,18 +72,18 @@ camel_imapx_extd_folder_class_init (CamelIMAPXExtdFolderClass *klass)
 
 guint64
 camel_imapx_extd_folder_get_uidvalidity (CamelIMAPXExtdFolder *folder,
-					 GError **err)
+                                         GError **err)
 {
 	guint64 uidvalidity = 0;
-	
+
 	g_assert (CAMEL_IS_IMAPX_EXTD_FOLDER (folder));
 	g_return_val_if_fail (err == NULL || *err == NULL, 0);
 
 	/* FIXME implement me */
 	g_assert_not_reached ();
 
-	/* TODO read the uidvalidity value from parent object */ 
-	
+	/* TODO read the uidvalidity value from parent object */
+
 	return uidvalidity;
 }
 
diff --git a/src/camel/providers/imapx/camel-imapx-extd-folder.h b/src/camel/providers/imapx/camel-imapx-extd-folder.h
index e5376bd..999c360 100644
--- a/src/camel/providers/imapx/camel-imapx-extd-folder.h
+++ b/src/camel/providers/imapx/camel-imapx-extd-folder.h
@@ -1,27 +1,27 @@
 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
 /***************************************************************************
-*            camel-imapx-extd-folder.h
-*
-*  2011-11-25, 21:02:18
-*  Copyright 2011, Christian Hilberg
-*  <hilberg unix-ag org>
-****************************************************************************/
+ *            camel-imapx-extd-folder.h
+ *
+ *  2011-11-25, 21:02:18
+ *  Copyright 2011, Christian Hilberg
+ *  <hilberg unix-ag org>
+ ****************************************************************************/
 
 /*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU Lesser General Public
-* License as published by the Free Software Foundation; either
-* version 2.1 of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with main.c; if not, write to the Free Software
-* Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
-*/
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with main.c; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
+ */
 
 /*----------------------------------------------------------------------------*/
 
@@ -31,6 +31,8 @@
 /*----------------------------------------------------------------------------*/
 
 #include <glib.h>
+#include <glib-object.h>
+
 #include "camel-imapx-folder.h"
 
 /*----------------------------------------------------------------------------*/
@@ -38,21 +40,21 @@
 
 #define CAMEL_TYPE_IMAPX_EXTD_FOLDER	  \
 	(camel_imapx_extd_folder_get_type ())
-#define CAMEL_IMAPX_EXTD_FOLDER(obj) \
+#define CAMEL_IMAPX_EXTD_FOLDER(obj)	  \
 	(G_TYPE_CHECK_INSTANCE_CAST \
-	((obj), CAMEL_TYPE_IMAPX_EXTD_FOLDER, CamelIMAPXExtdFolder))
-#define CAMEL_IMAPX_EXTD_FOLDER_CLASS(klass) \
+	 ((obj), CAMEL_TYPE_IMAPX_EXTD_FOLDER, CamelIMAPXExtdFolder))
+#define CAMEL_IMAPX_EXTD_FOLDER_CLASS(klass)	  \
 	(G_TYPE_CHECK_CLASS_CAST \
-	((klass), CAMEL_TYPE_IMAPX_EXTD_FOLDER, CamelIMAPXExtdFolderClass))
-#define CAMEL_IS_IMAPX_EXTD_FOLDER(obj) \
+	 ((klass), CAMEL_TYPE_IMAPX_EXTD_FOLDER, CamelIMAPXExtdFolderClass))
+#define CAMEL_IS_IMAPX_EXTD_FOLDER(obj)	  \
 	(G_TYPE_CHECK_INSTANCE_TYPE \
-	((obj), CAMEL_TYPE_IMAPX_EXTD_FOLDER))
-#define CAMEL_IS_IMAPX_EXTD_FOLDER_CLASS(klass) \
+	 ((obj), CAMEL_TYPE_IMAPX_EXTD_FOLDER))
+#define CAMEL_IS_IMAPX_EXTD_FOLDER_CLASS(klass)	  \
 	(G_TYPE_CHECK_CLASS_TYPE \
-	((klass), CAMEL_TYPE_IMAPX_EXTD_FOLDER))
-#define CAMEL_IMAPX_EXTD_FOLDER_GET_CLASS(obj) \
+	 ((klass), CAMEL_TYPE_IMAPX_EXTD_FOLDER))
+#define CAMEL_IMAPX_EXTD_FOLDER_GET_CLASS(obj)	  \
 	(G_TYPE_INSTANCE_GET_CLASS \
-	((obj), CAMEL_TYPE_IMAPX_EXTD_FOLDER, CamelIMAPXExtdFolderClass))
+	 ((obj), CAMEL_TYPE_IMAPX_EXTD_FOLDER, CamelIMAPXExtdFolderClass))
 
 G_BEGIN_DECLS
 
diff --git a/src/camel/providers/imapx/camel-imapx-extd-server.c b/src/camel/providers/imapx/camel-imapx-extd-server.c
index 7a20021..3291d61 100644
--- a/src/camel/providers/imapx/camel-imapx-extd-server.c
+++ b/src/camel/providers/imapx/camel-imapx-extd-server.c
@@ -1,27 +1,27 @@
 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
 /***************************************************************************
-*            camel-imapx-extd-server.c
-*
-*  2011-11-28, 20:16:38
-*  Copyright 2011, Christian Hilberg
-*  <hilberg unix-ag org>
-****************************************************************************/
+ *            camel-imapx-extd-server.c
+ *
+ *  2011-11-28, 20:16:38
+ *  Copyright 2011, Christian Hilberg
+ *  <hilberg unix-ag org>
+ ****************************************************************************/
 
 /*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU Lesser General Public
-* License as published by the Free Software Foundation; either
-* version 2.1 of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with main.c; if not, write to the Free Software
-* Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
-*/
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with main.c; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
+ */
 
 /*----------------------------------------------------------------------------*/
 
@@ -75,7 +75,7 @@ camel_imapx_extd_server_finalize (GObject *object)
 	priv = CAMEL_IMAPX_EXTD_SERVER_PRIVATE (self);
 
 	camel_imapx_metadata_free (priv->md);
-	
+
 	G_OBJECT_CLASS (camel_imapx_extd_server_parent_class)->finalize (object);
 }
 
@@ -99,26 +99,26 @@ camel_imapx_extd_server_metadata_get_proto (CamelIMAPXExtdServer *server)
 	CamelIMAPXExtdServer *self = NULL;
 	CamelIMAPXExtdServerPrivate *priv = NULL;
 	camel_imapx_metadata_proto_t proto = CAMEL_IMAPX_METADATA_PROTO_INVAL;
-	
-        g_assert (CAMEL_IS_IMAPX_EXTD_SERVER (server));
 
-        self = server;
+	g_assert (CAMEL_IS_IMAPX_EXTD_SERVER (server));
+
+	self = server;
 	priv = CAMEL_IMAPX_EXTD_SERVER_PRIVATE (self);
-        
-        if (priv->md == NULL) {
-	        /* TODO implement online folder annotation query
-	         *      in case there is no metadata as yet
-	         *      (decide the protocol here, depending on
-	         *      the IMAP server's untagged response)
-	         */
-	        g_error ("%s: FIXME implement online annotation protocol query",
-	                 __func__);
-	        return CAMEL_IMAPX_METADATA_PROTO_INVAL; /* FIXME */
-        }
-
-        proto = camel_imapx_metadata_get_proto (priv->md);
-
-        return proto;
+
+	if (priv->md == NULL) {
+		/* TODO implement online folder annotation query
+		 *      in case there is no metadata as yet
+		 *      (decide the protocol here, depending on
+		 *      the IMAP server's untagged response)
+		 */
+		g_error ("%s: FIXME implement online annotation protocol query",
+		         __func__);
+		return CAMEL_IMAPX_METADATA_PROTO_INVAL; /* FIXME */
+	}
+
+	proto = camel_imapx_metadata_get_proto (priv->md);
+
+	return proto;
 }
 
 CamelImapxMetadata*
@@ -129,19 +129,19 @@ camel_imapx_extd_server_get_metadata (CamelIMAPXExtdServer *server,
 {
 	CamelIMAPXExtdServer *self = NULL;
 	CamelIMAPXExtdServerPrivate *priv = NULL;
-	
-        g_assert (CAMEL_IS_IMAPX_EXTD_SERVER (server));
-        (void)do_resect; /* FIXME */
-        g_assert (spec != NULL);
+
+	g_assert (CAMEL_IS_IMAPX_EXTD_SERVER (server));
+	(void)do_resect; /* FIXME */
+	g_assert (spec != NULL);
 	g_return_val_if_fail (err == NULL || *err == NULL, FALSE);
 
-        self = server;
-	priv = CAMEL_IMAPX_EXTD_SERVER_PRIVATE (self);        
-	
+	self = server;
+	priv = CAMEL_IMAPX_EXTD_SERVER_PRIVATE (self);
+
 	/* FIXME implement me */
 	g_error ("%s: FIXME: implement me",
 	         __func__);
-	
+
 	return NULL;
 }
 
@@ -152,17 +152,17 @@ camel_imapx_extd_server_set_metadata (CamelIMAPXExtdServer *server,
 {
 	CamelIMAPXExtdServer *self = NULL;
 	CamelIMAPXExtdServerPrivate *priv = NULL;
-	
-        g_assert (CAMEL_IS_IMAPX_EXTD_SERVER (server));
+
+	g_assert (CAMEL_IS_IMAPX_EXTD_SERVER (server));
 	g_return_val_if_fail (err == NULL || *err == NULL, FALSE);
 
-        self = server;
-	priv = CAMEL_IMAPX_EXTD_SERVER_PRIVATE (self);        
-	
+	self = server;
+	priv = CAMEL_IMAPX_EXTD_SERVER_PRIVATE (self);
+
 	/* FIXME implement me */
 	g_error ("%s: FIXME: implement me",
 	         __func__);
-	
+
 	return FALSE;
 }
 
diff --git a/src/camel/providers/imapx/camel-imapx-extd-server.h b/src/camel/providers/imapx/camel-imapx-extd-server.h
index ea81007..8b28266 100644
--- a/src/camel/providers/imapx/camel-imapx-extd-server.h
+++ b/src/camel/providers/imapx/camel-imapx-extd-server.h
@@ -1,27 +1,27 @@
 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
 /***************************************************************************
-*            camel-imapx-extd-server.h
-*
-*  2011-11-28, 20:16:38
-*  Copyright 2011, Christian Hilberg
-*  <hilberg unix-ag org>
-****************************************************************************/
+ *            camel-imapx-extd-server.h
+ *
+ *  2011-11-28, 20:16:38
+ *  Copyright 2011, Christian Hilberg
+ *  <hilberg unix-ag org>
+ ****************************************************************************/
 
 /*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU Lesser General Public
-* License as published by the Free Software Foundation; either
-* version 2.1 of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with main.c; if not, write to the Free Software
-* Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
-*/
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with main.c; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor Boston, MA 02110-1301,  USA
+ */
 
 /*----------------------------------------------------------------------------*/
 
@@ -43,21 +43,21 @@
 
 #define CAMEL_TYPE_IMAPX_EXTD_SERVER	  \
 	(camel_imapx_extd_server_get_type ())
-#define CAMEL_IMAPX_EXTD_SERVER(obj) \
+#define CAMEL_IMAPX_EXTD_SERVER(obj)	  \
 	(G_TYPE_CHECK_INSTANCE_CAST \
-	((obj), CAMEL_TYPE_IMAPX_EXTD_SERVER, CamelIMAPXExtdServer))
-#define CAMEL_IMAPX_EXTD_SERVER_CLASS(klass) \
+	 ((obj), CAMEL_TYPE_IMAPX_EXTD_SERVER, CamelIMAPXExtdServer))
+#define CAMEL_IMAPX_EXTD_SERVER_CLASS(klass)	  \
 	(G_TYPE_CHECK_CLASS_CAST \
-	((klass), CAMEL_TYPE_IMAPX_EXTD_SERVER, CamelIMAPXExtdServerClass))
-#define CAMEL_IS_IMAPX_EXTD_SERVER(obj) \
+	 ((klass), CAMEL_TYPE_IMAPX_EXTD_SERVER, CamelIMAPXExtdServerClass))
+#define CAMEL_IS_IMAPX_EXTD_SERVER(obj)	  \
 	(G_TYPE_CHECK_INSTANCE_TYPE \
-	((obj), CAMEL_TYPE_IMAPX_EXTD_SERVER))
-#define CAMEL_IS_IMAPX_EXTD_SERVER_CLASS(klass) \
+	 ((obj), CAMEL_TYPE_IMAPX_EXTD_SERVER))
+#define CAMEL_IS_IMAPX_EXTD_SERVER_CLASS(klass)	  \
 	(G_TYPE_CHECK_CLASS_TYPE \
-	((klass), CAMEL_TYPE_IMAPX_EXTD_SERVER))
-#define CAMEL_IMAPX_EXTD_SERVER_GET_CLASS(obj) \
+	 ((klass), CAMEL_TYPE_IMAPX_EXTD_SERVER))
+#define CAMEL_IMAPX_EXTD_SERVER_GET_CLASS(obj)	  \
 	(G_TYPE_INSTANCE_GET_CLASS \
-	((obj), CAMEL_TYPE_IMAPX_EXTD_SERVER, CamelIMAPXExtdServerClass))
+	 ((obj), CAMEL_TYPE_IMAPX_EXTD_SERVER, CamelIMAPXExtdServerClass))
 
 G_BEGIN_DECLS
 
diff --git a/src/camel/providers/imapx/camel-imapx-metadata.c b/src/camel/providers/imapx/camel-imapx-metadata.c
index 77c2eca..4a84b3b 100644
--- a/src/camel/providers/imapx/camel-imapx-metadata.c
+++ b/src/camel/providers/imapx/camel-imapx-metadata.c
@@ -28,8 +28,6 @@
 
 #include <string.h>
 
-#include <camel/camel.h>
-
 /* Kolab error reporting */
 #include <libekolabutil/kolab-util-error.h>
 
diff --git a/src/camel/providers/imapx/camel-imapx-metadata.h b/src/camel/providers/imapx/camel-imapx-metadata.h
index 9e50d51..b7eb3fd 100644
--- a/src/camel/providers/imapx/camel-imapx-metadata.h
+++ b/src/camel/providers/imapx/camel-imapx-metadata.h
@@ -33,7 +33,7 @@
 
 #include <glib.h>
 
-#include <camel/camel.h>
+#include <libekolabutil/camel-system-headers.h>
 
 #include "camel-imapx-stream.h"
 
@@ -115,28 +115,67 @@ typedef struct _CamelImapxMetadata {
 /*----------------------------------------------------------------------------*/
 /* TODO check which of these can be made static */
 
-CamelImapxMetadataAttrib *camel_imapx_metadata_attrib_new (void);
-void camel_imapx_metadata_attrib_free (CamelImapxMetadataAttrib *ma);
+CamelImapxMetadataAttrib*
+camel_imapx_metadata_attrib_new (void);
 
-CamelImapxMetadataEntry *camel_imapx_metadata_entry_new (void);
-void camel_imapx_metadata_entry_free (CamelImapxMetadataEntry *me);
+void
+camel_imapx_metadata_attrib_free (CamelImapxMetadataAttrib *ma);
 
-CamelImapxMetadataAnnotation *camel_imapx_metadata_annotation_new (void);
-void camel_imapx_metadata_annotation_free (CamelImapxMetadataAnnotation *man);
+CamelImapxMetadataEntry*
+camel_imapx_metadata_entry_new (void);
 
-CamelImapxMetadata *camel_imapx_metadata_new (camel_imapx_metadata_proto_t proto, gboolean locked);
-CamelImapxMetadata *camel_imapx_metadata_resect (CamelImapxMetadata **md);
-void camel_imapx_metadata_free (CamelImapxMetadata *md);
-camel_imapx_metadata_proto_t camel_imapx_metadata_get_proto (CamelImapxMetadata *md);
-gboolean camel_imapx_metadata_add_from_server_response (CamelImapxMetadata *md, CamelIMAPXStream *is, GCancellable *cancellable, GError**);
-GSList *camel_imapx_metadata_new_commandlist (const CamelImapxMetadata *md);
+void
+camel_imapx_metadata_entry_free (CamelImapxMetadataEntry *me);
 
-CamelImapxMetadataSpec *camel_imapx_metadata_spec_new (camel_imapx_metadata_proto_t proto, const gchar *mailbox_name, const gchar *entry_name, const gchar *attrib_name, GError**);
-void camel_imapx_metadata_spec_free (CamelImapxMetadataSpec *spec);
+CamelImapxMetadataAnnotation*
+camel_imapx_metadata_annotation_new (void);
 
-CamelImapxMetadataAttrib *camel_imapx_metadata_get_attrib_from_entry (CamelImapxMetadataEntry *me, CamelImapxMetadataSpec *spec);
-CamelImapxMetadataAttrib *camel_imapx_metadata_get_attrib_from_annotation (CamelImapxMetadataAnnotation *ma, CamelImapxMetadataSpec *spec);
-CamelImapxMetadataAttrib *camel_imapx_metadata_get_attrib_from_metadata (CamelImapxMetadata *md, CamelImapxMetadataSpec *spec);
+void
+camel_imapx_metadata_annotation_free (CamelImapxMetadataAnnotation *man);
+
+CamelImapxMetadata*
+camel_imapx_metadata_new (camel_imapx_metadata_proto_t proto,
+                          gboolean locked);
+
+CamelImapxMetadata*
+camel_imapx_metadata_resect (CamelImapxMetadata **md);
+
+void
+camel_imapx_metadata_free (CamelImapxMetadata *md);
+
+camel_imapx_metadata_proto_t
+camel_imapx_metadata_get_proto (CamelImapxMetadata *md);
+
+gboolean
+camel_imapx_metadata_add_from_server_response (CamelImapxMetadata *md,
+                                               CamelIMAPXStream *is,
+                                               GCancellable *cancellable,
+                                               GError**);
+
+GSList*
+camel_imapx_metadata_new_commandlist (const CamelImapxMetadata *md);
+
+CamelImapxMetadataSpec*
+camel_imapx_metadata_spec_new (camel_imapx_metadata_proto_t proto,
+                               const gchar *mailbox_name,
+                               const gchar *entry_name,
+                               const gchar *attrib_name,
+                               GError**);
+
+void
+camel_imapx_metadata_spec_free (CamelImapxMetadataSpec *spec);
+
+CamelImapxMetadataAttrib*
+camel_imapx_metadata_get_attrib_from_entry (CamelImapxMetadataEntry *me,
+                                            CamelImapxMetadataSpec *spec);
+
+CamelImapxMetadataAttrib*
+camel_imapx_metadata_get_attrib_from_annotation (CamelImapxMetadataAnnotation *ma,
+                                                 CamelImapxMetadataSpec *spec);
+
+CamelImapxMetadataAttrib*
+camel_imapx_metadata_get_attrib_from_metadata (CamelImapxMetadata *md,
+                                               CamelImapxMetadataSpec *spec);
 
 /*----------------------------------------------------------------------------*/
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]