rulebrk.h 832 B

123456789101112131415161718192021222324252627
  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. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. int TrbWordBreakPos(const th_char *pstr, int left,
  18. const th_char *rstr, int right);
  19. int TrbFollowing(const th_char *begin, int length, int offset);
  20. #ifdef __cplusplus
  21. }
  22. #endif
  23. #endif