Fixing the license text.
[platform/upstream/evolution-data-server.git] / camel / camel-file-utils.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
3 /* 
4  * Authors:
5  *   Michael Zucchi <notzed@ximian.com>
6  *   Dan Winship <danw@ximian.com>
7  *
8  * Copyright (C) 2000, 2001 Ximian, Inc.
9  *
10  * This program is free software; you can redistribute it and/or 
11  * modify it under the terms of version 2 of the GNU General Public 
12  * License as published by the Free Software Foundation.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
22  * USA
23  */
24
25
26 #ifndef CAMEL_FILE_UTILS_H
27 #define CAMEL_FILE_UTILS_H 1
28
29 #ifdef __cplusplus
30 extern "C" {
31 #pragma }
32 #endif /* __cplusplus }*/
33
34 #include <glib.h>
35 #include <stdio.h>
36 #include <sys/types.h>
37 #include <time.h>
38
39 int camel_file_util_encode_fixed_int32 (FILE *out, gint32);
40 int camel_file_util_decode_fixed_int32 (FILE *in, gint32 *);
41 int camel_file_util_encode_uint32 (FILE *out, guint32);
42 int camel_file_util_decode_uint32 (FILE *in, guint32 *);
43 int camel_file_util_encode_time_t (FILE *out, time_t);
44 int camel_file_util_decode_time_t (FILE *in, time_t *);
45 int camel_file_util_encode_off_t (FILE *out, off_t);
46 int camel_file_util_decode_off_t (FILE *in, off_t *);
47 int camel_file_util_encode_string (FILE *out, const char *);
48 int camel_file_util_decode_string (FILE *in, char **);
49
50 #ifdef __cplusplus
51 }
52 #endif /* __cplusplus */
53
54 #endif /* CAMEL_FILE_UTILS_H */