2 * Copyright (c) 2009 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
27 extern int ucol_init(void);
28 extern int ucol_compare(const char *src, const char *dest);
29 extern int ucol_ncompare(const char *src, const char *dest, int len);
30 extern int ucol_compare_first_letters(const char *src, const char *letters);
31 extern int ucol_detect_lang(int ch);
32 extern int ucol_fini(void);
33 extern const int ucol_current_lang(void);
34 extern int ucol_is_alpha(const char *name);
37 #define HAPI __attribute__((visibility("hidden")))