From 84e075645b9013f6c0f8200ebddee10b1904936a Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 26 Apr 2001 19:44:50 +0000 Subject: 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 --- camel/camel-folder-summary.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'camel/camel-folder-summary.h') 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 **); -- cgit v1.2.3