aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-summary.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-04-27 03:44:50 +0800
committerDan Winship <danw@src.gnome.org>2001-04-27 03:44:50 +0800
commit84e075645b9013f6c0f8200ebddee10b1904936a (patch)
tree74f643de637d9d67844a018ac34354a6872184a0 /camel/camel-folder-summary.h
parent8605f534604aea28d0ebe6385f0f04c7df2a34c7 (diff)
downloadgsoc2013-evolution-84e075645b9013f6c0f8200ebddee10b1904936a.tar
gsoc2013-evolution-84e075645b9013f6c0f8200ebddee10b1904936a.tar.gz
gsoc2013-evolution-84e075645b9013f6c0f8200ebddee10b1904936a.tar.bz2
gsoc2013-evolution-84e075645b9013f6c0f8200ebddee10b1904936a.tar.lz
gsoc2013-evolution-84e075645b9013f6c0f8200ebddee10b1904936a.tar.xz
gsoc2013-evolution-84e075645b9013f6c0f8200ebddee10b1904936a.tar.zst
gsoc2013-evolution-84e075645b9013f6c0f8200ebddee10b1904936a.zip
New file, with the int, string, time_t, and off_t encode/decode routines
* camel-file-utils.c: New file, with the int, string, time_t, and off_t encode/decode routines from camel-folder-summary.c moved here and renamed, for the enjoyment of non-CamelFolderSummary subclasses. * Makefile.am (libcamel_la_SOURCES): Add camel-file-utils.c (libcamelinclude_HEADERS): and camel-file-utils.h * camel-folder-summary.c: Remove functions that were moved to camel-file-utils.c, update uses of them for the new names. (camel_folder_summary_{en,de}code_token are still here.) * providers/local/camel-mbox-summary.c: Use camel_file_util_* names * providers/imap/camel-imap-summary.c: Use camel_file_util_* names * providers/imap/camel-imap-store.c (imap_store_setup_online, imap_store_setup_offline): Use camel_file_util_* names, which makes much more sense since this isn't folder summary stuff. svn path=/trunk/; revision=9590
Diffstat (limited to 'camel/camel-folder-summary.h')
-rw-r--r--camel/camel-folder-summary.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/camel/camel-folder-summary.h b/camel/camel-folder-summary.h
index eb1a527a47..6c59915194 100644
--- a/camel/camel-folder-summary.h
+++ b/camel/camel-folder-summary.h
@@ -261,18 +261,6 @@ void camel_folder_summary_array_free(CamelFolderSummary *s, GPtrArray *array);
char *camel_folder_summary_format_address(struct _header_raw *h, const char *name);
char *camel_folder_summary_format_string(struct _header_raw *h, const char *name);
-/* summary file loading/saving helper functions */
-int camel_folder_summary_encode_fixed_int32(FILE *, gint32);
-int camel_folder_summary_decode_fixed_int32(FILE *, gint32 *);
-int camel_folder_summary_encode_uint32(FILE *, guint32);
-int camel_folder_summary_decode_uint32(FILE *, guint32 *);
-int camel_folder_summary_encode_time_t(FILE *out, time_t value);
-int camel_folder_summary_decode_time_t(FILE *in, time_t *dest);
-int camel_folder_summary_encode_off_t(FILE *out, off_t value);
-int camel_folder_summary_decode_off_t(FILE *in, off_t *dest);
-int camel_folder_summary_encode_string(FILE *out, const char *str);
-int camel_folder_summary_decode_string(FILE *in, char **);
-
/* basically like strings, but certain keywords can be compressed and de-cased */
int camel_folder_summary_encode_token(FILE *, const char *);
int camel_folder_summary_decode_token(FILE *, char **);