From 300101f4707c7c0a0e29d24527a93afe0f77a2c7 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 7 Jul 2003 20:58:24 +0000 Subject: Use camel_mkdir(). 2003-07-07 Jeffrey Stedfast * providers/nntp/camel-nntp-folder.c (camel_nntp_folder_new): Use camel_mkdir(). * providers/imap/camel-imap-folder.c (camel_imap_folder_new): Use camel_mkdir(). * camel-session.c (get_storage_path): Use camel_mkdir(). * camel-store.c (camel_mkdir_hier): Removed. * camel-data-cache.c (camel_data_cache_new): Updated to use camel_mkdir(). (data_cache_path): Same. * camel-file-utils.c (camel_mkdir): Renamed and documented. (camel_file_util_safe_filename): Documented. (camel_read): Moved here from camel-io.c (camel_write): Same. * camel-io.[c,h]: Removed. * camel-uid-cache.c (camel_uid_cache_new): Use the camel-file-utils.c version of mkdir. svn path=/trunk/; revision=21753 --- camel/camel-store.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'camel/camel-store.h') diff --git a/camel/camel-store.h b/camel/camel-store.h index 34627918e2..4a0fb416f0 100644 --- a/camel/camel-store.h +++ b/camel/camel-store.h @@ -4,8 +4,10 @@ /* * * Authors: Bertrand Guiheneuf + * Michael Zucchi + * Jeffrey Stedfast * - * Copyright 1999, 2000 Ximian, Inc. (www.ximian.com) + * Copyright 1999, 2003 Ximian, Inc. (www.ximian.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public @@ -30,7 +32,7 @@ #ifdef __cplusplus extern "C" { #pragma } -#endif /* __cplusplus }*/ +#endif /* __cplusplus */ /* for mode_t */ #include @@ -226,9 +228,6 @@ void camel_store_noop (CamelStore *store, gboolean camel_store_uri_cmp (CamelStore *store, const char *uria, const char *urib); -/* utility needed by some stores */ -int camel_mkdir_hier (const char *path, mode_t mode); - #ifdef __cplusplus } #endif /* __cplusplus */ -- cgit v1.2.3