summaryrefslogtreecommitdiff
path: root/include/thai/thcoll.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/thai/thcoll.h')
-rw-r--r--include/thai/thcoll.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/include/thai/thcoll.h b/include/thai/thcoll.h
new file mode 100644
index 0000000..c424e27
--- /dev/null
+++ b/include/thai/thcoll.h
@@ -0,0 +1,44 @@
+/*
+ * libthai - Thai Language Support Library
+ * Copyright (C) 2001 Theppitak Karoonboonyanan <thep@linux.thai.net>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+/*
+ * thcoll.h - Thai string collation
+ * Created: 2001-05-17
+ */
+
+#ifndef THAI_THCOLL_H
+#define THAI_THCOLL_H
+
+#include <thai/thailib.h>
+
+BEGIN_CDECL
+
+/**
+ * @file thcoll.h
+ * @brief Thai string collation
+ */
+
+extern int th_strcoll(const thchar_t *s1, const thchar_t *s2);
+
+extern size_t th_strxfrm(thchar_t dest[], const thchar_t *src, size_t n);
+
+END_CDECL
+
+#endif /* THAI_THCOLL_H */
+