diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2015-05-15 01:35:59 +0200 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2015-05-15 01:35:59 +0200 |
commit | 3b80551d7892d9151aa372f3644c76fb471cc96a (patch) | |
tree | 11e9b6cd54047a184ba12c0271b294feccdf8512 /src | |
parent | 4735ef0c0240631149b9bb6b82d192996f7efc83 (diff) |
Renumbering for one unused file
Diffstat (limited to 'src')
-rw-r--r-- | src/export/split_version_2.c | 98 |
1 files changed, 49 insertions, 49 deletions
diff --git a/src/export/split_version_2.c b/src/export/split_version_2.c index 64c3eee..324e61d 100644 --- a/src/export/split_version_2.c +++ b/src/export/split_version_2.c | |||
@@ -9,22 +9,22 @@ | |||
9 | /* | 9 | /* |
10 | 10 | ||
11 | 01_unknown => 01_Flags | 11 | 01_unknown => 01_Flags |
12 | 17_unknown => 02_Nachname | 12 | 16_unknown => 02_Nachname |
13 | 08_unknown => 03_Vorname | 13 | 07_unknown => 03_Vorname |
14 | 12_unknown => 04_Zusaetze | 14 | 11_unknown => 04_Zusaetze |
15 | 14_unknown => 05_Zusaetze (sw) | 15 | 13_unknown => 05_Zusaetze (sw) |
16 | 15_unknown => 05_Zusaetze (no) | 16 | 14_unknown => 05_Zusaetze (no) |
17 | 13_unknown => 06_Ortszusatz | 17 | 12_unknown => 06_Ortszusatz |
18 | 09_unknown => 07_Strasse | 18 | 08_unknown => 07_Strasse |
19 | 11_unknown => 08_Hausnummer | 19 | 10_unknown => 08_Hausnummer |
20 | 15_unknown => 09_Verweise (sw) | 20 | 14_unknown => 09_Verweise (sw) |
21 | 14_unknown => 09_Verweise (no) | 21 | 13_unknown => 09_Verweise (no) |
22 | 04_unknown => 10_Postleitzahl | 22 | 03_unknown => 10_Postleitzahl |
23 | 10_unknown => 11_Ort | 23 | 09_unknown => 11_Ort |
24 | 06_unknown => 12_Vorwahl (sw) | 24 | 05_unknown => 12_Vorwahl (sw) |
25 | 07_unknown => 12_Vorwahl (no) | 25 | 06_unknown => 12_Vorwahl (no) |
26 | 07_unknown => 13_Rufnummer (sw) | 26 | 06_unknown => 13_Rufnummer (sw) |
27 | 06_unknown => 13_Rufnummer (no) | 27 | 05_unknown => 13_Rufnummer (no) |
28 | 28 | ||
29 | no s w | 29 | no s w |
30 | 4003 01 01 01 | 30 | 4003 01 01 01 |
@@ -32,29 +32,29 @@ | |||
32 | 4009 - *:"0" - | 32 | 4009 - *:"0" - |
33 | 400B - - 6:"0" | 33 | 400B - - 6:"0" |
34 | 400C - !!! - => in 1996_Q1: 04_Namenszusatz | 34 | 400C - !!! - => in 1996_Q1: 04_Namenszusatz |
35 | 400E 12 07 - | 35 | 400E 11 06 - |
36 | 400F 06 06 14 | 36 | 400F 05 05 13 |
37 | 4010 - - 07 | 37 | 4010 - - 06 |
38 | 4011 17 - 17 | 38 | 4011 16 - 16 |
39 | 4012 07 17 06 | 39 | 4012 06 16 05 |
40 | 4013 14 09 09 | 40 | 4013 13 08 08 |
41 | 4014 13 11 11 | 41 | 4014 12 10 10 |
42 | 4015 09 12 04 | 42 | 4015 08 11 03 |
43 | 4016 11 04 10 | 43 | 4016 10 03 09 |
44 | 4017 04 10 13 | 44 | 4017 03 09 12 |
45 | 4018 10 14 - | 45 | 4018 09 13 - |
46 | 401A - 13 12 | 46 | 401A - 12 11 |
47 | 401B 08 08 08 | 47 | 401B 07 07 07 |
48 | 401C 15 15 15 | 48 | 401C 14 14 14 |
49 | 49 | ||
50 | */ | 50 | */ |
51 | 51 | ||
52 | enum { g_outfiles = 17 }; | 52 | enum { g_outfiles = 16 }; |
53 | static enum { CD_NO = 0, CD_S = 1, CD_W = 2 } g_cd; | 53 | static enum { CD_NO = 0, CD_S = 1, CD_W = 2 } g_cd; |
54 | static int g_outfilemap[3][29] = { | 54 | static int g_outfilemap[3][29] = { |
55 | {-1,-1,-1, 0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,11, 6,-1,16, 5,13,12, 8,10, 1, 9,-1,-1, 7,14 }, | 55 | {-1,-1,-1, 0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,10, 5,-1,15, 4,12,11, 7, 9, 1, 8,-1,-1, 6,13 }, |
56 | {-1,-1,-1, 0,-1,-1,-1,-1,-1,-1,-1,-1,11,-1, 6, 5,-1,-1,16, 8,10,11, 1, 9,13,-1,12, 7,14 }, | 56 | {-1,-1,-1, 0,-1,-1,-1,-1,-1,-1,-1,-1,10,-1, 5, 4,-1,-1,15, 7, 9,10, 1, 8,12,-1,11, 6,13 }, |
57 | {-1,-1,-1, 0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,13, 6,16, 5, 8,10, 1, 9,12,-1,-1,11, 7,14 } | 57 | {-1,-1,-1, 0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,12, 5,15, 4, 7, 9, 1, 8,11,-1,-1,10, 6,13 } |
58 | }; | 58 | }; |
59 | 59 | ||
60 | static struct { | 60 | static struct { |
@@ -131,31 +131,31 @@ static void dump_primary( uint8_t *end, uint32_t flags ) { | |||
131 | if( flags & 0x0080 ) dump_string( end -= 5, 5, 1 ); | 131 | if( flags & 0x0080 ) dump_string( end -= 5, 5, 1 ); |
132 | 132 | ||
133 | /* There is an unclear X present, if this bit is set */ | 133 | /* There is an unclear X present, if this bit is set */ |
134 | if( flags & 0x0040 ) dump_string( end -= 1, 1, 4 ); | 134 | if( flags & 0x0040 ) dump_string( end -= 1, 1, 3 ); |
135 | 135 | ||
136 | if( flags & 0x0020 ) { | 136 | if( flags & 0x0020 ) { |
137 | if( g_cd != CD_NO ) | 137 | if( g_cd != CD_NO ) |
138 | dump_string( end -= 5, 5, 5 ); | 138 | dump_string( end -= 5, 5, 4 ); |
139 | else | 139 | else |
140 | dump_field( &end, 6 ); | 140 | dump_field( &end, 5 ); |
141 | } | 141 | } |
142 | 142 | ||
143 | if( flags & 0x0010 ) dump_field( &end, g_cd == CD_NO ? 5 : 6 ); | 143 | if( flags & 0x0010 ) dump_field( &end, g_cd == CD_NO ? 4 : 5 ); |
144 | if( flags & 0x0008 ) dump_field( &end, 7 ); | 144 | if( flags & 0x0008 ) dump_field( &end, 6 ); |
145 | if( flags & 0x0004 ) dump_field( &end, 8 ); | 145 | if( flags & 0x0004 ) dump_field( &end, 7 ); |
146 | if( flags & 0x0002 ) dump_field( &end, 9 ); | 146 | if( flags & 0x0002 ) dump_field( &end, 8 ); |
147 | if( flags & 0x0001 ) dump_field( &end, 10 ); | 147 | if( flags & 0x0001 ) dump_field( &end, 9 ); |
148 | if( flags & 0x8000 ) dump_field( &end, 11 ); | 148 | if( flags & 0x8000 ) dump_field( &end, 10 ); |
149 | if( flags & 0x4000 ) dump_field( &end, 12 ); | 149 | if( flags & 0x4000 ) dump_field( &end, 11 ); |
150 | if( flags & 0x2000 ) dump_field( &end, g_cd == CD_NO ? 13 : 14 ); | 150 | if( flags & 0x2000 ) dump_field( &end, g_cd == CD_NO ? 12 : 13 ); |
151 | if( flags & 0x1000 ) dump_field( &end, g_cd == CD_NO ? 14 : 13 ); | 151 | if( flags & 0x1000 ) dump_field( &end, g_cd == CD_NO ? 13 : 12 ); |
152 | 152 | ||
153 | dump_field( &end, 15 ); | 153 | dump_field( &end, 14 ); |
154 | 154 | ||
155 | /* Dump first 5 chars of prefix, they're always here in no */ | 155 | /* Dump static prefix, it's always here in no */ |
156 | if( g_cd == CD_NO ) | 156 | if( g_cd == CD_NO ) |
157 | dump_field( &end, 2 ); | 157 | dump_field( &end, 2 ); |
158 | dump_field( &end, 16 ); | 158 | dump_field( &end, 15 ); |
159 | } | 159 | } |
160 | 160 | ||
161 | static void act_on_record( uint8_t * end, uint16_t base ) { | 161 | static void act_on_record( uint8_t * end, uint16_t base ) { |