Initial commit
[platform/upstream/glib2.0.git] / glib / gvariant-internal.h
1 /*
2  * Copyright © 2007, 2008 Ryan Lortie
3  * Copyright © 2009, 2010 Codethink Limited
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the licence, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18  * Boston, MA 02111-1307, USA.
19  *
20  * Author: Ryan Lortie <desrt@desrt.ca>
21  */
22
23
24 /* The purpose of this header is to allow certain internal symbols of
25  * GVariant to be put under test cases.
26  */
27
28 #ifndef __G_VARIANT_INTERNAL_H__
29 #define __G_VARIANT_INTERNAL_H__
30
31 #ifndef GLIB_COMPILATION
32 #define GLIB_COMPILATION
33 #endif
34
35 #include <glib/gvarianttype.h>
36 #include <glib/gtypes.h>
37
38 #include "gvariant-serialiser.h"
39 #include "gvarianttypeinfo.h"
40
41 gboolean                        g_variant_format_string_scan            (const gchar          *string,
42                                                                          const gchar          *limit,
43                                                                          const gchar         **endptr);
44
45 GVariantType *                  g_variant_format_string_scan_type       (const gchar          *string,
46                                                                          const gchar          *limit,
47                                                                          const gchar         **endptr);
48
49 #endif /* __G_VARIANT_INTERNAL_H__ */