xapian-core  1.4.29
sbl-dispatch.h
Go to the documentation of this file.
1 
4 /* Warning: This file is generated by ./languages/collate-sbl - do not modify directly! */
5 /* Copyright (C) 2007,2012,2013,2015 Olly Betts
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License as
9  * published by the Free Software Foundation; either version 2 of the
10  * License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20  */
21 
22 #ifndef XAPIAN_INCLUDED_SBL_DISPATCH_H
23 #define XAPIAN_INCLUDED_SBL_DISPATCH_H
24 
25 enum sbl_code {
26  NONE = 0,
27  ARABIC = 1,
28  ARMENIAN = 2,
29  BASQUE = 3,
30  CATALAN = 4,
31  DANISH = 5,
32  DUTCH = 6,
34  ENGLISH = 8,
35  FINNISH = 9,
36  FRENCH = 10,
37  GERMAN = 11,
38  GERMAN2 = 12,
39  HUNGARIAN = 13,
40  INDONESIAN = 14,
41  IRISH = 15,
42  ITALIAN = 16,
44  LITHUANIAN = 18,
45  LOVINS = 19,
46  NEPALI = 20,
47  NORWEGIAN = 21,
48  PORTER = 22,
49  PORTUGUESE = 23,
50  ROMANIAN = 24,
51  RUSSIAN = 25,
52  SPANISH = 26,
53  SWEDISH = 27,
54  TAMIL = 28,
55  TURKISH = 29
56 };
57 
58 static const unsigned char tab[] = {
59  15,
60 
61  1,0, (273&255),(273>>8), 1,0, (0&255),(0>>8), (23&255),(23>>8), (143&255),(143>>8), (200&255),(200>>8), (42&255),(42>>8),
62  (61&255),(61>>8), (109&255),(109>>8), 1,0, (82&255),(82>>8), 1,0, 1,0, (6&255),(6>>8),
63 
64  (1 - 1),
65  NONE, 'n','o','n','e',
66 
67  (1 - 1),
68  KRAAIJ_POHLMANN, 'k','r','a','a','i','j','_','p','o','h','l','m','a','n','n',
69 
70  (3 - 1),
71  DUTCH, 'd','u','t','c','h',
72  IRISH, 'i','r','i','s','h',
73  TAMIL, 't','a','m','i','l',
74 
75  (2 - 1),
76  ARMENIAN, 'a','r','m','e','n','i','a','n',
77  ROMANIAN, 'r','o','m','a','n','i','a','n',
78 
79  (2 - 1),
80  HUNGARIAN, 'h','u','n','g','a','r','i','a','n',
81  NORWEGIAN, 'n','o','r','w','e','g','i','a','n',
82 
83  (2 - 1),
84  DUTCH, 'd','u','t','c','h','_','p','o','r','t','e','r',
85  EARLYENGLISH, 'e','a','r','l','y','e','n','g','l','i','s','h',
86 
87  (3 - 1),
88  INDONESIAN, 'i','n','d','o','n','e','s','i','a','n',
89  LITHUANIAN, 'l','i','t','h','u','a','n','i','a','n',
90  PORTUGUESE, 'p','o','r','t','u','g','u','e','s','e',
91 
92  (8 - 1),
93  ARABIC, 'a','r','a','b','i','c',
94  BASQUE, 'b','a','s','q','u','e',
95  DANISH, 'd','a','n','i','s','h',
96  FRENCH, 'f','r','e','n','c','h',
97  GERMAN, 'g','e','r','m','a','n',
98  LOVINS, 'l','o','v','i','n','s',
99  NEPALI, 'n','e','p','a','l','i',
100  PORTER, 'p','o','r','t','e','r',
101 
102  (9 - 1),
103  CATALAN, 'c','a','t','a','l','a','n',
104  ENGLISH, 'e','n','g','l','i','s','h',
105  FINNISH, 'f','i','n','n','i','s','h',
106  GERMAN2, 'g','e','r','m','a','n','2',
107  ITALIAN, 'i','t','a','l','i','a','n',
108  RUSSIAN, 'r','u','s','s','i','a','n',
109  SPANISH, 's','p','a','n','i','s','h',
110  SWEDISH, 's','w','e','d','i','s','h',
111  TURKISH, 't','u','r','k','i','s','h',
112 
113  (26 - 1),
114  ARABIC, 'a','r',
115  CATALAN, 'c','a',
116  DANISH, 'd','a',
117  GERMAN, 'd','e',
118  ENGLISH, 'e','n',
119  SPANISH, 'e','s',
120  BASQUE, 'e','u',
121  FINNISH, 'f','i',
122  FRENCH, 'f','r',
123  IRISH, 'g','a',
124  HUNGARIAN, 'h','u',
125  ARMENIAN, 'h','y',
126  INDONESIAN, 'i','d',
127  ITALIAN, 'i','t',
128  LITHUANIAN, 'l','t',
129  NORWEGIAN, 'n','b',
130  NEPALI, 'n','e',
131  DUTCH, 'n','l',
132  NORWEGIAN, 'n','n',
133  NORWEGIAN, 'n','o',
134  PORTUGUESE, 'p','t',
135  ROMANIAN, 'r','o',
136  RUSSIAN, 'r','u',
137  SWEDISH, 's','v',
138  TAMIL, 't','a',
139  TURKISH, 't','r'
140 };
141 
142 #define LANGSTRING "arabic armenian basque catalan danish dutch earlyenglish english finnish french german german2 hungarian indonesian irish italian kraaij_pohlmann lithuanian lovins nepali norwegian porter portuguese romanian russian spanish swedish tamil turkish"
143 
144 #endif
static const unsigned char tab[]
Definition: sbl-dispatch.h:58
sbl_code
Definition: sbl-dispatch.h:25