xapian-core  1.4.21
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, (260&255),(260>>8), 1,0, (0&255),(0>>8), (37&255),(37>>8), (130&255),(130>>8), (187&255),(187>>8), (56&255),(56>>8),
62  (75&255),(75>>8), (96&255),(96>>8), 1,0, (6&255),(6>>8), 1,0, 1,0, (20&255),(20>>8),
63 
64  (1 - 1),
65  NONE, 'n','o','n','e',
66 
67  (1 - 1),
68  EARLYENGLISH, 'e','a','r','l','y','e','n','g','l','i','s','h',
69 
70  (1 - 1),
71  KRAAIJ_POHLMANN, 'k','r','a','a','i','j','_','p','o','h','l','m','a','n','n',
72 
73  (3 - 1),
74  DUTCH, 'd','u','t','c','h',
75  IRISH, 'i','r','i','s','h',
76  TAMIL, 't','a','m','i','l',
77 
78  (2 - 1),
79  ARMENIAN, 'a','r','m','e','n','i','a','n',
80  ROMANIAN, 'r','o','m','a','n','i','a','n',
81 
82  (2 - 1),
83  HUNGARIAN, 'h','u','n','g','a','r','i','a','n',
84  NORWEGIAN, 'n','o','r','w','e','g','i','a','n',
85 
86  (3 - 1),
87  INDONESIAN, 'i','n','d','o','n','e','s','i','a','n',
88  LITHUANIAN, 'l','i','t','h','u','a','n','i','a','n',
89  PORTUGUESE, 'p','o','r','t','u','g','u','e','s','e',
90 
91  (8 - 1),
92  ARABIC, 'a','r','a','b','i','c',
93  BASQUE, 'b','a','s','q','u','e',
94  DANISH, 'd','a','n','i','s','h',
95  FRENCH, 'f','r','e','n','c','h',
96  GERMAN, 'g','e','r','m','a','n',
97  LOVINS, 'l','o','v','i','n','s',
98  NEPALI, 'n','e','p','a','l','i',
99  PORTER, 'p','o','r','t','e','r',
100 
101  (9 - 1),
102  CATALAN, 'c','a','t','a','l','a','n',
103  ENGLISH, 'e','n','g','l','i','s','h',
104  FINNISH, 'f','i','n','n','i','s','h',
105  GERMAN2, 'g','e','r','m','a','n','2',
106  ITALIAN, 'i','t','a','l','i','a','n',
107  RUSSIAN, 'r','u','s','s','i','a','n',
108  SPANISH, 's','p','a','n','i','s','h',
109  SWEDISH, 's','w','e','d','i','s','h',
110  TURKISH, 't','u','r','k','i','s','h',
111 
112  (26 - 1),
113  ARABIC, 'a','r',
114  CATALAN, 'c','a',
115  DANISH, 'd','a',
116  GERMAN, 'd','e',
117  ENGLISH, 'e','n',
118  SPANISH, 'e','s',
119  BASQUE, 'e','u',
120  FINNISH, 'f','i',
121  FRENCH, 'f','r',
122  IRISH, 'g','a',
123  HUNGARIAN, 'h','u',
124  ARMENIAN, 'h','y',
125  INDONESIAN, 'i','d',
126  ITALIAN, 'i','t',
127  LITHUANIAN, 'l','t',
128  NORWEGIAN, 'n','b',
129  NEPALI, 'n','e',
130  DUTCH, 'n','l',
131  NORWEGIAN, 'n','n',
132  NORWEGIAN, 'n','o',
133  PORTUGUESE, 'p','t',
134  ROMANIAN, 'r','o',
135  RUSSIAN, 'r','u',
136  SWEDISH, 's','v',
137  TAMIL, 't','a',
138  TURKISH, 't','r'
139 };
140 
141 #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"
142 
143 #endif
static const unsigned char tab[]
Definition: sbl-dispatch.h:58
sbl_code
Definition: sbl-dispatch.h:25