|
1 /* |
|
2 Copyright (c) 1999 Samphan Raruenrom <samphan@thai.com> |
|
3 Permission to use, copy, modify, distribute and sell this software |
|
4 and its documentation for any purpose is hereby granted without fee, |
|
5 provided that the above copyright notice appear in all copies and |
|
6 that both that copyright notice and this permission notice appear |
|
7 in supporting documentation. Samphan Raruenrom makes no |
|
8 representations about the suitability of this software for any |
|
9 purpose. It is provided "as is" without express or implied warranty. |
|
10 */ |
|
11 #ifndef __RULEBRK_H__ |
|
12 #define __RULEBRK_H__ |
|
13 #include "th_char.h" |
|
14 |
|
15 #ifdef __cplusplus |
|
16 extern "C" { |
|
17 #endif |
|
18 |
|
19 int TrbWordBreakPos(const th_char *pstr, int left, |
|
20 const th_char *rstr, int right); |
|
21 int TrbFollowing(const th_char *begin, int length, int offset); |
|
22 |
|
23 #ifdef __cplusplus |
|
24 } |
|
25 #endif |
|
26 #endif |