"Initial commit to Gerrit"
[profile/ivi/libgsf.git] / gsf / gsf-outfile-stdio.h
1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * gsf-outfile-stdio.h: write a directory tree
4  *
5  * Copyright (C) 2004-2006 Novell, Inc.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of version 2.1 of the GNU Lesser General Public
9  * License as published by the Free Software Foundation.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
19  * USA
20  */
21
22 #ifndef GSF_OUTFILE_STDIO_H
23 #define GSF_OUTFILE_STDIO_H
24
25 #include <gsf/gsf.h>
26
27 G_BEGIN_DECLS
28
29 typedef struct _GsfOutfileStdio GsfOutfileStdio;
30
31 #define GSF_OUTFILE_STDIO_TYPE  (gsf_outfile_stdio_get_type ())
32 #define GSF_OUTFILE_STDIO(o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_OUTFILE_STDIO_TYPE, GsfOutfileStdio))
33 #define GSF_IS_OUTFILE_STDIO(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_OUTFILE_STDIO_TYPE))
34
35 GType gsf_outfile_stdio_get_type      (void) G_GNUC_CONST;
36 /* void  gsf_outfile_stdio_register_type (GTypeModule *module); glib dynamic types are not thread safe */
37
38 GsfOutfile *gsf_outfile_stdio_new        (char const *root, GError **err);
39 GsfOutfile *gsf_outfile_stdio_new_full   (char const *root, GError **err,
40                                           char const *first_property_name,
41                                           ...); /* G_GNUC_NULL_TERMINATED */
42 GsfOutfile *gsf_outfile_stdio_new_valist (char const *root, GError **err,
43                                           char const *first_property_name,
44                                           va_list     var_args);
45
46 G_END_DECLS
47
48 #endif /* GSF_OUTFILE_H */