aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-utils.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-01-22 07:28:20 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-01-22 07:28:20 +0800
commitcf8db42ff883c5452998b0d8f57c2394abec42db (patch)
tree030b5f03937bded69cfc167942bbf92561992426 /camel/providers/imap/camel-imap-utils.h
parent16b174cf0eebcb216316674966a46ea29a3bb15b (diff)
downloadgsoc2013-evolution-cf8db42ff883c5452998b0d8f57c2394abec42db.tar
gsoc2013-evolution-cf8db42ff883c5452998b0d8f57c2394abec42db.tar.gz
gsoc2013-evolution-cf8db42ff883c5452998b0d8f57c2394abec42db.tar.bz2
gsoc2013-evolution-cf8db42ff883c5452998b0d8f57c2394abec42db.tar.lz
gsoc2013-evolution-cf8db42ff883c5452998b0d8f57c2394abec42db.tar.xz
gsoc2013-evolution-cf8db42ff883c5452998b0d8f57c2394abec42db.tar.zst
gsoc2013-evolution-cf8db42ff883c5452998b0d8f57c2394abec42db.zip
As a temporary solution, just printf ("\a"); to make a beep :-)
2002-01-21 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-driver.c (do_beep): As a temporary solution, just printf ("\a"); to make a beep :-) * providers/imap/camel-imap-command.c (imap_command_strdup_vprintf): Encode the mailbox to UTF-7 here. * providers/imap/camel-imap-utils.c (imap_parse_list_response): Decode the mailbox name as we parse the list response. (imap_mailbox_decode): It's only an illegal mailbox name if it didn't switch back to US-ASCII mode. svn path=/trunk/; revision=15421
Diffstat (limited to 'camel/providers/imap/camel-imap-utils.h')
-rw-r--r--camel/providers/imap/camel-imap-utils.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/camel/providers/imap/camel-imap-utils.h b/camel/providers/imap/camel-imap-utils.h
index bedc604116..924b71c119 100644
--- a/camel/providers/imap/camel-imap-utils.h
+++ b/camel/providers/imap/camel-imap-utils.h
@@ -28,10 +28,12 @@ extern "C" {
#pragma }
#endif /* __cplusplus }*/
+#include <sys/types.h>
+
#include "camel-folder-summary.h"
#include "camel-imap-types.h"
-char *imap_next_word (const char *buf);
+const char *imap_next_word (const char *buf);
#define IMAP_LIST_FLAG_NOINFERIORS (1 << 0)
#define IMAP_LIST_FLAG_NOSELECT (1 << 1)
@@ -49,7 +51,7 @@ guint32 imap_parse_flag_list (char **flag_list);
enum { IMAP_STRING, IMAP_NSTRING, IMAP_ASTRING };
-char *imap_parse_string_generic (char **str_p, int *len, int type);
+char *imap_parse_string_generic (char **str_p, size_t *len, int type);
#define imap_parse_string(str_p, len_p) \
imap_parse_string_generic (str_p, len_p, IMAP_STRING)
@@ -72,8 +74,8 @@ void imap_uid_array_free (GPtrArray *arr);
char *imap_concat (CamelImapStore *imap_store, const char *prefix, const char *suffix);
char *imap_namespace_concat (CamelImapStore *store, const char *name);
-char *imap_mailbox_encode (const unsigned char *in, int inlen);
-char *imap_mailbox_decode (const unsigned char *in, int inlen);
+char *imap_mailbox_encode (const unsigned char *in, size_t inlen);
+char *imap_mailbox_decode (const unsigned char *in, size_t inlen);
#ifdef __cplusplus
}