1 /* Pango
2  * pango-utils.c: Utilities for internal functions and modules
3  *
4  * Copyright (C) 2000 Red Hat Software
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Library General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library 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 GNU
14  * Library General Public License for more details.
15  *
16  * You should have received a copy of the GNU Library General Public
17  * License along with this library; if not, write to the
18  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21 
22 #ifndef __PANGO_UTILS_INTERNAL_H__
23 #define __PANGO_UTILS_INTERNAL_H__
24 
25 #include <stdio.h>
26 #include <glib.h>
27 #include <pango/pango-font.h>
28 
29 G_BEGIN_DECLS
30 
31 gboolean _pango_scan_int                (const char **pos,
32 	         	                 int         *out);
33 
34 gboolean _pango_parse_enum              (GType       type,
35                                          const char *str,
36                                          int        *value,
37                                          gboolean    warn,
38                                          char      **possible_values);
39 gboolean pango_parse_flags              (GType       type,
40                                          const char *str,
41                                          int        *value,
42                                          char      **possible_values);
43 
44 char    *_pango_trim_string             (const char *str);
45 
46 
47 G_END_DECLS
48 
49 #endif /* __PANGO_UTILS_H__ */
50