118a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer/*
218a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer * ext2_err.c:
318a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer * This file is automatically generated; please do not edit it.
418a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer */
518a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer
618a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer#include <stdlib.h>
718a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer
8e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall#define N_(a) a
9e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall
1018a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzerstatic const char * const text[] = {
11e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"EXT2FS Library version 1.42.9"),
12e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for ext2_filsys structure"),
13e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for badblocks_list structure"),
14e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for badblocks_iterate structure"),
15e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for inode_scan structure"),
16e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for io_channel structure"),
17e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for unix io_channel structure"),
18e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for io_manager structure"),
19e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for block_bitmap structure"),
20e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for inode_bitmap structure"),
21e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for generic_bitmap structure"),
22e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for test io_channel structure"),
23e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for directory block list structure"),
24e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for icount structure"),
25e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for Powerquest io_channel structure"),
26e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for ext2 file structure"),
27e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for Ext2 Image Header"),
28e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for inode io_channel structure"),
29e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for ext4 extent handle"),
30e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Bad magic number in super-block"),
31e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Filesystem revision too high"),
32e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Attempt to write to filesystem opened read-only"),
33e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Can't read group descriptors"),
34e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Can't write group descriptors"),
35e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Corrupt group descriptor: bad block for block bitmap"),
36e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Corrupt group descriptor: bad block for inode bitmap"),
37e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Corrupt group descriptor: bad block for inode table"),
38e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Can't write an inode bitmap"),
39e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Can't read an inode bitmap"),
40e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Can't write a block bitmap"),
41e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Can't read a block bitmap"),
42e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Can't write an inode table"),
43e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Can't read an inode table"),
44e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Can't read next inode"),
45e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Filesystem has unexpected block size"),
46e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"EXT2 directory corrupted"),
47e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Attempt to read block from filesystem resulted in short read"),
48e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Attempt to write block to filesystem resulted in short write"),
49e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"No free space in the directory"),
50e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Inode bitmap not loaded"),
51e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Block bitmap not loaded"),
52e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Illegal inode number"),
53e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Illegal block number"),
54e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Internal error in ext2fs_expand_dir"),
55e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Not enough space to build proposed filesystem"),
56e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Illegal block number passed to ext2fs_mark_block_bitmap"),
57e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Illegal block number passed to ext2fs_unmark_block_bitmap"),
58e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Illegal block number passed to ext2fs_test_block_bitmap"),
59e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Illegal inode number passed to ext2fs_mark_inode_bitmap"),
60e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Illegal inode number passed to ext2fs_unmark_inode_bitmap"),
61e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Illegal inode number passed to ext2fs_test_inode_bitmap"),
62e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Attempt to fudge end of block bitmap past the real end"),
63e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Attempt to fudge end of inode bitmap past the real end"),
64e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Illegal indirect block found" ),
65e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Illegal doubly indirect block found" ),
66e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Illegal triply indirect block found" ),
67e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Block bitmaps are not the same"),
68e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Inode bitmaps are not the same"),
69e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Illegal or malformed device name"),
70e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"A block group is missing an inode table"),
71e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"The ext2 superblock is corrupt"),
72e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Illegal generic bit number passed to ext2fs_mark_generic_bitmap"),
73e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Illegal generic bit number passed to ext2fs_unmark_generic_bitmap"),
74e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Illegal generic bit number passed to ext2fs_test_generic_bitmap"),
75e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Too many symbolic links encountered."),
76e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"The callback function will not handle this case"),
77e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"The inode is from a bad block in the inode table"),
78e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Filesystem has unsupported feature(s)"),
79e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Filesystem has unsupported read-only feature(s)"),
80e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"IO Channel failed to seek on read or write"),
81e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Memory allocation failed"),
82e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Invalid argument passed to ext2 library"),
83e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Could not allocate block in ext2 filesystem"),
84e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Could not allocate inode in ext2 filesystem"),
85e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Ext2 inode is not a directory"),
86e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Too many references in table"),
87e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"File not found by ext2_lookup"),
88e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"File open read-only"),
89e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Ext2 directory block not found"),
90e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Ext2 directory already exists"),
91e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Unimplemented ext2 library function"),
92e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"User cancel requested"),
93e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Ext2 file too big"),
94e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Supplied journal device not a block device"),
95e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Journal superblock not found"),
96e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Journal must be at least 1024 blocks"),
97e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Unsupported journal version"),
98e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Error loading external journal"),
99e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Journal not found"),
100e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Directory hash unsupported"),
101e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Illegal extended attribute block number"),
102e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Cannot create filesystem with requested number of inodes"),
103e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"E2image snapshot not in use"),
104e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Too many reserved group descriptor blocks"),
105e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Resize inode is corrupt"),
106e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Tried to set block bmap with missing indirect block"),
107e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"TDB: Success"),
108e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"TDB: Corrupt database"),
109e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"TDB: IO Error"),
110e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"TDB: Locking error"),
111e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"TDB: Out of memory"),
112e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"TDB: Record exists"),
113e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"TDB: Lock exists on other keys"),
114e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"TDB: Invalid parameter"),
115e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"TDB: Record does not exist"),
116e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"TDB: Write not permitted"),
117e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Ext2fs directory block list is empty"),
118e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Attempt to modify a block mapping via a read-only block iterator"),
119e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for ext4 extent saved path"),
120e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for 64-bit generic bitmap"),
121e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for 64-bit block bitmap"),
122e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number for 64-bit inode bitmap"),
123e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number --- RESERVED_13"),
124e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number --- RESERVED_14"),
125e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number --- RESERVED_15"),
126e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number --- RESERVED_16"),
127e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number --- RESERVED_17"),
128e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number --- RESERVED_18"),
129e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Wrong magic number --- RESERVED_19"),
130e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Corrupt extent header"),
131e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Corrupt extent index"),
132e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Corrupt extent"),
133e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"No free space in extent map"),
134e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Inode does not use extents"),
135e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"No 'next' extent"),
136e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"No 'previous' extent"),
137e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"No 'up' extent"),
138e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"No 'down' extent"),
139e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"No current node"),
140e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Ext2fs operation not supported"),
141e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"No room to insert extent in node"),
142e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Splitting would result in empty node"),
143e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Extent not found"),
144e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Operation not supported for inodes containing extents"),
145e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Extent length is invalid"),
146e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"I/O Channel does not support 64-bit block numbers"),
147e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Can't check if filesystem is mounted due to missing mtab file"),
148e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Filesystem too large to use legacy bitmaps"),
149e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"MMP: invalid magic number"),
150e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"MMP: device currently active"),
151e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"MMP: fsck being run"),
152e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"MMP: block number beyond filesystem range"),
153e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"MMP: undergoing an unknown operation"),
154e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"MMP: filesystem still in use"),
155e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"MMP: open with O_DIRECT failed"),
156e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Block group descriptor size incorrect"),
157e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Inode checksum does not match inode"),
158e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Inode bitmap checksum does not match bitmap"),
159e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Extent block checksum does not match extent block"),
160e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Directory block does not have space for checksum"),
161e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Directory block checksum does not match directory block"),
162e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Extended attribute block checksum does not match block"),
163e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Superblock checksum does not match superblock"),
164e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Unknown checksum algorithm"),
165e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"MMP block checksum does not match MMP block"),
166e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrall	N_(	"Ext2 file already exists"),
16718a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer    0
16818a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer};
16918a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer
17018a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzerstruct error_table {
17118a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer    char const * const * msgs;
17218a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer    long base;
17318a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer    int n_msgs;
17418a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer};
17518a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzerstruct et_list {
17618a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer    struct et_list *next;
17718a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer    const struct error_table * table;
17818a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer};
17918a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzerextern struct et_list *_et_list;
18018a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer
181e0ed7404719a9ddd2ba427a80db5365c8bad18c0JP Abgrallconst struct error_table et_ext2_error_table = { text, 2133571328L, 156 };
18218a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer
18318a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzerstatic struct et_list link = { 0, 0 };
18418a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer
18518a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzervoid initialize_ext2_error_table_r(struct et_list **list);
18618a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzervoid initialize_ext2_error_table(void);
18718a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer
18818a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzervoid initialize_ext2_error_table(void) {
18918a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer    initialize_ext2_error_table_r(&_et_list);
19018a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer}
19118a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer
19218a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer/* For Heimdal compatibility */
19318a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzervoid initialize_ext2_error_table_r(struct et_list **list)
19418a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer{
19518a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer    struct et_list *et, **end;
19618a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer
19718a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer    for (end = list, et = *list; et; end = &et->next, et = et->next)
19818a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer        if (et->table->msgs == text)
19918a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer            return;
20018a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer    et = malloc(sizeof(struct et_list));
20118a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer    if (et == 0) {
20218a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer        if (!link.table)
20318a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer            et = &link;
20418a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer        else
20518a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer            return;
20618a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer    }
20718a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer    et->table = &et_ext2_error_table;
20818a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer    et->next = 0;
20918a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer    *end = et;
21018a1444b4f1e6a0948fd38fa0de382d86cfe04deBernhard Rosenkränzer}
211