summaryrefslogtreecommitdiff
path: root/navigation_8c.html
blob: aa06f99dd0fceb28cf0c5abc57f18d3e8e658185 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>navit: navigation.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">navit
   &#160;<span id="projectnumber">0.5.1-trunk</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('navigation_8c.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Groups</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">navigation.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &lt;stdlib.h&gt;</code><br/>
<code>#include &lt;string.h&gt;</code><br/>
<code>#include &lt;math.h&gt;</code><br/>
<code>#include &lt;ctype.h&gt;</code><br/>
<code>#include &lt;glib.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="debug_8h_source.html">debug.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="profile_8h_source.html">profile.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="navigation_8h_source.html">navigation.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="coord_8h_source.html">coord.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="item_8h_source.html">item.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="xmlconfig_8h_source.html">xmlconfig.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="route_8h_source.html">route.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="transform_8h_source.html">transform.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="mapset_8h_source.html">mapset.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="projection_8h_source.html">projection.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="map_8h_source.html">map.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="navit_8h_source.html">navit.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="event_8h_source.html">event.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="callback_8h_source.html">callback.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="speech_8h_source.html">speech.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="vehicleprofile_8h_source.html">vehicleprofile.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="plugin_8h_source.html">plugin.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="navit__nls_8h_source.html">navit_nls.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="util_8h_source.html">util.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="linguistics_8h_source.html">linguistics.h</a>&quot;</code><br/>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsuffix.html">suffix</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnavigation.html">navigation</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnavigation__maneuver.html">navigation_maneuver</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Holds information about a navigation maneuver.  <a href="structnavigation__maneuver.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnavigation__command.html">navigation_command</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Holds information about a command for a navigation maneuver.  <a href="structnavigation__command.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnavigation__way.html">navigation_way</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnavigation__itm.html">navigation_itm</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structstreet__destination.html">street_destination</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A linked list containing the destination of the road.  <a href="structstreet__destination.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmap__priv.html">map_priv</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Represents the map from a single binfile.  <a href="structmap__priv.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmap__rect__priv.html">map_rect_priv</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implementation-specific map rect data.  <a href="structmap__rect__priv.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:af8aa7587163d76c35ef590a20477b043"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#af8aa7587163d76c35ef590a20477b043">SIZE_OF_ARRAY_DISTANCES</a>&#160;&#160;&#160;(sizeof (<a class="el" href="navigation_8c.html#af71f58b4e4674bdd356b5c6add3df65f">distances</a>)/sizeof (<a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>))</td></tr>
<tr class="separator:af8aa7587163d76c35ef590a20477b043"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acff11afeca273ec6cc9d1f1f077fc99c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#acff11afeca273ec6cc9d1f1f077fc99c">LAST_DISTANCE</a>&#160;&#160;&#160;(<a class="el" href="navigation_8c.html#af8aa7587163d76c35ef590a20477b043">SIZE_OF_ARRAY_DISTANCES</a> - 1)</td></tr>
<tr class="separator:acff11afeca273ec6cc9d1f1f077fc99c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cf689b7916c1fd66fae3457086a84d9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a7cf689b7916c1fd66fae3457086a84d9">mex_none</a>&#160;&#160;&#160;0</td></tr>
<tr class="separator:a7cf689b7916c1fd66fae3457086a84d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d5317417b3243f023435edb85fbae56"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a3d5317417b3243f023435edb85fbae56">mex_merge</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:a3d5317417b3243f023435edb85fbae56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59497518b56060abdd403f4169a7a41f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a59497518b56060abdd403f4169a7a41f">mex_exit</a>&#160;&#160;&#160;2</td></tr>
<tr class="separator:a59497518b56060abdd403f4169a7a41f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd435c7d1a7ddc7123c0420fb41070eb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#acd435c7d1a7ddc7123c0420fb41070eb">mex_interchange</a>&#160;&#160;&#160;4</td></tr>
<tr class="separator:acd435c7d1a7ddc7123c0420fb41070eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77db1821c53c028020b2ebf601c9df34"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a77db1821c53c028020b2ebf601c9df34">mex_merge_right</a>&#160;&#160;&#160;9</td></tr>
<tr class="separator:a77db1821c53c028020b2ebf601c9df34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafec98459688e4c23a1ad0418f617724"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#aafec98459688e4c23a1ad0418f617724">mex_exit_right</a>&#160;&#160;&#160;10</td></tr>
<tr class="separator:aafec98459688e4c23a1ad0418f617724"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4b62b8fa31789d6fbe3ca5452bf19b2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#aa4b62b8fa31789d6fbe3ca5452bf19b2">mex_merge_left</a>&#160;&#160;&#160;17</td></tr>
<tr class="separator:aa4b62b8fa31789d6fbe3ca5452bf19b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5098a1f8794cddb3192b9200caf96738"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a5098a1f8794cddb3192b9200caf96738">mex_exit_left</a>&#160;&#160;&#160;18</td></tr>
<tr class="separator:a5098a1f8794cddb3192b9200caf96738"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ae478d5e9cecedb9e7386eb80a35f8312"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312">announcement_level</a> { <br/>
&#160;&#160;<a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312af6975bae09a49dab8e2523ef758a600f">level_connect</a> = -2, 
<a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312a4d28412e8e3b2b1796fb01ef096bcea4">level_error</a> = -1, 
<a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312a598f6edf634f88290843d1c33ffb839a">level_now</a> = 0, 
<a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312ac02bed9498413979e6e91690a8ca3ca1">level_meters</a> = 1, 
<br/>
&#160;&#160;<a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312ac63b44cc1f4f2a4275538d591625adb1">level_soon</a> = 2, 
<a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312a4e212161ec3aa7427625c87e5e16d27d">level_follow</a> = 3
<br/>
 }</td></tr>
<tr class="separator:ae478d5e9cecedb9e7386eb80a35f8312"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b23cf17b30a85699ca867751a071153"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a8b23cf17b30a85699ca867751a071153">gender</a> { <a class="el" href="navigation_8c.html#a8b23cf17b30a85699ca867751a071153a5b9f6d065e6e98483b3d3ed01f4f6cbe">unknown</a>, 
<a class="el" href="navigation_8c.html#a8b23cf17b30a85699ca867751a071153a800e0a023d5f3d8b2f6a4c4a1a2cb103">masculine</a>, 
<a class="el" href="navigation_8c.html#a8b23cf17b30a85699ca867751a071153a5205b5343075f59f599e70d1380c2602">feminine</a>, 
<a class="el" href="navigation_8c.html#a8b23cf17b30a85699ca867751a071153ab6dae6437f15440338fab3ebc4dcef4f">neuter</a>
 }</td></tr>
<tr class="separator:a8b23cf17b30a85699ca867751a071153"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ddcfa7ead6b183a42d71cacc767b7e0"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a7ddcfa7ead6b183a42d71cacc767b7e0">nav_status_int</a> { <a class="el" href="navigation_8c.html#a7ddcfa7ead6b183a42d71cacc767b7e0a21a538400deaf082146a11e2325eed3e">status_none</a> = 0, 
<a class="el" href="navigation_8c.html#a7ddcfa7ead6b183a42d71cacc767b7e0a1c5547b065af258e8ff6772c196d9e75">status_busy</a> = 1, 
<a class="el" href="navigation_8c.html#a7ddcfa7ead6b183a42d71cacc767b7e0a48a93ad9be20e365c1da3e45f6bbf34f">status_has_ritem</a> = 2, 
<a class="el" href="navigation_8c.html#a7ddcfa7ead6b183a42d71cacc767b7e0a9f0752996c45729a2497efddda488af8">status_has_sitem</a> = 4
 }</td></tr>
<tr class="separator:a7ddcfa7ead6b183a42d71cacc767b7e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a04b8b7a26b66c823ce96854c8d574c87"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a04b8b7a26b66c823ce96854c8d574c87">navigation_flush</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_)</td></tr>
<tr class="separator:a04b8b7a26b66c823ce96854c8d574c87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2da32deba042ba06f9a0c46081b0e605"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a2da32deba042ba06f9a0c46081b0e605">angle_delta</a> (<a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> angle1, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> angle2)</td></tr>
<tr class="memdesc:a2da32deba042ba06f9a0c46081b0e605"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculates the delta between two angles.  <a href="#a2da32deba042ba06f9a0c46081b0e605">More...</a><br/></td></tr>
<tr class="separator:a2da32deba042ba06f9a0c46081b0e605"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a27384973075a3c13191a61b5e43366"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a4a27384973075a3c13191a61b5e43366">angle_median</a> (<a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> angle1, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> angle2)</td></tr>
<tr class="separator:a4a27384973075a3c13191a61b5e43366"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab7b3c6e0c401c126cf7fe0228efc696"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#aab7b3c6e0c401c126cf7fe0228efc696">angle_opposite</a> (<a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> angle)</td></tr>
<tr class="separator:aab7b3c6e0c401c126cf7fe0228efc696"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a132ffa9b3f99eb243b923e15e87cf5ed"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a132ffa9b3f99eb243b923e15e87cf5ed">is_same_street2</a> (char *old_name, char *old_name_systematic, char *new_name, char *new_name_systematic)</td></tr>
<tr class="memdesc:a132ffa9b3f99eb243b923e15e87cf5ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if two navigation items are on the same street.  <a href="#a132ffa9b3f99eb243b923e15e87cf5ed">More...</a><br/></td></tr>
<tr class="separator:a132ffa9b3f99eb243b923e15e87cf5ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44eb537a0485fd3ee55eb29c927c6fbf"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a44eb537a0485fd3ee55eb29c927c6fbf">is_same_way</a> (struct <a class="el" href="structnavigation__way.html">navigation_way</a> *w1, struct <a class="el" href="structnavigation__way.html">navigation_way</a> *w2)</td></tr>
<tr class="memdesc:a44eb537a0485fd3ee55eb29c927c6fbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if two ways are identical.  <a href="#a44eb537a0485fd3ee55eb29c927c6fbf">More...</a><br/></td></tr>
<tr class="separator:a44eb537a0485fd3ee55eb29c927c6fbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a716b6a2fabc5949fd8e9cca04b57dd55"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a716b6a2fabc5949fd8e9cca04b57dd55">free_list</a> (struct <a class="el" href="structstreet__destination.html">street_destination</a> *list)</td></tr>
<tr class="memdesc:a716b6a2fabc5949fd8e9cca04b57dd55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Frees a list as constructed with <a class="el" href="navigation_8c.html#a75a6d42036f0613b53842bf8b0b21ea1" title="Splits a string into a list, and sets their initial rank to 0. ">split_string_to_list()</a>  <a href="#a716b6a2fabc5949fd8e9cca04b57dd55">More...</a><br/></td></tr>
<tr class="separator:a716b6a2fabc5949fd8e9cca04b57dd55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75a6d42036f0613b53842bf8b0b21ea1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a75a6d42036f0613b53842bf8b0b21ea1">split_string_to_list</a> (struct <a class="el" href="structnavigation__way.html">navigation_way</a> *way, char *raw_string, char sep)</td></tr>
<tr class="memdesc:a75a6d42036f0613b53842bf8b0b21ea1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Splits a string into a list, and sets their initial rank to 0.  <a href="#a75a6d42036f0613b53842bf8b0b21ea1">More...</a><br/></td></tr>
<tr class="separator:a75a6d42036f0613b53842bf8b0b21ea1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49c8728dd87b358f67b69ba1cee6ab50"><td class="memItemLeft" align="right" valign="top">static struct <a class="el" href="structstreet__destination.html">street_destination</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a49c8728dd87b358f67b69ba1cee6ab50">get_bestranked</a> (struct <a class="el" href="structstreet__destination.html">street_destination</a> *<a class="el" href="structstreet__destination.html">street_destination</a>)</td></tr>
<tr class="memdesc:a49c8728dd87b358f67b69ba1cee6ab50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the first destination with a rank higher than zero.  <a href="#a49c8728dd87b358f67b69ba1cee6ab50">More...</a><br/></td></tr>
<tr class="separator:a49c8728dd87b358f67b69ba1cee6ab50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61af9070ec9db0fc0f1f4b1b6029c8af"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a61af9070ec9db0fc0f1f4b1b6029c8af">set_highrank</a> (struct <a class="el" href="structstreet__destination.html">street_destination</a> *<a class="el" href="structstreet__destination.html">street_destination</a>, struct <a class="el" href="structnavigation__command.html">navigation_command</a> *<a class="el" href="command_8c.html#a22ac2572f26e87269c9548ccb8667f76">command</a>)</td></tr>
<tr class="memdesc:a61af9070ec9db0fc0f1f4b1b6029c8af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assigns a high rank to a matching destination in the next command having destination info, and reset existing ranks to zero.  <a href="#a61af9070ec9db0fc0f1f4b1b6029c8af">More...</a><br/></td></tr>
<tr class="separator:a61af9070ec9db0fc0f1f4b1b6029c8af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adba1f0f416a77b713b5be4f17fd6e3ea"><td class="memItemLeft" align="right" valign="top">static char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#adba1f0f416a77b713b5be4f17fd6e3ea">select_announced_destinations</a> (struct <a class="el" href="structnavigation__command.html">navigation_command</a> *current_command)</td></tr>
<tr class="memdesc:adba1f0f416a77b713b5be4f17fd6e3ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Selects the destination-names for the next announcement from the destination-names that are registered in the following command items.  <a href="#adba1f0f416a77b713b5be4f17fd6e3ea">More...</a><br/></td></tr>
<tr class="separator:adba1f0f416a77b713b5be4f17fd6e3ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab61fd72ab5180f84206c1619b60c201d"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#ab61fd72ab5180f84206c1619b60c201d">nav_status_to_text</a> (<a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> status)</td></tr>
<tr class="memdesc:ab61fd72ab5180f84206c1619b60c201d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts navigation status to human-readable text.  <a href="#ab61fd72ab5180f84206c1619b60c201d">More...</a><br/></td></tr>
<tr class="separator:ab61fd72ab5180f84206c1619b60c201d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af52411918a519cbfb8ee3dd4be14b178"><td class="memItemLeft" align="right" valign="top"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#af52411918a519cbfb8ee3dd4be14b178">navigation_get_attr</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_, enum <a class="el" href="attr_8h.html#a9a9ab3c12bda86add06f89976f36f98c">attr_type</a> <a class="el" href="garmin__img_8c.html#a8f7b0321b1954f07b747aeb1e311814e">type</a>, struct <a class="el" href="structattr.html">attr</a> *<a class="el" href="structattr.html">attr</a>, struct <a class="el" href="structattr__iter.html">attr_iter</a> *iter)</td></tr>
<tr class="separator:af52411918a519cbfb8ee3dd4be14b178"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e08f8cc55f69e02080afa32a0e688bd"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a6e08f8cc55f69e02080afa32a0e688bd">navigation_set_turnaround</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> val)</td></tr>
<tr class="separator:a6e08f8cc55f69e02080afa32a0e688bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af44538ba61ffd85df204d405749f6029"><td class="memItemLeft" align="right" valign="top"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#af44538ba61ffd85df204d405749f6029">navigation_set_attr</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_, struct <a class="el" href="structattr.html">attr</a> *<a class="el" href="structattr.html">attr</a>)</td></tr>
<tr class="separator:af44538ba61ffd85df204d405749f6029"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bd603240f52e2622daf7c2e33901f03"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a1bd603240f52e2622daf7c2e33901f03">navigation_new</a> (struct <a class="el" href="structattr.html">attr</a> *<a class="el" href="structparent.html">parent</a>, struct <a class="el" href="structattr.html">attr</a> **attrs)</td></tr>
<tr class="separator:a1bd603240f52e2622daf7c2e33901f03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae35ea203f309dddf0f4177a292994a73"><td class="memItemLeft" align="right" valign="top"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#ae35ea203f309dddf0f4177a292994a73">navigation_set_announce</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_, enum <a class="el" href="item_8h.html#a2679318a14061852e50df3c6e4e42f62">item_type</a> <a class="el" href="garmin__img_8c.html#a8f7b0321b1954f07b747aeb1e311814e">type</a>, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> *<a class="el" href="structlevel.html">level</a>)</td></tr>
<tr class="separator:ae35ea203f309dddf0f4177a292994a73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6da12f139809d641225e5d07c4600f5a"><td class="memItemLeft" align="right" valign="top">static enum <a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312">announcement_level</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a6da12f139809d641225e5d07c4600f5a">navigation_get_announce_level</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_, enum <a class="el" href="item_8h.html#a2679318a14061852e50df3c6e4e42f62">item_type</a> <a class="el" href="garmin__img_8c.html#a8f7b0321b1954f07b747aeb1e311814e">type</a>, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> dist)</td></tr>
<tr class="separator:a6da12f139809d641225e5d07c4600f5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20504a61661dd334dbed8bae7e941849"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a20504a61661dd334dbed8bae7e941849">is_way_allowed</a> (struct <a class="el" href="structnavigation.html">navigation</a> *nav, struct <a class="el" href="structnavigation__way.html">navigation_way</a> *way, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> <a class="el" href="graphics__win32_8c.html#a25ea69ac5fd1db5cec1ac4663e5ee145">mode</a>)</td></tr>
<tr class="memdesc:a20504a61661dd334dbed8bae7e941849"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether a way is allowed.  <a href="#a20504a61661dd334dbed8bae7e941849">More...</a><br/></td></tr>
<tr class="separator:a20504a61661dd334dbed8bae7e941849"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02f710ba1428ebdfbd2048a12e2eb1b0"><td class="memItemLeft" align="right" valign="top">static enum <a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312">announcement_level</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a02f710ba1428ebdfbd2048a12e2eb1b0">navigation_get_announce_level_cmd</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_, struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *itm, struct <a class="el" href="structnavigation__command.html">navigation_command</a> *cmd, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> distance)</td></tr>
<tr class="separator:a02f710ba1428ebdfbd2048a12e2eb1b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bef9aefb0429f95849b82162c5f9e5f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a2bef9aefb0429f95849b82162c5f9e5f">road_angle</a> (struct <a class="el" href="structcoord.html">coord</a> *<a class="el" href="geod__for_8c.html#a8a289ed190008419ee49288535be093d">c1</a>, struct <a class="el" href="structcoord.html">coord</a> *<a class="el" href="geod__for_8c.html#a3d7054db04feaba66495dccf1a8ce86c">c2</a>, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> dir)</td></tr>
<tr class="memdesc:a2bef9aefb0429f95849b82162c5f9e5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the bearing from one point to another.  <a href="#a2bef9aefb0429f95849b82162c5f9e5f">More...</a><br/></td></tr>
<tr class="separator:a2bef9aefb0429f95849b82162c5f9e5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20705385240ed3622a3beb12a6f6a0f4"><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a20705385240ed3622a3beb12a6f6a0f4">get_count_str</a> (<a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> n)</td></tr>
<tr class="separator:a20705385240ed3622a3beb12a6f6a0f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe84fd3e6a885b44f7c33b41ad5afdf7"><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#afe84fd3e6a885b44f7c33b41ad5afdf7">get_exit_count_str</a> (<a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> n)</td></tr>
<tr class="separator:afe84fd3e6a885b44f7c33b41ad5afdf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d67bb1f2dd63064db3e265caa881194"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a1d67bb1f2dd63064db3e265caa881194">round_distance</a> (<a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> dist)</td></tr>
<tr class="separator:a1d67bb1f2dd63064db3e265caa881194"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72295784955cec782925ac7a7fade424"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a72295784955cec782925ac7a7fade424">round_distance_reduced</a> (<a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> dist)</td></tr>
<tr class="memdesc:a72295784955cec782925ac7a7fade424"><td class="mdescLeft">&#160;</td><td class="mdescRight">Restricts the distance value to a simple set of pronounceable numbers.  <a href="#a72295784955cec782925ac7a7fade424">More...</a><br/></td></tr>
<tr class="separator:a72295784955cec782925ac7a7fade424"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55fdd8d56acdf0069268354fca794ab3"><td class="memItemLeft" align="right" valign="top">static char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a55fdd8d56acdf0069268354fca794ab3">get_distance_str</a> (struct <a class="el" href="structnavigation.html">navigation</a> *nav, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> dist_meters, enum <a class="el" href="attr_8h.html#a9a9ab3c12bda86add06f89976f36f98c">attr_type</a> <a class="el" href="garmin__img_8c.html#a8f7b0321b1954f07b747aeb1e311814e">type</a>, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> is_length)</td></tr>
<tr class="memdesc:a55fdd8d56acdf0069268354fca794ab3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates the distance string. Considers the configuration of 'imperial' units and 'vocabulary_distances'. 'imperial' if set distinguishes the distance statement between miles and feet. Maximum distance in feet is 500. 'vocabulary_distances' if set constrains the distance values to a set of simple pronounceable numbers.  <a href="#a55fdd8d56acdf0069268354fca794ab3">More...</a><br/></td></tr>
<tr class="separator:a55fdd8d56acdf0069268354fca794ab3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5eb317dac08c622f02b8181610750064"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a5eb317dac08c622f02b8181610750064">navigation_way_init</a> (struct <a class="el" href="structnavigation__way.html">navigation_way</a> *w)</td></tr>
<tr class="memdesc:a5eb317dac08c622f02b8181610750064"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a <a class="el" href="structnavigation__way.html">navigation_way</a>.  <a href="#a5eb317dac08c622f02b8181610750064">More...</a><br/></td></tr>
<tr class="separator:a5eb317dac08c622f02b8181610750064"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69082bd5973ce2c97af608af337446ed"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a69082bd5973ce2c97af608af337446ed">navigation_way_get_max_delta</a> (struct <a class="el" href="structnavigation__way.html">navigation_way</a> *w, enum <a class="el" href="projection_8h.html#a380c9c985eef434d23f9a7b95a52cbc1">projection</a> pro, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> angle, double dist, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> dir)</td></tr>
<tr class="memdesc:a69082bd5973ce2c97af608af337446ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the maximum delta between a reference bearing and any segment of a given way, up to a given distance from its start.  <a href="#a69082bd5973ce2c97af608af337446ed">More...</a><br/></td></tr>
<tr class="separator:a69082bd5973ce2c97af608af337446ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba033513182cbb9186cec12356f8b8f1"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#aba033513182cbb9186cec12356f8b8f1">navigation_itm_ways_clear</a> (struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *itm)</td></tr>
<tr class="memdesc:aba033513182cbb9186cec12356f8b8f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the ways one can drive from itm.  <a href="#aba033513182cbb9186cec12356f8b8f1">More...</a><br/></td></tr>
<tr class="separator:aba033513182cbb9186cec12356f8b8f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98b8780b4749cf1d9404dcb889ee2a3b"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a98b8780b4749cf1d9404dcb889ee2a3b">navigation_itm_ways_update</a> (struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *itm, struct <a class="el" href="structmap.html">map</a> *graph_map)</td></tr>
<tr class="memdesc:a98b8780b4749cf1d9404dcb889ee2a3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the ways one can drive from itm.  <a href="#a98b8780b4749cf1d9404dcb889ee2a3b">More...</a><br/></td></tr>
<tr class="separator:a98b8780b4749cf1d9404dcb889ee2a3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6ffd500c5d98b4e2845f33f6a45ec25"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#af6ffd500c5d98b4e2845f33f6a45ec25">navigation_destroy_itms_cmds</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_, struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *end)</td></tr>
<tr class="memdesc:af6ffd500c5d98b4e2845f33f6a45ec25"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys navigation items associated with a navigation object.  <a href="#af6ffd500c5d98b4e2845f33f6a45ec25">More...</a><br/></td></tr>
<tr class="separator:af6ffd500c5d98b4e2845f33f6a45ec25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca170d3a00d9d1126ccd753892187250"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#aca170d3a00d9d1126ccd753892187250">navigation_itm_update</a> (struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *itm, struct <a class="el" href="structitem.html">item</a> *ritem)</td></tr>
<tr class="separator:aca170d3a00d9d1126ccd753892187250"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59d000245202df0dfc71c6011e8b853e"><td class="memItemLeft" align="right" valign="top">static struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a59d000245202df0dfc71c6011e8b853e">navigation_itm_new</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_, struct <a class="el" href="structitem.html">item</a> *routeitem)</td></tr>
<tr class="memdesc:a59d000245202df0dfc71c6011e8b853e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates and adds a new <a class="el" href="structnavigation__itm.html">navigation_itm</a> to a linked list of such.  <a href="#a59d000245202df0dfc71c6011e8b853e">More...</a><br/></td></tr>
<tr class="separator:a59d000245202df0dfc71c6011e8b853e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c9e41be94dee5a2b65f9eb8c98ebf48"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a4c9e41be94dee5a2b65f9eb8c98ebf48">count_possible_turns</a> (struct <a class="el" href="structnavigation.html">navigation</a> *nav, struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *from, struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *to, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> direction)</td></tr>
<tr class="memdesc:a4c9e41be94dee5a2b65f9eb8c98ebf48"><td class="mdescLeft">&#160;</td><td class="mdescRight">Counts how many times a driver could turn right/left.  <a href="#a4c9e41be94dee5a2b65f9eb8c98ebf48">More...</a><br/></td></tr>
<tr class="separator:a4c9e41be94dee5a2b65f9eb8c98ebf48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d773ac18e101daa5236a5bcc74fa750"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a0d773ac18e101daa5236a5bcc74fa750">calculate_dest_distance</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> incr)</td></tr>
<tr class="memdesc:a0d773ac18e101daa5236a5bcc74fa750"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculates distance and time to the destination.  <a href="#a0d773ac18e101daa5236a5bcc74fa750">More...</a><br/></td></tr>
<tr class="separator:a0d773ac18e101daa5236a5bcc74fa750"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d171a96f3fe8177da8346aace4d3717"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a7d171a96f3fe8177da8346aace4d3717">maneuver_category</a> (enum <a class="el" href="item_8h.html#a2679318a14061852e50df3c6e4e42f62">item_type</a> <a class="el" href="garmin__img_8c.html#a8f7b0321b1954f07b747aeb1e311814e">type</a>)</td></tr>
<tr class="separator:a7d171a96f3fe8177da8346aace4d3717"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee707d5cd03a4a4b20b71fe3ca515ca5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#aee707d5cd03a4a4b20b71fe3ca515ca5">is_motorway_like</a> (struct <a class="el" href="structnavigation__way.html">navigation_way</a> *way, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> extended)</td></tr>
<tr class="memdesc:aee707d5cd03a4a4b20b71fe3ca515ca5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether a way has motorway-like characteristics.  <a href="#aee707d5cd03a4a4b20b71fe3ca515ca5">More...</a><br/></td></tr>
<tr class="separator:aee707d5cd03a4a4b20b71fe3ca515ca5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5aad81445b8df7d0bd3835edbd078866"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a5aad81445b8df7d0bd3835edbd078866">is_ramp</a> (struct <a class="el" href="structnavigation__way.html">navigation_way</a> *way)</td></tr>
<tr class="memdesc:a5aad81445b8df7d0bd3835edbd078866"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether a way is a ramp.  <a href="#a5aad81445b8df7d0bd3835edbd078866">More...</a><br/></td></tr>
<tr class="separator:a5aad81445b8df7d0bd3835edbd078866"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8954e955fabd6d2b16ff28a6f852504f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a8954e955fabd6d2b16ff28a6f852504f">maneuver_required2</a> (struct <a class="el" href="structnavigation.html">navigation</a> *nav, struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *old, struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *new, struct <a class="el" href="structnavigation__maneuver.html">navigation_maneuver</a> **maneuver)</td></tr>
<tr class="memdesc:a8954e955fabd6d2b16ff28a6f852504f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if navit has to create a maneuver to drive from old to new.  <a href="#a8954e955fabd6d2b16ff28a6f852504f">More...</a><br/></td></tr>
<tr class="separator:a8954e955fabd6d2b16ff28a6f852504f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdfcdeda5377b51bce768a5e345fbde3"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#acdfcdeda5377b51bce768a5e345fbde3">adjust_delta</a> (<a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> delta, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> reference)</td></tr>
<tr class="memdesc:acdfcdeda5377b51bce768a5e345fbde3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adjusts a bearing delta to point in the same direction as a reference delta.  <a href="#acdfcdeda5377b51bce768a5e345fbde3">More...</a><br/></td></tr>
<tr class="separator:acdfcdeda5377b51bce768a5e345fbde3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48b34454ac33e8860f9d78a1d5159696"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a48b34454ac33e8860f9d78a1d5159696">navigation_analyze_roundabout</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_, struct <a class="el" href="structnavigation__command.html">navigation_command</a> *cmd, struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *itm)</td></tr>
<tr class="memdesc:a48b34454ac33e8860f9d78a1d5159696"><td class="mdescLeft">&#160;</td><td class="mdescRight">Analyzes a roundabout and sets maneuver information.  <a href="#a48b34454ac33e8860f9d78a1d5159696">More...</a><br/></td></tr>
<tr class="separator:a48b34454ac33e8860f9d78a1d5159696"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1105fc9d7acb7fdebd576d8f0e59d26"><td class="memItemLeft" align="right" valign="top">static struct <a class="el" href="structnavigation__command.html">navigation_command</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#ad1105fc9d7acb7fdebd576d8f0e59d26">command_new</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_, struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *itm, struct <a class="el" href="structnavigation__maneuver.html">navigation_maneuver</a> *maneuver)</td></tr>
<tr class="memdesc:ad1105fc9d7acb7fdebd576d8f0e59d26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new.  <a href="#ad1105fc9d7acb7fdebd576d8f0e59d26">More...</a><br/></td></tr>
<tr class="separator:ad1105fc9d7acb7fdebd576d8f0e59d26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe3ea4cb03f14f02904acb694f8b8673"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#afe3ea4cb03f14f02904acb694f8b8673">make_maneuvers</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_, struct <a class="el" href="structroute.html">route</a> *<a class="el" href="structroute.html">route</a>)</td></tr>
<tr class="memdesc:afe3ea4cb03f14f02904acb694f8b8673"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates turn instructions where needed.  <a href="#afe3ea4cb03f14f02904acb694f8b8673">More...</a><br/></td></tr>
<tr class="separator:afe3ea4cb03f14f02904acb694f8b8673"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b6cfc7329edbb20509ad4baa08a9c03"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a0b6cfc7329edbb20509ad4baa08a9c03">contains_suffix</a> (char *<a class="el" href="street_8c.html#afd3f693e384b1ee0a0c44d58351eb87d">name</a>, char *<a class="el" href="structsuffix.html">suffix</a>)</td></tr>
<tr class="separator:a0b6cfc7329edbb20509ad4baa08a9c03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c1029dba839c8205e940f2982182e71"><td class="memItemLeft" align="right" valign="top">static char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a9c1029dba839c8205e940f2982182e71">replace_suffix</a> (char *<a class="el" href="street_8c.html#afd3f693e384b1ee0a0c44d58351eb87d">name</a>, char *search, char *replace)</td></tr>
<tr class="separator:a9c1029dba839c8205e940f2982182e71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3294e4de916bc186e053363ca31af76"><td class="memItemLeft" align="right" valign="top">static char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#ac3294e4de916bc186e053363ca31af76">navigation_item_destination</a> (struct <a class="el" href="structnavigation.html">navigation</a> *nav, struct <a class="el" href="structnavigation__command.html">navigation_command</a> *cmd, struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *<a class="el" href="garmin__img_8c.html#a72b26dfab473b56b23271050c385bcf7">next</a>, char *prefix)</td></tr>
<tr class="memdesc:ac3294e4de916bc186e053363ca31af76"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a text description for the destination of a maneuver, which can be used in announcements.  <a href="#ac3294e4de916bc186e053363ca31af76">More...</a><br/></td></tr>
<tr class="separator:ac3294e4de916bc186e053363ca31af76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47fbdb534e5f2d07c0a61b0af3eade42"><td class="memItemLeft" align="right" valign="top">static char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a47fbdb534e5f2d07c0a61b0af3eade42">navigation_cmd_get_exit_announce</a> (struct <a class="el" href="structnavigation__command.html">navigation_command</a> *this_, char *street_destination_announce)</td></tr>
<tr class="memdesc:a47fbdb534e5f2d07c0a61b0af3eade42"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formats the exit ref and name for display and speech output.  <a href="#a47fbdb534e5f2d07c0a61b0af3eade42">More...</a><br/></td></tr>
<tr class="separator:a47fbdb534e5f2d07c0a61b0af3eade42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0428c6acbea3a082a8d24f397bb1040f"><td class="memItemLeft" align="right" valign="top">static char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver</a> (struct <a class="el" href="structnavigation.html">navigation</a> *nav, struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *itm, struct <a class="el" href="structnavigation__command.html">navigation_command</a> *cmd, enum <a class="el" href="attr_8h.html#a9a9ab3c12bda86add06f89976f36f98c">attr_type</a> <a class="el" href="garmin__img_8c.html#a8f7b0321b1954f07b747aeb1e311814e">type</a>, enum <a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312">announcement_level</a> <a class="el" href="structlevel.html">level</a>)</td></tr>
<tr class="memdesc:a0428c6acbea3a082a8d24f397bb1040f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates turn by turn guidance sentences for the speech and for the route description.  <a href="#a0428c6acbea3a082a8d24f397bb1040f">More...</a><br/></td></tr>
<tr class="separator:a0428c6acbea3a082a8d24f397bb1040f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f9769b748989732e4782671c5282aa2"><td class="memItemLeft" align="right" valign="top">static char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a4f9769b748989732e4782671c5282aa2">show_next_maneuvers</a> (struct <a class="el" href="structnavigation.html">navigation</a> *nav, struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *itm, struct <a class="el" href="structnavigation__command.html">navigation_command</a> *cmd, enum <a class="el" href="attr_8h.html#a9a9ab3c12bda86add06f89976f36f98c">attr_type</a> <a class="el" href="garmin__img_8c.html#a8f7b0321b1954f07b747aeb1e311814e">type</a>)</td></tr>
<tr class="memdesc:a4f9769b748989732e4782671c5282aa2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates announcements for maneuvers, plus maneuvers immediately following the next maneuver.  <a href="#a4f9769b748989732e4782671c5282aa2">More...</a><br/></td></tr>
<tr class="separator:a4f9769b748989732e4782671c5282aa2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30705285cb01cc6fee2afaf6fc13aacf"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a30705285cb01cc6fee2afaf6fc13aacf">navigation_call_callbacks</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> force_speech)</td></tr>
<tr class="separator:a30705285cb01cc6fee2afaf6fc13aacf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a104e25a4dbd9108f23f238f91929a187"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a104e25a4dbd9108f23f238f91929a187">navigation_update_done</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> cancel)</td></tr>
<tr class="memdesc:a104e25a4dbd9108f23f238f91929a187"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cleans up and initiates maneuver creation.  <a href="#a104e25a4dbd9108f23f238f91929a187">More...</a><br/></td></tr>
<tr class="separator:a104e25a4dbd9108f23f238f91929a187"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47dcc399d74c0fc3a4f3c47d6992e5e5"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a47dcc399d74c0fc3a4f3c47d6992e5e5">navigation_update_idle</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_)</td></tr>
<tr class="memdesc:a47dcc399d74c0fc3a4f3c47d6992e5e5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Idle callback function to retrieve items from the route map.  <a href="#a47dcc399d74c0fc3a4f3c47d6992e5e5">More...</a><br/></td></tr>
<tr class="separator:a47dcc399d74c0fc3a4f3c47d6992e5e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeea262b0184f333410f997db5e7507c8"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#aeea262b0184f333410f997db5e7507c8">navigation_update</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_, struct <a class="el" href="structroute.html">route</a> *<a class="el" href="structroute.html">route</a>, struct <a class="el" href="structattr.html">attr</a> *<a class="el" href="structattr.html">attr</a>)</td></tr>
<tr class="memdesc:aeea262b0184f333410f997db5e7507c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Event handler for changes to the route.  <a href="#aeea262b0184f333410f997db5e7507c8">More...</a><br/></td></tr>
<tr class="separator:aeea262b0184f333410f997db5e7507c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3dfa1aabdcb3ee153eddbb91d5c6782"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#ad3dfa1aabdcb3ee153eddbb91d5c6782">navigation_destroy</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_)</td></tr>
<tr class="separator:ad3dfa1aabdcb3ee153eddbb91d5c6782"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a141e6722ebe071a7c2aa48ac2a16e888"><td class="memItemLeft" align="right" valign="top"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a141e6722ebe071a7c2aa48ac2a16e888">navigation_register_callback</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_, enum <a class="el" href="attr_8h.html#a9a9ab3c12bda86add06f89976f36f98c">attr_type</a> <a class="el" href="garmin__img_8c.html#a8f7b0321b1954f07b747aeb1e311814e">type</a>, struct <a class="el" href="structcallback.html">callback</a> *cb)</td></tr>
<tr class="memdesc:a141e6722ebe071a7c2aa48ac2a16e888"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers a new callback function.  <a href="#a141e6722ebe071a7c2aa48ac2a16e888">More...</a><br/></td></tr>
<tr class="separator:a141e6722ebe071a7c2aa48ac2a16e888"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22c0a776e9a1c462ce9bbf6d8ebb4d24"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a22c0a776e9a1c462ce9bbf6d8ebb4d24">navigation_unregister_callback</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_, enum <a class="el" href="attr_8h.html#a9a9ab3c12bda86add06f89976f36f98c">attr_type</a> <a class="el" href="garmin__img_8c.html#a8f7b0321b1954f07b747aeb1e311814e">type</a>, struct <a class="el" href="structcallback.html">callback</a> *cb)</td></tr>
<tr class="memdesc:a22c0a776e9a1c462ce9bbf6d8ebb4d24"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unregisters a callback function.  <a href="#a22c0a776e9a1c462ce9bbf6d8ebb4d24">More...</a><br/></td></tr>
<tr class="separator:a22c0a776e9a1c462ce9bbf6d8ebb4d24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a8a5f4e94a4c775901bfeccc4801bd6"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structmap.html">map</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a0a8a5f4e94a4c775901bfeccc4801bd6">navigation_get_map</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_)</td></tr>
<tr class="separator:a0a8a5f4e94a4c775901bfeccc4801bd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae051fedc1b8514b846530dcc9f666653"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#ae051fedc1b8514b846530dcc9f666653">navigation_map_item_coord_get</a> (void *priv_data, struct <a class="el" href="structcoord.html">coord</a> *<a class="el" href="popup_8c.html#aafe71b070668214be9b4b4849985dc6b">c</a>, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> count)</td></tr>
<tr class="separator:ae051fedc1b8514b846530dcc9f666653"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24ad9cf499ab3cff79f56fd40f5008e0"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a24ad9cf499ab3cff79f56fd40f5008e0">navigation_map_item_coord_rewind</a> (void *priv_data)</td></tr>
<tr class="separator:a24ad9cf499ab3cff79f56fd40f5008e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83e3736ec11941100decd7fa3b885d5d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a83e3736ec11941100decd7fa3b885d5d">navigation_map_item_attr_get</a> (void *priv_data, enum <a class="el" href="attr_8h.html#a9a9ab3c12bda86add06f89976f36f98c">attr_type</a> <a class="el" href="attr_8h.html#a9a9ab3c12bda86add06f89976f36f98c">attr_type</a>, struct <a class="el" href="structattr.html">attr</a> *<a class="el" href="structattr.html">attr</a>)</td></tr>
<tr class="separator:a83e3736ec11941100decd7fa3b885d5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae273bcdc7c3b6d76e7d0c72c362b0b93"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#ae273bcdc7c3b6d76e7d0c72c362b0b93">navigation_map_item_attr_rewind</a> (void *priv_data)</td></tr>
<tr class="separator:ae273bcdc7c3b6d76e7d0c72c362b0b93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae80917687213d8060b8cb81d6dc2bff6"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#ae80917687213d8060b8cb81d6dc2bff6">navigation_map_destroy</a> (struct <a class="el" href="structmap__priv.html">map_priv</a> *priv)</td></tr>
<tr class="separator:ae80917687213d8060b8cb81d6dc2bff6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad637494199955de47296b701ca05a9c5"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#ad637494199955de47296b701ca05a9c5">navigation_map_rect_init</a> (struct <a class="el" href="structmap__rect__priv.html">map_rect_priv</a> *priv)</td></tr>
<tr class="separator:ad637494199955de47296b701ca05a9c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53f9d7a9f22ba5426ee0251443ff6c61"><td class="memItemLeft" align="right" valign="top">static struct <a class="el" href="structmap__rect__priv.html">map_rect_priv</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a53f9d7a9f22ba5426ee0251443ff6c61">navigation_map_rect_new</a> (struct <a class="el" href="structmap__priv.html">map_priv</a> *priv, struct <a class="el" href="structmap__selection.html">map_selection</a> *sel)</td></tr>
<tr class="separator:a53f9d7a9f22ba5426ee0251443ff6c61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af19a01456ab172b7134224735257dfd8"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#af19a01456ab172b7134224735257dfd8">navigation_map_rect_destroy</a> (struct <a class="el" href="structmap__rect__priv.html">map_rect_priv</a> *priv)</td></tr>
<tr class="separator:af19a01456ab172b7134224735257dfd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed5f113cda3969901d34685ef5052769"><td class="memItemLeft" align="right" valign="top">static struct <a class="el" href="structitem.html">item</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#aed5f113cda3969901d34685ef5052769">navigation_map_get_item</a> (struct <a class="el" href="structmap__rect__priv.html">map_rect_priv</a> *priv)</td></tr>
<tr class="memdesc:aed5f113cda3969901d34685ef5052769"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the next item from the navigation map.  <a href="#aed5f113cda3969901d34685ef5052769">More...</a><br/></td></tr>
<tr class="separator:aed5f113cda3969901d34685ef5052769"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4a97d31176ed5dc5147921533dc6039"><td class="memItemLeft" align="right" valign="top">static struct <a class="el" href="structitem.html">item</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#aa4a97d31176ed5dc5147921533dc6039">navigation_map_get_item_byid</a> (struct <a class="el" href="structmap__rect__priv.html">map_rect_priv</a> *priv, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> id_hi, <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> id_lo)</td></tr>
<tr class="memdesc:aa4a97d31176ed5dc5147921533dc6039"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the item with the specified ID from the navigation map.  <a href="#aa4a97d31176ed5dc5147921533dc6039">More...</a><br/></td></tr>
<tr class="separator:aa4a97d31176ed5dc5147921533dc6039"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a64ab71c643549133e6e1b308d7fcb0"><td class="memItemLeft" align="right" valign="top">static struct <a class="el" href="structmap__priv.html">map_priv</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a2a64ab71c643549133e6e1b308d7fcb0">navigation_map_new</a> (struct <a class="el" href="structmap__methods.html">map_methods</a> *meth, struct <a class="el" href="structattr.html">attr</a> **attrs, struct <a class="el" href="structcallback__list.html">callback_list</a> *<a class="el" href="main_8c.html#a0bb9aea6e64415d105ad710731075fa4">cbl</a>)</td></tr>
<tr class="separator:a2a64ab71c643549133e6e1b308d7fcb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adedaab7a3c765b3fd3f44d76a2b18d30"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#adedaab7a3c765b3fd3f44d76a2b18d30">navigation_set_route</a> (struct <a class="el" href="structnavigation.html">navigation</a> *this_, struct <a class="el" href="structroute.html">route</a> *<a class="el" href="structroute.html">route</a>)</td></tr>
<tr class="separator:adedaab7a3c765b3fd3f44d76a2b18d30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0365f749e045fe22436cb4418a7a96e4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a0365f749e045fe22436cb4418a7a96e4">navigation_init</a> (void)</td></tr>
<tr class="separator:a0365f749e045fe22436cb4418a7a96e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a609131fea6f8d51a2dacc2036f3b53f0"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a609131fea6f8d51a2dacc2036f3b53f0">roundabout_extra_length</a> =50</td></tr>
<tr class="separator:a609131fea6f8d51a2dacc2036f3b53f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98a37034ecd960b2954025973c1d8e1a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a98a37034ecd960b2954025973c1d8e1a">invalid_angle</a> = 361</td></tr>
<tr class="separator:a98a37034ecd960b2954025973c1d8e1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6775c477d1388d4e30077e6024f056ae"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a6775c477d1388d4e30077e6024f056ae">min_turn_limit</a> = 25</td></tr>
<tr class="separator:a6775c477d1388d4e30077e6024f056ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22780171bb97e4bdd516bf4e3ce03be4"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a22780171bb97e4bdd516bf4e3ce03be4">turn_2_limit</a> = 45</td></tr>
<tr class="separator:a22780171bb97e4bdd516bf4e3ce03be4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27b8f1091b0fa5990ecb9bbb61b8687b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a27b8f1091b0fa5990ecb9bbb61b8687b">sharp_turn_limit</a> = 110</td></tr>
<tr class="separator:a27b8f1091b0fa5990ecb9bbb61b8687b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81388baea902a53db5e41d24cdb892b2"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a81388baea902a53db5e41d24cdb892b2">u_turn_limit</a> = 165</td></tr>
<tr class="separator:a81388baea902a53db5e41d24cdb892b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa565aae0c1fb0952c6ac477f449f7549"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structsuffix.html">suffix</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#aa565aae0c1fb0952c6ac477f449f7549">suffixes</a> []</td></tr>
<tr class="separator:aa565aae0c1fb0952c6ac477f449f7549"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af71f58b4e4674bdd356b5c6add3df65f"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#af71f58b4e4674bdd356b5c6add3df65f">distances</a> [] = {1,2,3,4,5,10,25,50,75,100,150,200,250,300,400,500,750}</td></tr>
<tr class="memdesc:af71f58b4e4674bdd356b5c6add3df65f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set of simplified distance values that are easy to be pronounced. Used for the 'vocabulary_distances' configuration.  <a href="#af71f58b4e4674bdd356b5c6add3df65f">More...</a><br/></td></tr>
<tr class="separator:af71f58b4e4674bdd356b5c6add3df65f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4eedb7194ad7e87cf436b0c012d46aa4"><td class="memItemLeft" align="right" valign="top">static struct <a class="el" href="structitem__methods.html">item_methods</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a4eedb7194ad7e87cf436b0c012d46aa4">navigation_map_item_methods</a></td></tr>
<tr class="separator:a4eedb7194ad7e87cf436b0c012d46aa4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ababd897c8e965af2d2bbaa8bdc33331a"><td class="memItemLeft" align="right" valign="top">static struct <a class="el" href="structmap__methods.html">map_methods</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#ababd897c8e965af2d2bbaa8bdc33331a">navigation_map_meth</a></td></tr>
<tr class="separator:ababd897c8e965af2d2bbaa8bdc33331a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67657ae1ed8eaea55d26b24c019d66bd"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structobject__func.html">object_func</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="navigation_8c.html#a67657ae1ed8eaea55d26b24c019d66bd">navigation_func</a></td></tr>
<tr class="separator:a67657ae1ed8eaea55d26b24c019d66bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Navit, a modular navigation system. Copyright (C) 2005-2015 Navit Team</p>
<p>This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.</p>
<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p>
<p>You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</p>
<p>Generates navigation messages for a calculated route. </p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="acff11afeca273ec6cc9d1f1f077fc99c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define LAST_DISTANCE&#160;&#160;&#160;(<a class="el" href="navigation_8c.html#af8aa7587163d76c35ef590a20477b043">SIZE_OF_ARRAY_DISTANCES</a> - 1)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Referenced by <a class="el" href="navigation_8c.html#a72295784955cec782925ac7a7fade424">round_distance_reduced()</a>.</p>

</div>
</div>
<a class="anchor" id="a59497518b56060abdd403f4169a7a41f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define mex_exit&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Exiting from a motorway-like road, direction undefined. This should only be used for ramps leading to a non-motorway road. For interchanges, use <a class="el" href="navigation_8c.html#acd435c7d1a7ddc7123c0420fb41070eb">mex_interchange</a> instead. This value is not intended to be set directly but can be used for comparisons, e.g. <code>merge_or_exit &amp; mex_merge</code>. </p>

<p>Referenced by <a class="el" href="navigation_8c.html#aed5f113cda3969901d34685ef5052769">navigation_map_get_item()</a>.</p>

</div>
</div>
<a class="anchor" id="a5098a1f8794cddb3192b9200caf96738"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define mex_exit_left&#160;&#160;&#160;18</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Exiting from a motorway-like road to the left. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="navigation_8c.html#a59497518b56060abdd403f4169a7a41f">mex_exit</a> for <a class="el" href="tools_2gpx2navit__txt_2src_2main_8c.html#ad179db7b04bfd86a67a6a62a36bffdac">usage</a> </dd></dl>

<p>Referenced by <a class="el" href="navigation_8c.html#a8954e955fabd6d2b16ff28a6f852504f">maneuver_required2()</a>, <a class="el" href="navigation_8c.html#aed5f113cda3969901d34685ef5052769">navigation_map_get_item()</a>, and <a class="el" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver()</a>.</p>

</div>
</div>
<a class="anchor" id="aafec98459688e4c23a1ad0418f617724"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define mex_exit_right&#160;&#160;&#160;10</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Exiting from a motorway-like road to the right. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="navigation_8c.html#a59497518b56060abdd403f4169a7a41f">mex_exit</a> for <a class="el" href="tools_2gpx2navit__txt_2src_2main_8c.html#ad179db7b04bfd86a67a6a62a36bffdac">usage</a> </dd></dl>

<p>Referenced by <a class="el" href="navigation_8c.html#a8954e955fabd6d2b16ff28a6f852504f">maneuver_required2()</a>, <a class="el" href="navigation_8c.html#aed5f113cda3969901d34685ef5052769">navigation_map_get_item()</a>, and <a class="el" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver()</a>.</p>

</div>
</div>
<a class="anchor" id="acd435c7d1a7ddc7123c0420fb41070eb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define mex_interchange&#160;&#160;&#160;4</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Motorway-like road splits in two. This should be used for all cases in which ramps lead to another motorway-like road. </p>

<p>Referenced by <a class="el" href="navigation_8c.html#a8954e955fabd6d2b16ff28a6f852504f">maneuver_required2()</a>, <a class="el" href="navigation_8c.html#ac3294e4de916bc186e053363ca31af76">navigation_item_destination()</a>, <a class="el" href="navigation_8c.html#a83e3736ec11941100decd7fa3b885d5d">navigation_map_item_attr_get()</a>, and <a class="el" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver()</a>.</p>

</div>
</div>
<a class="anchor" id="a3d5317417b3243f023435edb85fbae56"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define mex_merge&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Merging into a motorway-like road, direction undefined. This value is not intended to be set directly but can be used for comparisons, e.g. <code>merge_or_exit &amp; mex_merge</code>. </p>

<p>Referenced by <a class="el" href="navigation_8c.html#ac3294e4de916bc186e053363ca31af76">navigation_item_destination()</a>, and <a class="el" href="navigation_8c.html#aed5f113cda3969901d34685ef5052769">navigation_map_get_item()</a>.</p>

</div>
</div>
<a class="anchor" id="aa4b62b8fa31789d6fbe3ca5452bf19b2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define mex_merge_left&#160;&#160;&#160;17</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Merging into a motorway-like road to the left (coming from the right) </p>

<p>Referenced by <a class="el" href="navigation_8c.html#a8954e955fabd6d2b16ff28a6f852504f">maneuver_required2()</a>, <a class="el" href="navigation_8c.html#aed5f113cda3969901d34685ef5052769">navigation_map_get_item()</a>, and <a class="el" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver()</a>.</p>

</div>
</div>
<a class="anchor" id="a77db1821c53c028020b2ebf601c9df34"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define mex_merge_right&#160;&#160;&#160;9</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Merging into a motorway-like road to the right (coming from the left) </p>

<p>Referenced by <a class="el" href="navigation_8c.html#a8954e955fabd6d2b16ff28a6f852504f">maneuver_required2()</a>, <a class="el" href="navigation_8c.html#aed5f113cda3969901d34685ef5052769">navigation_map_get_item()</a>, and <a class="el" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver()</a>.</p>

</div>
</div>
<a class="anchor" id="a7cf689b7916c1fd66fae3457086a84d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define mex_none&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Not merging into or exiting from a motorway_like road </p>

<p>Referenced by <a class="el" href="navigation_8c.html#a8954e955fabd6d2b16ff28a6f852504f">maneuver_required2()</a>, and <a class="el" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver()</a>.</p>

</div>
</div>
<a class="anchor" id="af8aa7587163d76c35ef590a20477b043"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define SIZE_OF_ARRAY_DISTANCES&#160;&#160;&#160;(sizeof (<a class="el" href="navigation_8c.html#af71f58b4e4674bdd356b5c6add3df65f">distances</a>)/sizeof (<a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Referenced by <a class="el" href="navigation_8c.html#a72295784955cec782925ac7a7fade424">round_distance_reduced()</a>.</p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ae478d5e9cecedb9e7386eb80a35f8312"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312">announcement_level</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Enum that defines the different states in announcing a turn. These states are dependent on the current distance to the turn; the distances are configured in navit.xml for every type of highway. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ae478d5e9cecedb9e7386eb80a35f8312af6975bae09a49dab8e2523ef758a600f"></a>level_connect</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ae478d5e9cecedb9e7386eb80a35f8312a4d28412e8e3b2b1796fb01ef096bcea4"></a>level_error</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ae478d5e9cecedb9e7386eb80a35f8312a598f6edf634f88290843d1c33ffb839a"></a>level_now</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ae478d5e9cecedb9e7386eb80a35f8312ac02bed9498413979e6e91690a8ca3ca1"></a>level_meters</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ae478d5e9cecedb9e7386eb80a35f8312ac63b44cc1f4f2a4275538d591625adb1"></a>level_soon</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ae478d5e9cecedb9e7386eb80a35f8312a4e212161ec3aa7427625c87e5e16d27d"></a>level_follow</em>&#160;</td><td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="a8b23cf17b30a85699ca867751a071153"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="navigation_8c.html#a8b23cf17b30a85699ca867751a071153">gender</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a8b23cf17b30a85699ca867751a071153a5b9f6d065e6e98483b3d3ed01f4f6cbe"></a>unknown</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a8b23cf17b30a85699ca867751a071153a800e0a023d5f3d8b2f6a4c4a1a2cb103"></a>masculine</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a8b23cf17b30a85699ca867751a071153a5205b5343075f59f599e70d1380c2602"></a>feminine</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a8b23cf17b30a85699ca867751a071153ab6dae6437f15440338fab3ebc4dcef4f"></a>neuter</em>&#160;</td><td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="a7ddcfa7ead6b183a42d71cacc767b7e0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="navigation_8c.html#a7ddcfa7ead6b183a42d71cacc767b7e0">nav_status_int</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a7ddcfa7ead6b183a42d71cacc767b7e0a21a538400deaf082146a11e2325eed3e"></a>status_none</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a7ddcfa7ead6b183a42d71cacc767b7e0a1c5547b065af258e8ff6772c196d9e75"></a>status_busy</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a7ddcfa7ead6b183a42d71cacc767b7e0a48a93ad9be20e365c1da3e45f6bbf34f"></a>status_has_ritem</em>&#160;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a7ddcfa7ead6b183a42d71cacc767b7e0a9f0752996c45729a2497efddda488af8"></a>status_has_sitem</em>&#160;</td><td class="fielddoc">
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="acdfcdeda5377b51bce768a5e345fbde3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> adjust_delta </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>delta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>reference</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Adjusts a bearing delta to point in the same direction as a reference delta. </p>
<p>Calculated delta results are constrained to -180 &lt;= delta &lt;= +180 degrees. Some heuristics, however, require values outside that range, e.g. -190 rather than 170 degrees. Given a reference with approximately correct orientation, this function corrects that delta to match the reference as closely as possible. This is done by adding or subtracting 360 degrees as needed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">delta</td><td>The delta to adjust.<div class="fragment"><div class="line">abs(delta) </div>
</div><!-- fragment --> must be no greater than 180. </td></tr>
    <tr><td class="paramname">reference</td><td>The reference delta.<div class="fragment"><div class="line">abs(reference) </div>
</div><!-- fragment --> must be no greater then 180. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The adjusted delta, which is numerically within +/-180 degrees of the reference. If<div class="fragment"><div class="line">delta </div>
</div><!-- fragment --> or<div class="fragment"><div class="line">reference </div>
</div><!-- fragment --> are outside of their specified range, the result is undefined. </dd></dl>

<p>References <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, and <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a48b34454ac33e8860f9d78a1d5159696">navigation_analyze_roundabout()</a>.</p>

</div>
</div>
<a class="anchor" id="a2da32deba042ba06f9a0c46081b0e605"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> angle_delta </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>angle1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>angle2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculates the delta between two angles. </p>
<p>The return value is to be interpreted as follows: </p>
<ul>
<li>
-179..-1:<div class="fragment"><div class="line">angle2 </div>
</div><!-- fragment --> is left of<div class="fragment"><div class="line">angle1 </div>
</div><!-- fragment -->  </li>
<li>
0: Both angles are identical </li>
<li>
1..179:<div class="fragment"><div class="line">angle2 </div>
</div><!-- fragment --> is right of<div class="fragment"><div class="line">angle1 </div>
</div><!-- fragment -->  </li>
<li>
180:<div class="fragment"><div class="line">angle1 </div>
</div><!-- fragment --> is opposite of<div class="fragment"><div class="line">angle2 </div>
</div><!-- fragment -->  </li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">angle1</td><td>The first angle </td></tr>
    <tr><td class="paramname">angle2</td><td>The second angle </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The difference between the angles, see description </dd></dl>

<p>Referenced by <a class="el" href="navigation_8c.html#a4a27384973075a3c13191a61b5e43366">angle_median()</a>, <a class="el" href="navigation_8c.html#ad1105fc9d7acb7fdebd576d8f0e59d26">command_new()</a>, <a class="el" href="navigation_8c.html#a4c9e41be94dee5a2b65f9eb8c98ebf48">count_possible_turns()</a>, <a class="el" href="navigation_8c.html#a8954e955fabd6d2b16ff28a6f852504f">maneuver_required2()</a>, <a class="el" href="navigation_8c.html#a48b34454ac33e8860f9d78a1d5159696">navigation_analyze_roundabout()</a>, <a class="el" href="navigation_8c.html#a83e3736ec11941100decd7fa3b885d5d">navigation_map_item_attr_get()</a>, <a class="el" href="navigation_8c.html#a69082bd5973ce2c97af608af337446ed">navigation_way_get_max_delta()</a>, and <a class="el" href="track_8h.html#a3ee6ea7d424a17edf786a24f5ea9e3a1">tracking_update()</a>.</p>

</div>
</div>
<a class="anchor" id="a4a27384973075a3c13191a61b5e43366"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> angle_median </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>angle1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>angle2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>References <a class="el" href="navigation_8c.html#a2da32deba042ba06f9a0c46081b0e605">angle_delta()</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a48b34454ac33e8860f9d78a1d5159696">navigation_analyze_roundabout()</a>.</p>

</div>
</div>
<a class="anchor" id="aab7b3c6e0c401c126cf7fe0228efc696"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> angle_opposite </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>angle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Referenced by <a class="el" href="navigation_8c.html#a8954e955fabd6d2b16ff28a6f852504f">maneuver_required2()</a>, and <a class="el" href="navigation_8c.html#a48b34454ac33e8860f9d78a1d5159696">navigation_analyze_roundabout()</a>.</p>

</div>
</div>
<a class="anchor" id="a0d773ac18e101daa5236a5bcc74fa750"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void calculate_dest_distance </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>incr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculates distance and time to the destination. </p>
<p>This function calculates the distance and the time to the destination of a navigation. If incr is set, this is only calculated for the first navigation item, which is a lot faster than re-calculation the whole destination, but works only if the rest of the navigation already has been calculated.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">this_</td><td>The navigation whose destination / time should be calculated </td></tr>
    <tr><td class="paramname">incr</td><td>Set this to true to only calculate the first item. See description. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="structnavigation__itm.html#a3572a110c9d5ec7d611e936fe60bad41">navigation_itm::dest_count</a>, <a class="el" href="structnavigation__itm.html#a53f93eab53b75bde5afbe87d7d5713f0">navigation_itm::dest_length</a>, <a class="el" href="structnavigation__itm.html#ae7605ce0df237f7b87a692f87cd303bb">navigation_itm::dest_time</a>, <a class="el" href="structnavigation.html#af2abf1736e4c02f3b9eb0c192bc97248">navigation::first</a>, <a class="el" href="structnavigation.html#aa2ba93b27400c5bed634e8dc8fe70f13">navigation::last</a>, <a class="el" href="structnavigation__itm.html#aa41b78e2aaf40c2af739570d95c88ac7">navigation_itm::length</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25a6e67a0649f81060a391cfe102acbd707">lvl_info</a>, <a class="el" href="structnavigation__itm.html#a63c1e3170c817251f75df2dfd1a377b8">navigation_itm::next</a>, <a class="el" href="garmin__img_8c.html#a72b26dfab473b56b23271050c385bcf7">next</a>, <a class="el" href="structnavigation__itm.html#a1d02dca11fc4441dfd81502562f64fab">navigation_itm::prev</a>, and <a class="el" href="structnavigation__itm.html#a97fb7764b2212a95c1adbad6c6a18ba6">navigation_itm::time</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a104e25a4dbd9108f23f238f91929a187">navigation_update_done()</a>.</p>

</div>
</div>
<a class="anchor" id="ad1105fc9d7acb7fdebd576d8f0e59d26"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static struct <a class="el" href="structnavigation__command.html">navigation_command</a>* command_new </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *&#160;</td>
          <td class="paramname"><em>itm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__maneuver.html">navigation_maneuver</a> *&#160;</td>
          <td class="paramname"><em>maneuver</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a new. </p>
<div class="fragment"><div class="line"><span class="keyword">struct </span><a class="code" href="structnavigation__command.html">navigation_command</a> </div>
</div><!-- fragment --><p> for a maneuver.</p>
<p>This function creates a new command and inserts it into the command list of</p>
<div class="fragment"><div class="line">this_ </div>
</div><!-- fragment --><p> . It also parses</p>
<div class="fragment"><div class="line"><a class="code" href="structnavigation__command.html#a5c8fc23bc766087057c78cd6e1519b6d">maneuver</a> </div>
</div><!-- fragment --><p> and sets its</p>
<div class="fragment"><div class="line"><a class="code" href="garmin__img_8c.html#a8f7b0321b1954f07b747aeb1e311814e">type</a> </div>
</div><!-- fragment --><p> appropriately so that other functions can rely on that.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">this_</td><td>The navigation object </td></tr>
    <tr><td class="paramname">itm</td><td>The navigation item following the maneuver </td></tr>
    <tr><td class="paramname">maneuver</td><td>The<div class="fragment"><div class="line"><span class="keyword">struct </span><a class="code" href="structnavigation__maneuver.html">navigation_maneuver</a> </div>
</div><!-- fragment --> returned by<div class="fragment"><div class="line"><a class="code" href="navigation_8c.html#a8954e955fabd6d2b16ff28a6f852504f">maneuver_required2</a>() </div>
</div><!-- fragment --> . For the destination, initialize a zeroed-out<div class="fragment"><div class="line"><span class="keyword">struct </span><a class="code" href="structnavigation__maneuver.html">navigation_maneuver</a> </div>
</div><!-- fragment --> and set its<div class="fragment"><div class="line"><a class="code" href="garmin__img_8c.html#a8f7b0321b1954f07b747aeb1e311814e">type</a> </div>
</div><!-- fragment --> member to<div class="fragment"><div class="line">type_nav_destination </div>
</div><!-- fragment --> prior to calling this function.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The new command </dd></dl>

<p>References <a class="el" href="attr_8h.html#a0c50dbd0c688b2eb990c0e1b8858f828">AF_ROUNDABOUT</a>, <a class="el" href="structnavigation__way.html#aef1bc9d5a5bbdc5477727c9d9a5ea0bb">navigation_way::angle2</a>, <a class="el" href="navigation_8c.html#a2da32deba042ba06f9a0c46081b0e605">angle_delta()</a>, <a class="el" href="structnavigation__itm.html#a7a8abd1d519e99e597970c33c5f4ae4a">navigation_itm::angle_end</a>, <a class="el" href="structnavigation.html#ac0b9fcda5bf5b6b505fde45cdd14e046">navigation::cmd_first</a>, <a class="el" href="structnavigation.html#a3eaa836a6a8770c71e016ce16091902b">navigation::cmd_last</a>, <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="structnavigation__maneuver.html#ac44457e810ec90416920f1194b60c63c">navigation_maneuver::delta</a>, <a class="el" href="structnavigation__command.html#aef47412ccffaf8d792c2b2bb182222ea">navigation_command::delta</a>, <a class="el" href="structnavigation__way.html#a72616efd6f2f4959f365e806fd727c12">navigation_way::flags</a>, <a class="el" href="structnavigation__command.html#a6dc44a45ee31916e8c5a53651efe14ff">navigation_command::itm</a>, <a class="el" href="structnavigation__maneuver.html#a0ffc0adbbba79b6a50c7350e4fd01d20">navigation_maneuver::left</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>, <a class="el" href="structnavigation__command.html#a5c8fc23bc766087057c78cd6e1519b6d">navigation_command::maneuver</a>, <a class="el" href="navigation_8c.html#a6775c477d1388d4e30077e6024f056ae">min_turn_limit</a>, <a class="el" href="navigation_8c.html#a48b34454ac33e8860f9d78a1d5159696">navigation_analyze_roundabout()</a>, <a class="el" href="structnavigation__command.html#a670053bf31747eba971701838721bda1">navigation_command::next</a>, <a class="el" href="structnavigation__way.html#a307c3203420fdec0ece3d3a4cf0e5750">navigation_way::next</a>, <a class="el" href="structnavigation__itm.html#a63c1e3170c817251f75df2dfd1a377b8">navigation_itm::next</a>, <a class="el" href="structnavigation__command.html#a26b7ae432b31b380f75510d89413cc11">navigation_command::prev</a>, <a class="el" href="structnavigation__itm.html#a1d02dca11fc4441dfd81502562f64fab">navigation_itm::prev</a>, <a class="el" href="structnavigation__maneuver.html#a1f59dd7c6fe6b096987360367827c608">navigation_maneuver::right</a>, <a class="el" href="navigation_8c.html#a27b8f1091b0fa5990ecb9bbb61b8687b">sharp_turn_limit</a>, <a class="el" href="navigation_8c.html#a22780171bb97e4bdd516bf4e3ce03be4">turn_2_limit</a>, <a class="el" href="structnavigation__maneuver.html#ae8a9a7f75cb7fd3ca7e1bcda5eb2584a">navigation_maneuver::type</a>, <a class="el" href="navigation_8c.html#a81388baea902a53db5e41d24cdb892b2">u_turn_limit</a>, and <a class="el" href="structnavigation__itm.html#a1726a33d53560014a13d98e2216a49a4">navigation_itm::way</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#afe3ea4cb03f14f02904acb694f8b8673">make_maneuvers()</a>.</p>

</div>
</div>
<a class="anchor" id="a0b6cfc7329edbb20509ad4baa08a9c03"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> contains_suffix </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>suffix</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>References <a class="el" href="util_8c.html#ad925c30e1ce8573680f71b730aa5e9ed">navit_utf8_strcasecmp()</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#ac3294e4de916bc186e053363ca31af76">navigation_item_destination()</a>.</p>

</div>
</div>
<a class="anchor" id="a4c9e41be94dee5a2b65f9eb8c98ebf48"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> count_possible_turns </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>nav</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *&#160;</td>
          <td class="paramname"><em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *&#160;</td>
          <td class="paramname"><em>to</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>direction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Counts how many times a driver could turn right/left. </p>
<p>This function counts how many times the driver theoretically could turn right/left between two navigation items, not counting the final turn itself.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">from</td><td>The navigation item which should form the start </td></tr>
    <tr><td class="paramname">to</td><td>The navigation item which should form the end </td></tr>
    <tr><td class="paramname">direction</td><td>Set to &lt; 0 to count turns to the left &gt;= 0 for turns to the right </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The number of possibilities to turn or -1 on error </dd></dl>

<p>References <a class="el" href="structnavigation__way.html#aef1bc9d5a5bbdc5477727c9d9a5ea0bb">navigation_way::angle2</a>, <a class="el" href="navigation_8c.html#a2da32deba042ba06f9a0c46081b0e605">angle_delta()</a>, <a class="el" href="structnavigation__itm.html#a7a8abd1d519e99e597970c33c5f4ae4a">navigation_itm::angle_end</a>, <a class="el" href="navigation_8c.html#a20504a61661dd334dbed8bae7e941849">is_way_allowed()</a>, <a class="el" href="structnavigation__way.html#a307c3203420fdec0ece3d3a4cf0e5750">navigation_way::next</a>, <a class="el" href="structnavigation__itm.html#a63c1e3170c817251f75df2dfd1a377b8">navigation_itm::next</a>, <a class="el" href="structnavigation__itm.html#a1d02dca11fc4441dfd81502562f64fab">navigation_itm::prev</a>, and <a class="el" href="structnavigation__itm.html#a1726a33d53560014a13d98e2216a49a4">navigation_itm::way</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver()</a>.</p>

</div>
</div>
<a class="anchor" id="a716b6a2fabc5949fd8e9cca04b57dd55"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void free_list </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structstreet__destination.html">street_destination</a> *&#160;</td>
          <td class="paramname"><em>list</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Frees a list as constructed with <a class="el" href="navigation_8c.html#a75a6d42036f0613b53842bf8b0b21ea1" title="Splits a string into a list, and sets their initial rank to 0. ">split_string_to_list()</a> </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">list</td><td>the list to be freed </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="structstreet__destination.html#a2ca9fc57d48e7fcb948950a39c83de5b">street_destination::destination</a>, and <a class="el" href="structstreet__destination.html#aee07bb798a6824a32093b80135c90906">street_destination::next</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#af6ffd500c5d98b4e2845f33f6a45ec25">navigation_destroy_itms_cmds()</a>, and <a class="el" href="navigation_8c.html#a75a6d42036f0613b53842bf8b0b21ea1">split_string_to_list()</a>.</p>

</div>
</div>
<a class="anchor" id="a49c8728dd87b358f67b69ba1cee6ab50"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static struct <a class="el" href="structstreet__destination.html">street_destination</a>* get_bestranked </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structstreet__destination.html">street_destination</a> *&#160;</td>
          <td class="paramname"><em>street_destination</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the first destination with a rank higher than zero. </p>
<p>If all items in the list have a zero rank, the first one will be returned. </p>

<p>References <a class="el" href="structstreet__destination.html#aee07bb798a6824a32093b80135c90906">street_destination::next</a>, and <a class="el" href="structstreet__destination.html#a5c9315380ee206d0167f4a3b69cf2cdb">street_destination::rank</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#adba1f0f416a77b713b5be4f17fd6e3ea">select_announced_destinations()</a>.</p>

</div>
</div>
<a class="anchor" id="a20705385240ed3622a3beb12a6f6a0f4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const char* get_count_str </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>References <a class="el" href="navit__nls_8h.html#ab92bb4161a6308b302d283816975c3a6">_</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver()</a>.</p>

</div>
</div>
<a class="anchor" id="a55fdd8d56acdf0069268354fca794ab3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static char* get_distance_str </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>nav</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>dist_meters</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="attr_8h.html#a9a9ab3c12bda86add06f89976f36f98c">attr_type</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>is_length</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Generates the distance string. Considers the configuration of 'imperial' units and 'vocabulary_distances'. 'imperial' if set distinguishes the distance statement between miles and feet. Maximum distance in feet is 500. 'vocabulary_distances' if set constrains the distance values to a set of simple pronounceable numbers. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nav</td><td>The navigation object. </td></tr>
    <tr><td class="paramname">dist_meters</td><td>Distance in meters. </td></tr>
    <tr><td class="paramname">type</td><td>The type of announcement precision. </td></tr>
    <tr><td class="paramname">is_length</td><td>1 for length statement, 0 for distance statement. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>String with length/distance statement. </dd></dl>

<p>References <a class="el" href="navit__nls_8h.html#ab92bb4161a6308b302d283816975c3a6">_</a>, <a class="el" href="navigation_8h.html#ae12f53427fba2f2790098221f27e8cee">FEET_PER_METER</a>, <a class="el" href="navigation_8h.html#ad2c9af5d6ed9fc71aadbac0899451945">METERS_TO_MILES</a>, <a class="el" href="structnavigation.html#a40bcbccb2bd94ecd84ecd56aa2f243ae">navigation::navit</a>, <a class="el" href="group__navit.html#gad65e35daa2f1f3182f161b6d1e062030">navit_get_attr()</a>, <a class="el" href="navit__nls_8c.html#a0296fc6b183a93df1e383299fa4cc459">navit_nls_ngettext()</a>, <a class="el" href="structattr.html#aebf8c468883c8a41033b97c2ae91003b">attr::num</a>, <a class="el" href="navigation_8c.html#a1d67bb1f2dd63064db3e265caa881194">round_distance()</a>, <a class="el" href="navigation_8c.html#a72295784955cec782925ac7a7fade424">round_distance_reduced()</a>, <a class="el" href="structnavigation.html#a8931dcf8fd72a4530abf71f0c6b7acd3">navigation::speech</a>, <a class="el" href="speech_8c.html#a8dc25b748ae11766626811888767cdcf">speech_get_attr()</a>, and <a class="el" href="structattr.html#a682d33096ece5ad806426918c15c4b10">attr::u</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver()</a>.</p>

</div>
</div>
<a class="anchor" id="afe84fd3e6a885b44f7c33b41ad5afdf7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const char* get_exit_count_str </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>n</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>References <a class="el" href="navit__nls_8h.html#ab92bb4161a6308b302d283816975c3a6">_</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver()</a>.</p>

</div>
</div>
<a class="anchor" id="aee707d5cd03a4a4b20b71fe3ca515ca5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> is_motorway_like </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation__way.html">navigation_way</a> *&#160;</td>
          <td class="paramname"><em>way</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>extended</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Checks whether a way has motorway-like characteristics. </p>
<p>Motorway-like means one of the following:</p>
<p>item type is highway_land or highway_city (OSM: highway=motorway) item type is street_n_lanes (OSM: highway=trunk) and way is one-way </p>
<div class="fragment"><div class="line">extended </div>
</div><!-- fragment --><p> is true and item type is either ramp or street_service</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">way</td><td>The way to examine </td></tr>
    <tr><td class="paramname">extended</td><td>Whether to consider ramps and service roads to be motorway-like </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True for motorway-like, false otherwise </dd></dl>

<p>References <a class="el" href="attr_8h.html#a5a0373ab9eff0baaafd85d2bd467ddaa">AF_ONEWAYMASK</a>, <a class="el" href="structnavigation__way.html#a72616efd6f2f4959f365e806fd727c12">navigation_way::flags</a>, <a class="el" href="structnavigation__way.html#af579448cdf2ab9a80fec3c3b2c817062">navigation_way::item</a>, and <a class="el" href="structitem.html#a3abafd36669ef817be82676acd8e5989">item::type</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a8954e955fabd6d2b16ff28a6f852504f">maneuver_required2()</a>, and <a class="el" href="navigation_8c.html#ac3294e4de916bc186e053363ca31af76">navigation_item_destination()</a>.</p>

</div>
</div>
<a class="anchor" id="a5aad81445b8df7d0bd3835edbd078866"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> is_ramp </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation__way.html">navigation_way</a> *&#160;</td>
          <td class="paramname"><em>way</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Checks whether a way is a ramp. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">way</td><td>The way to be examined </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True for ramp, false otherwise </dd></dl>

<p>References <a class="el" href="structnavigation__way.html#af579448cdf2ab9a80fec3c3b2c817062">navigation_way::item</a>, and <a class="el" href="structitem.html#a3abafd36669ef817be82676acd8e5989">item::type</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a48b34454ac33e8860f9d78a1d5159696">navigation_analyze_roundabout()</a>.</p>

</div>
</div>
<a class="anchor" id="a132ffa9b3f99eb243b923e15e87cf5ed"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> is_same_street2 </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>old_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>old_name_systematic</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>new_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>new_name_systematic</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Checks if two navigation items are on the same street. </p>
<p>This function checks if two navigation items are on the same street. It returns true if either their name or their "systematic name" (e.g. "A6" or "B256") are the same.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">old_name</td><td>The name of the first item to be checked </td></tr>
    <tr><td class="paramname">old_name_systematic</td><td>The systematic name of the first item to be checked </td></tr>
    <tr><td class="paramname">new_name</td><td>The name of the second item to be checked </td></tr>
    <tr><td class="paramname">new_name_systematic</td><td>The systematic name of the second item to be checked </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if both old and new are on the same street </dd></dl>

<p>References <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, and <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a44eb537a0485fd3ee55eb29c927c6fbf">is_same_way()</a>, and <a class="el" href="navigation_8c.html#a8954e955fabd6d2b16ff28a6f852504f">maneuver_required2()</a>.</p>

</div>
</div>
<a class="anchor" id="a44eb537a0485fd3ee55eb29c927c6fbf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> is_same_way </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation__way.html">navigation_way</a> *&#160;</td>
          <td class="paramname"><em>w1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__way.html">navigation_way</a> *&#160;</td>
          <td class="paramname"><em>w2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Checks if two ways are identical. </p>
<p>This function checks if two</p>
<div class="fragment"><div class="line"><a class="code" href="structnavigation__way.html">navigation_way</a> </div>
</div><!-- fragment --><p> s are likely to represent the same way on the ground. It does this by comparing the</p>
<div class="fragment"><div class="line"><a class="code" href="street_8c.html#afd3f693e384b1ee0a0c44d58351eb87d">name</a> </div>
</div><!-- fragment --><p> ,</p>
<div class="fragment"><div class="line">name_systematic </div>
</div><!-- fragment --><p> ,</p>
<div class="fragment"><div class="line">angle2 </div>
</div><!-- fragment --><p> and</p>
<div class="fragment"><div class="line"><a class="code" href="structitem.html">item</a>.<a class="code" href="structitem.html#a3abafd36669ef817be82676acd8e5989">type</a> </div>
</div><!-- fragment --><p> members of both ways and returning</p>
<div class="fragment"><div class="line"><span class="keyword">true</span> </div>
</div><!-- fragment --><p> if all of them match.</p>
<p>Names are compared by calling</p>
<div class="fragment"><div class="line"><a class="code" href="structnavigation__maneuver.html#a71d6672cc57e0760c8fc5a359f214f2a">is_same_street</a>() </div>
</div><!-- fragment --><p> .</p>
<p>ID attributes (such as OSM IDs) are not used for comparison, which allows the function to handle even overlapping maps for the same area created from different versions of OSM data, in which IDs may have changed as a result of ways being merged or split. As long as the above attributes match, the ways will still be considered equal.</p>
<p>Note that way geometry (other than</p>
<div class="fragment"><div class="line">angle2 </div>
</div><!-- fragment --><p> ) is not compared. If necessary, the caller needs to make geometry-related comparisons separately. </p>

<p>References <a class="el" href="structnavigation__way.html#aef1bc9d5a5bbdc5477727c9d9a5ea0bb">navigation_way::angle2</a>, <a class="el" href="navigation_8c.html#a132ffa9b3f99eb243b923e15e87cf5ed">is_same_street2()</a>, <a class="el" href="structnavigation__way.html#af579448cdf2ab9a80fec3c3b2c817062">navigation_way::item</a>, <a class="el" href="structnavigation__way.html#a576f7f01ddc6d382fb88cdfb6363d8d2">navigation_way::name</a>, <a class="el" href="structnavigation__way.html#ab9e054dc30fb77561df8b65d880d5d0e">navigation_way::name_systematic</a>, and <a class="el" href="structitem.html#a3abafd36669ef817be82676acd8e5989">item::type</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a98b8780b4749cf1d9404dcb889ee2a3b">navigation_itm_ways_update()</a>.</p>

</div>
</div>
<a class="anchor" id="a20504a61661dd334dbed8bae7e941849"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> is_way_allowed </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>nav</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__way.html">navigation_way</a> *&#160;</td>
          <td class="paramname"><em>way</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Checks whether a way is allowed. </p>
<p>This function checks whether a given vehicle is permitted to enter a given way by comparing the access and one-way restrictions of the way against the settings in</p>
<div class="fragment"><div class="line">nav-&gt;vehicleprofile </div>
</div><!-- fragment --><p> . Turn restrictions are not taken into account.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nav</td><td>The navigation object </td></tr>
    <tr><td class="paramname">way</td><td>The way to examine </td></tr>
    <tr><td class="paramname">mode</td><td>If nonzero, oneway restrictions will be taken into account. If zero, only the vehicle type will be taken into account.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if entry is permitted, false otherwise. If<div class="fragment"><div class="line">nav-&gt;vehicleprofile </div>
</div><!-- fragment --> is null, true is returned. </dd></dl>

<p>References <a class="el" href="structnavigation__way.html#a3550e4e73c612f2f70b435e13f0081c1">navigation_way::dir</a>, <a class="el" href="structvehicleprofile.html#a7e5ed76b43f11bccf74a29731d53a17d">vehicleprofile::flags</a>, <a class="el" href="structnavigation__way.html#a72616efd6f2f4959f365e806fd727c12">navigation_way::flags</a>, <a class="el" href="structvehicleprofile.html#aa99173089528b7d56258bb1923cdce35">vehicleprofile::flags_forward_mask</a>, <a class="el" href="structvehicleprofile.html#afe09da8fc23d370a2580c1a0f0223ea8">vehicleprofile::flags_reverse_mask</a>, and <a class="el" href="structnavigation.html#a282089b08fc06a31d450800dff2114e4">navigation::vehicleprofile</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a4c9e41be94dee5a2b65f9eb8c98ebf48">count_possible_turns()</a>, <a class="el" href="navigation_8c.html#a8954e955fabd6d2b16ff28a6f852504f">maneuver_required2()</a>, <a class="el" href="navigation_8c.html#a48b34454ac33e8860f9d78a1d5159696">navigation_analyze_roundabout()</a>, and <a class="el" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver()</a>.</p>

</div>
</div>
<a class="anchor" id="afe3ea4cb03f14f02904acb694f8b8673"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void make_maneuvers </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structroute.html">route</a> *&#160;</td>
          <td class="paramname"><em>route</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates turn instructions where needed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">this_</td><td>The navigation object for which to create turn instructions </td></tr>
    <tr><td class="paramname">route</td><td>Not used </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="structnavigation.html#ac0b9fcda5bf5b6b505fde45cdd14e046">navigation::cmd_first</a>, <a class="el" href="structnavigation.html#a3eaa836a6a8770c71e016ce16091902b">navigation::cmd_last</a>, <a class="el" href="navigation_8c.html#ad1105fc9d7acb7fdebd576d8f0e59d26">command_new()</a>, <a class="el" href="structnavigation.html#af2abf1736e4c02f3b9eb0c192bc97248">navigation::first</a>, <a class="el" href="navigation_8c.html#a8954e955fabd6d2b16ff28a6f852504f">maneuver_required2()</a>, <a class="el" href="structnavigation__itm.html#a63c1e3170c817251f75df2dfd1a377b8">navigation_itm::next</a>, and <a class="el" href="structnavigation__maneuver.html#ae8a9a7f75cb7fd3ca7e1bcda5eb2584a">navigation_maneuver::type</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a104e25a4dbd9108f23f238f91929a187">navigation_update_done()</a>.</p>

</div>
</div>
<a class="anchor" id="a7d171a96f3fe8177da8346aace4d3717"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> maneuver_category </td>
          <td>(</td>
          <td class="paramtype">enum <a class="el" href="item_8h.html#a2679318a14061852e50df3c6e4e42f62">item_type</a>&#160;</td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Referenced by <a class="el" href="navigation_8c.html#a8954e955fabd6d2b16ff28a6f852504f">maneuver_required2()</a>.</p>

</div>
</div>
<a class="anchor" id="a8954e955fabd6d2b16ff28a6f852504f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> maneuver_required2 </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>nav</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *&#160;</td>
          <td class="paramname"><em>old</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *&#160;</td>
          <td class="paramname"><em>new</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__maneuver.html">navigation_maneuver</a> **&#160;</td>
          <td class="paramname"><em>maneuver</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Checks if navit has to create a maneuver to drive from old to new. </p>
<p>This function checks if it has to create a "maneuver" - i.e. guide the user - to drive from "old" to "new".</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">old</td><td>The old navigation item, where we're coming from </td></tr>
    <tr><td class="paramname">new</td><td>The new navigation item, where we're going to </td></tr>
    <tr><td class="paramname">maneuver</td><td>Pointer to a buffer that will receive a pointer to a<div class="fragment"><div class="line"><span class="keyword">struct </span><a class="code" href="structnavigation__maneuver.html">navigation_maneuver</a> </div>
</div><!-- fragment --> in which detailed information on the maneuver will be stored. The buffer may receive a null pointer for some cases that do not require a maneuver. If a non-null pointer is returned, the caller is responsible for freeing up the buffer once it is no longer needed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if navit should guide the user, false otherwise </dd></dl>

<p>References <a class="el" href="attr_8h.html#a5a0373ab9eff0baaafd85d2bd467ddaa">AF_ONEWAYMASK</a>, <a class="el" href="attr_8h.html#a0c50dbd0c688b2eb990c0e1b8858f828">AF_ROUNDABOUT</a>, <a class="el" href="structnavigation__way.html#aef1bc9d5a5bbdc5477727c9d9a5ea0bb">navigation_way::angle2</a>, <a class="el" href="navigation_8c.html#a2da32deba042ba06f9a0c46081b0e605">angle_delta()</a>, <a class="el" href="structnavigation__itm.html#a7a8abd1d519e99e597970c33c5f4ae4a">navigation_itm::angle_end</a>, <a class="el" href="navigation_8c.html#aab7b3c6e0c401c126cf7fe0228efc696">angle_opposite()</a>, <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="structnavigation__maneuver.html#ac44457e810ec90416920f1194b60c63c">navigation_maneuver::delta</a>, <a class="el" href="structnavigation__way.html#a1b2581b73040a21d989369547f131052">navigation_way::exit_label</a>, <a class="el" href="structnavigation__way.html#a87f0d1085868fcbc58c04c4c7f7433d7">navigation_way::exit_ref</a>, <a class="el" href="structnavigation__way.html#a72616efd6f2f4959f365e806fd727c12">navigation_way::flags</a>, <a class="el" href="structnavigation__maneuver.html#af9aab10475c48ec899ecf3f53536ad62">navigation_maneuver::is_complex_t_junction</a>, <a class="el" href="navigation_8c.html#aee707d5cd03a4a4b20b71fe3ca515ca5">is_motorway_like()</a>, <a class="el" href="structnavigation__maneuver.html#a71d6672cc57e0760c8fc5a359f214f2a">navigation_maneuver::is_same_street</a>, <a class="el" href="navigation_8c.html#a132ffa9b3f99eb243b923e15e87cf5ed">is_same_street2()</a>, <a class="el" href="structnavigation__maneuver.html#a50641eef773577717d1ce188fa621318">navigation_maneuver::is_unambiguous</a>, <a class="el" href="navigation_8c.html#a20504a61661dd334dbed8bae7e941849">is_way_allowed()</a>, <a class="el" href="structnavigation__way.html#af579448cdf2ab9a80fec3c3b2c817062">navigation_way::item</a>, <a class="el" href="item_8c.html#adb033f52350446fc9cbb68f977b5047a">item_to_name()</a>, <a class="el" href="structnavigation__maneuver.html#a0ffc0adbbba79b6a50c7350e4fd01d20">navigation_maneuver::left</a>, <a class="el" href="structnavigation__itm.html#aa41b78e2aaf40c2af739570d95c88ac7">navigation_itm::length</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>, <a class="el" href="navigation_8c.html#a7d171a96f3fe8177da8346aace4d3717">maneuver_category()</a>, <a class="el" href="structnavigation__maneuver.html#a291f9795b96278673b6ad648f56a5145">navigation_maneuver::max_cat</a>, <a class="el" href="structnavigation__maneuver.html#a64e4281504d48eccdbb4938e71cdd1d5">navigation_maneuver::merge_or_exit</a>, <a class="el" href="navigation_8c.html#a5098a1f8794cddb3192b9200caf96738">mex_exit_left</a>, <a class="el" href="navigation_8c.html#aafec98459688e4c23a1ad0418f617724">mex_exit_right</a>, <a class="el" href="navigation_8c.html#acd435c7d1a7ddc7123c0420fb41070eb">mex_interchange</a>, <a class="el" href="navigation_8c.html#aa4b62b8fa31789d6fbe3ca5452bf19b2">mex_merge_left</a>, <a class="el" href="navigation_8c.html#a77db1821c53c028020b2ebf601c9df34">mex_merge_right</a>, <a class="el" href="navigation_8c.html#a7cf689b7916c1fd66fae3457086a84d9">mex_none</a>, <a class="el" href="navigation_8c.html#a6775c477d1388d4e30077e6024f056ae">min_turn_limit</a>, <a class="el" href="structnavigation__way.html#a576f7f01ddc6d382fb88cdfb6363d8d2">navigation_way::name</a>, <a class="el" href="structnavigation__way.html#ab9e054dc30fb77561df8b65d880d5d0e">navigation_way::name_systematic</a>, <a class="el" href="structnavigation__maneuver.html#a96a3d0c05369e50b7b5eb2d14384a3ef">navigation_maneuver::new_cat</a>, <a class="el" href="structnavigation__way.html#a307c3203420fdec0ece3d3a4cf0e5750">navigation_way::next</a>, <a class="el" href="structnavigation__itm.html#a63c1e3170c817251f75df2dfd1a377b8">navigation_itm::next</a>, <a class="el" href="structnavigation__maneuver.html#abc82c1c1664a2cdced7d960f4a8034cd">navigation_maneuver::num_new_motorways</a>, <a class="el" href="structnavigation__maneuver.html#ae74ad5a479883e005065f28ee3ac7177">navigation_maneuver::num_options</a>, <a class="el" href="structnavigation__maneuver.html#a43459dcae17f6f2333deb9c407c663b1">navigation_maneuver::num_other_ways</a>, <a class="el" href="structnavigation__maneuver.html#a173856d3d5c64a52aa96b92b628587de">navigation_maneuver::num_similar_ways</a>, <a class="el" href="structnavigation__maneuver.html#afffae721be7ae77176dc70b26d1f75d7">navigation_maneuver::old_cat</a>, <a class="el" href="structnavigation__itm.html#a1d02dca11fc4441dfd81502562f64fab">navigation_itm::prev</a>, <a class="el" href="structnavigation__maneuver.html#a1f59dd7c6fe6b096987360367827c608">navigation_maneuver::right</a>, <a class="el" href="structitem.html#a3abafd36669ef817be82676acd8e5989">item::type</a>, <a class="el" href="structnavigation__maneuver.html#ae8a9a7f75cb7fd3ca7e1bcda5eb2584a">navigation_maneuver::type</a>, and <a class="el" href="structnavigation__itm.html#a1726a33d53560014a13d98e2216a49a4">navigation_itm::way</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#afe3ea4cb03f14f02904acb694f8b8673">make_maneuvers()</a>, and <a class="el" href="navigation_8c.html#a83e3736ec11941100decd7fa3b885d5d">navigation_map_item_attr_get()</a>.</p>

</div>
</div>
<a class="anchor" id="ab61fd72ab5180f84206c1619b60c201d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* nav_status_to_text </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Converts navigation status to human-readable text. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">The</td><td>status. This must be one of the values for<div class="fragment"><div class="line"><span class="keyword">enum</span> <a class="code" href="navigation_8h.html#a7ade999856f5b83d663486411f753860">nav_status</a> </div>
</div><!-- fragment --> .</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A string which corresponds to the constant value. The caller is responsible for calling <div class="fragment"><div class="line">g_free() </div>
</div><!-- fragment --> when the result is no longer needed. </dd></dl>

<p>References <a class="el" href="navigation_8h.html#a7ade999856f5b83d663486411f753860ab8cca9ec8e362d97afa4d07054e9de83">status_calculating</a>, <a class="el" href="navigation_8h.html#a7ade999856f5b83d663486411f753860ad38988001a09398f8fe58fa4ab604821">status_invalid</a>, <a class="el" href="navigation_8h.html#a7ade999856f5b83d663486411f753860a3b217d744d8ea3f824bfcce4763d29a6">status_no_destination</a>, <a class="el" href="navigation_8h.html#a7ade999856f5b83d663486411f753860a234d3868cd10dcfa742c18df16e51506">status_no_route</a>, <a class="el" href="navigation_8h.html#a7ade999856f5b83d663486411f753860a4f909d5123ef2c2d18501349471d9019">status_position_wait</a>, <a class="el" href="navigation_8h.html#a7ade999856f5b83d663486411f753860a59c814c24dc2a3cad117199eb1c9bb43">status_recalculating</a>, and <a class="el" href="navigation_8h.html#a7ade999856f5b83d663486411f753860aea78c4801c1cd8cc173ba7680e549901">status_routing</a>.</p>

<p>Referenced by <a class="el" href="attr_8h.html#a90e7f35e990d0703bd01be1e95b2edc9">attr_to_text_ext()</a>, and <a class="el" href="osd__core_8c.html#a31508e7bce72fa26ea10c53396dccfc1">osd_navigation_status_draw_do()</a>.</p>

</div>
</div>
<a class="anchor" id="a48b34454ac33e8860f9d78a1d5159696"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void navigation_analyze_roundabout </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__command.html">navigation_command</a> *&#160;</td>
          <td class="paramname"><em>cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *&#160;</td>
          <td class="paramname"><em>itm</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Analyzes a roundabout and sets maneuver information. </p>
<p>Exit from a roundabout requires a somewhat complex analysis of the ways involved in order to: </p>
<ul>
<li>
Calculate effective bearing change (between entry and exit) and store it in<div class="fragment"><div class="line">cmd-&gt;roundabout_delta </div>
</div><!-- fragment -->  </li>
<li>
Set<div class="fragment"><div class="line">cmd-&gt;maneuver-&gt;type </div>
</div><!-- fragment --> to<div class="fragment"><div class="line">nav_roundabout_{r|l}{1..8} </div>
</div><!-- fragment --> , based on bearing change </li>
<li>
Set<div class="fragment"><div class="line">cmd-&gt;length </div>
</div><!-- fragment -->  </li>
</ul>
<p>Bearing change must be as close as possible to how drivers would perceive it. Builds prior to r2017 used the difference between the last way before and the first way after the roundabout, which tends to overestimate the angle when the ways leading towards and/or away from the roundabout split into separate carriageways in a Y-shape. This is referred to as</p>
<div class="fragment"><div class="line">delta1 </div>
</div><!-- fragment --><p> here.</p>
<p>In r2017 a different approach was introduced, which essentially distorts the roads so they enter and leave the roundabout at a 90 degree angle. (To make calculations simpler, tangents of the roundabout at the entry and exit points are used, with one of them reversed in direction, instead of the approach roads.) However, this approach tends to underestimate the angle when the distance between approach roads is large. This is referred to as</p>
<div class="fragment"><div class="line">delta2 </div>
</div><!-- fragment --><p> here.</p>
<p>Combining</p>
<div class="fragment"><div class="line">delta1 </div>
</div><!-- fragment --><p> and</p>
<div class="fragment"><div class="line">delta2 </div>
</div><!-- fragment --><p> , calculating error estimates for each and using a weighted average between the two delta estimates gives better results in many cases but fails for certain road layouts - namely, when corresponding approach roads are connected by more than one roundabout segment, or when additional ways connect to an approach road. These cases break error calculation and thus weight distribution.</p>
<p>Project HighFive introduces a new approach, which compares bearings of ways leading towards and away from the roundabout not immediately at entry and exit but at a certain distance from the roundabout, which is roughly proportional to the circumference of the roundabout. Circumference is estimated using the arithmetic mean value of</p>
<div class="fragment"><div class="line">delta1 </div>
</div><!-- fragment --><p> and </p>
<div class="fragment"><div class="line">delta2 </div>
</div><!-- fragment --><p> . This approach has produced the best results in tests. In code it is referred to as</p>
<div class="fragment"><div class="line">delta3 </div>
</div><!-- fragment --><p> .</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">this_</td><td>The navigation object </td></tr>
    <tr><td class="paramname">cmd</td><td>A<div class="fragment"><div class="line"><span class="keyword">struct </span>navigation_cmd </div>
</div><!-- fragment --> , whose<div class="fragment"><div class="line">delta </div>
</div><!-- fragment --> and<div class="fragment"><div class="line">maneuver </div>
</div><!-- fragment --> members must be set prior to calling this function </td></tr>
    <tr><td class="paramname">itm</td><td>The navigation item for the maneuver to exit the roundabout </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="navigation_8c.html#acdfcdeda5377b51bce768a5e345fbde3">adjust_delta()</a>, <a class="el" href="attr_8h.html#a5a0373ab9eff0baaafd85d2bd467ddaa">AF_ONEWAYMASK</a>, <a class="el" href="attr_8h.html#a0c50dbd0c688b2eb990c0e1b8858f828">AF_ROUNDABOUT</a>, <a class="el" href="structnavigation__way.html#aef1bc9d5a5bbdc5477727c9d9a5ea0bb">navigation_way::angle2</a>, <a class="el" href="navigation_8c.html#a2da32deba042ba06f9a0c46081b0e605">angle_delta()</a>, <a class="el" href="structnavigation__itm.html#a7a8abd1d519e99e597970c33c5f4ae4a">navigation_itm::angle_end</a>, <a class="el" href="navigation_8c.html#a4a27384973075a3c13191a61b5e43366">angle_median()</a>, <a class="el" href="navigation_8c.html#aab7b3c6e0c401c126cf7fe0228efc696">angle_opposite()</a>, <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="structnavigation__command.html#aef47412ccffaf8d792c2b2bb182222ea">navigation_command::delta</a>, <a class="el" href="structnavigation__way.html#a72616efd6f2f4959f365e806fd727c12">navigation_way::flags</a>, <a class="el" href="navigation_8c.html#a98a37034ecd960b2954025973c1d8e1a">invalid_angle</a>, <a class="el" href="navigation_8c.html#a5aad81445b8df7d0bd3835edbd078866">is_ramp()</a>, <a class="el" href="navigation_8c.html#a20504a61661dd334dbed8bae7e941849">is_way_allowed()</a>, <a class="el" href="item_8c.html#adb033f52350446fc9cbb68f977b5047a">item_to_name()</a>, <a class="el" href="garmin__img_8c.html#a9f59b34b1f25fe00023291b678246bcc">length</a>, <a class="el" href="structnavigation__command.html#a8442ef2b10014938111db201071ee91b">navigation_command::length</a>, <a class="el" href="structnavigation__itm.html#aa41b78e2aaf40c2af739570d95c88ac7">navigation_itm::length</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25a83f9ab2a71d2244b99268510714e94fb">lvl_error</a>, <a class="el" href="structnavigation__command.html#a5c8fc23bc766087057c78cd6e1519b6d">navigation_command::maneuver</a>, <a class="el" href="structnavigation.html#a79a1f780fc810880ac3291eb317b050a">navigation::map</a>, <a class="el" href="map_8c.html#a956c6e8398f832e31fe90634fa982dbf">map_projection()</a>, <a class="el" href="navigation_8c.html#a69082bd5973ce2c97af608af337446ed">navigation_way_get_max_delta()</a>, <a class="el" href="structnavigation__way.html#a307c3203420fdec0ece3d3a4cf0e5750">navigation_way::next</a>, <a class="el" href="structnavigation__itm.html#a63c1e3170c817251f75df2dfd1a377b8">navigation_itm::next</a>, <a class="el" href="structnavigation__itm.html#a1d02dca11fc4441dfd81502562f64fab">navigation_itm::prev</a>, <a class="el" href="structnavigation__command.html#a5af2f5db45da7088be99d32eff88f926">navigation_command::roundabout_delta</a>, <a class="el" href="navigation_8c.html#a609131fea6f8d51a2dacc2036f3b53f0">roundabout_extra_length</a>, <a class="el" href="structnavigation__maneuver.html#ae8a9a7f75cb7fd3ca7e1bcda5eb2584a">navigation_maneuver::type</a>, and <a class="el" href="structnavigation__itm.html#a1726a33d53560014a13d98e2216a49a4">navigation_itm::way</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#ad1105fc9d7acb7fdebd576d8f0e59d26">command_new()</a>.</p>

</div>
</div>
<a class="anchor" id="a30705285cb01cc6fee2afaf6fc13aacf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void navigation_call_callbacks </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>force_speech</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>References <a class="el" href="structnavigation.html#afa0345b5205e539024c81033eaaeb315">navigation::callback</a>, <a class="el" href="callback_8c.html#ae84652407cd70acb1ca8940a5cc80d6a">callback_list_call()</a>, <a class="el" href="structnavigation.html#a41dad16592fa0c25fa9f7cef5a5b1c76">navigation::callback_speech</a>, <a class="el" href="structnavigation.html#ac0b9fcda5bf5b6b505fde45cdd14e046">navigation::cmd_first</a>, <a class="el" href="structnavigation.html#a559a865433f3963b0c3ce6614328457e">navigation::curr_delay</a>, <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="structnavigation.html#a748c380840715de6cfd65ab9992394b6">navigation::delay</a>, <a class="el" href="structnavigation__itm.html#a53f93eab53b75bde5afbe87d7d5713f0">navigation_itm::dest_length</a>, <a class="el" href="structnavigation.html#aa354a1ce655f0ad3f57dcc2134349b12">navigation::distance_turn</a>, <a class="el" href="structnavigation.html#af2abf1736e4c02f3b9eb0c192bc97248">navigation::first</a>, <a class="el" href="structnavigation__way.html#af579448cdf2ab9a80fec3c3b2c817062">navigation_way::item</a>, <a class="el" href="item_8h.html#a87c714b27638a65053277c278c2bc3b6">item_is_equal</a>, <a class="el" href="structnavigation.html#a039db0d291fbfcf8d22becabbf460dc7">navigation::item_last</a>, <a class="el" href="structnavigation__command.html#a6dc44a45ee31916e8c5a53651efe14ff">navigation_command::itm</a>, <a class="el" href="structnavigation__command.html#a8442ef2b10014938111db201071ee91b">navigation_command::length</a>, <a class="el" href="structnavigation.html#a85d97d4c2cbc0856926f011912fdfd1a">navigation::level_last</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>, <a class="el" href="navigation_8c.html#a02f710ba1428ebdfbd2048a12e2eb1b0">navigation_get_announce_level_cmd()</a>, <a class="el" href="mg_8h.html#aaf29c41f2020649a36c2820ffa06119a">p</a>, <a class="el" href="structnavigation__itm.html#a3cbe2a677a033d772d92e3e7bc69c268">navigation_itm::speed</a>, <a class="el" href="structnavigation.html#af93cd687786b33cfa9e1dd884a6008ce">navigation::turn_around</a>, <a class="el" href="structnavigation.html#a61f6723e0c62ff2f05a0b7fd28d7a38c">navigation::turn_around_limit</a>, <a class="el" href="structitem.html#a3abafd36669ef817be82676acd8e5989">item::type</a>, and <a class="el" href="structnavigation__itm.html#a1726a33d53560014a13d98e2216a49a4">navigation_itm::way</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a104e25a4dbd9108f23f238f91929a187">navigation_update_done()</a>.</p>

</div>
</div>
<a class="anchor" id="a47fbdb534e5f2d07c0a61b0af3eade42"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static char* navigation_cmd_get_exit_announce </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation__command.html">navigation_command</a> *&#160;</td>
          <td class="paramname"><em>this_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>street_destination_announce</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Formats the exit ref and name for display and speech output. </p>
<p>This function takes the navigation command for a motorway maneuver (exit or interchange) and returns a string describing the exit.</p>
<p>If the exit has a name and ref and the name is different from</p>
<div class="fragment"><div class="line">street_destination_announce </div>
</div><!-- fragment --><p> , a string of the form "ref name" is returned. If only one of the two is different from NULL, it is returned unchanged.</p>
<p>If the name matches</p>
<div class="fragment"><div class="line">street_destination_announce </div>
</div><!-- fragment --><p> , it is always treated as if it were NULL. This prevents redundancy in announcements.</p>
<p>No checks are done that the maneuver actually has the appropriate merge_or_exit flags set. The caller is responsible for performing such checks prior to calling this function.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">this_</td><td>The navigation command </td></tr>
    <tr><td class="paramname">street_destination_announce</td><td>The name of the street following the maneuver. This argument may be NULL, in which case the exit name will not be suppressed. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="structnavigation__way.html#a1b2581b73040a21d989369547f131052">navigation_way::exit_label</a>, <a class="el" href="structnavigation__way.html#a87f0d1085868fcbc58c04c4c7f7433d7">navigation_way::exit_ref</a>, <a class="el" href="structnavigation__command.html#a6dc44a45ee31916e8c5a53651efe14ff">navigation_command::itm</a>, <a class="el" href="linguistics_8c.html#a6a83e9500ba3a7da6e7bdc31b80c4263">linguistics_casefold()</a>, and <a class="el" href="structnavigation__itm.html#a1726a33d53560014a13d98e2216a49a4">navigation_itm::way</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a83e3736ec11941100decd7fa3b885d5d">navigation_map_item_attr_get()</a>, and <a class="el" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver()</a>.</p>

</div>
</div>
<a class="anchor" id="ad3dfa1aabdcb3ee153eddbb91d5c6782"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void navigation_destroy </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>References <a class="el" href="structnavigation.html#afa0345b5205e539024c81033eaaeb315">navigation::callback</a>, <a class="el" href="callback_8c.html#aeaefe3bee8fe757346872e563d1358a4">callback_list_destroy()</a>, <a class="el" href="structnavigation.html#a41dad16592fa0c25fa9f7cef5a5b1c76">navigation::callback_speech</a>, <a class="el" href="structnavigation.html#af3eaaff4e92ef71858608a23ac36be5c">navigation::hash</a>, <a class="el" href="item_8c.html#aa86dd5c691e5d0d7dae98db2f0017018">item_hash_destroy()</a>, and <a class="el" href="navigation_8c.html#a04b8b7a26b66c823ce96854c8d574c87">navigation_flush()</a>.</p>

</div>
</div>
<a class="anchor" id="af6ffd500c5d98b4e2845f33f6a45ec25"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void navigation_destroy_itms_cmds </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *&#160;</td>
          <td class="paramname"><em>end</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Destroys navigation items associated with a navigation object. </p>
<p>This function destroys all or some of the</p>
<div class="fragment"><div class="line"><a class="code" href="structnavigation__itm.html">navigation_itm</a> </div>
</div><!-- fragment --><p> instances associated with </p>
<div class="fragment"><div class="line">this_ </div>
</div><!-- fragment --><p> , starting with the first one. Data structures associated with the items will also be freed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">this_</td><td>The navigation object whose command instances are to be destroyed </td></tr>
    <tr><td class="paramname">end</td><td>The first navigation item to keep. If it is NULL or not found in the list, all items will be destroyed. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="structnavigation.html#ac0b9fcda5bf5b6b505fde45cdd14e046">navigation::cmd_first</a>, <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="structnavigation__way.html#a527b8ae184c85179bb878b1446eeaa2c">navigation_way::destination</a>, <a class="el" href="structnavigation__way.html#a1b2581b73040a21d989369547f131052">navigation_way::exit_label</a>, <a class="el" href="structnavigation__way.html#a87f0d1085868fcbc58c04c4c7f7433d7">navigation_way::exit_ref</a>, <a class="el" href="structnavigation.html#af2abf1736e4c02f3b9eb0c192bc97248">navigation::first</a>, <a class="el" href="navigation_8c.html#a716b6a2fabc5949fd8e9cca04b57dd55">free_list()</a>, <a class="el" href="structnavigation.html#af3eaaff4e92ef71858608a23ac36be5c">navigation::hash</a>, <a class="el" href="structnavigation__way.html#af579448cdf2ab9a80fec3c3b2c817062">navigation_way::item</a>, <a class="el" href="item_8c.html#a509e0b4b93b8a30c1647b277b953710c">item_hash_remove()</a>, <a class="el" href="structnavigation__command.html#a6dc44a45ee31916e8c5a53651efe14ff">navigation_command::itm</a>, <a class="el" href="structnavigation.html#aa2ba93b27400c5bed634e8dc8fe70f13">navigation::last</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25a83f9ab2a71d2244b99268510714e94fb">lvl_error</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25a6e67a0649f81060a391cfe102acbd707">lvl_info</a>, <a class="el" href="structnavigation__command.html#a5c8fc23bc766087057c78cd6e1519b6d">navigation_command::maneuver</a>, <a class="el" href="map_8c.html#a4615d67b2a27e13f2341f278e9631c54">map_convert_free()</a>, <a class="el" href="structnavigation__way.html#a576f7f01ddc6d382fb88cdfb6363d8d2">navigation_way::name</a>, <a class="el" href="structnavigation__way.html#ab9e054dc30fb77561df8b65d880d5d0e">navigation_way::name_systematic</a>, <a class="el" href="navigation_8c.html#aba033513182cbb9186cec12356f8b8f1">navigation_itm_ways_clear()</a>, <a class="el" href="structnavigation__command.html#a670053bf31747eba971701838721bda1">navigation_command::next</a>, <a class="el" href="structnavigation__itm.html#a63c1e3170c817251f75df2dfd1a377b8">navigation_itm::next</a>, <a class="el" href="structnavigation__command.html#a26b7ae432b31b380f75510d89413cc11">navigation_command::prev</a>, <a class="el" href="structnavigation__itm.html#a1d02dca11fc4441dfd81502562f64fab">navigation_itm::prev</a>, and <a class="el" href="structnavigation__itm.html#a1726a33d53560014a13d98e2216a49a4">navigation_itm::way</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a04b8b7a26b66c823ce96854c8d574c87">navigation_flush()</a>, <a class="el" href="navigation_8c.html#a104e25a4dbd9108f23f238f91929a187">navigation_update_done()</a>, and <a class="el" href="navigation_8c.html#a47dcc399d74c0fc3a4f3c47d6992e5e5">navigation_update_idle()</a>.</p>

</div>
</div>
<a class="anchor" id="a04b8b7a26b66c823ce96854c8d574c87"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void navigation_flush </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>References <a class="el" href="navigation_8c.html#af6ffd500c5d98b4e2845f33f6a45ec25">navigation_destroy_itms_cmds()</a>.</p>

<p>Referenced by <a class="el" href="navigation_8h.html#ad3dfa1aabdcb3ee153eddbb91d5c6782">navigation_destroy()</a>, and <a class="el" href="navigation_8c.html#aeea262b0184f333410f997db5e7507c8">navigation_update()</a>.</p>

</div>
</div>
<a class="anchor" id="a6da12f139809d641225e5d07c4600f5a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static enum <a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312">announcement_level</a> navigation_get_announce_level </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="item_8h.html#a2679318a14061852e50df3c6e4e42f62">item_type</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>dist</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>References <a class="el" href="structnavigation.html#a91526af69c26d512570fcfd97f5fb24e">navigation::announce</a>, <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312a4d28412e8e3b2b1796fb01ef096bcea4">level_error</a>, <a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312a4e212161ec3aa7427625c87e5e16d27d">level_follow</a>, <a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312a598f6edf634f88290843d1c33ffb839a">level_now</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25a83f9ab2a71d2244b99268510714e94fb">lvl_error</a>, <a class="el" href="item_8h.html#aec7ed308d7bf84da6a2012b02207a822">route_item_first</a>, and <a class="el" href="item_8h.html#a385bcf44c2e29e93b6ea337616e5931d">route_item_last</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a02f710ba1428ebdfbd2048a12e2eb1b0">navigation_get_announce_level_cmd()</a>, <a class="el" href="navigation_8c.html#a83e3736ec11941100decd7fa3b885d5d">navigation_map_item_attr_get()</a>, and <a class="el" href="navigation_8c.html#a4f9769b748989732e4782671c5282aa2">show_next_maneuvers()</a>.</p>

</div>
</div>
<a class="anchor" id="a02f710ba1428ebdfbd2048a12e2eb1b0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static enum <a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312">announcement_level</a> navigation_get_announce_level_cmd </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *&#160;</td>
          <td class="paramname"><em>itm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__command.html">navigation_command</a> *&#160;</td>
          <td class="paramname"><em>cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>distance</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>References <a class="el" href="structnavigation.html#ac0b9fcda5bf5b6b505fde45cdd14e046">navigation::cmd_first</a>, <a class="el" href="structnavigation__way.html#af579448cdf2ab9a80fec3c3b2c817062">navigation_way::item</a>, <a class="el" href="structnavigation__command.html#a6dc44a45ee31916e8c5a53651efe14ff">navigation_command::itm</a>, <a class="el" href="navigation_8c.html#a6da12f139809d641225e5d07c4600f5a">navigation_get_announce_level()</a>, <a class="el" href="structnavigation__itm.html#a1d02dca11fc4441dfd81502562f64fab">navigation_itm::prev</a>, <a class="el" href="structitem.html#a3abafd36669ef817be82676acd8e5989">item::type</a>, and <a class="el" href="structnavigation__itm.html#a1726a33d53560014a13d98e2216a49a4">navigation_itm::way</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a30705285cb01cc6fee2afaf6fc13aacf">navigation_call_callbacks()</a>, and <a class="el" href="navigation_8c.html#a4f9769b748989732e4782671c5282aa2">show_next_maneuvers()</a>.</p>

</div>
</div>
<a class="anchor" id="af52411918a519cbfb8ee3dd4be14b178"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> navigation_get_attr </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="attr_8h.html#a9a9ab3c12bda86add06f89976f36f98c">attr_type</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structattr.html">attr</a> *&#160;</td>
          <td class="paramname"><em>attr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structattr__iter.html">attr_iter</a> *&#160;</td>
          <td class="paramname"><em>iter</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>References <a class="el" href="attr_8c.html#ae13d70b1ff7bbf7abf2586f15590f253">attr_to_name()</a>, <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="osm_8c.html#a1b6910c37842678ed6084354f57f6260">item</a>, <a class="el" href="item_8c.html#a1f97d6a6d85956aa73deb31d4a16397f">item_attr_get()</a>, <a class="el" href="structattr.html#a0cbe965ed8abdd4621c7fc07fc694e6a">attr::item_type</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>, <a class="el" href="structnavigation.html#a79a1f780fc810880ac3291eb317b050a">navigation::map</a>, <a class="el" href="structattr.html#ac07d1f64702eb46e7cc36bbb67d388a9">attr::map</a>, <a class="el" href="map_8c.html#afe7311d63f1e8a4a697634cf79329f7d">map_rect_destroy()</a>, <a class="el" href="map_8c.html#ae025c855207536977afd84d39b316e9c">map_rect_get_item()</a>, <a class="el" href="map_8c.html#a52e6ae5ec3beaec49ce12ce603d7d72a">map_rect_new()</a>, <a class="el" href="structnavigation.html#aaa0fba8756cbd110fc3ab7e775a7235f">navigation::nav_status</a>, <a class="el" href="xmlconfig_8c.html#a23961ccaf9ae2f89b0397fe64953dcb3">navit_object_get_attr()</a>, <a class="el" href="structattr.html#aebf8c468883c8a41033b97c2ae91003b">attr::num</a>, <a class="el" href="structnavigation.html#acb5c9893541faf86ba66f9d389f17e61">navigation::turn_around_count</a>, <a class="el" href="structitem.html#a3abafd36669ef817be82676acd8e5989">item::type</a>, <a class="el" href="garmin__img_8c.html#a8f7b0321b1954f07b747aeb1e311814e">type</a>, <a class="el" href="structattr.html#acbbeecb9ce16c2d7973d0bd2ff544457">attr::type</a>, and <a class="el" href="structattr.html#a682d33096ece5ad806426918c15c4b10">attr::u</a>.</p>

<p>Referenced by <a class="el" href="navigation_8h.html#a141e6722ebe071a7c2aa48ac2a16e888">navigation_register_callback()</a>, <a class="el" href="navigation_8h.html#a22c0a776e9a1c462ce9bbf6d8ebb4d24">navigation_unregister_callback()</a>, <a class="el" href="osd__core_8c.html#abbb620baa02edaa3e6791b74aebdfd2d">osd_navigation_status_draw()</a>, <a class="el" href="osd__core_8c.html#adc66e4993642c241acad607deb5037e0">osd_navigation_status_init()</a>, and <a class="el" href="binding__dbus_8c.html#a86be29f7fbfe98e943549a3b7af1ee1b">request_navigation_get_attr()</a>.</p>

</div>
</div>
<a class="anchor" id="a0a8a5f4e94a4c775901bfeccc4801bd6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structmap.html">map</a>* navigation_get_map </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>References <a class="el" href="structattr.html#a464cf684a789545b3ad0242e4e704701">attr::attrs</a>, <a class="el" href="garmin__img_8c.html#a433b1c9921d3b90f7c145c781a43f325">data</a>, <a class="el" href="destination_8c.html#a83a6bff093a1144aca515982229c94ca">description()</a>, <a class="el" href="structnavigation.html#a79a1f780fc810880ac3291eb317b050a">navigation::map</a>, <a class="el" href="map_8c.html#a9a8864bcc7e1f687fe52c38b36bcad63">map_new()</a>, <a class="el" href="structattr.html#a29f2bd8e2bb08429d7f319414c600bfc">attr::navigation</a>, <a class="el" href="structattr.html#a2a2a2da11501e5c4b5464938c91b87e9">attr::str</a>, <a class="el" href="garmin__img_8c.html#a8f7b0321b1954f07b747aeb1e311814e">type</a>, <a class="el" href="structattr.html#acbbeecb9ce16c2d7973d0bd2ff544457">attr::type</a>, and <a class="el" href="structattr.html#a682d33096ece5ad806426918c15c4b10">attr::u</a>.</p>

<p>Referenced by <a class="el" href="gui__internal__priv_8h.html#a256ca02bb66cea534b532813ec454cf8">gui_internal_populate_route_table()</a>, <a class="el" href="binding_2python_2navigation_8c.html#a2bd5240725308464e64961ec14a30013">navigation_get_map_py()</a>, <a class="el" href="group__navit.html#ga359fb8a89c570167d2f7eaef272502ce">navit_init()</a>, <a class="el" href="group__navit.html#gabba2aaa70e0a245d0bf4d84d0884e374">navit_speak()</a>, <a class="el" href="group__navit.html#ga9840d0a2ac5a308e1249fdda78e87dc0">navit_window_roadbook_update()</a>, <a class="el" href="osd__core_8c.html#a0c9ad7b4a3685122f1d9c384df3b9b1a">osd_nav_next_turn_draw()</a>, <a class="el" href="osd__core_8c.html#ad1b3aad9b6f3d02df61bea4c5759ebb4">osd_text_draw()</a>, <a class="el" href="binding__dbus_8c.html#a048f93e084c152c01ee24892e9c285b8">request_navit_route_export_geojson()</a>, <a class="el" href="binding__dbus_8c.html#abfa39940de8d6661f0e696a9a5d4f922">request_navit_route_export_gpx()</a>, and <a class="el" href="gui__gtk__statusbar_8c.html#a798ad4510fcf2ee073cf71d5b859a549">statusbar_route_update()</a>.</p>

</div>
</div>
<a class="anchor" id="a0365f749e045fe22436cb4418a7a96e4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void navigation_init </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>References <a class="el" href="navigation_8c.html#a2a64ab71c643549133e6e1b308d7fcb0">navigation_map_new()</a>.</p>

<p>Referenced by <a class="el" href="start__real_8h.html#ade1addd7471c6aa824c4f9fca7b2abba">main_real()</a>.</p>

</div>
</div>
<a class="anchor" id="ac3294e4de916bc186e053363ca31af76"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static char* navigation_item_destination </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>nav</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__command.html">navigation_command</a> *&#160;</td>
          <td class="paramname"><em>cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *&#160;</td>
          <td class="paramname"><em>next</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>prefix</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a text description for the destination of a maneuver, which can be used in announcements. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nav</td><td>The navigation object </td></tr>
    <tr><td class="paramname">cmd</td><td>The<div class="fragment"><div class="line"><a class="code" href="structnavigation__command.html">navigation_command</a> </div>
</div><!-- fragment --> for which to generate an announcement </td></tr>
    <tr><td class="paramname">next</td><td>The current navigation item. In speech mode this should be set to the navigation item starting at the vehicle's current position; in route description mode this should be set to the<div class="fragment"><div class="line">navigation_item </div>
</div><!-- fragment --> associated with the previous<div class="fragment"><div class="line"><a class="code" href="structnavigation__command.html">navigation_command</a> </div>
</div><!-- fragment --> </td></tr>
    <tr><td class="paramname">prefix</td><td>A space will be added as a prefix to the string returned, or a null string for no prefix </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="navit__nls_8h.html#ab92bb4161a6308b302d283816975c3a6">_</a>, <a class="el" href="navigation_8c.html#a0b6cfc7329edbb20509ad4baa08a9c03">contains_suffix()</a>, <a class="el" href="navigation_8c.html#a8b23cf17b30a85699ca867751a071153a5205b5343075f59f599e70d1380c2602">feminine</a>, <a class="el" href="structsuffix.html#a7211c140732fb96ed2908ab445b15ea8">suffix::gender</a>, <a class="el" href="navigation_8c.html#aee707d5cd03a4a4b20b71fe3ca515ca5">is_motorway_like()</a>, <a class="el" href="structnavigation__way.html#af579448cdf2ab9a80fec3c3b2c817062">navigation_way::item</a>, <a class="el" href="structnavigation__command.html#a6dc44a45ee31916e8c5a53651efe14ff">navigation_command::itm</a>, <a class="el" href="structnavigation__command.html#a5c8fc23bc766087057c78cd6e1519b6d">navigation_command::maneuver</a>, <a class="el" href="navigation_8c.html#a8b23cf17b30a85699ca867751a071153a800e0a023d5f3d8b2f6a4c4a1a2cb103">masculine</a>, <a class="el" href="structnavigation__maneuver.html#a64e4281504d48eccdbb4938e71cdd1d5">navigation_maneuver::merge_or_exit</a>, <a class="el" href="navigation_8c.html#acd435c7d1a7ddc7123c0420fb41070eb">mex_interchange</a>, <a class="el" href="navigation_8c.html#a3d5317417b3243f023435edb85fbae56">mex_merge</a>, <a class="el" href="structnavigation__way.html#a576f7f01ddc6d382fb88cdfb6363d8d2">navigation_way::name</a>, <a class="el" href="street_8c.html#afd3f693e384b1ee0a0c44d58351eb87d">name</a>, <a class="el" href="structnavigation__way.html#ab9e054dc30fb77561df8b65d880d5d0e">navigation_way::name_systematic</a>, <a class="el" href="navigation_8c.html#a8b23cf17b30a85699ca867751a071153ab6dae6437f15440338fab3ebc4dcef4f">neuter</a>, <a class="el" href="structnavigation__command.html#a670053bf31747eba971701838721bda1">navigation_command::next</a>, <a class="el" href="structnavigation__itm.html#a63c1e3170c817251f75df2dfd1a377b8">navigation_itm::next</a>, <a class="el" href="structattr.html#aebf8c468883c8a41033b97c2ae91003b">attr::num</a>, <a class="el" href="structnavigation__itm.html#a1d02dca11fc4441dfd81502562f64fab">navigation_itm::prev</a>, <a class="el" href="navigation_8c.html#a9c1029dba839c8205e940f2982182e71">replace_suffix()</a>, <a class="el" href="structnavigation.html#a8931dcf8fd72a4530abf71f0c6b7acd3">navigation::speech</a>, <a class="el" href="speech_8c.html#a8dc25b748ae11766626811888767cdcf">speech_get_attr()</a>, <a class="el" href="navigation_8c.html#aa565aae0c1fb0952c6ac477f449f7549">suffixes</a>, <a class="el" href="structitem.html#a3abafd36669ef817be82676acd8e5989">item::type</a>, <a class="el" href="structnavigation__maneuver.html#ae8a9a7f75cb7fd3ca7e1bcda5eb2584a">navigation_maneuver::type</a>, <a class="el" href="structattr.html#a682d33096ece5ad806426918c15c4b10">attr::u</a>, <a class="el" href="navigation_8c.html#a8b23cf17b30a85699ca867751a071153a5b9f6d065e6e98483b3d3ed01f4f6cbe">unknown</a>, and <a class="el" href="structnavigation__itm.html#a1726a33d53560014a13d98e2216a49a4">navigation_itm::way</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver()</a>.</p>

</div>
</div>
<a class="anchor" id="a59d000245202df0dfc71c6011e8b853e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static struct <a class="el" href="structnavigation__itm.html">navigation_itm</a>* navigation_itm_new </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structitem.html">item</a> *&#160;</td>
          <td class="paramname"><em>routeitem</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates and adds a new <a class="el" href="structnavigation__itm.html">navigation_itm</a> to a linked list of such. </p>
<p>routeitem has an attr. streetitem, but that is only and id and a map, allowing to fetch the actual streetitem, that will live under the same name.</p>
<p>Known issue: If a way splits in 2, exit_to info ends up on both continuations of the ramp, sometimes leading to wrong guidance. The case where a ramp itself splits in 2 is already covered by ignoring exit_to info in such cases.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">this_</td><td>the navigation object </td></tr>
    <tr><td class="paramname">routeitem</td><td>the routeitem from which to create a navigation item </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the new <a class="el" href="structnavigation__itm.html">navigation_itm</a> (used nowhere) </dd></dl>

<p>References <a class="el" href="attr_8h.html#ac31624ef4f8ef64df93eef99f78b16c6">AF_ONEWAY</a>, <a class="el" href="structnavigation__way.html#aef1bc9d5a5bbdc5477727c9d9a5ea0bb">navigation_way::angle2</a>, <a class="el" href="structnavigation__itm.html#a7a8abd1d519e99e597970c33c5f4ae4a">navigation_itm::angle_end</a>, <a class="el" href="structmap__selection.html#ae00c4fb58fffa37688d33f864310a7b5">map_selection::c_rect</a>, <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="structnavigation__way.html#a527b8ae184c85179bb878b1446eeaa2c">navigation_way::destination</a>, <a class="el" href="structnavigation__way.html#a3550e4e73c612f2f70b435e13f0081c1">navigation_way::dir</a>, <a class="el" href="structnavigation__itm.html#a383f8c66559c16633fa6b9ad2adada70">navigation_itm::end</a>, <a class="el" href="structnavigation__way.html#a1b2581b73040a21d989369547f131052">navigation_way::exit_label</a>, <a class="el" href="structnavigation__way.html#a87f0d1085868fcbc58c04c4c7f7433d7">navigation_way::exit_ref</a>, <a class="el" href="structnavigation.html#af2abf1736e4c02f3b9eb0c192bc97248">navigation::first</a>, <a class="el" href="structnavigation__way.html#a72616efd6f2f4959f365e806fd727c12">navigation_way::flags</a>, <a class="el" href="structnavigation.html#af3eaaff4e92ef71858608a23ac36be5c">navigation::hash</a>, <a class="el" href="structitem.html#a193c3e2ec0076325a4f3139f9d33e06e">item::id_hi</a>, <a class="el" href="structitem.html#a8be73452bc1e39e9054361ab579c9dc1">item::id_lo</a>, <a class="el" href="structattr.html#ae572da25b48307fd773201349ec7fe4a">attr::item</a>, <a class="el" href="structnavigation__way.html#af579448cdf2ab9a80fec3c3b2c817062">navigation_way::item</a>, <a class="el" href="item_8c.html#a1f97d6a6d85956aa73deb31d4a16397f">item_attr_get()</a>, <a class="el" href="item_8c.html#ae4ca690f46c2e5d491491d9f706f04e8">item_coord_get()</a>, <a class="el" href="item_8c.html#ac68e3bdaeab77d7060b9034e1a7b13a7">item_hash_insert()</a>, <a class="el" href="item_8c.html#a9d74082234bf94fe04bd8585c40c7f90">item_range_all</a>, <a class="el" href="structnavigation.html#aa2ba93b27400c5bed634e8dc8fe70f13">navigation::last</a>, <a class="el" href="structcoord__rect.html#a8da493b41946d949510bada53c32667a">coord_rect::lu</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25ae8f0c4875bfa25147150a74f41c86c53">lvl_warning</a>, <a class="el" href="structitem.html#a9d90a195a3654c3b1e872ad92ae74369">item::map</a>, <a class="el" href="map_8c.html#af44c00a5c0938889e420cd8c5b87a92a">map_convert_string()</a>, <a class="el" href="map_8c.html#afe7311d63f1e8a4a697634cf79329f7d">map_rect_destroy()</a>, <a class="el" href="map_8c.html#ae025c855207536977afd84d39b316e9c">map_rect_get_item()</a>, <a class="el" href="map_8c.html#a9e27d0888db14bf9b88727ead943eaf6">map_rect_get_item_byid()</a>, <a class="el" href="map_8c.html#a52e6ae5ec3beaec49ce12ce603d7d72a">map_rect_new()</a>, <a class="el" href="structnavigation__way.html#a576f7f01ddc6d382fb88cdfb6363d8d2">navigation_way::name</a>, <a class="el" href="structnavigation__way.html#ab9e054dc30fb77561df8b65d880d5d0e">navigation_way::name_systematic</a>, <a class="el" href="navigation_8c.html#aca170d3a00d9d1126ccd753892187250">navigation_itm_update()</a>, <a class="el" href="navigation_8c.html#a98b8780b4749cf1d9404dcb889ee2a3b">navigation_itm_ways_update()</a>, <a class="el" href="structmap__selection.html#a1c83ff016741893133014d58cfc38e25">map_selection::next</a>, <a class="el" href="structnavigation__way.html#a307c3203420fdec0ece3d3a4cf0e5750">navigation_way::next</a>, <a class="el" href="structnavigation__itm.html#a63c1e3170c817251f75df2dfd1a377b8">navigation_itm::next</a>, <a class="el" href="structattr.html#aebf8c468883c8a41033b97c2ae91003b">attr::num</a>, <a class="el" href="structmap__selection.html#a1983d9d4a5df17d7a8d70fc7a7f1d9bf">map_selection::order</a>, <a class="el" href="structnavigation__itm.html#a1d02dca11fc4441dfd81502562f64fab">navigation_itm::prev</a>, <a class="el" href="structmap__selection.html#a9b160a76565e6f18e27042d4f06feeaa">map_selection::range</a>, <a class="el" href="structcoord__rect.html#a0aa5ec921d6c01e81eea35f701962bd7">coord_rect::rl</a>, <a class="el" href="navigation_8c.html#a2bef9aefb0429f95849b82162c5f9e5f">road_angle()</a>, <a class="el" href="structattr.html#a2132d9f8722d472ea71342ea68b03754">attr::route</a>, <a class="el" href="route_8c.html#a25508afaaf0b6f06ec5bf467593b81fc">route_get_graph_map()</a>, <a class="el" href="navigation_8c.html#a75a6d42036f0613b53842bf8b0b21ea1">split_string_to_list()</a>, <a class="el" href="structattr.html#a2a2a2da11501e5c4b5464938c91b87e9">attr::str</a>, <a class="el" href="structnavigation__itm.html#a7763697b33712c37cd9f60e38ef9f1c8">navigation_itm::streetname_told</a>, <a class="el" href="structitem.html#a3abafd36669ef817be82676acd8e5989">item::type</a>, <a class="el" href="structattr.html#acbbeecb9ce16c2d7973d0bd2ff544457">attr::type</a>, <a class="el" href="structmap__selection.html#a0f7fd983dfb06bf8aba44c212bc8a78f">map_selection::u</a>, <a class="el" href="structattr.html#a682d33096ece5ad806426918c15c4b10">attr::u</a>, <a class="el" href="structnavigation__itm.html#a1726a33d53560014a13d98e2216a49a4">navigation_itm::way</a>, <a class="el" href="structcoord.html#ac3e93ff628aa19d2888c5f6fa26f430d">coord::x</a>, and <a class="el" href="structcoord.html#a2b099692d87f98e4844b615136ca37fb">coord::y</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a104e25a4dbd9108f23f238f91929a187">navigation_update_done()</a>, and <a class="el" href="navigation_8c.html#a47dcc399d74c0fc3a4f3c47d6992e5e5">navigation_update_idle()</a>.</p>

</div>
</div>
<a class="anchor" id="aca170d3a00d9d1126ccd753892187250"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void navigation_itm_update </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *&#160;</td>
          <td class="paramname"><em>itm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structitem.html">item</a> *&#160;</td>
          <td class="paramname"><em>ritem</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>References <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="item_8c.html#a1f97d6a6d85956aa73deb31d4a16397f">item_attr_get()</a>, <a class="el" href="structnavigation__itm.html#aa41b78e2aaf40c2af739570d95c88ac7">navigation_itm::length</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25a83f9ab2a71d2244b99268510714e94fb">lvl_error</a>, <a class="el" href="structattr.html#aebf8c468883c8a41033b97c2ae91003b">attr::num</a>, <a class="el" href="structnavigation__itm.html#a3cbe2a677a033d772d92e3e7bc69c268">navigation_itm::speed</a>, <a class="el" href="structnavigation__itm.html#a97fb7764b2212a95c1adbad6c6a18ba6">navigation_itm::time</a>, and <a class="el" href="structattr.html#a682d33096ece5ad806426918c15c4b10">attr::u</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a59d000245202df0dfc71c6011e8b853e">navigation_itm_new()</a>, and <a class="el" href="navigation_8c.html#a47dcc399d74c0fc3a4f3c47d6992e5e5">navigation_update_idle()</a>.</p>

</div>
</div>
<a class="anchor" id="aba033513182cbb9186cec12356f8b8f1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void navigation_itm_ways_clear </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *&#160;</td>
          <td class="paramname"><em>itm</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clears the ways one can drive from itm. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">itm</td><td>The item that should have its ways cleared </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="popup_8c.html#aafe71b070668214be9b4b4849985dc6b">c</a>, <a class="el" href="map_8c.html#a4615d67b2a27e13f2341f278e9631c54">map_convert_free()</a>, <a class="el" href="structnavigation__way.html#a576f7f01ddc6d382fb88cdfb6363d8d2">navigation_way::name</a>, <a class="el" href="structnavigation__way.html#ab9e054dc30fb77561df8b65d880d5d0e">navigation_way::name_systematic</a>, <a class="el" href="structnavigation__way.html#a307c3203420fdec0ece3d3a4cf0e5750">navigation_way::next</a>, and <a class="el" href="structnavigation__itm.html#a1726a33d53560014a13d98e2216a49a4">navigation_itm::way</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#af6ffd500c5d98b4e2845f33f6a45ec25">navigation_destroy_itms_cmds()</a>, and <a class="el" href="navigation_8c.html#a98b8780b4749cf1d9404dcb889ee2a3b">navigation_itm_ways_update()</a>.</p>

</div>
</div>
<a class="anchor" id="a98b8780b4749cf1d9404dcb889ee2a3b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void navigation_itm_ways_update </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *&#160;</td>
          <td class="paramname"><em>itm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structmap.html">map</a> *&#160;</td>
          <td class="paramname"><em>graph_map</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Updates the ways one can drive from itm. </p>
<p>This updates the list of possible ways to drive to from itm. The item "itm" is on and the next navigation item are excluded.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">itm</td><td>The item that should be updated </td></tr>
    <tr><td class="paramname">graph_map</td><td>The route graph's map that these items are on </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="structmap__selection.html#ae00c4fb58fffa37688d33f864310a7b5">map_selection::c_rect</a>, <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="structnavigation__way.html#a3550e4e73c612f2f70b435e13f0081c1">navigation_way::dir</a>, <a class="el" href="navigation_8c.html#a44eb537a0485fd3ee55eb29c927c6fbf">is_same_way()</a>, <a class="el" href="structattr.html#ae572da25b48307fd773201349ec7fe4a">attr::item</a>, <a class="el" href="structnavigation__way.html#af579448cdf2ab9a80fec3c3b2c817062">navigation_way::item</a>, <a class="el" href="item_8c.html#a1f97d6a6d85956aa73deb31d4a16397f">item_attr_get()</a>, <a class="el" href="item_8h.html#a87c714b27638a65053277c278c2bc3b6">item_is_equal</a>, <a class="el" href="item_8c.html#adb033f52350446fc9cbb68f977b5047a">item_to_name()</a>, <a class="el" href="structcoord__rect.html#a8da493b41946d949510bada53c32667a">coord_rect::lu</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25ae8f0c4875bfa25147150a74f41c86c53">lvl_warning</a>, <a class="el" href="map_8c.html#afe7311d63f1e8a4a697634cf79329f7d">map_rect_destroy()</a>, <a class="el" href="map_8c.html#ae025c855207536977afd84d39b316e9c">map_rect_get_item()</a>, <a class="el" href="map_8c.html#a52e6ae5ec3beaec49ce12ce603d7d72a">map_rect_new()</a>, <a class="el" href="structnavigation__way.html#a576f7f01ddc6d382fb88cdfb6363d8d2">navigation_way::name</a>, <a class="el" href="structnavigation__way.html#ab9e054dc30fb77561df8b65d880d5d0e">navigation_way::name_systematic</a>, <a class="el" href="navigation_8c.html#aba033513182cbb9186cec12356f8b8f1">navigation_itm_ways_clear()</a>, <a class="el" href="navigation_8c.html#a5eb317dac08c622f02b8181610750064">navigation_way_init()</a>, <a class="el" href="structmap__selection.html#a1c83ff016741893133014d58cfc38e25">map_selection::next</a>, <a class="el" href="structnavigation__way.html#a307c3203420fdec0ece3d3a4cf0e5750">navigation_way::next</a>, <a class="el" href="structattr.html#aebf8c468883c8a41033b97c2ae91003b">attr::num</a>, <a class="el" href="structnavigation__itm.html#a1d02dca11fc4441dfd81502562f64fab">navigation_itm::prev</a>, <a class="el" href="structcoord__rect.html#a0aa5ec921d6c01e81eea35f701962bd7">coord_rect::rl</a>, <a class="el" href="structitem.html#a3abafd36669ef817be82676acd8e5989">item::type</a>, <a class="el" href="structmap__selection.html#a0f7fd983dfb06bf8aba44c212bc8a78f">map_selection::u</a>, <a class="el" href="structattr.html#a682d33096ece5ad806426918c15c4b10">attr::u</a>, and <a class="el" href="structnavigation__itm.html#a1726a33d53560014a13d98e2216a49a4">navigation_itm::way</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a59d000245202df0dfc71c6011e8b853e">navigation_itm_new()</a>.</p>

</div>
</div>
<a class="anchor" id="ae80917687213d8060b8cb81d6dc2bff6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void navigation_map_destroy </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structmap__priv.html">map_priv</a> *&#160;</td>
          <td class="paramname"><em>priv</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aed5f113cda3969901d34685ef5052769"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static struct <a class="el" href="structitem.html">item</a>* navigation_map_get_item </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structmap__rect__priv.html">map_rect_priv</a> *&#160;</td>
          <td class="paramname"><em>priv</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the next item from the navigation map. </p>
<p>This function returns an item from a map rectangle on the navigation map and advances the item pointer, so that at the next call the next item will be returned.</p>
<p>The</p>
<div class="fragment"><div class="line"><a class="code" href="garmin__img_8c.html#a8f7b0321b1954f07b747aeb1e311814e">type</a> </div>
</div><!-- fragment --><p> member of the result, which indicates the type of maneuver, is generally copied over from </p>
<div class="fragment"><div class="line">maneuver-&gt;type </div>
</div><!-- fragment --><p> , though some exceptions apply: The first item in the map will have a type of </p>
<div class="fragment"><div class="line">nav_position </div>
</div><!-- fragment --><p> and the last one will have a type of</p>
<div class="fragment"><div class="line">nav_destination </div>
</div><!-- fragment --><p> . If</p>
<div class="fragment"><div class="line">maneuver-&gt;merge_or_exit </div>
</div><!-- fragment --><p> indicates a merge or exit, the result will be of the corresponding merge or exit type.</p>
<p>Earlier versions of Navit had the entire logic for setting the maneuver type in this function, but this has been moved to</p>
<div class="fragment"><div class="line"><a class="code" href="navigation_8c.html#ad1105fc9d7acb7fdebd576d8f0e59d26">command_new</a>() </div>
</div><!-- fragment --><p> so that other functions can use the same results.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">priv</td><td>The<div class="fragment"><div class="line"><span class="keyword">struct </span><a class="code" href="structmap__rect__priv.html">map_rect_priv</a> </div>
</div><!-- fragment --> of the map rect on the navigation map from which an item is to be retrieved.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The item, or NULL if there are no more items in the map rectangle </dd></dl>

<p>References <a class="el" href="structmap__rect__priv.html#a012f0a096dc65e6ac93580b59449eca2">map_rect_priv::cmd</a>, <a class="el" href="structmap__rect__priv.html#a39778f29b98097aef48ab2379115347c">map_rect_priv::cmd_itm</a>, <a class="el" href="structmap__rect__priv.html#a46ddc7d22146396bd654bbda73b4e9ef">map_rect_priv::cmd_itm_next</a>, <a class="el" href="structmap__rect__priv.html#a5e284a34c8822a5006efc2c9807ab2cf">map_rect_priv::cmd_next</a>, <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="structnavigation__itm.html#a3572a110c9d5ec7d611e936fe60bad41">navigation_itm::dest_count</a>, <a class="el" href="structitem.html#a8be73452bc1e39e9054361ab579c9dc1">item::id_lo</a>, <a class="el" href="structmap__rect__priv.html#a3f9105f480f01d3b793acb2ded02ed59">map_rect_priv::item</a>, <a class="el" href="structnavigation__command.html#a6dc44a45ee31916e8c5a53651efe14ff">navigation_command::itm</a>, <a class="el" href="structmap__rect__priv.html#a79a19108e10e0d49ab5b880a0a0bc055">map_rect_priv::itm</a>, <a class="el" href="structmap__rect__priv.html#a6340dd9e06605fd8726d46c80cef7269">map_rect_priv::itm_next</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>, <a class="el" href="structnavigation__command.html#a5c8fc23bc766087057c78cd6e1519b6d">navigation_command::maneuver</a>, <a class="el" href="structnavigation__maneuver.html#a64e4281504d48eccdbb4938e71cdd1d5">navigation_maneuver::merge_or_exit</a>, <a class="el" href="navigation_8c.html#a59497518b56060abdd403f4169a7a41f">mex_exit</a>, <a class="el" href="navigation_8c.html#a5098a1f8794cddb3192b9200caf96738">mex_exit_left</a>, <a class="el" href="navigation_8c.html#aafec98459688e4c23a1ad0418f617724">mex_exit_right</a>, <a class="el" href="navigation_8c.html#a3d5317417b3243f023435edb85fbae56">mex_merge</a>, <a class="el" href="navigation_8c.html#aa4b62b8fa31789d6fbe3ca5452bf19b2">mex_merge_left</a>, <a class="el" href="navigation_8c.html#a77db1821c53c028020b2ebf601c9df34">mex_merge_right</a>, <a class="el" href="navigation_8c.html#ae273bcdc7c3b6d76e7d0c72c362b0b93">navigation_map_item_attr_rewind()</a>, <a class="el" href="navigation_8c.html#a24ad9cf499ab3cff79f56fd40f5008e0">navigation_map_item_coord_rewind()</a>, <a class="el" href="structnavigation__command.html#a670053bf31747eba971701838721bda1">navigation_command::next</a>, <a class="el" href="structnavigation__itm.html#a63c1e3170c817251f75df2dfd1a377b8">navigation_itm::next</a>, <a class="el" href="structnavigation__itm.html#a1d02dca11fc4441dfd81502562f64fab">navigation_itm::prev</a>, <a class="el" href="structmap__rect__priv.html#a0d4647628ed673b28de62885a622a9ca">map_rect_priv::show_all</a>, <a class="el" href="structitem.html#a3abafd36669ef817be82676acd8e5989">item::type</a>, and <a class="el" href="structnavigation__maneuver.html#ae8a9a7f75cb7fd3ca7e1bcda5eb2584a">navigation_maneuver::type</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#aa4a97d31176ed5dc5147921533dc6039">navigation_map_get_item_byid()</a>.</p>

</div>
</div>
<a class="anchor" id="aa4a97d31176ed5dc5147921533dc6039"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static struct <a class="el" href="structitem.html">item</a>* navigation_map_get_item_byid </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structmap__rect__priv.html">map_rect_priv</a> *&#160;</td>
          <td class="paramname"><em>priv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>id_hi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>id_lo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the item with the specified ID from the navigation map. </p>
<p>This function returns the item with the ID specified in the arguments from a map rectangle on the navigation map.</p>
<p>Internally the function calls</p>
<div class="fragment"><div class="line"><a class="code" href="navigation_8c.html#aed5f113cda3969901d34685ef5052769">navigation_map_get_item</a>() </div>
</div><!-- fragment --><p> , thus the same logic applies for the data of the item that is returned. See</p>
<div class="fragment"><div class="line"><a class="code" href="navigation_8c.html#aed5f113cda3969901d34685ef5052769">navigation_map_get_item</a>() </div>
</div><!-- fragment --><p> for details.</p>
<p>The item pointer of the map rectangle will be moved so that a subsequent call to</p>
<div class="fragment"><div class="line"><a class="code" href="navigation_8c.html#aed5f113cda3969901d34685ef5052769">navigation_map_get_item</a>() </div>
</div><!-- fragment --><p> will return the next item following the one returned by this function.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">priv</td><td>The<div class="fragment"><div class="line"><span class="keyword">struct </span><a class="code" href="structmap__rect__priv.html">map_rect_priv</a> </div>
</div><!-- fragment --> of the map rect on the navigation map from which an item is to be retrieved. </td></tr>
    <tr><td class="paramname">id_hi</td><td>The high part of the ID </td></tr>
    <tr><td class="paramname">id_lo</td><td>The low part of the ID</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The item, or NULL if an item with the ID specified was not found in the map rectangle </dd></dl>

<p>References <a class="el" href="structitem.html#a193c3e2ec0076325a4f3139f9d33e06e">item::id_hi</a>, <a class="el" href="structitem.html#a8be73452bc1e39e9054361ab579c9dc1">item::id_lo</a>, <a class="el" href="navigation_8c.html#aed5f113cda3969901d34685ef5052769">navigation_map_get_item()</a>, and <a class="el" href="navigation_8c.html#ad637494199955de47296b701ca05a9c5">navigation_map_rect_init()</a>.</p>

</div>
</div>
<a class="anchor" id="a83e3736ec11941100decd7fa3b885d5d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> navigation_map_item_attr_get </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>priv_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="attr_8h.html#a9a9ab3c12bda86add06f89976f36f98c">attr_type</a>&#160;</td>
          <td class="paramname"><em>attr_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structattr.html">attr</a> *&#160;</td>
          <td class="paramname"><em>attr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>References <a class="el" href="navit__nls_8h.html#ab92bb4161a6308b302d283816975c3a6">_</a>, <a class="el" href="structnavigation__way.html#aef1bc9d5a5bbdc5477727c9d9a5ea0bb">navigation_way::angle2</a>, <a class="el" href="navigation_8c.html#a2da32deba042ba06f9a0c46081b0e605">angle_delta()</a>, <a class="el" href="structnavigation__itm.html#a7a8abd1d519e99e597970c33c5f4ae4a">navigation_itm::angle_end</a>, <a class="el" href="structmap__rect__priv.html#a31056cc422817f39cd9ce348069b10d4">map_rect_priv::attr_next</a>, <a class="el" href="structmap__rect__priv.html#a012f0a096dc65e6ac93580b59449eca2">map_rect_priv::cmd</a>, <a class="el" href="structmap__rect__priv.html#a39778f29b98097aef48ab2379115347c">map_rect_priv::cmd_itm</a>, <a class="el" href="structmap__rect__priv.html#a70d8e72381344581c7bc041c94ac637e">map_rect_priv::debug_idx</a>, <a class="el" href="structnavigation__maneuver.html#ac44457e810ec90416920f1194b60c63c">navigation_maneuver::delta</a>, <a class="el" href="structnavigation__command.html#aef47412ccffaf8d792c2b2bb182222ea">navigation_command::delta</a>, <a class="el" href="structnavigation__itm.html#a53f93eab53b75bde5afbe87d7d5713f0">navigation_itm::dest_length</a>, <a class="el" href="structnavigation__itm.html#ae7605ce0df237f7b87a692f87cd303bb">navigation_itm::dest_time</a>, <a class="el" href="structnavigation__way.html#a527b8ae184c85179bb878b1446eeaa2c">navigation_way::destination</a>, <a class="el" href="structstreet__destination.html#a2ca9fc57d48e7fcb948950a39c83de5b">street_destination::destination</a>, <a class="el" href="structnavigation__way.html#a3550e4e73c612f2f70b435e13f0081c1">navigation_way::dir</a>, <a class="el" href="structnavigation__way.html#a72616efd6f2f4959f365e806fd727c12">navigation_way::flags</a>, <a class="el" href="structitem.html#a193c3e2ec0076325a4f3139f9d33e06e">item::id_hi</a>, <a class="el" href="structitem.html#a8be73452bc1e39e9054361ab579c9dc1">item::id_lo</a>, <a class="el" href="structnavigation__maneuver.html#af9aab10475c48ec899ecf3f53536ad62">navigation_maneuver::is_complex_t_junction</a>, <a class="el" href="structnavigation__maneuver.html#a71d6672cc57e0760c8fc5a359f214f2a">navigation_maneuver::is_same_street</a>, <a class="el" href="structnavigation__maneuver.html#a50641eef773577717d1ce188fa621318">navigation_maneuver::is_unambiguous</a>, <a class="el" href="structnavigation__way.html#af579448cdf2ab9a80fec3c3b2c817062">navigation_way::item</a>, <a class="el" href="item_8c.html#adb033f52350446fc9cbb68f977b5047a">item_to_name()</a>, <a class="el" href="structnavigation__command.html#a6dc44a45ee31916e8c5a53651efe14ff">navigation_command::itm</a>, <a class="el" href="structmap__rect__priv.html#a79a19108e10e0d49ab5b880a0a0bc055">map_rect_priv::itm</a>, <a class="el" href="structnavigation__maneuver.html#a0ffc0adbbba79b6a50c7350e4fd01d20">navigation_maneuver::left</a>, <a class="el" href="structnavigation__command.html#a8442ef2b10014938111db201071ee91b">navigation_command::length</a>, <a class="el" href="structnavigation__command.html#a5c8fc23bc766087057c78cd6e1519b6d">navigation_command::maneuver</a>, <a class="el" href="navigation_8c.html#a8954e955fabd6d2b16ff28a6f852504f">maneuver_required2()</a>, <a class="el" href="structnavigation__maneuver.html#a291f9795b96278673b6ad648f56a5145">navigation_maneuver::max_cat</a>, <a class="el" href="structnavigation__maneuver.html#a64e4281504d48eccdbb4938e71cdd1d5">navigation_maneuver::merge_or_exit</a>, <a class="el" href="navigation_8c.html#acd435c7d1a7ddc7123c0420fb41070eb">mex_interchange</a>, <a class="el" href="structnavigation__way.html#a576f7f01ddc6d382fb88cdfb6363d8d2">navigation_way::name</a>, <a class="el" href="structnavigation__way.html#ab9e054dc30fb77561df8b65d880d5d0e">navigation_way::name_systematic</a>, <a class="el" href="structmap__rect__priv.html#a1426d45146b85ea09d637b05a90b8d39">map_rect_priv::nav</a>, <a class="el" href="navigation_8c.html#a47fbdb534e5f2d07c0a61b0af3eade42">navigation_cmd_get_exit_announce()</a>, <a class="el" href="navigation_8c.html#a6da12f139809d641225e5d07c4600f5a">navigation_get_announce_level()</a>, <a class="el" href="structnavigation__maneuver.html#a96a3d0c05369e50b7b5eb2d14384a3ef">navigation_maneuver::new_cat</a>, <a class="el" href="structnavigation__way.html#a307c3203420fdec0ece3d3a4cf0e5750">navigation_way::next</a>, <a class="el" href="structattr.html#aebf8c468883c8a41033b97c2ae91003b">attr::num</a>, <a class="el" href="structnavigation__maneuver.html#abc82c1c1664a2cdced7d960f4a8034cd">navigation_maneuver::num_new_motorways</a>, <a class="el" href="structnavigation__maneuver.html#ae74ad5a479883e005065f28ee3ac7177">navigation_maneuver::num_options</a>, <a class="el" href="structnavigation__maneuver.html#a43459dcae17f6f2333deb9c407c663b1">navigation_maneuver::num_other_ways</a>, <a class="el" href="structnavigation__maneuver.html#a173856d3d5c64a52aa96b92b628587de">navigation_maneuver::num_similar_ways</a>, <a class="el" href="structnavigation__maneuver.html#afffae721be7ae77176dc70b26d1f75d7">navigation_maneuver::old_cat</a>, <a class="el" href="structnavigation__itm.html#a1d02dca11fc4441dfd81502562f64fab">navigation_itm::prev</a>, <a class="el" href="structnavigation__maneuver.html#a1f59dd7c6fe6b096987360367827c608">navigation_maneuver::right</a>, <a class="el" href="navigation_8c.html#a1d67bb1f2dd63064db3e265caa881194">round_distance()</a>, <a class="el" href="navigation_8c.html#adba1f0f416a77b713b5be4f17fd6e3ea">select_announced_destinations()</a>, <a class="el" href="navigation_8c.html#a4f9769b748989732e4782671c5282aa2">show_next_maneuvers()</a>, <a class="el" href="structmap__rect__priv.html#aa970fac2b163261bc0fe8ead8c6c20e2">map_rect_priv::str</a>, <a class="el" href="structattr.html#a2a2a2da11501e5c4b5464938c91b87e9">attr::str</a>, <a class="el" href="structitem.html#a3abafd36669ef817be82676acd8e5989">item::type</a>, <a class="el" href="structattr.html#acbbeecb9ce16c2d7973d0bd2ff544457">attr::type</a>, <a class="el" href="structnavigation__maneuver.html#ae8a9a7f75cb7fd3ca7e1bcda5eb2584a">navigation_maneuver::type</a>, <a class="el" href="structattr.html#a682d33096ece5ad806426918c15c4b10">attr::u</a>, <a class="el" href="structnavigation__itm.html#a1726a33d53560014a13d98e2216a49a4">navigation_itm::way</a>, and <a class="el" href="structmap__rect__priv.html#a4c405eaeaee3d6750dd976ce36a94ef2">map_rect_priv::ways</a>.</p>

</div>
</div>
<a class="anchor" id="ae273bcdc7c3b6d76e7d0c72c362b0b93"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void navigation_map_item_attr_rewind </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>priv_data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>References <a class="el" href="structmap__rect__priv.html#a31056cc422817f39cd9ce348069b10d4">map_rect_priv::attr_next</a>, and <a class="el" href="structmap__rect__priv.html#a70d8e72381344581c7bc041c94ac637e">map_rect_priv::debug_idx</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#aed5f113cda3969901d34685ef5052769">navigation_map_get_item()</a>.</p>

</div>
</div>
<a class="anchor" id="ae051fedc1b8514b846530dcc9f666653"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> navigation_map_item_coord_get </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>priv_data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structcoord.html">coord</a> *&#160;</td>
          <td class="paramname"><em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>References <a class="el" href="structmap__rect__priv.html#a6031590064b34d6d6708fadf1f803ef9">map_rect_priv::ccount</a>, and <a class="el" href="structmap__rect__priv.html#a79a19108e10e0d49ab5b880a0a0bc055">map_rect_priv::itm</a>.</p>

</div>
</div>
<a class="anchor" id="a24ad9cf499ab3cff79f56fd40f5008e0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void navigation_map_item_coord_rewind </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>priv_data</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>References <a class="el" href="structmap__rect__priv.html#a6031590064b34d6d6708fadf1f803ef9">map_rect_priv::ccount</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#aed5f113cda3969901d34685ef5052769">navigation_map_get_item()</a>.</p>

</div>
</div>
<a class="anchor" id="a2a64ab71c643549133e6e1b308d7fcb0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static struct <a class="el" href="structmap__priv.html">map_priv</a>* navigation_map_new </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structmap__methods.html">map_methods</a> *&#160;</td>
          <td class="paramname"><em>meth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structattr.html">attr</a> **&#160;</td>
          <td class="paramname"><em>attrs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structcallback__list.html">callback_list</a> *&#160;</td>
          <td class="paramname"><em>cbl</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>References <a class="el" href="attr_8c.html#ac035ca982c873e6e15f3edebcb6b62fd">attr_search()</a>, <a class="el" href="structattr.html#a29f2bd8e2bb08429d7f319414c600bfc">attr::navigation</a>, <a class="el" href="structmap__priv.html#a9a96eb18bb17938ae16b88800473ff4e">map_priv::navigation</a>, <a class="el" href="navigation_8c.html#ababd897c8e965af2d2bbaa8bdc33331a">navigation_map_meth</a>, and <a class="el" href="structattr.html#a682d33096ece5ad806426918c15c4b10">attr::u</a>.</p>

<p>Referenced by <a class="el" href="navigation_8h.html#a0365f749e045fe22436cb4418a7a96e4">navigation_init()</a>.</p>

</div>
</div>
<a class="anchor" id="af19a01456ab172b7134224735257dfd8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void navigation_map_rect_destroy </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structmap__rect__priv.html">map_rect_priv</a> *&#160;</td>
          <td class="paramname"><em>priv</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>References <a class="el" href="structmap__rect__priv.html#aa970fac2b163261bc0fe8ead8c6c20e2">map_rect_priv::str</a>.</p>

</div>
</div>
<a class="anchor" id="ad637494199955de47296b701ca05a9c5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void navigation_map_rect_init </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structmap__rect__priv.html">map_rect_priv</a> *&#160;</td>
          <td class="paramname"><em>priv</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>References <a class="el" href="structnavigation.html#ac0b9fcda5bf5b6b505fde45cdd14e046">navigation::cmd_first</a>, <a class="el" href="structmap__rect__priv.html#a46ddc7d22146396bd654bbda73b4e9ef">map_rect_priv::cmd_itm_next</a>, <a class="el" href="structmap__rect__priv.html#a5e284a34c8822a5006efc2c9807ab2cf">map_rect_priv::cmd_next</a>, <a class="el" href="structnavigation.html#af2abf1736e4c02f3b9eb0c192bc97248">navigation::first</a>, <a class="el" href="structmap__rect__priv.html#a6340dd9e06605fd8726d46c80cef7269">map_rect_priv::itm_next</a>, and <a class="el" href="structmap__rect__priv.html#a1426d45146b85ea09d637b05a90b8d39">map_rect_priv::nav</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#aa4a97d31176ed5dc5147921533dc6039">navigation_map_get_item_byid()</a>, and <a class="el" href="navigation_8c.html#a53f9d7a9f22ba5426ee0251443ff6c61">navigation_map_rect_new()</a>.</p>

</div>
</div>
<a class="anchor" id="a53f9d7a9f22ba5426ee0251443ff6c61"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static struct <a class="el" href="structmap__rect__priv.html">map_rect_priv</a>* navigation_map_rect_new </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structmap__priv.html">map_priv</a> *&#160;</td>
          <td class="paramname"><em>priv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structmap__selection.html">map_selection</a> *&#160;</td>
          <td class="paramname"><em>sel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>References <a class="el" href="structmap__rect__priv.html#a3f9105f480f01d3b793acb2ded02ed59">map_rect_priv::item</a>, <a class="el" href="structitem.html#ad957a0f1cfe3938aecb9dd2a694db3b0">item::meth</a>, <a class="el" href="structmap__rect__priv.html#a1426d45146b85ea09d637b05a90b8d39">map_rect_priv::nav</a>, <a class="el" href="structmap__priv.html#a9a96eb18bb17938ae16b88800473ff4e">map_priv::navigation</a>, <a class="el" href="navigation_8c.html#a4eedb7194ad7e87cf436b0c012d46aa4">navigation_map_item_methods</a>, <a class="el" href="navigation_8c.html#ad637494199955de47296b701ca05a9c5">navigation_map_rect_init()</a>, <a class="el" href="structitem.html#a2f4abb10408f4c6f272e7f19f6701c22">item::priv_data</a>, and <a class="el" href="structmap__rect__priv.html#a0d4647628ed673b28de62885a622a9ca">map_rect_priv::show_all</a>.</p>

</div>
</div>
<a class="anchor" id="a1bd603240f52e2622daf7c2e33901f03"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structnavigation.html">navigation</a>* navigation_new </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structattr.html">attr</a> *&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structattr.html">attr</a> **&#160;</td>
          <td class="paramname"><em>attrs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>References <a class="el" href="structnavigation.html#a91526af69c26d512570fcfd97f5fb24e">navigation::announce</a>, <a class="el" href="attr_8c.html#ac035ca982c873e6e15f3edebcb6b62fd">attr_search()</a>, <a class="el" href="structnavigation.html#afa0345b5205e539024c81033eaaeb315">navigation::callback</a>, <a class="el" href="callback_8c.html#affc2e9963cff9676464c343b7ce2e1e8">callback_list_new()</a>, <a class="el" href="structnavigation.html#a41dad16592fa0c25fa9f7cef5a5b1c76">navigation::callback_speech</a>, <a class="el" href="structnavigation.html#a748c380840715de6cfd65ab9992394b6">navigation::delay</a>, <a class="el" href="structnavigation.html#aa354a1ce655f0ad3f57dcc2134349b12">navigation::distance_turn</a>, <a class="el" href="structnavigation.html#aef2f4b36fe138e84d0118867ad5b25f7">navigation::flags</a>, <a class="el" href="structnavigation.html#af3eaaff4e92ef71858608a23ac36be5c">navigation::hash</a>, <a class="el" href="item_8c.html#a4190cfc99994730f61b3c180927f0e96">item_hash_new()</a>, <a class="el" href="structnavigation.html#a85d97d4c2cbc0856926f011912fdfd1a">navigation::level_last</a>, <a class="el" href="navigation_8c.html#a67657ae1ed8eaea55d26b24c019d66bd">navigation_func</a>, <a class="el" href="structattr.html#a576c54eef88d68f04e82350dba0cb88c">attr::navit</a>, <a class="el" href="structnavigation.html#a40bcbccb2bd94ecd84ecd56aa2f243ae">navigation::navit</a>, <a class="el" href="xmlconfig_8c.html#a320a24bc9f8d32d908713329edeb0516">navit_object_new()</a>, <a class="el" href="structattr.html#aebf8c468883c8a41033b97c2ae91003b">attr::num</a>, <a class="el" href="item_8h.html#aec7ed308d7bf84da6a2012b02207a822">route_item_first</a>, <a class="el" href="item_8h.html#a385bcf44c2e29e93b6ea337616e5931d">route_item_last</a>, <a class="el" href="structnavigation.html#a648ac9b17c700de7a9f0f7199764d3cc">navigation::route_mr</a>, <a class="el" href="structnavigation.html#a7d42d247a2439c8e7e47c91fe0012cc3">navigation::tell_street_name</a>, <a class="el" href="structnavigation.html#a61f6723e0c62ff2f05a0b7fd28d7a38c">navigation::turn_around_limit</a>, and <a class="el" href="structattr.html#a682d33096ece5ad806426918c15c4b10">attr::u</a>.</p>

</div>
</div>
<a class="anchor" id="a141e6722ebe071a7c2aa48ac2a16e888"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> navigation_register_callback </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="attr_8h.html#a9a9ab3c12bda86add06f89976f36f98c">attr_type</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structcallback.html">callback</a> *&#160;</td>
          <td class="paramname"><em>cb</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Registers a new callback function. </p>
<p>Callback functions are called whenever the attribute for which they are registered changes. It is possible to register callbacks for</p>
<div class="fragment"><div class="line">attr_any </div>
</div><!-- fragment --><p> , which will fire on any change.</p>
<p>The</p>
<div class="fragment"><div class="line"><a class="code" href="structnavigation.html">navigation</a> </div>
</div><!-- fragment --><p> object has three callback lists. They differ by the arguments which are passed to the callback function and are selected based on the attribute type: </p>
<ul>
<li>
Callbacks for the<div class="fragment"><div class="line">navigation_speech </div>
</div><!-- fragment --> attribute are added to the <div class="fragment"><div class="line">callback_speech </div>
</div><!-- fragment --> list. </li>
<li>
Callbacks for the<div class="fragment"><div class="line">navigation_long </div>
</div><!-- fragment --> attribute are added to the<div class="fragment"><div class="line"><a class="code" href="structcallback.html">callback</a> </div>
</div><!-- fragment --> list.  </li>
<li>
Callbacks for any other attribute, including<div class="fragment"><div class="line">attr_any </div>
</div><!-- fragment --> , are added to the list stored in the<div class="fragment"><div class="line"><a class="code" href="structcallback__list.html">callback_list</a> </div>
</div><!-- fragment --> attribute. This functionality is inherited from <div class="fragment"><div class="line"><a class="code" href="structnavit__object.html">navit_object</a> </div>
</div><!-- fragment --> . </li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">this_</td><td>The navigation object. </td></tr>
    <tr><td class="paramname">type</td><td>The attribute type </td></tr>
    <tr><td class="paramname">cb</td><td>The callback function</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true on success, false on failure </dd></dl>

<p>References <a class="el" href="structnavigation.html#afa0345b5205e539024c81033eaaeb315">navigation::callback</a>, <a class="el" href="structattr.html#ab23a65e41997a8b784ca269170bfb561">attr::callback_list</a>, <a class="el" href="callback_8c.html#a73fb26714769874fc25af119bbeeab1b">callback_list_add()</a>, <a class="el" href="structnavigation.html#a41dad16592fa0c25fa9f7cef5a5b1c76">navigation::callback_speech</a>, <a class="el" href="navigation_8c.html#af52411918a519cbfb8ee3dd4be14b178">navigation_get_attr()</a>, and <a class="el" href="structattr.html#a682d33096ece5ad806426918c15c4b10">attr::u</a>.</p>

<p>Referenced by <a class="el" href="group__navit.html#ga359fb8a89c570167d2f7eaef272502ce">navit_init()</a>, <a class="el" href="group__navit.html#gab2579b94d38d34257aab8259820a35be">navit_window_roadbook_new()</a>, and <a class="el" href="osd__core_8c.html#adc66e4993642c241acad607deb5037e0">osd_navigation_status_init()</a>.</p>

</div>
</div>
<a class="anchor" id="ae35ea203f309dddf0f4177a292994a73"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> navigation_set_announce </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="item_8h.html#a2679318a14061852e50df3c6e4e42f62">item_type</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> *&#160;</td>
          <td class="paramname"><em>level</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>References <a class="el" href="structnavigation.html#a91526af69c26d512570fcfd97f5fb24e">navigation::announce</a>, <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>, <a class="el" href="item_8h.html#aec7ed308d7bf84da6a2012b02207a822">route_item_first</a>, and <a class="el" href="item_8h.html#a385bcf44c2e29e93b6ea337616e5931d">route_item_last</a>.</p>

<p>Referenced by <a class="el" href="xmlconfig_8c.html#ad1577b894bf8a1821fcbb53a34cab8c1">xmlconfig_announce()</a>.</p>

</div>
</div>
<a class="anchor" id="af44538ba61ffd85df204d405749f6029"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> navigation_set_attr </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structattr.html">attr</a> *&#160;</td>
          <td class="paramname"><em>attr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>References <a class="el" href="structnavigation.html#aaa0fba8756cbd110fc3ab7e775a7235f">navigation::nav_status</a>, <a class="el" href="xmlconfig_8c.html#a055a1d4894f2baa57c0c26ef73c583ab">navit_object_set_attr()</a>, <a class="el" href="structattr.html#aebf8c468883c8a41033b97c2ae91003b">attr::num</a>, <a class="el" href="structnavigation.html#a8931dcf8fd72a4530abf71f0c6b7acd3">navigation::speech</a>, <a class="el" href="structattr.html#a90b30756fbcd44ead3328e996ba3506e">attr::speech</a>, <a class="el" href="structattr.html#acbbeecb9ce16c2d7973d0bd2ff544457">attr::type</a>, and <a class="el" href="structattr.html#a682d33096ece5ad806426918c15c4b10">attr::u</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#aeea262b0184f333410f997db5e7507c8">navigation_update()</a>, <a class="el" href="navigation_8c.html#a104e25a4dbd9108f23f238f91929a187">navigation_update_done()</a>, and <a class="el" href="group__navit.html#ga359fb8a89c570167d2f7eaef272502ce">navit_init()</a>.</p>

</div>
</div>
<a class="anchor" id="adedaab7a3c765b3fd3f44d76a2b18d30"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void navigation_set_route </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structroute.html">route</a> *&#160;</td>
          <td class="paramname"><em>route</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>References <a class="el" href="structattr.html#abb1262ecd4987c683edc8b1d1dff8f8a">attr::callback</a>, <a class="el" href="callback_8h.html#aefbe6726c48359199c9051cb5e4ca942">callback_cast</a>, <a class="el" href="callback_8h.html#ae7c649edc48dc3e82a7f513746dcb44e">callback_new_attr_1</a>, <a class="el" href="navigation_8c.html#aeea262b0184f333410f997db5e7507c8">navigation_update()</a>, <a class="el" href="structnavigation.html#a0873807f546a819a1b0f8eb93cc6fa93">navigation::route</a>, <a class="el" href="structattr.html#a2132d9f8722d472ea71342ea68b03754">attr::route</a>, <a class="el" href="route_8c.html#acf5630829e3459305171d52db6e24fe6">route_add_attr()</a>, <a class="el" href="structnavigation.html#a4b4b60f0b2ea2b75f775058a6acac563">navigation::route_cb</a>, <a class="el" href="route_8c.html#acd57c04075f3eae04f5c3fb4fc4d7689">route_get_attr()</a>, <a class="el" href="route_8c.html#a6d8a75a45bed6f61c1783c4e6447c414">route_remove_attr()</a>, <a class="el" href="structattr.html#acbbeecb9ce16c2d7973d0bd2ff544457">attr::type</a>, and <a class="el" href="structattr.html#a682d33096ece5ad806426918c15c4b10">attr::u</a>.</p>

<p>Referenced by <a class="el" href="group__navit.html#ga359fb8a89c570167d2f7eaef272502ce">navit_init()</a>.</p>

</div>
</div>
<a class="anchor" id="a6e08f8cc55f69e02080afa32a0e688bd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void navigation_set_turnaround </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>val</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>References <a class="el" href="attr_8h.html#a2a0444d77241b07ea67c86b153f11e55">ATTR_INT</a>, <a class="el" href="xmlconfig_8c.html#a25021d26272b28e961f35e107dfc26f8">navit_object_callbacks()</a>, and <a class="el" href="structnavigation.html#acb5c9893541faf86ba66f9d389f17e61">navigation::turn_around_count</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver()</a>.</p>

</div>
</div>
<a class="anchor" id="a22c0a776e9a1c462ce9bbf6d8ebb4d24"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void navigation_unregister_callback </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="attr_8h.html#a9a9ab3c12bda86add06f89976f36f98c">attr_type</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structcallback.html">callback</a> *&#160;</td>
          <td class="paramname"><em>cb</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Unregisters a callback function. </p>
<p>This function removes a previously registered callback function from the callback list to which it was added. See the documentation on <a class="el" href="navigation_8h.html#a141e6722ebe071a7c2aa48ac2a16e888">navigation_register_callback(struct navigation *, enum attr_type, struct callback *)</a> for details on callback lists.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">this_</td><td>The navigation object. </td></tr>
    <tr><td class="paramname">type</td><td>The attribute type </td></tr>
    <tr><td class="paramname">cb</td><td>The callback function </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="structnavigation.html#afa0345b5205e539024c81033eaaeb315">navigation::callback</a>, <a class="el" href="structattr.html#ab23a65e41997a8b784ca269170bfb561">attr::callback_list</a>, <a class="el" href="callback_8c.html#acddacea5602cf130d7dba44393d201ac">callback_list_remove()</a>, <a class="el" href="structnavigation.html#a41dad16592fa0c25fa9f7cef5a5b1c76">navigation::callback_speech</a>, <a class="el" href="navigation_8c.html#af52411918a519cbfb8ee3dd4be14b178">navigation_get_attr()</a>, and <a class="el" href="structattr.html#a682d33096ece5ad806426918c15c4b10">attr::u</a>.</p>

<p>Referenced by <a class="el" href="group__navit.html#gaf09b2410bc1e566724da28e5442bdd03">navit_window_roadbook_destroy()</a>.</p>

</div>
</div>
<a class="anchor" id="aeea262b0184f333410f997db5e7507c8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void navigation_update </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structroute.html">route</a> *&#160;</td>
          <td class="paramname"><em>route</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structattr.html">attr</a> *&#160;</td>
          <td class="paramname"><em>attr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Event handler for changes to the route. </p>
<p>This function is added to the callback list of the current route. It is called whenever the status of the route changes and will either discard the current list of maneuvers or build a new list.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">this_</td><td>The navigation object </td></tr>
    <tr><td class="paramname">route</td><td>The route </td></tr>
    <tr><td class="paramname">attr</td><td>The route status attribute </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="callback_8h.html#aefbe6726c48359199c9051cb5e4ca942">callback_cast</a>, <a class="el" href="callback_8h.html#a1a1cf44a4c7208d4c8e747c197ffcc47">callback_new_1</a>, <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="event_8c.html#ae85ae57bf22615a22a497090995be9a5">event_add_idle()</a>, <a class="el" href="structnavigation.html#a555cf05343bbf68e544af170133cd572">navigation::idle_cb</a>, <a class="el" href="structnavigation.html#a207e270d9eced476bf17389657ce531c">navigation::idle_ev</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>, <a class="el" href="map_8c.html#a52e6ae5ec3beaec49ce12ce603d7d72a">map_rect_new()</a>, <a class="el" href="structnavigation.html#aaa0fba8756cbd110fc3ab7e775a7235f">navigation::nav_status</a>, <a class="el" href="navigation_8c.html#a04b8b7a26b66c823ce96854c8d574c87">navigation_flush()</a>, <a class="el" href="navigation_8c.html#af44538ba61ffd85df204d405749f6029">navigation_set_attr()</a>, <a class="el" href="navigation_8c.html#a104e25a4dbd9108f23f238f91929a187">navigation_update_done()</a>, <a class="el" href="navigation_8c.html#a47dcc399d74c0fc3a4f3c47d6992e5e5">navigation_update_idle()</a>, <a class="el" href="structattr.html#aebf8c468883c8a41033b97c2ae91003b">attr::num</a>, <a class="el" href="structnavigation.html#a0873807f546a819a1b0f8eb93cc6fa93">navigation::route</a>, <a class="el" href="route_8c.html#acd57c04075f3eae04f5c3fb4fc4d7689">route_get_attr()</a>, <a class="el" href="route_8c.html#acbc1b6d420056c3cff9e60e3227143f2">route_get_flags()</a>, <a class="el" href="route_8c.html#aeb206a7bcf64a858f2ab385697d102b1">route_get_map()</a>, <a class="el" href="structnavigation.html#a648ac9b17c700de7a9f0f7199764d3cc">navigation::route_mr</a>, <a class="el" href="route_8h.html#a1e90604386a268d7a2fef169495ad81ca8920749226208e321b9d3927ffd3d00e">route_path_flag_async</a>, <a class="el" href="route_8h.html#a2da05cda4fd5fbd6a95516ca0f162a87a9c1c240788bb0486dd5306704b100145">route_status_building_graph</a>, <a class="el" href="route_8h.html#a2da05cda4fd5fbd6a95516ca0f162a87a467af9642a5e7b543f884615951548d5">route_status_building_path</a>, <a class="el" href="route_8h.html#a2da05cda4fd5fbd6a95516ca0f162a87aa28a6601704d4f9f2d61bebb1e45858a">route_status_destination_set</a>, <a class="el" href="route_8h.html#a2da05cda4fd5fbd6a95516ca0f162a87aeba93e2b7f9516e2403112fe1468e4ea">route_status_no_destination</a>, <a class="el" href="route_8h.html#a2da05cda4fd5fbd6a95516ca0f162a87a5fe6ac02ecfb847b72ae215a4045fff7">route_status_not_found</a>, <a class="el" href="route_8h.html#a2da05cda4fd5fbd6a95516ca0f162a87af980434883796bc5445bfe7548d542d6">route_status_path_done_incremental</a>, <a class="el" href="route_8h.html#a2da05cda4fd5fbd6a95516ca0f162a87ac10a7b932765724288ad30e0a575d854">route_status_path_done_new</a>, <a class="el" href="navigation_8c.html#a7ddcfa7ead6b183a42d71cacc767b7e0a1c5547b065af258e8ff6772c196d9e75">status_busy</a>, <a class="el" href="navigation_8h.html#a7ade999856f5b83d663486411f753860ab8cca9ec8e362d97afa4d07054e9de83">status_calculating</a>, <a class="el" href="structnavigation.html#adae7194fd97131754a35f7689bcc905c">navigation::status_int</a>, <a class="el" href="navigation_8h.html#a7ade999856f5b83d663486411f753860a3b217d744d8ea3f824bfcce4763d29a6">status_no_destination</a>, <a class="el" href="navigation_8h.html#a7ade999856f5b83d663486411f753860a234d3868cd10dcfa742c18df16e51506">status_no_route</a>, <a class="el" href="navigation_8h.html#a7ade999856f5b83d663486411f753860a4f909d5123ef2c2d18501349471d9019">status_position_wait</a>, <a class="el" href="navigation_8h.html#a7ade999856f5b83d663486411f753860a59c814c24dc2a3cad117199eb1c9bb43">status_recalculating</a>, <a class="el" href="structattr.html#acbbeecb9ce16c2d7973d0bd2ff544457">attr::type</a>, <a class="el" href="structattr.html#a682d33096ece5ad806426918c15c4b10">attr::u</a>, <a class="el" href="structnavigation.html#a282089b08fc06a31d450800dff2114e4">navigation::vehicleprofile</a>, and <a class="el" href="structattr.html#ab7f11572aa91de08c28f1d27a7189040">attr::vehicleprofile</a>.</p>

<p>Referenced by <a class="el" href="navigation_8h.html#adedaab7a3c765b3fd3f44d76a2b18d30">navigation_set_route()</a>.</p>

</div>
</div>
<a class="anchor" id="a104e25a4dbd9108f23f238f91929a187"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void navigation_update_done </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>cancel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Cleans up and initiates maneuver creation. </p>
<p>This function is called by <a class="el" href="navigation_8c.html#a47dcc399d74c0fc3a4f3c47d6992e5e5">navigation_update_idle(struct navigation *)</a> after it has retrieved all objects from the route map.</p>
<p>It will reset the navigation object's idle event/callback, deallocate some temporary objects and reset the</p>
<div class="fragment"><div class="line">busy </div>
</div><!-- fragment --><p> flag. Arguments correspond to those of <a class="el" href="navigation_8c.html#a47dcc399d74c0fc3a4f3c47d6992e5e5">navigation_update_idle(struct navigation *)</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">this_</td><td>Points to the navigation object. After the function returns, its<div class="fragment"><div class="line"><a class="code" href="structmap__rect.html">map_rect</a> </div>
</div><!-- fragment --> member will no longer be valid. </td></tr>
    <tr><td class="paramname">cancel</td><td>If true, only cleanup (deallocation of objects) will be done and no maneuvers will be generated. If false, maneuvers will be generated. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="navigation_8c.html#a0d773ac18e101daa5236a5bcc74fa750">calculate_dest_distance()</a>, <a class="el" href="callback_8c.html#a00702c701fa5313aace16c0299536dd3">callback_destroy()</a>, <a class="el" href="event_8c.html#a958d2087511a68e1f0a150e76a5713e6">event_remove_idle()</a>, <a class="el" href="protobuf-c_8c.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>, <a class="el" href="structnavigation.html#a555cf05343bbf68e544af170133cd572">navigation::idle_cb</a>, <a class="el" href="structnavigation.html#a207e270d9eced476bf17389657ce531c">navigation::idle_ev</a>, <a class="el" href="navigation_8c.html#afe3ea4cb03f14f02904acb694f8b8673">make_maneuvers()</a>, <a class="el" href="map_8c.html#afe7311d63f1e8a4a697634cf79329f7d">map_rect_destroy()</a>, <a class="el" href="navigation_8c.html#a30705285cb01cc6fee2afaf6fc13aacf">navigation_call_callbacks()</a>, <a class="el" href="navigation_8c.html#af6ffd500c5d98b4e2845f33f6a45ec25">navigation_destroy_itms_cmds()</a>, <a class="el" href="navigation_8c.html#a59d000245202df0dfc71c6011e8b853e">navigation_itm_new()</a>, <a class="el" href="navigation_8c.html#af44538ba61ffd85df204d405749f6029">navigation_set_attr()</a>, <a class="el" href="structattr.html#aebf8c468883c8a41033b97c2ae91003b">attr::num</a>, <a class="el" href="profile_8h.html#a7135a9f7aaa8602a6e2cc1d9ab3c1573">profile</a>, <a class="el" href="structnavigation.html#a0873807f546a819a1b0f8eb93cc6fa93">navigation::route</a>, <a class="el" href="structnavigation.html#a648ac9b17c700de7a9f0f7199764d3cc">navigation::route_mr</a>, <a class="el" href="navigation_8c.html#a7ddcfa7ead6b183a42d71cacc767b7e0a48a93ad9be20e365c1da3e45f6bbf34f">status_has_ritem</a>, <a class="el" href="navigation_8c.html#a7ddcfa7ead6b183a42d71cacc767b7e0a9f0752996c45729a2497efddda488af8">status_has_sitem</a>, <a class="el" href="structnavigation.html#adae7194fd97131754a35f7689bcc905c">navigation::status_int</a>, <a class="el" href="navigation_8c.html#a7ddcfa7ead6b183a42d71cacc767b7e0a21a538400deaf082146a11e2325eed3e">status_none</a>, <a class="el" href="navigation_8h.html#a7ade999856f5b83d663486411f753860aea78c4801c1cd8cc173ba7680e549901">status_routing</a>, <a class="el" href="structattr.html#acbbeecb9ce16c2d7973d0bd2ff544457">attr::type</a>, and <a class="el" href="structattr.html#a682d33096ece5ad806426918c15c4b10">attr::u</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#aeea262b0184f333410f997db5e7507c8">navigation_update()</a>, and <a class="el" href="navigation_8c.html#a47dcc399d74c0fc3a4f3c47d6992e5e5">navigation_update_idle()</a>.</p>

</div>
</div>
<a class="anchor" id="a47dcc399d74c0fc3a4f3c47d6992e5e5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void navigation_update_idle </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>this_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Idle callback function to retrieve items from the route map. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">this_</td><td>Points to the navigation object. The caller is responsible for initializing its <div class="fragment"><div class="line">route_mr </div>
</div><!-- fragment --> member. After processing completes, the<div class="fragment"><div class="line">route_mr </div>
</div><!-- fragment --> member will no longer be valid. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="structnavigation__way.html#a3550e4e73c612f2f70b435e13f0081c1">navigation_way::dir</a>, <a class="el" href="structnavigation.html#af3eaaff4e92ef71858608a23ac36be5c">navigation::hash</a>, <a class="el" href="structitem.html#a193c3e2ec0076325a4f3139f9d33e06e">item::id_hi</a>, <a class="el" href="structitem.html#a8be73452bc1e39e9054361ab579c9dc1">item::id_lo</a>, <a class="el" href="structattr.html#ae572da25b48307fd773201349ec7fe4a">attr::item</a>, <a class="el" href="item_8c.html#a1f97d6a6d85956aa73deb31d4a16397f">item_attr_get()</a>, <a class="el" href="item_8c.html#aa9dbb3a59a629751a46a2ed6f94640a6">item_hash_lookup()</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25a6e67a0649f81060a391cfe102acbd707">lvl_info</a>, <a class="el" href="map_8c.html#ae025c855207536977afd84d39b316e9c">map_rect_get_item()</a>, <a class="el" href="navigation_8c.html#af6ffd500c5d98b4e2845f33f6a45ec25">navigation_destroy_itms_cmds()</a>, <a class="el" href="navigation_8c.html#a59d000245202df0dfc71c6011e8b853e">navigation_itm_new()</a>, <a class="el" href="navigation_8c.html#aca170d3a00d9d1126ccd753892187250">navigation_itm_update()</a>, <a class="el" href="navigation_8c.html#a104e25a4dbd9108f23f238f91929a187">navigation_update_done()</a>, <a class="el" href="structattr.html#aebf8c468883c8a41033b97c2ae91003b">attr::num</a>, <a class="el" href="structnavigation.html#a0873807f546a819a1b0f8eb93cc6fa93">navigation::route</a>, <a class="el" href="route_8c.html#a1e07a0865bb864ab1ad0f505810e47e0">route_has_graph()</a>, <a class="el" href="structnavigation.html#a648ac9b17c700de7a9f0f7199764d3cc">navigation::route_mr</a>, <a class="el" href="navigation_8c.html#a7ddcfa7ead6b183a42d71cacc767b7e0a48a93ad9be20e365c1da3e45f6bbf34f">status_has_ritem</a>, <a class="el" href="navigation_8c.html#a7ddcfa7ead6b183a42d71cacc767b7e0a9f0752996c45729a2497efddda488af8">status_has_sitem</a>, <a class="el" href="structnavigation.html#adae7194fd97131754a35f7689bcc905c">navigation::status_int</a>, <a class="el" href="structnavigation.html#af93cd687786b33cfa9e1dd884a6008ce">navigation::turn_around</a>, <a class="el" href="structnavigation.html#a61f6723e0c62ff2f05a0b7fd28d7a38c">navigation::turn_around_limit</a>, <a class="el" href="structattr.html#a682d33096ece5ad806426918c15c4b10">attr::u</a>, and <a class="el" href="structnavigation__itm.html#a1726a33d53560014a13d98e2216a49a4">navigation_itm::way</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#aeea262b0184f333410f997db5e7507c8">navigation_update()</a>.</p>

</div>
</div>
<a class="anchor" id="a69082bd5973ce2c97af608af337446ed"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> navigation_way_get_max_delta </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation__way.html">navigation_way</a> *&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="projection_8h.html#a380c9c985eef434d23f9a7b95a52cbc1">projection</a>&#160;</td>
          <td class="paramname"><em>pro</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>angle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dist</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the maximum delta between a reference bearing and any segment of a given way, up to a given distance from its start. </p>
<p>The return value is the maximum delta (in terms of absolute value), but the sign is preserved. If the maximum delta is encountered more than once but with different signs,</p>
<div class="fragment"><div class="line">dir </div>
</div><!-- fragment --><p> controls which of the two values is returned: </p>
<ul>
<li>
+1: Return the first maximum encountered when following the direction of the route </li>
<li>
-1: Return the first maximum encountered when going against the direction of the route </li>
</ul>
<div class="fragment"><div class="line"><a class="code" href="navigation_8c.html#a98a37034ecd960b2954025973c1d8e1a">invalid_angle</a> </div>
</div><!-- fragment --><p> will be returned if one of the following errors occurs: </p>
<ul>
<li>
The item is not found on the map </li>
<li>
The item is not of the correct type </li>
<li>
The item has fewer than 2 points </li>
<li>
<div class="fragment"><div class="line">dist </div>
</div><!-- fragment --> is zero </li>
</ul>
<p>If</p>
<div class="fragment"><div class="line">dist </div>
</div><!-- fragment --><p> exceeds the length of the way, the entire way is examined.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pro</td><td>The projection used by the map </td></tr>
    <tr><td class="paramname">w</td><td>The way to examine </td></tr>
    <tr><td class="paramname">angle</td><td>The reference bearing </td></tr>
    <tr><td class="paramname">dist</td><td>The distance from the start of the way at which to determine bearing </td></tr>
    <tr><td class="paramname">dir</td><td>Controls how to handle when the same delta is encountered multiple times but with different signs, permissible values are either -1 or +1</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The delta,<div class="fragment"><div class="line">-180 &lt; delta &lt;= 180 </div>
</div><!-- fragment --> , or<div class="fragment"><div class="line"><a class="code" href="navigation_8c.html#a98a37034ecd960b2954025973c1d8e1a">invalid_angle</a> </div>
</div><!-- fragment --> if an error occurred. </dd></dl>

<p>References <a class="el" href="navigation_8c.html#a2da32deba042ba06f9a0c46081b0e605">angle_delta()</a>, <a class="el" href="popup_8c.html#aafe71b070668214be9b4b4849985dc6b">c</a>, <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="structnavigation__way.html#a3550e4e73c612f2f70b435e13f0081c1">navigation_way::dir</a>, <a class="el" href="structitem.html#a193c3e2ec0076325a4f3139f9d33e06e">item::id_hi</a>, <a class="el" href="structitem.html#a8be73452bc1e39e9054361ab579c9dc1">item::id_lo</a>, <a class="el" href="navigation_8c.html#a98a37034ecd960b2954025973c1d8e1a">invalid_angle</a>, <a class="el" href="structnavigation__way.html#af579448cdf2ab9a80fec3c3b2c817062">navigation_way::item</a>, <a class="el" href="item_8c.html#ae4ca690f46c2e5d491491d9f706f04e8">item_coord_get()</a>, <a class="el" href="item_8c.html#a85c6c9f9f373337b634bfec5b2a626cd">item_coord_rewind()</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25ae8f0c4875bfa25147150a74f41c86c53">lvl_warning</a>, <a class="el" href="structitem.html#a9d90a195a3654c3b1e872ad92ae74369">item::map</a>, <a class="el" href="map_8c.html#afe7311d63f1e8a4a697634cf79329f7d">map_rect_destroy()</a>, <a class="el" href="map_8c.html#a9e27d0888db14bf9b88727ead943eaf6">map_rect_get_item_byid()</a>, <a class="el" href="map_8c.html#a52e6ae5ec3beaec49ce12ce603d7d72a">map_rect_new()</a>, <a class="el" href="navigation_8c.html#a2bef9aefb0429f95849b82162c5f9e5f">road_angle()</a>, <a class="el" href="transform_8c.html#abf0560a954a531f44ab7e05715da80f3">transform_distance()</a>, and <a class="el" href="structitem.html#a3abafd36669ef817be82676acd8e5989">item::type</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a48b34454ac33e8860f9d78a1d5159696">navigation_analyze_roundabout()</a>.</p>

</div>
</div>
<a class="anchor" id="a5eb317dac08c622f02b8181610750064"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void navigation_way_init </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation__way.html">navigation_way</a> *&#160;</td>
          <td class="paramname"><em>w</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Initializes a <a class="el" href="structnavigation__way.html">navigation_way</a>. </p>
<p>This function analyzes the underlying map item and sets the entry bearing, names and flags for the way.</p>
<p>Note that entry bearing is expressed as bearing towards the opposite end of the item.</p>
<p>Note that this function is not suitable for ways on the route (created in</p>
<div class="fragment"><div class="line"><a class="code" href="navigation_8c.html#a59d000245202df0dfc71c6011e8b853e">navigation_itm_new</a> </div>
</div><!-- fragment --><p> ) as it may return incorrect coordinates for these ways.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">w</td><td>The way to initialize. The<div class="fragment"><div class="line"><a class="code" href="structitem.html">item</a> </div>
</div><!-- fragment --> ,<div class="fragment"><div class="line">id_hi </div>
</div><!-- fragment --> ,<div class="fragment"><div class="line">id_lo </div>
</div><!-- fragment --> and<div class="fragment"><div class="line">dir </div>
</div><!-- fragment --> members of this struct must be set prior to calling this function. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="structnavigation__way.html#aef1bc9d5a5bbdc5477727c9d9a5ea0bb">navigation_way::angle2</a>, <a class="el" href="popup_8c.html#aafe71b070668214be9b4b4849985dc6b">c</a>, <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="structnavigation__way.html#a3550e4e73c612f2f70b435e13f0081c1">navigation_way::dir</a>, <a class="el" href="structnavigation__way.html#a72616efd6f2f4959f365e806fd727c12">navigation_way::flags</a>, <a class="el" href="structitem.html#a193c3e2ec0076325a4f3139f9d33e06e">item::id_hi</a>, <a class="el" href="structitem.html#a8be73452bc1e39e9054361ab579c9dc1">item::id_lo</a>, <a class="el" href="navigation_8c.html#a98a37034ecd960b2954025973c1d8e1a">invalid_angle</a>, <a class="el" href="structnavigation__way.html#af579448cdf2ab9a80fec3c3b2c817062">navigation_way::item</a>, <a class="el" href="item_8c.html#a1f97d6a6d85956aa73deb31d4a16397f">item_attr_get()</a>, <a class="el" href="item_8c.html#ae4ca690f46c2e5d491491d9f706f04e8">item_coord_get()</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25ae8f0c4875bfa25147150a74f41c86c53">lvl_warning</a>, <a class="el" href="structitem.html#a9d90a195a3654c3b1e872ad92ae74369">item::map</a>, <a class="el" href="map_8c.html#af44c00a5c0938889e420cd8c5b87a92a">map_convert_string()</a>, <a class="el" href="map_8c.html#afe7311d63f1e8a4a697634cf79329f7d">map_rect_destroy()</a>, <a class="el" href="map_8c.html#a9e27d0888db14bf9b88727ead943eaf6">map_rect_get_item_byid()</a>, <a class="el" href="map_8c.html#a52e6ae5ec3beaec49ce12ce603d7d72a">map_rect_new()</a>, <a class="el" href="structnavigation__way.html#a576f7f01ddc6d382fb88cdfb6363d8d2">navigation_way::name</a>, <a class="el" href="structnavigation__way.html#ab9e054dc30fb77561df8b65d880d5d0e">navigation_way::name_systematic</a>, <a class="el" href="structattr.html#aebf8c468883c8a41033b97c2ae91003b">attr::num</a>, <a class="el" href="navigation_8c.html#a2bef9aefb0429f95849b82162c5f9e5f">road_angle()</a>, <a class="el" href="structattr.html#a2a2a2da11501e5c4b5464938c91b87e9">attr::str</a>, <a class="el" href="structitem.html#a3abafd36669ef817be82676acd8e5989">item::type</a>, and <a class="el" href="structattr.html#a682d33096ece5ad806426918c15c4b10">attr::u</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a98b8780b4749cf1d9404dcb889ee2a3b">navigation_itm_ways_update()</a>.</p>

</div>
</div>
<a class="anchor" id="a9c1029dba839c8205e940f2982182e71"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static char* replace_suffix </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>search</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>replace</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Referenced by <a class="el" href="navigation_8c.html#ac3294e4de916bc186e053363ca31af76">navigation_item_destination()</a>.</p>

</div>
</div>
<a class="anchor" id="a2bef9aefb0429f95849b82162c5f9e5f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> road_angle </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structcoord.html">coord</a> *&#160;</td>
          <td class="paramname"><em>c1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structcoord.html">coord</a> *&#160;</td>
          <td class="paramname"><em>c2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>dir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the bearing from one point to another. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">c1</td><td>The first coordinate </td></tr>
    <tr><td class="paramname">c2</td><td>The second coordinate </td></tr>
    <tr><td class="paramname">dir</td><td>The direction: if it is -1, the bearing from c2 to c1 is returned, else the bearing from c1 to c2</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The bearing in degrees,<div class="fragment"><div class="line">0 &lt;= <a class="code" href="structresult.html">result</a> &lt; 360 </div>
</div><!-- fragment --> . </dd></dl>

<p>References <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>, <a class="el" href="transform_8c.html#a957cf45974ab30e11fdba372af1468e6">transform_get_angle_delta()</a>, <a class="el" href="structcoord.html#ac3e93ff628aa19d2888c5f6fa26f430d">coord::x</a>, and <a class="el" href="structcoord.html#a2b099692d87f98e4844b615136ca37fb">coord::y</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a59d000245202df0dfc71c6011e8b853e">navigation_itm_new()</a>, <a class="el" href="navigation_8c.html#a69082bd5973ce2c97af608af337446ed">navigation_way_get_max_delta()</a>, and <a class="el" href="navigation_8c.html#a5eb317dac08c622f02b8181610750064">navigation_way_init()</a>.</p>

</div>
</div>
<a class="anchor" id="a1d67bb1f2dd63064db3e265caa881194"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> round_distance </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>dist</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Referenced by <a class="el" href="navigation_8c.html#a55fdd8d56acdf0069268354fca794ab3">get_distance_str()</a>, <a class="el" href="navigation_8c.html#a83e3736ec11941100decd7fa3b885d5d">navigation_map_item_attr_get()</a>, and <a class="el" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver()</a>.</p>

</div>
</div>
<a class="anchor" id="a72295784955cec782925ac7a7fade424"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> round_distance_reduced </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a>&#160;</td>
          <td class="paramname"><em>dist</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Restricts the distance value to a simple set of pronounceable numbers. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dist</td><td>The distance to be processed </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>distance Simplified distance value </dd></dl>

<p>References <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="navigation_8c.html#af71f58b4e4674bdd356b5c6add3df65f">distances</a>, <a class="el" href="navigation_8c.html#acff11afeca273ec6cc9d1f1f077fc99c">LAST_DISTANCE</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>, and <a class="el" href="navigation_8c.html#af8aa7587163d76c35ef590a20477b043">SIZE_OF_ARRAY_DISTANCES</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a55fdd8d56acdf0069268354fca794ab3">get_distance_str()</a>.</p>

</div>
</div>
<a class="anchor" id="adba1f0f416a77b713b5be4f17fd6e3ea"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static char* select_announced_destinations </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation__command.html">navigation_command</a> *&#160;</td>
          <td class="paramname"><em>current_command</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Selects the destination-names for the next announcement from the destination-names that are registered in the following command items. </p>
<p>The aim of this function is to find the destination-name entry that has the most hits in the following command items so that the destination name has a relevance over several announcements. If there is no 'winner' the entry is selected that is at top of the destination. </p>

<p>References <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="structnavigation__way.html#a527b8ae184c85179bb878b1446eeaa2c">navigation_way::destination</a>, <a class="el" href="structstreet__destination.html#a2ca9fc57d48e7fcb948950a39c83de5b">street_destination::destination</a>, <a class="el" href="navigation_8c.html#a49c8728dd87b358f67b69ba1cee6ab50">get_bestranked()</a>, <a class="el" href="structnavigation__command.html#a6dc44a45ee31916e8c5a53651efe14ff">navigation_command::itm</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>, <a class="el" href="structnavigation__command.html#a670053bf31747eba971701838721bda1">navigation_command::next</a>, <a class="el" href="structstreet__destination.html#aee07bb798a6824a32093b80135c90906">street_destination::next</a>, <a class="el" href="navigation_8c.html#a61af9070ec9db0fc0f1f4b1b6029c8af">set_highrank()</a>, and <a class="el" href="structnavigation__itm.html#a1726a33d53560014a13d98e2216a49a4">navigation_itm::way</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a83e3736ec11941100decd7fa3b885d5d">navigation_map_item_attr_get()</a>, and <a class="el" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver()</a>.</p>

</div>
</div>
<a class="anchor" id="a61af9070ec9db0fc0f1f4b1b6029c8af"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> set_highrank </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structstreet__destination.html">street_destination</a> *&#160;</td>
          <td class="paramname"><em>street_destination</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__command.html">navigation_command</a> *&#160;</td>
          <td class="paramname"><em>command</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Assigns a high rank to a matching destination in the next command having destination info, and reset existing ranks to zero. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">street</td><td>destination to be given a high rank </td></tr>
    <tr><td class="paramname">command</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>1 if successful, zero otherwise </dd></dl>

<p>References <a class="el" href="structnavigation__way.html#a527b8ae184c85179bb878b1446eeaa2c">navigation_way::destination</a>, <a class="el" href="structstreet__destination.html#a2ca9fc57d48e7fcb948950a39c83de5b">street_destination::destination</a>, <a class="el" href="structnavigation__command.html#a6dc44a45ee31916e8c5a53651efe14ff">navigation_command::itm</a>, <a class="el" href="structnavigation__command.html#a670053bf31747eba971701838721bda1">navigation_command::next</a>, <a class="el" href="structstreet__destination.html#aee07bb798a6824a32093b80135c90906">street_destination::next</a>, <a class="el" href="structstreet__destination.html#a5c9315380ee206d0167f4a3b69cf2cdb">street_destination::rank</a>, and <a class="el" href="structnavigation__itm.html#a1726a33d53560014a13d98e2216a49a4">navigation_itm::way</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#adba1f0f416a77b713b5be4f17fd6e3ea">select_announced_destinations()</a>.</p>

</div>
</div>
<a class="anchor" id="a0428c6acbea3a082a8d24f397bb1040f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static char* show_maneuver </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>nav</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *&#160;</td>
          <td class="paramname"><em>itm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__command.html">navigation_command</a> *&#160;</td>
          <td class="paramname"><em>cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="attr_8h.html#a9a9ab3c12bda86add06f89976f36f98c">attr_type</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312">announcement_level</a>&#160;</td>
          <td class="paramname"><em>level</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates turn by turn guidance sentences for the speech and for the route description. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nav</td><td>The navigation object </td></tr>
    <tr><td class="paramname">itm</td><td>The current navigation item, which is used to determine the distance to the next maneuver. In speech mode this should be set to the navigation item starting at the vehicle's current position; in route description mode this should be set to the<div class="fragment"><div class="line">navigation_item </div>
</div><!-- fragment --> associated with the previous<div class="fragment"><div class="line"><a class="code" href="structnavigation__command.html">navigation_command</a> </div>
</div><!-- fragment --> </td></tr>
    <tr><td class="paramname">cmd</td><td>The<div class="fragment"><div class="line"><a class="code" href="structnavigation__command.html">navigation_command</a> </div>
</div><!-- fragment --> for which to generate an announcement </td></tr>
    <tr><td class="paramname">type</td><td>The type of announcements to generate. Set to<div class="fragment"><div class="line">attr_navigation_long_exact </div>
</div><!-- fragment --> to avoid rounding distances, or to<div class="fragment"><div class="line">attr_navigation_speech </div>
</div><!-- fragment --> to avoid announcing street names more than once </td></tr>
    <tr><td class="paramname">connect</td><td>Whether this is the second of two connected announcements, as in "turn left
in..., then turn right" </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="navit__nls_8h.html#ab92bb4161a6308b302d283816975c3a6">_</a>, <a class="el" href="attr_8h.html#a0c50dbd0c688b2eb990c0e1b8858f828">AF_ROUNDABOUT</a>, <a class="el" href="navigation_8c.html#a4c9e41be94dee5a2b65f9eb8c98ebf48">count_possible_turns()</a>, <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="structnavigation__itm.html#a53f93eab53b75bde5afbe87d7d5713f0">navigation_itm::dest_length</a>, <a class="el" href="structnavigation__way.html#a527b8ae184c85179bb878b1446eeaa2c">navigation_way::destination</a>, <a class="el" href="structnavigation.html#af2abf1736e4c02f3b9eb0c192bc97248">navigation::first</a>, <a class="el" href="structnavigation__way.html#a72616efd6f2f4959f365e806fd727c12">navigation_way::flags</a>, <a class="el" href="navigation_8c.html#a20705385240ed3622a3beb12a6f6a0f4">get_count_str()</a>, <a class="el" href="navigation_8c.html#a55fdd8d56acdf0069268354fca794ab3">get_distance_str()</a>, <a class="el" href="navigation_8c.html#afe84fd3e6a885b44f7c33b41ad5afdf7">get_exit_count_str()</a>, <a class="el" href="navigation_8c.html#a20504a61661dd334dbed8bae7e941849">is_way_allowed()</a>, <a class="el" href="structnavigation__way.html#af579448cdf2ab9a80fec3c3b2c817062">navigation_way::item</a>, <a class="el" href="structnavigation__command.html#a6dc44a45ee31916e8c5a53651efe14ff">navigation_command::itm</a>, <a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312af6975bae09a49dab8e2523ef758a600f">level_connect</a>, <a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312a4e212161ec3aa7427625c87e5e16d27d">level_follow</a>, <a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312ac02bed9498413979e6e91690a8ca3ca1">level_meters</a>, <a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312a598f6edf634f88290843d1c33ffb839a">level_now</a>, <a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312ac63b44cc1f4f2a4275538d591625adb1">level_soon</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25a83f9ab2a71d2244b99268510714e94fb">lvl_error</a>, <a class="el" href="structnavigation__command.html#a5c8fc23bc766087057c78cd6e1519b6d">navigation_command::maneuver</a>, <a class="el" href="structnavigation__maneuver.html#a64e4281504d48eccdbb4938e71cdd1d5">navigation_maneuver::merge_or_exit</a>, <a class="el" href="navigation_8c.html#a5098a1f8794cddb3192b9200caf96738">mex_exit_left</a>, <a class="el" href="navigation_8c.html#aafec98459688e4c23a1ad0418f617724">mex_exit_right</a>, <a class="el" href="navigation_8c.html#acd435c7d1a7ddc7123c0420fb41070eb">mex_interchange</a>, <a class="el" href="navigation_8c.html#aa4b62b8fa31789d6fbe3ca5452bf19b2">mex_merge_left</a>, <a class="el" href="navigation_8c.html#a77db1821c53c028020b2ebf601c9df34">mex_merge_right</a>, <a class="el" href="navigation_8c.html#a7cf689b7916c1fd66fae3457086a84d9">mex_none</a>, <a class="el" href="navigation_8c.html#a47fbdb534e5f2d07c0a61b0af3eade42">navigation_cmd_get_exit_announce()</a>, <a class="el" href="navigation_8c.html#ac3294e4de916bc186e053363ca31af76">navigation_item_destination()</a>, <a class="el" href="navigation_8c.html#a6e08f8cc55f69e02080afa32a0e688bd">navigation_set_turnaround()</a>, <a class="el" href="structnavigation__way.html#a307c3203420fdec0ece3d3a4cf0e5750">navigation_way::next</a>, <a class="el" href="structnavigation__itm.html#a63c1e3170c817251f75df2dfd1a377b8">navigation_itm::next</a>, <a class="el" href="structnavigation__command.html#a26b7ae432b31b380f75510d89413cc11">navigation_command::prev</a>, <a class="el" href="structnavigation__itm.html#a1d02dca11fc4441dfd81502562f64fab">navigation_itm::prev</a>, <a class="el" href="navigation_8c.html#a1d67bb1f2dd63064db3e265caa881194">round_distance()</a>, <a class="el" href="navigation_8c.html#adba1f0f416a77b713b5be4f17fd6e3ea">select_announced_destinations()</a>, <a class="el" href="structnavigation__itm.html#a7763697b33712c37cd9f60e38ef9f1c8">navigation_itm::streetname_told</a>, <a class="el" href="structnavigation.html#af93cd687786b33cfa9e1dd884a6008ce">navigation::turn_around</a>, <a class="el" href="structnavigation.html#acb5c9893541faf86ba66f9d389f17e61">navigation::turn_around_count</a>, <a class="el" href="structnavigation.html#a61f6723e0c62ff2f05a0b7fd28d7a38c">navigation::turn_around_limit</a>, <a class="el" href="structitem.html#a3abafd36669ef817be82676acd8e5989">item::type</a>, <a class="el" href="structnavigation__maneuver.html#ae8a9a7f75cb7fd3ca7e1bcda5eb2584a">navigation_maneuver::type</a>, and <a class="el" href="structnavigation__itm.html#a1726a33d53560014a13d98e2216a49a4">navigation_itm::way</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a4f9769b748989732e4782671c5282aa2">show_next_maneuvers()</a>.</p>

</div>
</div>
<a class="anchor" id="a4f9769b748989732e4782671c5282aa2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static char* show_next_maneuvers </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation.html">navigation</a> *&#160;</td>
          <td class="paramname"><em>nav</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__itm.html">navigation_itm</a> *&#160;</td>
          <td class="paramname"><em>itm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct <a class="el" href="structnavigation__command.html">navigation_command</a> *&#160;</td>
          <td class="paramname"><em>cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">enum <a class="el" href="attr_8h.html#a9a9ab3c12bda86add06f89976f36f98c">attr_type</a>&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates announcements for maneuvers, plus maneuvers immediately following the next maneuver. </p>
<p>This function creates an announcement for the current maneuver and for maneuvers immediately following that maneuver, if these are very close and we're in speech navigation. The actual announcements are created by calling</p>
<div class="fragment"><div class="line"><a class="code" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver</a>() </div>
</div><!-- fragment --><p> .</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nav</td><td>The navigation object </td></tr>
    <tr><td class="paramname">itm</td><td>The current navigation item, which is used to determine the distance to the next maneuver. In speech mode this should be set to the navigation item starting at the vehicle's current position; in route description mode this should be set to the<div class="fragment"><div class="line">navigation_item </div>
</div><!-- fragment --> associated with the previous<div class="fragment"><div class="line"><a class="code" href="structnavigation__command.html">navigation_command</a> </div>
</div><!-- fragment --> </td></tr>
    <tr><td class="paramname">cmd</td><td>The<div class="fragment"><div class="line"><a class="code" href="structnavigation__command.html">navigation_command</a> </div>
</div><!-- fragment --> for which to generate an announcement </td></tr>
    <tr><td class="paramname">type</td><td>The type of announcements to generate. If set to<div class="fragment"><div class="line">attr_navigation_speech </div>
</div><!-- fragment --> , maneuvers will be grouped ("turn left, then turn right") if we are close to the first maneuver and the second maneuver is within a short distance from the first. This parameter is passed to <div class="fragment"><div class="line"><a class="code" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver</a>() </div>
</div><!-- fragment --> , where it is evaluated again. See<div class="fragment"><div class="line"><a class="code" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver</a>() </div>
</div><!-- fragment --> for details.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An announcement that should be made </dd></dl>

<p>References <a class="el" href="structnavigation.html#a91526af69c26d512570fcfd97f5fb24e">navigation::announce</a>, <a class="el" href="structnavigation__itm.html#a53f93eab53b75bde5afbe87d7d5713f0">navigation_itm::dest_length</a>, <a class="el" href="structnavigation__way.html#af579448cdf2ab9a80fec3c3b2c817062">navigation_way::item</a>, <a class="el" href="structnavigation__command.html#a6dc44a45ee31916e8c5a53651efe14ff">navigation_command::itm</a>, <a class="el" href="structnavigation__command.html#a8442ef2b10014938111db201071ee91b">navigation_command::length</a>, <a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312af6975bae09a49dab8e2523ef758a600f">level_connect</a>, <a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312ac02bed9498413979e6e91690a8ca3ca1">level_meters</a>, <a class="el" href="navigation_8c.html#ae478d5e9cecedb9e7386eb80a35f8312ac63b44cc1f4f2a4275538d591625adb1">level_soon</a>, <a class="el" href="navigation_8c.html#a6da12f139809d641225e5d07c4600f5a">navigation_get_announce_level()</a>, <a class="el" href="navigation_8c.html#a02f710ba1428ebdfbd2048a12e2eb1b0">navigation_get_announce_level_cmd()</a>, <a class="el" href="structnavigation__command.html#a670053bf31747eba971701838721bda1">navigation_command::next</a>, <a class="el" href="garmin__img_8c.html#a72b26dfab473b56b23271050c385bcf7">next</a>, <a class="el" href="item_8h.html#aec7ed308d7bf84da6a2012b02207a822">route_item_first</a>, <a class="el" href="navigation_8c.html#a0428c6acbea3a082a8d24f397bb1040f">show_maneuver()</a>, <a class="el" href="structnavigation__itm.html#a9ee0ded90646bab9a1914a36686a7bed">navigation_itm::told</a>, <a class="el" href="structitem.html#a3abafd36669ef817be82676acd8e5989">item::type</a>, and <a class="el" href="structnavigation__itm.html#a1726a33d53560014a13d98e2216a49a4">navigation_itm::way</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a83e3736ec11941100decd7fa3b885d5d">navigation_map_item_attr_get()</a>.</p>

</div>
</div>
<a class="anchor" id="a75a6d42036f0613b53842bf8b0b21ea1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> split_string_to_list </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structnavigation__way.html">navigation_way</a> *&#160;</td>
          <td class="paramname"><em>way</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>raw_string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>sep</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Splits a string into a list, and sets their initial rank to 0. </p>
<p>The separator to split on can be any character. Preceding whitespace characters will be removed.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">way</td><td>a <a class="el" href="structnavigation__way.html">navigation_way</a> holding the list to be filled up </td></tr>
    <tr><td class="paramname">raw_string</td><td>a string to split </td></tr>
    <tr><td class="paramname">sep</td><td>a char to be used as separator to split the raw_string </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the number of entries in the list </dd></dl>

<p>References <a class="el" href="debug_8h.html#aba3c0ccefe6daa8941b173073268729e">dbg</a>, <a class="el" href="structnavigation__way.html#a527b8ae184c85179bb878b1446eeaa2c">navigation_way::destination</a>, <a class="el" href="structstreet__destination.html#a2ca9fc57d48e7fcb948950a39c83de5b">street_destination::destination</a>, <a class="el" href="navigation_8c.html#a716b6a2fabc5949fd8e9cca04b57dd55">free_list()</a>, <a class="el" href="debug_8h.html#a3ce13c42b29fe2a7552478859b7f3c25aa4a22485b46e3407434f1093e42867d4">lvl_debug</a>, <a class="el" href="structstreet__destination.html#aee07bb798a6824a32093b80135c90906">street_destination::next</a>, and <a class="el" href="structstreet__destination.html#a5c9315380ee206d0167f4a3b69cf2cdb">street_destination::rank</a>.</p>

<p>Referenced by <a class="el" href="navigation_8c.html#a59d000245202df0dfc71c6011e8b853e">navigation_itm_new()</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="af71f58b4e4674bdd356b5c6add3df65f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> distances[] = {1,2,3,4,5,10,25,50,75,100,150,200,250,300,400,500,750}</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set of simplified distance values that are easy to be pronounced. Used for the 'vocabulary_distances' configuration. </p>
<p>This method of calculating the number of elements in an array (#define SIZE_OF_ARRAY_DISTANCES, below) will work for most modern processors. It may cause problems on a few obscure processors, none of which are likely candidates for navit anyway.</p>
<p>It works like so: Modern processors simply stuff the elements of an int array into memory one after the other, with no gaps. Some older processors might not do so, due to memory alignment issues. This method does not take such gaps into account. For more discussion, see <a href="https://github.com/navit-gps/navit/pull/373">https://github.com/navit-gps/navit/pull/373</a></p>
<p>So if you are on an oddball processor and start getting really odd values for distances, this might be the reason. Good luck! </p>

<p>Referenced by <a class="el" href="navigation_8c.html#a72295784955cec782925ac7a7fade424">round_distance_reduced()</a>, and <a class="el" href="search__houseno__interpol_8h.html#a7486e0f36eef36924a138a07fa2946b0">search_house_number_coordinate()</a>.</p>

</div>
</div>
<a class="anchor" id="a98a37034ecd960b2954025973c1d8e1a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> invalid_angle = 361</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Referenced by <a class="el" href="navigation_8c.html#a48b34454ac33e8860f9d78a1d5159696">navigation_analyze_roundabout()</a>, <a class="el" href="navigation_8c.html#a69082bd5973ce2c97af608af337446ed">navigation_way_get_max_delta()</a>, and <a class="el" href="navigation_8c.html#a5eb317dac08c622f02b8181610750064">navigation_way_init()</a>.</p>

</div>
</div>
<a class="anchor" id="a6775c477d1388d4e30077e6024f056ae"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> min_turn_limit = 25</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Minimum absolute delta for a turn. Maneuvers whose absolute delta is less than this will be considered straight </p>

<p>Referenced by <a class="el" href="navigation_8c.html#ad1105fc9d7acb7fdebd576d8f0e59d26">command_new()</a>, and <a class="el" href="navigation_8c.html#a8954e955fabd6d2b16ff28a6f852504f">maneuver_required2()</a>.</p>

</div>
</div>
<a class="anchor" id="a67657ae1ed8eaea55d26b24c019d66bd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structobject__func.html">object_func</a> navigation_func</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div>
<div class="line">    attr_navigation,</div>
<div class="line">    (<a class="code" href="xmlconfig_8h.html#ac81207135f04874e385e31423db53dd1">object_func_new</a>)<a class="code" href="navigation_8c.html#a1bd603240f52e2622daf7c2e33901f03">navigation_new</a>,</div>
<div class="line">    (<a class="code" href="xmlconfig_8h.html#ae9e477667b07b8540cb03a8dbfab1194">object_func_get_attr</a>)<a class="code" href="navigation_8c.html#af52411918a519cbfb8ee3dd4be14b178">navigation_get_attr</a>,</div>
<div class="line">    (<a class="code" href="xmlconfig_8h.html#a62e98f09044dd1cb14c1786db1a6ee52">object_func_iter_new</a>)<a class="code" href="xmlconfig_8c.html#acbaba6827d1a6a1d41a4992531f3b290">navit_object_attr_iter_new</a>,</div>
<div class="line">    (<a class="code" href="xmlconfig_8h.html#a0078fefdd19df7414a8f31e5f715c6da">object_func_iter_destroy</a>)<a class="code" href="xmlconfig_8c.html#a3fc27492e72f7a53a584d328a5cfc802">navit_object_attr_iter_destroy</a>,</div>
<div class="line">    (<a class="code" href="xmlconfig_8h.html#a24e9432d6efe27c881bb77749bc1879c">object_func_set_attr</a>)<a class="code" href="navigation_8c.html#af44538ba61ffd85df204d405749f6029">navigation_set_attr</a>,</div>
<div class="line">    (<a class="code" href="xmlconfig_8h.html#a5b15be5d4fcaf8d61b32ad26a5bbd615">object_func_add_attr</a>)<a class="code" href="xmlconfig_8c.html#a7297412d2fdc39b25ff0350d72998558">navit_object_add_attr</a>,</div>
<div class="line">    (<a class="code" href="xmlconfig_8h.html#a60fb0dd5b7e3d5180265f13cf0c3dca0">object_func_remove_attr</a>)<a class="code" href="xmlconfig_8c.html#a0b92fc24021de74b6f392713a6990853">navit_object_remove_attr</a>,</div>
<div class="line">    (<a class="code" href="xmlconfig_8h.html#a968269376ba0e1651ec5519f19798d5f">object_func_init</a>)NULL,</div>
<div class="line">    (<a class="code" href="xmlconfig_8h.html#a6c7322fcd20ded61fbe44adf17b39b06">object_func_destroy</a>)<a class="code" href="navigation_8c.html#ad3dfa1aabdcb3ee153eddbb91d5c6782">navigation_destroy</a>,</div>
<div class="line">    (<a class="code" href="xmlconfig_8h.html#a1cd3fd5dbf8df120697ce35f8f4fed3a">object_func_dup</a>)NULL,</div>
<div class="line">    (<a class="code" href="xmlconfig_8h.html#a5e98a3d5adcd0ff678190bd144ab8cca">object_func_ref</a>)<a class="code" href="xmlconfig_8c.html#acc1bc70fa25d7d81b1fa01fe6ef3a2f6">navit_object_ref</a>,</div>
<div class="line">    (<a class="code" href="xmlconfig_8h.html#a19932fea483ba3e4d58b044d53ba9e2a">object_func_unref</a>)<a class="code" href="xmlconfig_8c.html#a6430bef5b4ff56f67fe80bfee71ef896">navit_object_unref</a>,</div>
<div class="line">}</div>
<div class="ttc" id="xmlconfig_8h_html_a6c7322fcd20ded61fbe44adf17b39b06"><div class="ttname"><a href="xmlconfig_8h.html#a6c7322fcd20ded61fbe44adf17b39b06">object_func_destroy</a></div><div class="ttdeci">void(* object_func_destroy)(void *)</div><div class="ttdef"><b>Definition:</b> xmlconfig.h:62</div></div>
<div class="ttc" id="xmlconfig_8c_html_a0b92fc24021de74b6f392713a6990853"><div class="ttname"><a href="xmlconfig_8c.html#a0b92fc24021de74b6f392713a6990853">navit_object_remove_attr</a></div><div class="ttdeci">int navit_object_remove_attr(struct navit_object *obj, struct attr *attr)</div><div class="ttdef"><b>Definition:</b> xmlconfig.c:1298</div></div>
<div class="ttc" id="xmlconfig_8h_html_a1cd3fd5dbf8df120697ce35f8f4fed3a"><div class="ttname"><a href="xmlconfig_8h.html#a1cd3fd5dbf8df120697ce35f8f4fed3a">object_func_dup</a></div><div class="ttdeci">void *(* object_func_dup)(void *)</div><div class="ttdef"><b>Definition:</b> xmlconfig.h:63</div></div>
<div class="ttc" id="navigation_8c_html_af52411918a519cbfb8ee3dd4be14b178"><div class="ttname"><a href="navigation_8c.html#af52411918a519cbfb8ee3dd4be14b178">navigation_get_attr</a></div><div class="ttdeci">int navigation_get_attr(struct navigation *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter)</div><div class="ttdef"><b>Definition:</b> navigation.c:708</div></div>
<div class="ttc" id="xmlconfig_8h_html_a0078fefdd19df7414a8f31e5f715c6da"><div class="ttname"><a href="xmlconfig_8h.html#a0078fefdd19df7414a8f31e5f715c6da">object_func_iter_destroy</a></div><div class="ttdeci">void(* object_func_iter_destroy)(struct attr_iter *)</div><div class="ttdef"><b>Definition:</b> xmlconfig.h:57</div></div>
<div class="ttc" id="xmlconfig_8c_html_a3fc27492e72f7a53a584d328a5cfc802"><div class="ttname"><a href="xmlconfig_8c.html#a3fc27492e72f7a53a584d328a5cfc802">navit_object_attr_iter_destroy</a></div><div class="ttdeci">void navit_object_attr_iter_destroy(struct attr_iter *iter)</div><div class="ttdef"><b>Definition:</b> xmlconfig.c:1231</div></div>
<div class="ttc" id="xmlconfig_8c_html_a6430bef5b4ff56f67fe80bfee71ef896"><div class="ttname"><a href="xmlconfig_8c.html#a6430bef5b4ff56f67fe80bfee71ef896">navit_object_unref</a></div><div class="ttdeci">void navit_object_unref(struct navit_object *obj)</div><div class="ttdef"><b>Definition:</b> xmlconfig.c:1213</div></div>
<div class="ttc" id="navigation_8c_html_af44538ba61ffd85df204d405749f6029"><div class="ttname"><a href="navigation_8c.html#af44538ba61ffd85df204d405749f6029">navigation_set_attr</a></div><div class="ttdeci">int navigation_set_attr(struct navigation *this_, struct attr *attr)</div><div class="ttdef"><b>Definition:</b> navigation.c:760</div></div>
<div class="ttc" id="xmlconfig_8h_html_a968269376ba0e1651ec5519f19798d5f"><div class="ttname"><a href="xmlconfig_8h.html#a968269376ba0e1651ec5519f19798d5f">object_func_init</a></div><div class="ttdeci">int(* object_func_init)(void *)</div><div class="ttdef"><b>Definition:</b> xmlconfig.h:61</div></div>
<div class="ttc" id="xmlconfig_8h_html_a5e98a3d5adcd0ff678190bd144ab8cca"><div class="ttname"><a href="xmlconfig_8h.html#a5e98a3d5adcd0ff678190bd144ab8cca">object_func_ref</a></div><div class="ttdeci">void *(* object_func_ref)(void *)</div><div class="ttdef"><b>Definition:</b> xmlconfig.h:64</div></div>
<div class="ttc" id="xmlconfig_8h_html_a62e98f09044dd1cb14c1786db1a6ee52"><div class="ttname"><a href="xmlconfig_8h.html#a62e98f09044dd1cb14c1786db1a6ee52">object_func_iter_new</a></div><div class="ttdeci">struct attr_iter *(* object_func_iter_new)(void *)</div><div class="ttdef"><b>Definition:</b> xmlconfig.h:56</div></div>
<div class="ttc" id="navigation_8c_html_ad3dfa1aabdcb3ee153eddbb91d5c6782"><div class="ttname"><a href="navigation_8c.html#ad3dfa1aabdcb3ee153eddbb91d5c6782">navigation_destroy</a></div><div class="ttdeci">void navigation_destroy(struct navigation *this_)</div><div class="ttdef"><b>Definition:</b> navigation.c:3781</div></div>
<div class="ttc" id="xmlconfig_8h_html_a19932fea483ba3e4d58b044d53ba9e2a"><div class="ttname"><a href="xmlconfig_8h.html#a19932fea483ba3e4d58b044d53ba9e2a">object_func_unref</a></div><div class="ttdeci">void *(* object_func_unref)(void *)</div><div class="ttdef"><b>Definition:</b> xmlconfig.h:65</div></div>
<div class="ttc" id="xmlconfig_8h_html_a60fb0dd5b7e3d5180265f13cf0c3dca0"><div class="ttname"><a href="xmlconfig_8h.html#a60fb0dd5b7e3d5180265f13cf0c3dca0">object_func_remove_attr</a></div><div class="ttdeci">int(* object_func_remove_attr)(void *, struct attr *attr)</div><div class="ttdef"><b>Definition:</b> xmlconfig.h:60</div></div>
<div class="ttc" id="xmlconfig_8h_html_ac81207135f04874e385e31423db53dd1"><div class="ttname"><a href="xmlconfig_8h.html#ac81207135f04874e385e31423db53dd1">object_func_new</a></div><div class="ttdeci">void *(* object_func_new)(struct attr *parent, struct attr **attrs)</div><div class="ttdef"><b>Definition:</b> xmlconfig.h:54</div></div>
<div class="ttc" id="xmlconfig_8h_html_a24e9432d6efe27c881bb77749bc1879c"><div class="ttname"><a href="xmlconfig_8h.html#a24e9432d6efe27c881bb77749bc1879c">object_func_set_attr</a></div><div class="ttdeci">int(* object_func_set_attr)(void *, struct attr *attr)</div><div class="ttdef"><b>Definition:</b> xmlconfig.h:58</div></div>
<div class="ttc" id="xmlconfig_8c_html_a7297412d2fdc39b25ff0350d72998558"><div class="ttname"><a href="xmlconfig_8c.html#a7297412d2fdc39b25ff0350d72998558">navit_object_add_attr</a></div><div class="ttdeci">int navit_object_add_attr(struct navit_object *obj, struct attr *attr)</div><div class="ttdef"><b>Definition:</b> xmlconfig.c:1276</div></div>
<div class="ttc" id="xmlconfig_8c_html_acbaba6827d1a6a1d41a4992531f3b290"><div class="ttname"><a href="xmlconfig_8c.html#acbaba6827d1a6a1d41a4992531f3b290">navit_object_attr_iter_new</a></div><div class="ttdeci">struct attr_iter * navit_object_attr_iter_new(void)</div><div class="ttdef"><b>Definition:</b> xmlconfig.c:1227</div></div>
<div class="ttc" id="xmlconfig_8h_html_ae9e477667b07b8540cb03a8dbfab1194"><div class="ttname"><a href="xmlconfig_8h.html#ae9e477667b07b8540cb03a8dbfab1194">object_func_get_attr</a></div><div class="ttdeci">int(* object_func_get_attr)(void *, enum attr_type type, struct attr *attr, struct attr_iter *iter)</div><div class="ttdef"><b>Definition:</b> xmlconfig.h:55</div></div>
<div class="ttc" id="xmlconfig_8c_html_acc1bc70fa25d7d81b1fa01fe6ef3a2f6"><div class="ttname"><a href="xmlconfig_8c.html#acc1bc70fa25d7d81b1fa01fe6ef3a2f6">navit_object_ref</a></div><div class="ttdeci">struct navit_object * navit_object_ref(struct navit_object *obj)</div><div class="ttdef"><b>Definition:</b> xmlconfig.c:1207</div></div>
<div class="ttc" id="navigation_8c_html_a1bd603240f52e2622daf7c2e33901f03"><div class="ttname"><a href="navigation_8c.html#a1bd603240f52e2622daf7c2e33901f03">navigation_new</a></div><div class="ttdeci">struct navigation * navigation_new(struct attr *parent, struct attr **attrs)</div><div class="ttdef"><b>Definition:</b> navigation.c:776</div></div>
<div class="ttc" id="xmlconfig_8h_html_a5b15be5d4fcaf8d61b32ad26a5bbd615"><div class="ttname"><a href="xmlconfig_8h.html#a5b15be5d4fcaf8d61b32ad26a5bbd615">object_func_add_attr</a></div><div class="ttdeci">int(* object_func_add_attr)(void *, struct attr *attr)</div><div class="ttdef"><b>Definition:</b> xmlconfig.h:59</div></div>
</div><!-- fragment -->
<p>Referenced by <a class="el" href="navigation_8h.html#a1bd603240f52e2622daf7c2e33901f03">navigation_new()</a>, and <a class="el" href="xmlconfig_8h.html#aa0aedbfd467d2009ac65a983734fc556">object_func_lookup()</a>.</p>

</div>
</div>
<a class="anchor" id="a4eedb7194ad7e87cf436b0c012d46aa4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structitem__methods.html">item_methods</a> navigation_map_item_methods</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div>
<div class="line">    <a class="code" href="navigation_8c.html#a24ad9cf499ab3cff79f56fd40f5008e0">navigation_map_item_coord_rewind</a>,</div>
<div class="line">    <a class="code" href="navigation_8c.html#ae051fedc1b8514b846530dcc9f666653">navigation_map_item_coord_get</a>,</div>
<div class="line">    <a class="code" href="navigation_8c.html#ae273bcdc7c3b6d76e7d0c72c362b0b93">navigation_map_item_attr_rewind</a>,</div>
<div class="line">    <a class="code" href="navigation_8c.html#a83e3736ec11941100decd7fa3b885d5d">navigation_map_item_attr_get</a>,</div>
<div class="line">}</div>
<div class="ttc" id="navigation_8c_html_ae273bcdc7c3b6d76e7d0c72c362b0b93"><div class="ttname"><a href="navigation_8c.html#ae273bcdc7c3b6d76e7d0c72c362b0b93">navigation_map_item_attr_rewind</a></div><div class="ttdeci">static void navigation_map_item_attr_rewind(void *priv_data)</div><div class="ttdef"><b>Definition:</b> navigation.c:4128</div></div>
<div class="ttc" id="navigation_8c_html_a24ad9cf499ab3cff79f56fd40f5008e0"><div class="ttname"><a href="navigation_8c.html#a24ad9cf499ab3cff79f56fd40f5008e0">navigation_map_item_coord_rewind</a></div><div class="ttdeci">static void navigation_map_item_coord_rewind(void *priv_data)</div><div class="ttdef"><b>Definition:</b> navigation.c:3905</div></div>
<div class="ttc" id="navigation_8c_html_a83e3736ec11941100decd7fa3b885d5d"><div class="ttname"><a href="navigation_8c.html#a83e3736ec11941100decd7fa3b885d5d">navigation_map_item_attr_get</a></div><div class="ttdeci">static int navigation_map_item_attr_get(void *priv_data, enum attr_type attr_type, struct attr *attr)</div><div class="ttdef"><b>Definition:</b> navigation.c:3911</div></div>
<div class="ttc" id="navigation_8c_html_ae051fedc1b8514b846530dcc9f666653"><div class="ttname"><a href="navigation_8c.html#ae051fedc1b8514b846530dcc9f666653">navigation_map_item_coord_get</a></div><div class="ttdeci">static int navigation_map_item_coord_get(void *priv_data, struct coord *c, int count)</div><div class="ttdef"><b>Definition:</b> navigation.c:3896</div></div>
</div><!-- fragment -->
<p>Referenced by <a class="el" href="navigation_8c.html#a53f9d7a9f22ba5426ee0251443ff6c61">navigation_map_rect_new()</a>.</p>

</div>
</div>
<a class="anchor" id="ababd897c8e965af2d2bbaa8bdc33331a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structmap__methods.html">map_methods</a> navigation_map_meth</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div>
<div class="line">    <a class="code" href="projection_8h.html#a380c9c985eef434d23f9a7b95a52cbc1a9cbc062a5d78cd25a4ffbf49619f0064">projection_mg</a>,</div>
<div class="line">    <span class="stringliteral">&quot;utf-8&quot;</span>,</div>
<div class="line">    <a class="code" href="navigation_8c.html#ae80917687213d8060b8cb81d6dc2bff6">navigation_map_destroy</a>,</div>
<div class="line">    <a class="code" href="navigation_8c.html#a53f9d7a9f22ba5426ee0251443ff6c61">navigation_map_rect_new</a>,</div>
<div class="line">    <a class="code" href="navigation_8c.html#af19a01456ab172b7134224735257dfd8">navigation_map_rect_destroy</a>,</div>
<div class="line">    <a class="code" href="navigation_8c.html#aed5f113cda3969901d34685ef5052769">navigation_map_get_item</a>,</div>
<div class="line">    <a class="code" href="navigation_8c.html#aa4a97d31176ed5dc5147921533dc6039">navigation_map_get_item_byid</a>,</div>
<div class="line">    NULL,</div>
<div class="line">    NULL,</div>
<div class="line">    NULL,</div>
<div class="line">}</div>
<div class="ttc" id="navigation_8c_html_a53f9d7a9f22ba5426ee0251443ff6c61"><div class="ttname"><a href="navigation_8c.html#a53f9d7a9f22ba5426ee0251443ff6c61">navigation_map_rect_new</a></div><div class="ttdeci">static struct map_rect_priv * navigation_map_rect_new(struct map_priv *priv, struct map_selection *sel)</div><div class="ttdef"><b>Definition:</b> navigation.c:4151</div></div>
<div class="ttc" id="navigation_8c_html_aa4a97d31176ed5dc5147921533dc6039"><div class="ttname"><a href="navigation_8c.html#aa4a97d31176ed5dc5147921533dc6039">navigation_map_get_item_byid</a></div><div class="ttdeci">static struct item * navigation_map_get_item_byid(struct map_rect_priv *priv, int id_hi, int id_lo)</div><div class="ttdoc">Gets the item with the specified ID from the navigation map. </div><div class="ttdef"><b>Definition:</b> navigation.c:4263</div></div>
<div class="ttc" id="projection_8h_html_a380c9c985eef434d23f9a7b95a52cbc1a9cbc062a5d78cd25a4ffbf49619f0064"><div class="ttname"><a href="projection_8h.html#a380c9c985eef434d23f9a7b95a52cbc1a9cbc062a5d78cd25a4ffbf49619f0064">projection_mg</a></div><div class="ttdef"><b>Definition:</b> projection.h:25</div></div>
<div class="ttc" id="navigation_8c_html_af19a01456ab172b7134224735257dfd8"><div class="ttname"><a href="navigation_8c.html#af19a01456ab172b7134224735257dfd8">navigation_map_rect_destroy</a></div><div class="ttdeci">static void navigation_map_rect_destroy(struct map_rect_priv *priv)</div><div class="ttdef"><b>Definition:</b> navigation.c:4164</div></div>
<div class="ttc" id="navigation_8c_html_ae80917687213d8060b8cb81d6dc2bff6"><div class="ttname"><a href="navigation_8c.html#ae80917687213d8060b8cb81d6dc2bff6">navigation_map_destroy</a></div><div class="ttdeci">static void navigation_map_destroy(struct map_priv *priv)</div><div class="ttdef"><b>Definition:</b> navigation.c:4142</div></div>
<div class="ttc" id="navigation_8c_html_aed5f113cda3969901d34685ef5052769"><div class="ttname"><a href="navigation_8c.html#aed5f113cda3969901d34685ef5052769">navigation_map_get_item</a></div><div class="ttdeci">static struct item * navigation_map_get_item(struct map_rect_priv *priv)</div><div class="ttdoc">Gets the next item from the navigation map. </div><div class="ttdef"><b>Definition:</b> navigation.c:4189</div></div>
</div><!-- fragment -->
<p>Referenced by <a class="el" href="navigation_8c.html#a2a64ab71c643549133e6e1b308d7fcb0">navigation_map_new()</a>.</p>

</div>
</div>
<a class="anchor" id="a609131fea6f8d51a2dacc2036f3b53f0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> roundabout_extra_length =50</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Referenced by <a class="el" href="navigation_8c.html#a48b34454ac33e8860f9d78a1d5159696">navigation_analyze_roundabout()</a>.</p>

</div>
</div>
<a class="anchor" id="a27b8f1091b0fa5990ecb9bbb61b8687b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> sharp_turn_limit = 110</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Minimum absolute delta for a sharp turn. Maneuvers whose absolute delta is equal to or greater than this will be announced as "turn sharply left/right" when strength is required. </p>

<p>Referenced by <a class="el" href="navigation_8c.html#ad1105fc9d7acb7fdebd576d8f0e59d26">command_new()</a>.</p>

</div>
</div>
<a class="anchor" id="aa565aae0c1fb0952c6ac477f449f7549"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structsuffix.html">suffix</a>  suffixes[]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Referenced by <a class="el" href="maptool_8c.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>, and <a class="el" href="navigation_8c.html#ac3294e4de916bc186e053363ca31af76">navigation_item_destination()</a>.</p>

</div>
</div>
<a class="anchor" id="a22780171bb97e4bdd516bf4e3ce03be4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> turn_2_limit = 45</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Minimum absolute delta for a turn of "normal" strength (which is always just announced as "turn left/right" even when strength is required). Maneuvers whose absolute delta is less than this will be announced as "turn easily left/right" when strength is required. </p>

<p>Referenced by <a class="el" href="navigation_8c.html#ad1105fc9d7acb7fdebd576d8f0e59d26">command_new()</a>.</p>

</div>
</div>
<a class="anchor" id="a81388baea902a53db5e41d24cdb892b2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="graphics__win32_8c.html#a672f45ba1cea6792eb9f7018d62ee646">int</a> u_turn_limit = 165</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Minimum absolute delta for a U turn. Maneuvers whose absolute delta is less than this (but at least <a class="el" href="navigation_8c.html#a6775c477d1388d4e30077e6024f056ae">min_turn_limit</a>) will always be announced as turns. Note that, depending on other conditions, even maneuvers whose delta exceeds the threshold may still be announced as (sharp) turns. </p>

<p>Referenced by <a class="el" href="navigation_8c.html#ad1105fc9d7acb7fdebd576d8f0e59d26">command_new()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="navigation_8c.html">navigation.c</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>