aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-file-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-file-utils.h')
-rw-r--r--camel/camel-file-utils.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/camel/camel-file-utils.h b/camel/camel-file-utils.h
index e261ead16b..f1c3079b67 100644
--- a/camel/camel-file-utils.h
+++ b/camel/camel-file-utils.h
@@ -3,9 +3,10 @@
/*
* Authors:
* Michael Zucchi <notzed@ximian.com>
+ * Jeffrey Stedfast <fejj@ximian.com>
* Dan Winship <danw@ximian.com>
*
- * Copyright (C) 2000, 2001 Ximian, Inc.
+ * Copyright (C) 2000, 2003 Ximian, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
@@ -29,7 +30,7 @@
#ifdef __cplusplus
extern "C" {
#pragma }
-#endif /* __cplusplus }*/
+#endif /* __cplusplus */
#include <glib.h>
#include <stdio.h>
@@ -47,8 +48,11 @@ int camel_file_util_decode_off_t (FILE *in, off_t *);
int camel_file_util_encode_string (FILE *out, const char *);
int camel_file_util_decode_string (FILE *in, char **);
-int camel_file_util_mkdir(const char *path, mode_t mode);
-char *camel_file_util_safe_filename(const char *name);
+int camel_mkdir (const char *path, mode_t mode);
+char *camel_file_util_safe_filename (const char *name);
+
+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
}