libidn: tlds.c Source File

libidn 1.38

tlds.c
Go to the documentation of this file.
1 /* This file is automatically generated. DO NOT EDIT!
2 Instead, edit gen-tld-tables.pl and re-run. */
3
4 #include "tld.h"
5
6 /* TLD fr */
7 static const Tld_table_element _tld_fr_valid[] =
8 {
9 { 0x2d, 0x2d },
10 { 0x30, 0x39 },
11 { 0x61, 0x7a },
12 { 0xe0, 0xe0 },
13 { 0xe2, 0xe2 },
14 { 0xe6, 0xeb },
15 { 0xee, 0xef },
16 { 0xf4, 0xf4 },
17 { 0xf9, 0xf9 },
18 { 0xfb, 0xfc },
19 { 0xff, 0xff },
20 { 0x153, 0x153 }
21 };
22
23 static const Tld_table _tld_fr =
24 {
25 "fr",
26 "1.0",
27 12,
28 &_tld_fr_valid[0]
29 };
30
31 /* TLD no */
32 static const Tld_table_element _tld_no_valid[] =
33 {
34 { 0xe0, 0xe1 },
35 { 0xe4, 0xea },
36 { 0xef, 0xef },
37 { 0xf1, 0xf4 },
38 { 0xf6, 0xf6 },
39 { 0xf8, 0xf8 },
40 { 0xfc, 0xfc },
41 { 0x10d, 0x10d },
42 { 0x111, 0x111 },
43 { 0x144, 0x144 },
44 { 0x14b, 0x14b },
45 { 0x161, 0x161 },
46 { 0x167, 0x167 },
47 { 0x17e, 0x17e }
48 };
49
50 static const Tld_table _tld_no =
51 {
52 "no",
53 "2.0",
54 14,
55 &_tld_no_valid[0]
56 };
57
58 /* Main array */
59 const Tld_table * _tld_tables[] =
60 {
61 &_tld_fr,
62 &_tld_no,
63 NULL
64 };
Tld_table_element
Definition: tld.h:79
Tld_table
Definition: tld.h:95
tld.h
_tld_tables
const Tld_table * _tld_tables[]
Definition: tlds.c:59