]> git.decadent.org.uk Git - ion3.git/blob - ioncore/strings.h
Update cfg_kludge_flash for Flash 10
[ion3.git] / ioncore / strings.h
1 /*
2  * ion/ioncore/strings.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2009. 
5  *
6  * See the included file LICENSE for details.
7  */
8
9 #ifndef ION_IONCORE_STRINGS_H
10 #define ION_IONCORE_STRINGS_H
11
12 #include "common.h"
13
14 #ifdef CF_NO_LOCALE
15 #include "dummywc.h"
16 #else
17 #include <wchar.h>
18 #include <wctype.h>
19 #endif
20
21 #include "gr.h"
22
23 extern bool ioncore_defshortening(const char *rx, const char *rule,
24                                   bool always);
25
26 extern char *grbrush_make_label(GrBrush *brush, const char *str, uint maxw);
27                                        
28 extern int str_nextoff(const char *p, int pos);
29 extern int str_prevoff(const char *p, int pos);
30 extern int str_len(const char *p);
31 extern wchar_t str_wchar_at(char *p, int max);
32 extern char *str_stripws(char *p);
33
34 #endif /* ION_IONCORE_STRINGS_H */