tizen 2.4 release
[apps/home/ug-lockscreen-setting-efl.git] / ug-lockscreen-setting-efl / include / lockscreen-options-ucol.h
1 /*
2  * Copyright (c) 2009 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
3  *
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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  *
16  */
17
18
19 enum LANGUAGE {
20         LANG_ENGLISH,
21         LANG_KOREAN,
22         LANG_JAPANESS,
23         LANG_CHINESS,
24         LANG_UNKNOWN
25 };
26
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);
35
36 /* End of a file */
37 #define HAPI __attribute__((visibility("hidden")))
38
39