diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-07-08 04:58:24 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-07-08 04:58:24 +0800 |
commit | 300101f4707c7c0a0e29d24527a93afe0f77a2c7 (patch) | |
tree | aac6a6bde47fb918f72abdac77d6e33f3759a6c4 /camel/camel-io.h | |
parent | 393aafe6b21dfc482b41a08297292ff0e8b05037 (diff) | |
download | gsoc2013-evolution-300101f4707c7c0a0e29d24527a93afe0f77a2c7.tar gsoc2013-evolution-300101f4707c7c0a0e29d24527a93afe0f77a2c7.tar.gz gsoc2013-evolution-300101f4707c7c0a0e29d24527a93afe0f77a2c7.tar.bz2 gsoc2013-evolution-300101f4707c7c0a0e29d24527a93afe0f77a2c7.tar.lz gsoc2013-evolution-300101f4707c7c0a0e29d24527a93afe0f77a2c7.tar.xz gsoc2013-evolution-300101f4707c7c0a0e29d24527a93afe0f77a2c7.tar.zst gsoc2013-evolution-300101f4707c7c0a0e29d24527a93afe0f77a2c7.zip |
Use camel_mkdir().
2003-07-07 Jeffrey Stedfast <fejj@ximian.com>
* 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
Diffstat (limited to 'camel/camel-io.h')
-rw-r--r-- | camel/camel-io.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/camel/camel-io.h b/camel/camel-io.h deleted file mode 100644 index a4e47c018f..0000000000 --- a/camel/camel-io.h +++ /dev/null @@ -1,42 +0,0 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* - * Authors: Jeffrey Stedfast <fejj@ximian.com> - * - * Copyright 2003 Ximian, Inc. (www.ximian.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. - * - */ - - -#ifndef __CAMEL_IO_H__ -#define __CAMEL_IO_H__ - -#include <sys/types.h> - -#ifdef __cplusplus -extern "C" { -#pragma } -#endif /* __cplusplus */ - -ssize_t camel_read (int fd, char *buf, size_t n); - -ssize_t camel_write (int fd, const char *buf, size_t n); - -#ifdef __cplusplus -} -#endif /* __cplusplus */ - -#endif /* __CAMEL_IO_H__ */ |