Better error message
[notion/jeffpc.git] / ioncore / strings.h
blob8453bcae1fc57967bf8e23d767803e9798073975
1 /*
2 * ion/ioncore/strings.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
7 */
9 #ifndef ION_IONCORE_STRINGS_H
10 #define ION_IONCORE_STRINGS_H
12 #include "common.h"
14 #ifdef CF_NO_LOCALE
15 #include "dummywc.h"
16 #else
17 #include <wchar.h>
18 #include <wctype.h>
19 #endif
21 #include "gr.h"
23 extern bool ioncore_defshortening(const char *rx, const char *rule,
24 bool always);
26 extern char *grbrush_make_label(GrBrush *brush, const char *str, uint maxw);
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);
34 #endif /* ION_IONCORE_STRINGS_H */