static void imapx_namespace_clear (CamelIMAPXStoreNamespace **ns);
static const gchar * rename_label_flag (const gchar *flag, gint len, gboolean server_to_evo);
-static GPtrArray *imapx_parse_uids (CamelIMAPXStream *is, CamelException *ex);
/* flag table */
static struct {
g_ptr_array_add (uids, GUINT_TO_POINTER (i));
}
-static GPtrArray *
+GPtrArray *
imapx_parse_uids (CamelIMAPXStream *is, CamelException *ex)
{
GPtrArray *uids = g_ptr_array_new ();
generate_uids_from_sequence (uids, uid1, uid2);
g_strfreev (seq);
} else {
- guint32 uid = strtoul ((gchar *) token, NULL, 10);
+ guint32 uid = strtoul ((gchar *) splits[i], NULL, 10);
g_ptr_array_add (uids, GUINT_TO_POINTER (uid));
}
}
/* ********************************************************************** */
+GPtrArray *imapx_parse_uids (CamelIMAPXStream *is, CamelException *ex);
void imapx_parse_flags(struct _CamelIMAPXStream *stream, guint32 *flagsp, struct _CamelFlag **user_flagsp, CamelException *ex);
void imapx_write_flags(CamelStream *stream, guint32 flags, struct _CamelFlag *user_flags, CamelException *ex);
gboolean imapx_update_message_info_flags (CamelMessageInfo *info, guint32 server_flags, CamelFlag *server_user_flags, CamelFolder *folder);