pdcurses-sys 0.7.1

FFI bindings for PDCurses, specifically the win32a implementation.
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
#![allow(non_camel_case_types, non_snake_case)]
// automatically generated by rust-bindgen

pub type uintptr_t = ::std::os::raw::c_ulonglong;
pub type va_list = *mut ::std::os::raw::c_char;
pub type size_t = ::std::os::raw::c_ulonglong;
pub type ptrdiff_t = ::std::os::raw::c_longlong;
pub type intptr_t = ::std::os::raw::c_longlong;
pub type wchar_t = ::std::os::raw::c_ushort;
pub type int8_t = ::std::os::raw::c_char;
pub type int16_t = ::std::os::raw::c_short;
pub type int32_t = ::std::os::raw::c_int;
pub type int64_t = ::std::os::raw::c_longlong;
pub type uint8_t = ::std::os::raw::c_uchar;
pub type uint16_t = ::std::os::raw::c_ushort;
pub type uint32_t = ::std::os::raw::c_uint;
pub type uint64_t = ::std::os::raw::c_ulonglong;
pub type int_least8_t = ::std::os::raw::c_char;
pub type int_least16_t = ::std::os::raw::c_short;
pub type int_least32_t = ::std::os::raw::c_int;
pub type int_least64_t = ::std::os::raw::c_longlong;
pub type uint_least8_t = ::std::os::raw::c_uchar;
pub type uint_least16_t = ::std::os::raw::c_ushort;
pub type uint_least32_t = ::std::os::raw::c_uint;
pub type uint_least64_t = ::std::os::raw::c_ulonglong;
pub type int_fast8_t = ::std::os::raw::c_char;
pub type int_fast16_t = ::std::os::raw::c_int;
pub type int_fast32_t = ::std::os::raw::c_int;
pub type int_fast64_t = ::std::os::raw::c_longlong;
pub type uint_fast8_t = ::std::os::raw::c_uchar;
pub type uint_fast16_t = ::std::os::raw::c_uint;
pub type uint_fast32_t = ::std::os::raw::c_uint;
pub type uint_fast64_t = ::std::os::raw::c_ulonglong;
pub type intmax_t = ::std::os::raw::c_longlong;
pub type uintmax_t = ::std::os::raw::c_ulonglong;
pub type __crt_bool = u8;
pub type errno_t = ::std::os::raw::c_int;
pub type wint_t = ::std::os::raw::c_ushort;
pub type wctype_t = ::std::os::raw::c_ushort;
pub type __time32_t = ::std::os::raw::c_long;
pub type __time64_t = ::std::os::raw::c_longlong;
#[repr(C)]
#[derive(Copy)]
pub struct Struct___crt_locale_data_public {
    pub _locale_pctype: *const ::std::os::raw::c_ushort,
    pub _locale_mb_cur_max: ::std::os::raw::c_int,
    pub _locale_lc_codepage: ::std::os::raw::c_uint,
}
impl ::std::clone::Clone for Struct___crt_locale_data_public {
    fn clone(&self) -> Self {
        *self
    }
}
impl ::std::default::Default for Struct___crt_locale_data_public {
    fn default() -> Self {
        unsafe { ::std::mem::zeroed() }
    }
}
pub type __crt_locale_data_public = Struct___crt_locale_data_public;
pub enum Struct___crt_locale_data { }
pub enum Struct___crt_multibyte_data { }
#[repr(C)]
#[derive(Copy)]
pub struct Struct___crt_locale_pointers {
    pub locinfo: *mut Struct___crt_locale_data,
    pub mbcinfo: *mut Struct___crt_multibyte_data,
}
impl ::std::clone::Clone for Struct___crt_locale_pointers {
    fn clone(&self) -> Self {
        *self
    }
}
impl ::std::default::Default for Struct___crt_locale_pointers {
    fn default() -> Self {
        unsafe { ::std::mem::zeroed() }
    }
}
pub type __crt_locale_pointers = Struct___crt_locale_pointers;
pub type _locale_t = *mut __crt_locale_pointers;
#[repr(C)]
#[derive(Copy)]
pub struct Struct__Mbstatet {
    pub _Wchar: ::std::os::raw::c_ulong,
    pub _Byte: ::std::os::raw::c_ushort,
    pub _State: ::std::os::raw::c_ushort,
}
impl ::std::clone::Clone for Struct__Mbstatet {
    fn clone(&self) -> Self {
        *self
    }
}
impl ::std::default::Default for Struct__Mbstatet {
    fn default() -> Self {
        unsafe { ::std::mem::zeroed() }
    }
}
pub type _Mbstatet = Struct__Mbstatet;
pub type mbstate_t = _Mbstatet;
pub type time_t = __time64_t;
pub type rsize_t = size_t;
#[repr(C)]
#[derive(Copy)]
pub struct Struct__iobuf {
    pub _Placeholder: *mut ::std::os::raw::c_void,
}
impl ::std::clone::Clone for Struct__iobuf {
    fn clone(&self) -> Self {
        *self
    }
}
impl ::std::default::Default for Struct__iobuf {
    fn default() -> Self {
        unsafe { ::std::mem::zeroed() }
    }
}
pub type FILE = Struct__iobuf;
pub type fpos_t = ::std::os::raw::c_longlong;
pub type _bool = ::std::os::raw::c_uchar;
pub type chtype = uint64_t;
pub type attr_t = chtype;
#[repr(C)]
#[derive(Copy)]
pub struct Struct_Unnamed1 {
    pub x: ::std::os::raw::c_int,
    pub y: ::std::os::raw::c_int,
    pub button: [::std::os::raw::c_short; 3usize],
    pub changes: ::std::os::raw::c_int,
    pub xbutton: [::std::os::raw::c_short; 6usize],
}
impl ::std::clone::Clone for Struct_Unnamed1 {
    fn clone(&self) -> Self {
        *self
    }
}
impl ::std::default::Default for Struct_Unnamed1 {
    fn default() -> Self {
        unsafe { ::std::mem::zeroed() }
    }
}
pub type MOUSE_STATUS = Struct_Unnamed1;
pub type mmask_t = ::std::os::raw::c_ulong;
#[repr(C)]
#[derive(Copy)]
pub struct Struct_Unnamed2 {
    pub id: ::std::os::raw::c_short,
    pub x: ::std::os::raw::c_int,
    pub y: ::std::os::raw::c_int,
    pub z: ::std::os::raw::c_int,
    pub bstate: mmask_t,
}
impl ::std::clone::Clone for Struct_Unnamed2 {
    fn clone(&self) -> Self {
        *self
    }
}
impl ::std::default::Default for Struct_Unnamed2 {
    fn default() -> Self {
        unsafe { ::std::mem::zeroed() }
    }
}
pub type MEVENT = Struct_Unnamed2;
#[repr(C)]
#[derive(Copy)]
pub struct Struct__win {
    pub _cury: ::std::os::raw::c_int,
    pub _curx: ::std::os::raw::c_int,
    pub _maxy: ::std::os::raw::c_int,
    pub _maxx: ::std::os::raw::c_int,
    pub _begy: ::std::os::raw::c_int,
    pub _begx: ::std::os::raw::c_int,
    pub _flags: ::std::os::raw::c_int,
    pub _attrs: chtype,
    pub _bkgd: chtype,
    pub _clear: _bool,
    pub _leaveit: _bool,
    pub _scroll: _bool,
    pub _nodelay: _bool,
    pub _immed: _bool,
    pub _sync: _bool,
    pub _use_keypad: _bool,
    pub _y: *mut *mut chtype,
    pub _firstch: *mut ::std::os::raw::c_int,
    pub _lastch: *mut ::std::os::raw::c_int,
    pub _tmarg: ::std::os::raw::c_int,
    pub _bmarg: ::std::os::raw::c_int,
    pub _delayms: ::std::os::raw::c_int,
    pub _parx: ::std::os::raw::c_int,
    pub _pary: ::std::os::raw::c_int,
    pub _parent: *mut Struct__win,
}
impl ::std::clone::Clone for Struct__win {
    fn clone(&self) -> Self {
        *self
    }
}
impl ::std::default::Default for Struct__win {
    fn default() -> Self {
        unsafe { ::std::mem::zeroed() }
    }
}
pub type WINDOW = Struct__win;
#[repr(C)]
#[derive(Copy)]
pub struct Struct_Unnamed3 {
    pub alive: _bool,
    pub autocr: _bool,
    pub cbreak: _bool,
    pub echo: _bool,
    pub raw_inp: _bool,
    pub raw_out: _bool,
    pub audible: _bool,
    pub mono: _bool,
    pub resized: _bool,
    pub orig_attr: _bool,
    pub orig_fore: ::std::os::raw::c_short,
    pub orig_back: ::std::os::raw::c_short,
    pub cursrow: ::std::os::raw::c_int,
    pub curscol: ::std::os::raw::c_int,
    pub visibility: ::std::os::raw::c_int,
    pub orig_cursor: ::std::os::raw::c_int,
    pub lines: ::std::os::raw::c_int,
    pub cols: ::std::os::raw::c_int,
    pub _trap_mbe: ::std::os::raw::c_ulong,
    pub _map_mbe_to_key: ::std::os::raw::c_ulong,
    pub mouse_wait: ::std::os::raw::c_int,
    pub slklines: ::std::os::raw::c_int,
    pub slk_winptr: *mut WINDOW,
    pub linesrippedoff: ::std::os::raw::c_int,
    pub linesrippedoffontop: ::std::os::raw::c_int,
    pub delaytenths: ::std::os::raw::c_int,
    pub _preserve: _bool,
    pub _restore: ::std::os::raw::c_int,
    pub save_key_modifiers: _bool,
    pub return_key_modifiers: _bool,
    pub key_code: _bool,
    pub line_color: ::std::os::raw::c_short,
}
impl ::std::clone::Clone for Struct_Unnamed3 {
    fn clone(&self) -> Self {
        *self
    }
}
impl ::std::default::Default for Struct_Unnamed3 {
    fn default() -> Self {
        unsafe { ::std::mem::zeroed() }
    }
}
pub type SCREEN = Struct_Unnamed3;

extern "C" {
    pub static mut __security_cookie: uintptr_t;
    pub static mut LINES: ::std::os::raw::c_int;
    pub static mut COLS: ::std::os::raw::c_int;
    pub static mut stdscr: *mut WINDOW;
    pub static mut curscr: *mut WINDOW;
    pub static mut SP: *mut SCREEN;
    pub static mut Mouse_status: MOUSE_STATUS;
    pub static mut COLORS: ::std::os::raw::c_int;
    pub static mut COLOR_PAIRS: ::std::os::raw::c_int;
    pub static mut TABSIZE: ::std::os::raw::c_int;
    pub static mut acs_map: *mut chtype;
    pub static mut ttytype: *mut ::std::os::raw::c_char;
}

extern "C" {
    pub fn __va_start(arg1: *mut va_list, ...);
    pub fn __security_init_cookie();
    pub fn __security_check_cookie(_StackCookie: uintptr_t);
    pub fn __report_gsfailure(_StackCookie: uintptr_t);
    pub fn _invalid_parameter_noinfo();
    pub fn _invalid_parameter_noinfo_noreturn();
    pub fn _invoke_watson(arg1: *const wchar_t,
                          arg2: *const wchar_t,
                          arg3: *const wchar_t,
                          arg4: ::std::os::raw::c_uint,
                          arg5: uintptr_t);
    pub fn _errno() -> *mut ::std::os::raw::c_int;
    pub fn _set_errno(_Value: ::std::os::raw::c_int) -> errno_t;
    pub fn _get_errno(_Value: *mut ::std::os::raw::c_int) -> errno_t;
    pub fn __threadid() -> ::std::os::raw::c_ulong;
    pub fn __threadhandle() -> uintptr_t;
    pub fn __local_stdio_printf_options() -> *mut ::std::os::raw::c_ulonglong;
    pub fn __local_stdio_scanf_options() -> *mut ::std::os::raw::c_ulonglong;
    pub fn __acrt_iob_func(arg1: ::std::os::raw::c_uint) -> *mut FILE;
    pub fn fgetwc(_Stream: *mut FILE) -> wint_t;
    pub fn _fgetwchar() -> wint_t;
    pub fn fputwc(_Character: wchar_t, _Stream: *mut FILE) -> wint_t;
    pub fn _fputwchar(_Character: wchar_t) -> wint_t;
    pub fn getwc(_Stream: *mut FILE) -> wint_t;
    pub fn getwchar() -> wint_t;
    pub fn fgetws(_Buffer: *mut wchar_t,
                  _BufferCount: ::std::os::raw::c_int,
                  _Stream: *mut FILE)
                  -> *mut wchar_t;
    pub fn fputws(_Buffer: *const wchar_t, _Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _getws_s(_Buffer: *mut wchar_t, _BufferCount: size_t) -> *mut wchar_t;
    pub fn putwc(_Character: wchar_t, _Stream: *mut FILE) -> wint_t;
    pub fn putwchar(_Character: wchar_t) -> wint_t;
    pub fn _putws(_Buffer: *const wchar_t) -> ::std::os::raw::c_int;
    pub fn ungetwc(_Character: wint_t, _Stream: *mut FILE) -> wint_t;
    pub fn _wfdopen(_FileHandle: ::std::os::raw::c_int, _Mode: *const wchar_t) -> *mut FILE;
    pub fn _wfopen(_FileName: *const wchar_t, _Mode: *const wchar_t) -> *mut FILE;
    pub fn _wfopen_s(_Stream: *mut *mut FILE,
                     _FileName: *const wchar_t,
                     _Mode: *const wchar_t)
                     -> errno_t;
    pub fn _wfreopen(_FileName: *const wchar_t,
                     _Mode: *const wchar_t,
                     _OldStream: *mut FILE)
                     -> *mut FILE;
    pub fn _wfreopen_s(_Stream: *mut *mut FILE,
                       _FileName: *const wchar_t,
                       _Mode: *const wchar_t,
                       _OldStream: *mut FILE)
                       -> errno_t;
    pub fn _wfsopen(_FileName: *const wchar_t,
                    _Mode: *const wchar_t,
                    _ShFlag: ::std::os::raw::c_int)
                    -> *mut FILE;
    pub fn _wperror(_ErrorMessage: *const wchar_t);
    pub fn _wpopen(_Command: *const wchar_t, _Mode: *const wchar_t) -> *mut FILE;
    pub fn _wremove(_FileName: *const wchar_t) -> ::std::os::raw::c_int;
    pub fn _wtempnam(_Directory: *const wchar_t, _FilePrefix: *const wchar_t) -> *mut wchar_t;
    pub fn _wtmpnam_s(_Buffer: *mut wchar_t, _BufferCount: size_t) -> errno_t;
    pub fn _wtmpnam(_Buffer: *mut wchar_t) -> *mut wchar_t;
    pub fn _fgetwc_nolock(_Stream: *mut FILE) -> wint_t;
    pub fn _fputwc_nolock(_Character: wchar_t, _Stream: *mut FILE) -> wint_t;
    pub fn _getwc_nolock(_Stream: *mut FILE) -> wint_t;
    pub fn _putwc_nolock(_Character: wchar_t, _Stream: *mut FILE) -> wint_t;
    pub fn _ungetwc_nolock(_Character: wint_t, _Stream: *mut FILE) -> wint_t;
    pub fn __stdio_common_vfwprintf(_Options: ::std::os::raw::c_ulonglong,
                                    _Stream: *mut FILE,
                                    _Format: *const wchar_t,
                                    _Locale: _locale_t,
                                    _ArgList: va_list)
                                    -> ::std::os::raw::c_int;
    pub fn __stdio_common_vfwprintf_s(_Options: ::std::os::raw::c_ulonglong,
                                      _Stream: *mut FILE,
                                      _Format: *const wchar_t,
                                      _Locale: _locale_t,
                                      _ArgList: va_list)
                                      -> ::std::os::raw::c_int;
    pub fn __stdio_common_vfwprintf_p(_Options: ::std::os::raw::c_ulonglong,
                                      _Stream: *mut FILE,
                                      _Format: *const wchar_t,
                                      _Locale: _locale_t,
                                      _ArgList: va_list)
                                      -> ::std::os::raw::c_int;
    pub fn _vfwprintf_l(_Stream: *mut FILE,
                        _Format: *const wchar_t,
                        _Locale: _locale_t,
                        _ArgList: va_list)
                        -> ::std::os::raw::c_int;
    pub fn vfwprintf(_Stream: *mut FILE,
                     _Format: *const wchar_t,
                     _ArgList: va_list)
                     -> ::std::os::raw::c_int;
    pub fn _vfwprintf_s_l(_Stream: *mut FILE,
                          _Format: *const wchar_t,
                          _Locale: _locale_t,
                          _ArgList: va_list)
                          -> ::std::os::raw::c_int;
    pub fn vfwprintf_s(_Stream: *mut FILE,
                       _Format: *const wchar_t,
                       _ArgList: va_list)
                       -> ::std::os::raw::c_int;
    pub fn _vfwprintf_p_l(_Stream: *mut FILE,
                          _Format: *const wchar_t,
                          _Locale: _locale_t,
                          _ArgList: va_list)
                          -> ::std::os::raw::c_int;
    pub fn _vfwprintf_p(_Stream: *mut FILE,
                        _Format: *const wchar_t,
                        _ArgList: va_list)
                        -> ::std::os::raw::c_int;
    pub fn _vwprintf_l(_Format: *const wchar_t,
                       _Locale: _locale_t,
                       _ArgList: va_list)
                       -> ::std::os::raw::c_int;
    pub fn vwprintf(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vwprintf_s_l(_Format: *const wchar_t,
                         _Locale: _locale_t,
                         _ArgList: va_list)
                         -> ::std::os::raw::c_int;
    pub fn vwprintf_s(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vwprintf_p_l(_Format: *const wchar_t,
                         _Locale: _locale_t,
                         _ArgList: va_list)
                         -> ::std::os::raw::c_int;
    pub fn _vwprintf_p(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _fwprintf_l(_Stream: *mut FILE,
                       _Format: *const wchar_t,
                       _Locale: _locale_t,
                       ...)
                       -> ::std::os::raw::c_int;
    pub fn fwprintf(_Stream: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _fwprintf_s_l(_Stream: *mut FILE,
                         _Format: *const wchar_t,
                         _Locale: _locale_t,
                         ...)
                         -> ::std::os::raw::c_int;
    pub fn fwprintf_s(_Stream: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _fwprintf_p_l(_Stream: *mut FILE,
                         _Format: *const wchar_t,
                         _Locale: _locale_t,
                         ...)
                         -> ::std::os::raw::c_int;
    pub fn _fwprintf_p(_Stream: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _wprintf_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn wprintf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _wprintf_s_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn wprintf_s(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _wprintf_p_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn _wprintf_p(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn __stdio_common_vfwscanf(_Options: ::std::os::raw::c_ulonglong,
                                   _Stream: *mut FILE,
                                   _Format: *const wchar_t,
                                   _Locale: _locale_t,
                                   _ArgList: va_list)
                                   -> ::std::os::raw::c_int;
    pub fn _vfwscanf_l(_Stream: *mut FILE,
                       _Format: *const wchar_t,
                       _Locale: _locale_t,
                       _ArgList: va_list)
                       -> ::std::os::raw::c_int;
    pub fn vfwscanf(_Stream: *mut FILE,
                    _Format: *const wchar_t,
                    _ArgList: va_list)
                    -> ::std::os::raw::c_int;
    pub fn _vfwscanf_s_l(_Stream: *mut FILE,
                         _Format: *const wchar_t,
                         _Locale: _locale_t,
                         _ArgList: va_list)
                         -> ::std::os::raw::c_int;
    pub fn vfwscanf_s(_Stream: *mut FILE,
                      _Format: *const wchar_t,
                      _ArgList: va_list)
                      -> ::std::os::raw::c_int;
    pub fn _vwscanf_l(_Format: *const wchar_t,
                      _Locale: _locale_t,
                      _ArgList: va_list)
                      -> ::std::os::raw::c_int;
    pub fn vwscanf(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vwscanf_s_l(_Format: *const wchar_t,
                        _Locale: _locale_t,
                        _ArgList: va_list)
                        -> ::std::os::raw::c_int;
    pub fn vwscanf_s(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _fwscanf_l(_Stream: *mut FILE,
                      _Format: *const wchar_t,
                      _Locale: _locale_t,
                      ...)
                      -> ::std::os::raw::c_int;
    pub fn fwscanf(_Stream: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _fwscanf_s_l(_Stream: *mut FILE,
                        _Format: *const wchar_t,
                        _Locale: _locale_t,
                        ...)
                        -> ::std::os::raw::c_int;
    pub fn fwscanf_s(_Stream: *mut FILE, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _wscanf_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn wscanf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _wscanf_s_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn wscanf_s(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn __stdio_common_vswprintf(_Options: ::std::os::raw::c_ulonglong,
                                    _Buffer: *mut wchar_t,
                                    _BufferCount: size_t,
                                    _Format: *const wchar_t,
                                    _Locale: _locale_t,
                                    _ArgList: va_list)
                                    -> ::std::os::raw::c_int;
    pub fn __stdio_common_vswprintf_s(_Options: ::std::os::raw::c_ulonglong,
                                      _Buffer: *mut wchar_t,
                                      _BufferCount: size_t,
                                      _Format: *const wchar_t,
                                      _Locale: _locale_t,
                                      _ArgList: va_list)
                                      -> ::std::os::raw::c_int;
    pub fn __stdio_common_vsnwprintf_s(_Options: ::std::os::raw::c_ulonglong,
                                       _Buffer: *mut wchar_t,
                                       _BufferCount: size_t,
                                       _MaxCount: size_t,
                                       _Format: *const wchar_t,
                                       _Locale: _locale_t,
                                       _ArgList: va_list)
                                       -> ::std::os::raw::c_int;
    pub fn __stdio_common_vswprintf_p(_Options: ::std::os::raw::c_ulonglong,
                                      _Buffer: *mut wchar_t,
                                      _BufferCount: size_t,
                                      _Format: *const wchar_t,
                                      _Locale: _locale_t,
                                      _ArgList: va_list)
                                      -> ::std::os::raw::c_int;
    pub fn _vsnwprintf_l(_Buffer: *mut wchar_t,
                         _BufferCount: size_t,
                         _Format: *const wchar_t,
                         _Locale: _locale_t,
                         _ArgList: va_list)
                         -> ::std::os::raw::c_int;
    pub fn _vsnwprintf_s_l(_Buffer: *mut wchar_t,
                           _BufferCount: size_t,
                           _MaxCount: size_t,
                           _Format: *const wchar_t,
                           _Locale: _locale_t,
                           _ArgList: va_list)
                           -> ::std::os::raw::c_int;
    pub fn _vsnwprintf_s(_Buffer: *mut wchar_t,
                         _BufferCount: size_t,
                         _MaxCount: size_t,
                         _Format: *const wchar_t,
                         _ArgList: va_list)
                         -> ::std::os::raw::c_int;
    pub fn _snwprintf(_Buffer: *mut wchar_t,
                      _BufferCount: size_t,
                      _Format: *const wchar_t,
                      ...)
                      -> ::std::os::raw::c_int;
    pub fn _vsnwprintf(_Buffer: *mut wchar_t,
                       _BufferCount: size_t,
                       _Format: *const wchar_t,
                       _ArgList: va_list)
                       -> ::std::os::raw::c_int;
    pub fn _vswprintf_c_l(_Buffer: *mut wchar_t,
                          _BufferCount: size_t,
                          _Format: *const wchar_t,
                          _Locale: _locale_t,
                          _ArgList: va_list)
                          -> ::std::os::raw::c_int;
    pub fn _vswprintf_c(_Buffer: *mut wchar_t,
                        _BufferCount: size_t,
                        _Format: *const wchar_t,
                        _ArgList: va_list)
                        -> ::std::os::raw::c_int;
    pub fn _vswprintf_l(_Buffer: *mut wchar_t,
                        _BufferCount: size_t,
                        _Format: *const wchar_t,
                        _Locale: _locale_t,
                        _ArgList: va_list)
                        -> ::std::os::raw::c_int;
    pub fn __vswprintf_l(_Buffer: *mut wchar_t,
                         _Format: *const wchar_t,
                         _Locale: _locale_t,
                         _Args: va_list)
                         -> ::std::os::raw::c_int;
    pub fn _vswprintf(_Buffer: *mut wchar_t,
                      _Format: *const wchar_t,
                      _Args: va_list)
                      -> ::std::os::raw::c_int;
    pub fn vswprintf(_Buffer: *mut wchar_t,
                     _BufferCount: size_t,
                     _Format: *const wchar_t,
                     _ArgList: va_list)
                     -> ::std::os::raw::c_int;
    pub fn _vswprintf_s_l(_Buffer: *mut wchar_t,
                          _BufferCount: size_t,
                          _Format: *const wchar_t,
                          _Locale: _locale_t,
                          _ArgList: va_list)
                          -> ::std::os::raw::c_int;
    pub fn vswprintf_s(_Buffer: *mut wchar_t,
                       _BufferCount: size_t,
                       _Format: *const wchar_t,
                       _ArgList: va_list)
                       -> ::std::os::raw::c_int;
    pub fn _vswprintf_p_l(_Buffer: *mut wchar_t,
                          _BufferCount: size_t,
                          _Format: *const wchar_t,
                          _Locale: _locale_t,
                          _ArgList: va_list)
                          -> ::std::os::raw::c_int;
    pub fn _vswprintf_p(_Buffer: *mut wchar_t,
                        _BufferCount: size_t,
                        _Format: *const wchar_t,
                        _ArgList: va_list)
                        -> ::std::os::raw::c_int;
    pub fn _vscwprintf_l(_Format: *const wchar_t,
                         _Locale: _locale_t,
                         _ArgList: va_list)
                         -> ::std::os::raw::c_int;
    pub fn _vscwprintf(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn _vscwprintf_p_l(_Format: *const wchar_t,
                           _Locale: _locale_t,
                           _ArgList: va_list)
                           -> ::std::os::raw::c_int;
    pub fn _vscwprintf_p(_Format: *const wchar_t, _ArgList: va_list) -> ::std::os::raw::c_int;
    pub fn __swprintf_l(_Buffer: *mut wchar_t,
                        _Format: *const wchar_t,
                        _Locale: _locale_t,
                        ...)
                        -> ::std::os::raw::c_int;
    pub fn _swprintf_l(_Buffer: *mut wchar_t,
                       _BufferCount: size_t,
                       _Format: *const wchar_t,
                       _Locale: _locale_t,
                       ...)
                       -> ::std::os::raw::c_int;
    pub fn _swprintf(_Buffer: *mut wchar_t, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn swprintf(_Buffer: *mut wchar_t,
                    _BufferCount: size_t,
                    _Format: *const wchar_t,
                    ...)
                    -> ::std::os::raw::c_int;
    pub fn _swprintf_s_l(_Buffer: *mut wchar_t,
                         _BufferCount: size_t,
                         _Format: *const wchar_t,
                         _Locale: _locale_t,
                         ...)
                         -> ::std::os::raw::c_int;
    pub fn swprintf_s(_Buffer: *mut wchar_t,
                      _BufferCount: size_t,
                      _Format: *const wchar_t,
                      ...)
                      -> ::std::os::raw::c_int;
    pub fn _swprintf_p_l(_Buffer: *mut wchar_t,
                         _BufferCount: size_t,
                         _Format: *const wchar_t,
                         _Locale: _locale_t,
                         ...)
                         -> ::std::os::raw::c_int;
    pub fn _swprintf_p(_Buffer: *mut wchar_t,
                       _BufferCount: size_t,
                       _Format: *const wchar_t,
                       ...)
                       -> ::std::os::raw::c_int;
    pub fn _swprintf_c_l(_Buffer: *mut wchar_t,
                         _BufferCount: size_t,
                         _Format: *const wchar_t,
                         _Locale: _locale_t,
                         ...)
                         -> ::std::os::raw::c_int;
    pub fn _swprintf_c(_Buffer: *mut wchar_t,
                       _BufferCount: size_t,
                       _Format: *const wchar_t,
                       ...)
                       -> ::std::os::raw::c_int;
    pub fn _snwprintf_l(_Buffer: *mut wchar_t,
                        _BufferCount: size_t,
                        _Format: *const wchar_t,
                        _Locale: _locale_t,
                        ...)
                        -> ::std::os::raw::c_int;
    pub fn _snwprintf_s_l(_Buffer: *mut wchar_t,
                          _BufferCount: size_t,
                          _MaxCount: size_t,
                          _Format: *const wchar_t,
                          _Locale: _locale_t,
                          ...)
                          -> ::std::os::raw::c_int;
    pub fn _snwprintf_s(_Buffer: *mut wchar_t,
                        _BufferCount: size_t,
                        _MaxCount: size_t,
                        _Format: *const wchar_t,
                        ...)
                        -> ::std::os::raw::c_int;
    pub fn _scwprintf_l(_Format: *const wchar_t, _Locale: _locale_t, ...) -> ::std::os::raw::c_int;
    pub fn _scwprintf(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _scwprintf_p_l(_Format: *const wchar_t,
                          _Locale: _locale_t,
                          ...)
                          -> ::std::os::raw::c_int;
    pub fn _scwprintf_p(_Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn __stdio_common_vswscanf(_Options: ::std::os::raw::c_ulonglong,
                                   _Buffer: *const wchar_t,
                                   _BufferCount: size_t,
                                   _Format: *const wchar_t,
                                   _Locale: _locale_t,
                                   _ArgList: va_list)
                                   -> ::std::os::raw::c_int;
    pub fn _vswscanf_l(_Buffer: *const wchar_t,
                       _Format: *const wchar_t,
                       _Locale: _locale_t,
                       _ArgList: va_list)
                       -> ::std::os::raw::c_int;
    pub fn vswscanf(_Buffer: *const wchar_t,
                    _Format: *const wchar_t,
                    _ArgList: va_list)
                    -> ::std::os::raw::c_int;
    pub fn _vswscanf_s_l(_Buffer: *const wchar_t,
                         _Format: *const wchar_t,
                         _Locale: _locale_t,
                         _ArgList: va_list)
                         -> ::std::os::raw::c_int;
    pub fn vswscanf_s(_Buffer: *const wchar_t,
                      _Format: *const wchar_t,
                      _ArgList: va_list)
                      -> ::std::os::raw::c_int;
    pub fn _vsnwscanf_l(_Buffer: *const wchar_t,
                        _BufferCount: size_t,
                        _Format: *const wchar_t,
                        _Locale: _locale_t,
                        _ArgList: va_list)
                        -> ::std::os::raw::c_int;
    pub fn _vsnwscanf_s_l(_Buffer: *const wchar_t,
                          _BufferCount: size_t,
                          _Format: *const wchar_t,
                          _Locale: _locale_t,
                          _ArgList: va_list)
                          -> ::std::os::raw::c_int;
    pub fn _swscanf_l(_Buffer: *const wchar_t,
                      _Format: *const wchar_t,
                      _Locale: _locale_t,
                      ...)
                      -> ::std::os::raw::c_int;
    pub fn swscanf(_Buffer: *const wchar_t, _Format: *const wchar_t, ...) -> ::std::os::raw::c_int;
    pub fn _swscanf_s_l(_Buffer: *const wchar_t,
                        _Format: *const wchar_t,
                        _Locale: _locale_t,
                        ...)
                        -> ::std::os::raw::c_int;
    pub fn swscanf_s(_Buffer: *const wchar_t,
                     _Format: *const wchar_t,
                     ...)
                     -> ::std::os::raw::c_int;
    pub fn _snwscanf_l(_Buffer: *const wchar_t,
                       _BufferCount: size_t,
                       _Format: *const wchar_t,
                       _Locale: _locale_t,
                       ...)
                       -> ::std::os::raw::c_int;
    pub fn _snwscanf(_Buffer: *const wchar_t,
                     _BufferCount: size_t,
                     _Format: *const wchar_t,
                     ...)
                     -> ::std::os::raw::c_int;
    pub fn _snwscanf_s_l(_Buffer: *const wchar_t,
                         _BufferCount: size_t,
                         _Format: *const wchar_t,
                         _Locale: _locale_t,
                         ...)
                         -> ::std::os::raw::c_int;
    pub fn _snwscanf_s(_Buffer: *const wchar_t,
                       _BufferCount: size_t,
                       _Format: *const wchar_t,
                       ...)
                       -> ::std::os::raw::c_int;
    pub fn _get_stream_buffer_pointers(_Stream: *mut FILE,
                                       _Base: *mut *mut *mut ::std::os::raw::c_char,
                                       _Pointer: *mut *mut *mut ::std::os::raw::c_char,
                                       _Count: *mut *mut ::std::os::raw::c_int)
                                       -> errno_t;
    pub fn clearerr_s(_Stream: *mut FILE) -> errno_t;
    pub fn fopen_s(_Stream: *mut *mut FILE,
                   _FileName: *const ::std::os::raw::c_char,
                   _Mode: *const ::std::os::raw::c_char)
                   -> errno_t;
    pub fn fread_s(_Buffer: *mut ::std::os::raw::c_void,
                   _BufferSize: size_t,
                   _ElementSize: size_t,
                   _ElementCount: size_t,
                   _Stream: *mut FILE)
                   -> size_t;
    pub fn freopen_s(_Stream: *mut *mut FILE,
                     _FileName: *const ::std::os::raw::c_char,
                     _Mode: *const ::std::os::raw::c_char,
                     _OldStream: *mut FILE)
                     -> errno_t;
    pub fn gets_s(_Buffer: *mut ::std::os::raw::c_char,
                  _Size: rsize_t)
                  -> *mut ::std::os::raw::c_char;
    pub fn tmpfile_s(_Stream: *mut *mut FILE) -> errno_t;
    pub fn tmpnam_s(_Buffer: *mut ::std::os::raw::c_char, _Size: rsize_t) -> errno_t;
    pub fn clearerr(_Stream: *mut FILE);
    pub fn fclose(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _fcloseall() -> ::std::os::raw::c_int;
    pub fn _fdopen(_FileHandle: ::std::os::raw::c_int,
                   _Mode: *const ::std::os::raw::c_char)
                   -> *mut FILE;
    pub fn feof(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn ferror(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn fflush(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn fgetc(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _fgetchar() -> ::std::os::raw::c_int;
    pub fn fgetpos(_Stream: *mut FILE, _Position: *mut fpos_t) -> ::std::os::raw::c_int;
    pub fn fgets(_Buffer: *mut ::std::os::raw::c_char,
                 _MaxCount: ::std::os::raw::c_int,
                 _Stream: *mut FILE)
                 -> *mut ::std::os::raw::c_char;
    pub fn _fileno(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _flushall() -> ::std::os::raw::c_int;
    pub fn fopen(_FileName: *const ::std::os::raw::c_char,
                 _Mode: *const ::std::os::raw::c_char)
                 -> *mut FILE;
    pub fn fputc(_Character: ::std::os::raw::c_int, _Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _fputchar(_Character: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn fputs(_Buffer: *const ::std::os::raw::c_char,
                 _Stream: *mut FILE)
                 -> ::std::os::raw::c_int;
    pub fn fread(_Buffer: *mut ::std::os::raw::c_void,
                 _ElementSize: size_t,
                 _ElementCount: size_t,
                 _Stream: *mut FILE)
                 -> size_t;
    pub fn freopen(_FileName: *const ::std::os::raw::c_char,
                   _Mode: *const ::std::os::raw::c_char,
                   _Stream: *mut FILE)
                   -> *mut FILE;
    pub fn _fsopen(_FileName: *const ::std::os::raw::c_char,
                   _Mode: *const ::std::os::raw::c_char,
                   _ShFlag: ::std::os::raw::c_int)
                   -> *mut FILE;
    pub fn fsetpos(_Stream: *mut FILE, _Position: *const fpos_t) -> ::std::os::raw::c_int;
    pub fn fseek(_Stream: *mut FILE,
                 _Offset: ::std::os::raw::c_long,
                 _Origin: ::std::os::raw::c_int)
                 -> ::std::os::raw::c_int;
    pub fn _fseeki64(_Stream: *mut FILE,
                     _Offset: ::std::os::raw::c_longlong,
                     _Origin: ::std::os::raw::c_int)
                     -> ::std::os::raw::c_int;
    pub fn ftell(_Stream: *mut FILE) -> ::std::os::raw::c_long;
    pub fn _ftelli64(_Stream: *mut FILE) -> ::std::os::raw::c_longlong;
    pub fn fwrite(_Buffer: *const ::std::os::raw::c_void,
                  _ElementSize: size_t,
                  _ElementCount: size_t,
                  _Stream: *mut FILE)
                  -> size_t;
    pub fn getc(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn getchar() -> ::std::os::raw::c_int;
    pub fn _getmaxstdio() -> ::std::os::raw::c_int;
    pub fn _getw(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn perror(_ErrorMessage: *const ::std::os::raw::c_char);
    pub fn _pclose(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _popen(_Command: *const ::std::os::raw::c_char,
                  _Mode: *const ::std::os::raw::c_char)
                  -> *mut FILE;
    pub fn putc(_Character: ::std::os::raw::c_int, _Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn putchar(_Character: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn puts(_Buffer: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
    pub fn _putw(_Word: ::std::os::raw::c_int, _Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn remove(_FileName: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
    pub fn rename(_OldFileName: *const ::std::os::raw::c_char,
                  _NewFileName: *const ::std::os::raw::c_char)
                  -> ::std::os::raw::c_int;
    pub fn _unlink(_FileName: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
    pub fn unlink(_FileName: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
    pub fn rewind(_Stream: *mut FILE);
    pub fn _rmtmp() -> ::std::os::raw::c_int;
    pub fn setbuf(_Stream: *mut FILE, _Buffer: *mut ::std::os::raw::c_char);
    pub fn _setmaxstdio(_Maximum: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn setvbuf(_Stream: *mut FILE,
                   _Buffer: *mut ::std::os::raw::c_char,
                   _Mode: ::std::os::raw::c_int,
                   _Size: size_t)
                   -> ::std::os::raw::c_int;
    pub fn _tempnam(_DirectoryName: *const ::std::os::raw::c_char,
                    _FilePrefix: *const ::std::os::raw::c_char)
                    -> *mut ::std::os::raw::c_char;
    pub fn tmpfile() -> *mut FILE;
    pub fn tmpnam(_Buffer: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
    pub fn ungetc(_Character: ::std::os::raw::c_int, _Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _lock_file(_Stream: *mut FILE);
    pub fn _unlock_file(_Stream: *mut FILE);
    pub fn _fclose_nolock(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _fflush_nolock(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _fgetc_nolock(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _fputc_nolock(_Character: ::std::os::raw::c_int,
                         _Stream: *mut FILE)
                         -> ::std::os::raw::c_int;
    pub fn _fread_nolock(_Buffer: *mut ::std::os::raw::c_void,
                         _ElementSize: size_t,
                         _ElementCount: size_t,
                         _Stream: *mut FILE)
                         -> size_t;
    pub fn _fread_nolock_s(_Buffer: *mut ::std::os::raw::c_void,
                           _BufferSize: size_t,
                           _ElementSize: size_t,
                           _ElementCount: size_t,
                           _Stream: *mut FILE)
                           -> size_t;
    pub fn _fseek_nolock(_Stream: *mut FILE,
                         _Offset: ::std::os::raw::c_long,
                         _Origin: ::std::os::raw::c_int)
                         -> ::std::os::raw::c_int;
    pub fn _fseeki64_nolock(_Stream: *mut FILE,
                            _Offset: ::std::os::raw::c_longlong,
                            _Origin: ::std::os::raw::c_int)
                            -> ::std::os::raw::c_int;
    pub fn _ftell_nolock(_Stream: *mut FILE) -> ::std::os::raw::c_long;
    pub fn _ftelli64_nolock(_Stream: *mut FILE) -> ::std::os::raw::c_longlong;
    pub fn _fwrite_nolock(_Buffer: *const ::std::os::raw::c_void,
                          _ElementSize: size_t,
                          _ElementCount: size_t,
                          _Stream: *mut FILE)
                          -> size_t;
    pub fn _getc_nolock(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn _putc_nolock(_Character: ::std::os::raw::c_int,
                        _Stream: *mut FILE)
                        -> ::std::os::raw::c_int;
    pub fn _ungetc_nolock(_Character: ::std::os::raw::c_int,
                          _Stream: *mut FILE)
                          -> ::std::os::raw::c_int;
    pub fn __p__commode() -> *mut ::std::os::raw::c_int;
    pub fn __stdio_common_vfprintf(_Options: ::std::os::raw::c_ulonglong,
                                   _Stream: *mut FILE,
                                   _Format: *const ::std::os::raw::c_char,
                                   _Locale: _locale_t,
                                   _ArgList: va_list)
                                   -> ::std::os::raw::c_int;
    pub fn __stdio_common_vfprintf_s(_Options: ::std::os::raw::c_ulonglong,
                                     _Stream: *mut FILE,
                                     _Format: *const ::std::os::raw::c_char,
                                     _Locale: _locale_t,
                                     _ArgList: va_list)
                                     -> ::std::os::raw::c_int;
    pub fn __stdio_common_vfprintf_p(_Options: ::std::os::raw::c_ulonglong,
                                     _Stream: *mut FILE,
                                     _Format: *const ::std::os::raw::c_char,
                                     _Locale: _locale_t,
                                     _ArgList: va_list)
                                     -> ::std::os::raw::c_int;
    pub fn _vfprintf_l(_Stream: *mut FILE,
                       _Format: *const ::std::os::raw::c_char,
                       _Locale: _locale_t,
                       _ArgList: va_list)
                       -> ::std::os::raw::c_int;
    pub fn vfprintf(_Stream: *mut FILE,
                    _Format: *const ::std::os::raw::c_char,
                    _ArgList: va_list)
                    -> ::std::os::raw::c_int;
    pub fn _vfprintf_s_l(_Stream: *mut FILE,
                         _Format: *const ::std::os::raw::c_char,
                         _Locale: _locale_t,
                         _ArgList: va_list)
                         -> ::std::os::raw::c_int;
    pub fn vfprintf_s(_Stream: *mut FILE,
                      _Format: *const ::std::os::raw::c_char,
                      _ArgList: va_list)
                      -> ::std::os::raw::c_int;
    pub fn _vfprintf_p_l(_Stream: *mut FILE,
                         _Format: *const ::std::os::raw::c_char,
                         _Locale: _locale_t,
                         _ArgList: va_list)
                         -> ::std::os::raw::c_int;
    pub fn _vfprintf_p(_Stream: *mut FILE,
                       _Format: *const ::std::os::raw::c_char,
                       _ArgList: va_list)
                       -> ::std::os::raw::c_int;
    pub fn _vprintf_l(_Format: *const ::std::os::raw::c_char,
                      _Locale: _locale_t,
                      _ArgList: va_list)
                      -> ::std::os::raw::c_int;
    pub fn vprintf(_Format: *const ::std::os::raw::c_char,
                   _ArgList: va_list)
                   -> ::std::os::raw::c_int;
    pub fn _vprintf_s_l(_Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t,
                        _ArgList: va_list)
                        -> ::std::os::raw::c_int;
    pub fn vprintf_s(_Format: *const ::std::os::raw::c_char,
                     _ArgList: va_list)
                     -> ::std::os::raw::c_int;
    pub fn _vprintf_p_l(_Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t,
                        _ArgList: va_list)
                        -> ::std::os::raw::c_int;
    pub fn _vprintf_p(_Format: *const ::std::os::raw::c_char,
                      _ArgList: va_list)
                      -> ::std::os::raw::c_int;
    pub fn _fprintf_l(_Stream: *mut FILE,
                      _Format: *const ::std::os::raw::c_char,
                      _Locale: _locale_t,
                      ...)
                      -> ::std::os::raw::c_int;
    pub fn fprintf(_Stream: *mut FILE,
                   _Format: *const ::std::os::raw::c_char,
                   ...)
                   -> ::std::os::raw::c_int;
    pub fn _set_printf_count_output(_Value: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn _get_printf_count_output() -> ::std::os::raw::c_int;
    pub fn _fprintf_s_l(_Stream: *mut FILE,
                        _Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t,
                        ...)
                        -> ::std::os::raw::c_int;
    pub fn fprintf_s(_Stream: *mut FILE,
                     _Format: *const ::std::os::raw::c_char,
                     ...)
                     -> ::std::os::raw::c_int;
    pub fn _fprintf_p_l(_Stream: *mut FILE,
                        _Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t,
                        ...)
                        -> ::std::os::raw::c_int;
    pub fn _fprintf_p(_Stream: *mut FILE,
                      _Format: *const ::std::os::raw::c_char,
                      ...)
                      -> ::std::os::raw::c_int;
    pub fn _printf_l(_Format: *const ::std::os::raw::c_char,
                     _Locale: _locale_t,
                     ...)
                     -> ::std::os::raw::c_int;
    pub fn printf(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
    pub fn _printf_s_l(_Format: *const ::std::os::raw::c_char,
                       _Locale: _locale_t,
                       ...)
                       -> ::std::os::raw::c_int;
    pub fn printf_s(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
    pub fn _printf_p_l(_Format: *const ::std::os::raw::c_char,
                       _Locale: _locale_t,
                       ...)
                       -> ::std::os::raw::c_int;
    pub fn _printf_p(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
    pub fn __stdio_common_vfscanf(_Options: ::std::os::raw::c_ulonglong,
                                  _Stream: *mut FILE,
                                  _Format: *const ::std::os::raw::c_char,
                                  _Locale: _locale_t,
                                  _Arglist: va_list)
                                  -> ::std::os::raw::c_int;
    pub fn _vfscanf_l(_Stream: *mut FILE,
                      _Format: *const ::std::os::raw::c_char,
                      _Locale: _locale_t,
                      _ArgList: va_list)
                      -> ::std::os::raw::c_int;
    pub fn vfscanf(_Stream: *mut FILE,
                   _Format: *const ::std::os::raw::c_char,
                   _ArgList: va_list)
                   -> ::std::os::raw::c_int;
    pub fn _vfscanf_s_l(_Stream: *mut FILE,
                        _Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t,
                        _ArgList: va_list)
                        -> ::std::os::raw::c_int;
    pub fn vfscanf_s(_Stream: *mut FILE,
                     _Format: *const ::std::os::raw::c_char,
                     _ArgList: va_list)
                     -> ::std::os::raw::c_int;
    pub fn _vscanf_l(_Format: *const ::std::os::raw::c_char,
                     _Locale: _locale_t,
                     _ArgList: va_list)
                     -> ::std::os::raw::c_int;
    pub fn vscanf(_Format: *const ::std::os::raw::c_char,
                  _ArgList: va_list)
                  -> ::std::os::raw::c_int;
    pub fn _vscanf_s_l(_Format: *const ::std::os::raw::c_char,
                       _Locale: _locale_t,
                       _ArgList: va_list)
                       -> ::std::os::raw::c_int;
    pub fn vscanf_s(_Format: *const ::std::os::raw::c_char,
                    _ArgList: va_list)
                    -> ::std::os::raw::c_int;
    pub fn _fscanf_l(_Stream: *mut FILE,
                     _Format: *const ::std::os::raw::c_char,
                     _Locale: _locale_t,
                     ...)
                     -> ::std::os::raw::c_int;
    pub fn fscanf(_Stream: *mut FILE,
                  _Format: *const ::std::os::raw::c_char,
                  ...)
                  -> ::std::os::raw::c_int;
    pub fn _fscanf_s_l(_Stream: *mut FILE,
                       _Format: *const ::std::os::raw::c_char,
                       _Locale: _locale_t,
                       ...)
                       -> ::std::os::raw::c_int;
    pub fn fscanf_s(_Stream: *mut FILE,
                    _Format: *const ::std::os::raw::c_char,
                    ...)
                    -> ::std::os::raw::c_int;
    pub fn _scanf_l(_Format: *const ::std::os::raw::c_char,
                    _Locale: _locale_t,
                    ...)
                    -> ::std::os::raw::c_int;
    pub fn scanf(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
    pub fn _scanf_s_l(_Format: *const ::std::os::raw::c_char,
                      _Locale: _locale_t,
                      ...)
                      -> ::std::os::raw::c_int;
    pub fn scanf_s(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
    pub fn __stdio_common_vsprintf(_Options: ::std::os::raw::c_ulonglong,
                                   _Buffer: *mut ::std::os::raw::c_char,
                                   _BufferCount: size_t,
                                   _Format: *const ::std::os::raw::c_char,
                                   _Locale: _locale_t,
                                   _ArgList: va_list)
                                   -> ::std::os::raw::c_int;
    pub fn __stdio_common_vsprintf_s(_Options: ::std::os::raw::c_ulonglong,
                                     _Buffer: *mut ::std::os::raw::c_char,
                                     _BufferCount: size_t,
                                     _Format: *const ::std::os::raw::c_char,
                                     _Locale: _locale_t,
                                     _ArgList: va_list)
                                     -> ::std::os::raw::c_int;
    pub fn __stdio_common_vsnprintf_s(_Options: ::std::os::raw::c_ulonglong,
                                      _Buffer: *mut ::std::os::raw::c_char,
                                      _BufferCount: size_t,
                                      _MaxCount: size_t,
                                      _Format: *const ::std::os::raw::c_char,
                                      _Locale: _locale_t,
                                      _ArgList: va_list)
                                      -> ::std::os::raw::c_int;
    pub fn __stdio_common_vsprintf_p(_Options: ::std::os::raw::c_ulonglong,
                                     _Buffer: *mut ::std::os::raw::c_char,
                                     _BufferCount: size_t,
                                     _Format: *const ::std::os::raw::c_char,
                                     _Locale: _locale_t,
                                     _ArgList: va_list)
                                     -> ::std::os::raw::c_int;
    pub fn _vsnprintf_l(_Buffer: *mut ::std::os::raw::c_char,
                        _BufferCount: size_t,
                        _Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t,
                        _ArgList: va_list)
                        -> ::std::os::raw::c_int;
    pub fn _vsnprintf(_Buffer: *mut ::std::os::raw::c_char,
                      _BufferCount: size_t,
                      _Format: *const ::std::os::raw::c_char,
                      _Args: va_list)
                      -> ::std::os::raw::c_int;
    pub fn vsnprintf(_Buffer: *mut ::std::os::raw::c_char,
                     _BufferCount: size_t,
                     _Format: *const ::std::os::raw::c_char,
                     _ArgList: va_list)
                     -> ::std::os::raw::c_int;
    pub fn _vsprintf_l(_Buffer: *mut ::std::os::raw::c_char,
                       _Format: *const ::std::os::raw::c_char,
                       _Locale: _locale_t,
                       _ArgList: va_list)
                       -> ::std::os::raw::c_int;
    pub fn vsprintf(_Buffer: *mut ::std::os::raw::c_char,
                    _Format: *const ::std::os::raw::c_char,
                    _Args: va_list)
                    -> ::std::os::raw::c_int;
    pub fn _vsprintf_s_l(_Buffer: *mut ::std::os::raw::c_char,
                         _BufferCount: size_t,
                         _Format: *const ::std::os::raw::c_char,
                         _Locale: _locale_t,
                         _ArgList: va_list)
                         -> ::std::os::raw::c_int;
    pub fn vsprintf_s(_Buffer: *mut ::std::os::raw::c_char,
                      _BufferCount: size_t,
                      _Format: *const ::std::os::raw::c_char,
                      _ArgList: va_list)
                      -> ::std::os::raw::c_int;
    pub fn _vsprintf_p_l(_Buffer: *mut ::std::os::raw::c_char,
                         _BufferCount: size_t,
                         _Format: *const ::std::os::raw::c_char,
                         _Locale: _locale_t,
                         _ArgList: va_list)
                         -> ::std::os::raw::c_int;
    pub fn _vsprintf_p(_Buffer: *mut ::std::os::raw::c_char,
                       _BufferCount: size_t,
                       _Format: *const ::std::os::raw::c_char,
                       _ArgList: va_list)
                       -> ::std::os::raw::c_int;
    pub fn _vsnprintf_s_l(_Buffer: *mut ::std::os::raw::c_char,
                          _BufferCount: size_t,
                          _MaxCount: size_t,
                          _Format: *const ::std::os::raw::c_char,
                          _Locale: _locale_t,
                          _ArgList: va_list)
                          -> ::std::os::raw::c_int;
    pub fn _vsnprintf_s(_Buffer: *mut ::std::os::raw::c_char,
                        _BufferCount: size_t,
                        _MaxCount: size_t,
                        _Format: *const ::std::os::raw::c_char,
                        _ArgList: va_list)
                        -> ::std::os::raw::c_int;
    pub fn vsnprintf_s(_Buffer: *mut ::std::os::raw::c_char,
                       _BufferCount: size_t,
                       _MaxCount: size_t,
                       _Format: *const ::std::os::raw::c_char,
                       _ArgList: va_list)
                       -> ::std::os::raw::c_int;
    pub fn _vscprintf_l(_Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t,
                        _ArgList: va_list)
                        -> ::std::os::raw::c_int;
    pub fn _vscprintf(_Format: *const ::std::os::raw::c_char,
                      _ArgList: va_list)
                      -> ::std::os::raw::c_int;
    pub fn _vscprintf_p_l(_Format: *const ::std::os::raw::c_char,
                          _Locale: _locale_t,
                          _ArgList: va_list)
                          -> ::std::os::raw::c_int;
    pub fn _vscprintf_p(_Format: *const ::std::os::raw::c_char,
                        _ArgList: va_list)
                        -> ::std::os::raw::c_int;
    pub fn _vsnprintf_c_l(_Buffer: *mut ::std::os::raw::c_char,
                          _BufferCount: size_t,
                          _Format: *const ::std::os::raw::c_char,
                          _Locale: _locale_t,
                          _ArgList: va_list)
                          -> ::std::os::raw::c_int;
    pub fn _vsnprintf_c(_Buffer: *mut ::std::os::raw::c_char,
                        _BufferCount: size_t,
                        _Format: *const ::std::os::raw::c_char,
                        _ArgList: va_list)
                        -> ::std::os::raw::c_int;
    pub fn _sprintf_l(_Buffer: *mut ::std::os::raw::c_char,
                      _Format: *const ::std::os::raw::c_char,
                      _Locale: _locale_t,
                      ...)
                      -> ::std::os::raw::c_int;
    pub fn sprintf(_Buffer: *mut ::std::os::raw::c_char,
                   _Format: *const ::std::os::raw::c_char,
                   ...)
                   -> ::std::os::raw::c_int;
    pub fn _sprintf_s_l(_Buffer: *mut ::std::os::raw::c_char,
                        _BufferCount: size_t,
                        _Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t,
                        ...)
                        -> ::std::os::raw::c_int;
    pub fn sprintf_s(_Buffer: *mut ::std::os::raw::c_char,
                     _BufferCount: size_t,
                     _Format: *const ::std::os::raw::c_char,
                     ...)
                     -> ::std::os::raw::c_int;
    pub fn _sprintf_p_l(_Buffer: *mut ::std::os::raw::c_char,
                        _BufferCount: size_t,
                        _Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t,
                        ...)
                        -> ::std::os::raw::c_int;
    pub fn _sprintf_p(_Buffer: *mut ::std::os::raw::c_char,
                      _BufferCount: size_t,
                      _Format: *const ::std::os::raw::c_char,
                      ...)
                      -> ::std::os::raw::c_int;
    pub fn _snprintf_l(_Buffer: *mut ::std::os::raw::c_char,
                       _BufferCount: size_t,
                       _Format: *const ::std::os::raw::c_char,
                       _Locale: _locale_t,
                       ...)
                       -> ::std::os::raw::c_int;
    pub fn snprintf(_Buffer: *mut ::std::os::raw::c_char,
                    _BufferCount: size_t,
                    _Format: *const ::std::os::raw::c_char,
                    ...)
                    -> ::std::os::raw::c_int;
    pub fn _snprintf(_Buffer: *mut ::std::os::raw::c_char,
                     _BufferCount: size_t,
                     _Format: *const ::std::os::raw::c_char,
                     ...)
                     -> ::std::os::raw::c_int;
    pub fn _snprintf_c_l(_Buffer: *mut ::std::os::raw::c_char,
                         _BufferCount: size_t,
                         _Format: *const ::std::os::raw::c_char,
                         _Locale: _locale_t,
                         ...)
                         -> ::std::os::raw::c_int;
    pub fn _snprintf_c(_Buffer: *mut ::std::os::raw::c_char,
                       _BufferCount: size_t,
                       _Format: *const ::std::os::raw::c_char,
                       ...)
                       -> ::std::os::raw::c_int;
    pub fn _snprintf_s_l(_Buffer: *mut ::std::os::raw::c_char,
                         _BufferCount: size_t,
                         _MaxCount: size_t,
                         _Format: *const ::std::os::raw::c_char,
                         _Locale: _locale_t,
                         ...)
                         -> ::std::os::raw::c_int;
    pub fn _snprintf_s(_Buffer: *mut ::std::os::raw::c_char,
                       _BufferCount: size_t,
                       _MaxCount: size_t,
                       _Format: *const ::std::os::raw::c_char,
                       ...)
                       -> ::std::os::raw::c_int;
    pub fn _scprintf_l(_Format: *const ::std::os::raw::c_char,
                       _Locale: _locale_t,
                       ...)
                       -> ::std::os::raw::c_int;
    pub fn _scprintf(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
    pub fn _scprintf_p_l(_Format: *const ::std::os::raw::c_char,
                         _Locale: _locale_t,
                         ...)
                         -> ::std::os::raw::c_int;
    pub fn _scprintf_p(_Format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
    pub fn __stdio_common_vsscanf(_Options: ::std::os::raw::c_ulonglong,
                                  _Buffer: *const ::std::os::raw::c_char,
                                  _BufferCount: size_t,
                                  _Format: *const ::std::os::raw::c_char,
                                  _Locale: _locale_t,
                                  _ArgList: va_list)
                                  -> ::std::os::raw::c_int;
    pub fn _vsscanf_l(_Buffer: *const ::std::os::raw::c_char,
                      _Format: *const ::std::os::raw::c_char,
                      _Locale: _locale_t,
                      _ArgList: va_list)
                      -> ::std::os::raw::c_int;
    pub fn vsscanf(_Buffer: *const ::std::os::raw::c_char,
                   _Format: *const ::std::os::raw::c_char,
                   _ArgList: va_list)
                   -> ::std::os::raw::c_int;
    pub fn _vsscanf_s_l(_Buffer: *const ::std::os::raw::c_char,
                        _Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t,
                        _ArgList: va_list)
                        -> ::std::os::raw::c_int;
    pub fn vsscanf_s(_Buffer: *const ::std::os::raw::c_char,
                     _Format: *const ::std::os::raw::c_char,
                     _ArgList: va_list)
                     -> ::std::os::raw::c_int;
    pub fn _sscanf_l(_Buffer: *const ::std::os::raw::c_char,
                     _Format: *const ::std::os::raw::c_char,
                     _Locale: _locale_t,
                     ...)
                     -> ::std::os::raw::c_int;
    pub fn sscanf(_Buffer: *const ::std::os::raw::c_char,
                  _Format: *const ::std::os::raw::c_char,
                  ...)
                  -> ::std::os::raw::c_int;
    pub fn _sscanf_s_l(_Buffer: *const ::std::os::raw::c_char,
                       _Format: *const ::std::os::raw::c_char,
                       _Locale: _locale_t,
                       ...)
                       -> ::std::os::raw::c_int;
    pub fn sscanf_s(_Buffer: *const ::std::os::raw::c_char,
                    _Format: *const ::std::os::raw::c_char,
                    ...)
                    -> ::std::os::raw::c_int;
    pub fn _snscanf_l(_Buffer: *const ::std::os::raw::c_char,
                      _BufferCount: size_t,
                      _Format: *const ::std::os::raw::c_char,
                      _Locale: _locale_t,
                      ...)
                      -> ::std::os::raw::c_int;
    pub fn _snscanf(_Buffer: *const ::std::os::raw::c_char,
                    _BufferCount: size_t,
                    _Format: *const ::std::os::raw::c_char,
                    ...)
                    -> ::std::os::raw::c_int;
    pub fn _snscanf_s_l(_Buffer: *const ::std::os::raw::c_char,
                        _BufferCount: size_t,
                        _Format: *const ::std::os::raw::c_char,
                        _Locale: _locale_t,
                        ...)
                        -> ::std::os::raw::c_int;
    pub fn _snscanf_s(_Buffer: *const ::std::os::raw::c_char,
                      _BufferCount: size_t,
                      _Format: *const ::std::os::raw::c_char,
                      ...)
                      -> ::std::os::raw::c_int;
    pub fn tempnam(_Directory: *const ::std::os::raw::c_char,
                   _FilePrefix: *const ::std::os::raw::c_char)
                   -> *mut ::std::os::raw::c_char;
    pub fn fcloseall() -> ::std::os::raw::c_int;
    pub fn fdopen(_FileHandle: ::std::os::raw::c_int,
                  _Format: *const ::std::os::raw::c_char)
                  -> *mut FILE;
    pub fn fgetchar() -> ::std::os::raw::c_int;
    pub fn fileno(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn flushall() -> ::std::os::raw::c_int;
    pub fn fputchar(_Ch: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn getw(_Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn putw(_Ch: ::std::os::raw::c_int, _Stream: *mut FILE) -> ::std::os::raw::c_int;
    pub fn rmtmp() -> ::std::os::raw::c_int;
    pub fn addch(arg1: chtype) -> ::std::os::raw::c_int;
    pub fn addchnstr(arg1: *const chtype, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn addchstr(arg1: *const chtype) -> ::std::os::raw::c_int;
    pub fn addnstr(arg1: *const ::std::os::raw::c_char,
                   arg2: ::std::os::raw::c_int)
                   -> ::std::os::raw::c_int;
    pub fn addstr(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
    pub fn attroff(arg1: chtype) -> ::std::os::raw::c_int;
    pub fn attron(arg1: chtype) -> ::std::os::raw::c_int;
    pub fn attrset(arg1: chtype) -> ::std::os::raw::c_int;
    pub fn attr_get(arg1: *mut attr_t,
                    arg2: *mut ::std::os::raw::c_short,
                    arg3: *mut ::std::os::raw::c_void)
                    -> ::std::os::raw::c_int;
    pub fn attr_off(arg1: attr_t, arg2: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
    pub fn attr_on(arg1: attr_t, arg2: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
    pub fn attr_set(arg1: attr_t,
                    arg2: ::std::os::raw::c_short,
                    arg3: *mut ::std::os::raw::c_void)
                    -> ::std::os::raw::c_int;
    pub fn baudrate() -> ::std::os::raw::c_int;
    pub fn beep() -> ::std::os::raw::c_int;
    pub fn bkgd(arg1: chtype) -> ::std::os::raw::c_int;
    pub fn bkgdset(arg1: chtype);
    pub fn border(arg1: chtype,
                  arg2: chtype,
                  arg3: chtype,
                  arg4: chtype,
                  arg5: chtype,
                  arg6: chtype,
                  arg7: chtype,
                  arg8: chtype)
                  -> ::std::os::raw::c_int;
    #[link_name = "box"]
    pub fn _box(arg1: *mut WINDOW, arg2: chtype, arg3: chtype) -> ::std::os::raw::c_int;
    pub fn can_change_color() -> _bool;
    pub fn cbreak() -> ::std::os::raw::c_int;
    pub fn chgat(arg1: ::std::os::raw::c_int,
                 arg2: attr_t,
                 arg3: ::std::os::raw::c_short,
                 arg4: *const ::std::os::raw::c_void)
                 -> ::std::os::raw::c_int;
    pub fn clearok(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int;
    pub fn clear() -> ::std::os::raw::c_int;
    pub fn clrtobot() -> ::std::os::raw::c_int;
    pub fn clrtoeol() -> ::std::os::raw::c_int;
    pub fn color_content(arg1: ::std::os::raw::c_short,
                         arg2: *mut ::std::os::raw::c_short,
                         arg3: *mut ::std::os::raw::c_short,
                         arg4: *mut ::std::os::raw::c_short)
                         -> ::std::os::raw::c_int;
    pub fn color_set(arg1: ::std::os::raw::c_short,
                     arg2: *mut ::std::os::raw::c_void)
                     -> ::std::os::raw::c_int;
    pub fn copywin(arg1: *const WINDOW,
                   arg2: *mut WINDOW,
                   arg3: ::std::os::raw::c_int,
                   arg4: ::std::os::raw::c_int,
                   arg5: ::std::os::raw::c_int,
                   arg6: ::std::os::raw::c_int,
                   arg7: ::std::os::raw::c_int,
                   arg8: ::std::os::raw::c_int,
                   arg9: ::std::os::raw::c_int)
                   -> ::std::os::raw::c_int;
    pub fn curs_set(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn def_prog_mode() -> ::std::os::raw::c_int;
    pub fn def_shell_mode() -> ::std::os::raw::c_int;
    pub fn delay_output(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn delch() -> ::std::os::raw::c_int;
    pub fn deleteln() -> ::std::os::raw::c_int;
    pub fn delscreen(arg1: *mut SCREEN);
    pub fn delwin(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn derwin(arg1: *mut WINDOW,
                  arg2: ::std::os::raw::c_int,
                  arg3: ::std::os::raw::c_int,
                  arg4: ::std::os::raw::c_int,
                  arg5: ::std::os::raw::c_int)
                  -> *mut WINDOW;
    pub fn doupdate() -> ::std::os::raw::c_int;
    pub fn dupwin(arg1: *mut WINDOW) -> *mut WINDOW;
    pub fn echochar(arg1: chtype) -> ::std::os::raw::c_int;
    pub fn echo() -> ::std::os::raw::c_int;
    pub fn endwin() -> ::std::os::raw::c_int;
    pub fn erasechar() -> ::std::os::raw::c_char;
    pub fn erase() -> ::std::os::raw::c_int;
    pub fn filter();
    pub fn flash() -> ::std::os::raw::c_int;
    pub fn flushinp() -> ::std::os::raw::c_int;
    pub fn getbkgd(arg1: *mut WINDOW) -> chtype;
    pub fn getnstr(arg1: *mut ::std::os::raw::c_char,
                   arg2: ::std::os::raw::c_int)
                   -> ::std::os::raw::c_int;
    pub fn getstr(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
    pub fn getwin(arg1: *mut FILE) -> *mut WINDOW;
    pub fn halfdelay(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn has_colors() -> _bool;
    pub fn has_ic() -> _bool;
    pub fn has_il() -> _bool;
    pub fn hline(arg1: chtype, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn idcok(arg1: *mut WINDOW, arg2: _bool);
    pub fn idlok(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int;
    pub fn immedok(arg1: *mut WINDOW, arg2: _bool);
    pub fn inchnstr(arg1: *mut chtype, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn inchstr(arg1: *mut chtype) -> ::std::os::raw::c_int;
    pub fn inch() -> chtype;
    pub fn init_color(arg1: ::std::os::raw::c_short,
                      arg2: ::std::os::raw::c_short,
                      arg3: ::std::os::raw::c_short,
                      arg4: ::std::os::raw::c_short)
                      -> ::std::os::raw::c_int;
    pub fn init_pair(arg1: ::std::os::raw::c_short,
                     arg2: ::std::os::raw::c_short,
                     arg3: ::std::os::raw::c_short)
                     -> ::std::os::raw::c_int;
    pub fn initscr() -> *mut WINDOW;
    pub fn innstr(arg1: *mut ::std::os::raw::c_char,
                  arg2: ::std::os::raw::c_int)
                  -> ::std::os::raw::c_int;
    pub fn insch(arg1: chtype) -> ::std::os::raw::c_int;
    pub fn insdelln(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn insertln() -> ::std::os::raw::c_int;
    pub fn insnstr(arg1: *const ::std::os::raw::c_char,
                   arg2: ::std::os::raw::c_int)
                   -> ::std::os::raw::c_int;
    pub fn insstr(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
    pub fn instr(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
    pub fn intrflush(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int;
    pub fn isendwin() -> _bool;
    pub fn is_linetouched(arg1: *mut WINDOW, arg2: ::std::os::raw::c_int) -> _bool;
    pub fn is_wintouched(arg1: *mut WINDOW) -> _bool;
    pub fn keyname(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
    pub fn keypad(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int;
    pub fn killchar() -> ::std::os::raw::c_char;
    pub fn leaveok(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int;
    pub fn longname() -> *mut ::std::os::raw::c_char;
    pub fn meta(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int;
    #[link_name = "move"]
    pub fn _move(arg1: ::std::os::raw::c_int,
                 arg2: ::std::os::raw::c_int)
                 -> ::std::os::raw::c_int;
    pub fn mvaddch(arg1: ::std::os::raw::c_int,
                   arg2: ::std::os::raw::c_int,
                   arg3: chtype)
                   -> ::std::os::raw::c_int;
    pub fn mvaddchnstr(arg1: ::std::os::raw::c_int,
                       arg2: ::std::os::raw::c_int,
                       arg3: *const chtype,
                       arg4: ::std::os::raw::c_int)
                       -> ::std::os::raw::c_int;
    pub fn mvaddchstr(arg1: ::std::os::raw::c_int,
                      arg2: ::std::os::raw::c_int,
                      arg3: *const chtype)
                      -> ::std::os::raw::c_int;
    pub fn mvaddnstr(arg1: ::std::os::raw::c_int,
                     arg2: ::std::os::raw::c_int,
                     arg3: *const ::std::os::raw::c_char,
                     arg4: ::std::os::raw::c_int)
                     -> ::std::os::raw::c_int;
    pub fn mvaddstr(arg1: ::std::os::raw::c_int,
                    arg2: ::std::os::raw::c_int,
                    arg3: *const ::std::os::raw::c_char)
                    -> ::std::os::raw::c_int;
    pub fn mvchgat(arg1: ::std::os::raw::c_int,
                   arg2: ::std::os::raw::c_int,
                   arg3: ::std::os::raw::c_int,
                   arg4: attr_t,
                   arg5: ::std::os::raw::c_short,
                   arg6: *const ::std::os::raw::c_void)
                   -> ::std::os::raw::c_int;
    pub fn mvcur(arg1: ::std::os::raw::c_int,
                 arg2: ::std::os::raw::c_int,
                 arg3: ::std::os::raw::c_int,
                 arg4: ::std::os::raw::c_int)
                 -> ::std::os::raw::c_int;
    pub fn mvdelch(arg1: ::std::os::raw::c_int,
                   arg2: ::std::os::raw::c_int)
                   -> ::std::os::raw::c_int;
    pub fn mvderwin(arg1: *mut WINDOW,
                    arg2: ::std::os::raw::c_int,
                    arg3: ::std::os::raw::c_int)
                    -> ::std::os::raw::c_int;
    pub fn mvgetch(arg1: ::std::os::raw::c_int,
                   arg2: ::std::os::raw::c_int)
                   -> ::std::os::raw::c_int;
    pub fn mvgetnstr(arg1: ::std::os::raw::c_int,
                     arg2: ::std::os::raw::c_int,
                     arg3: *mut ::std::os::raw::c_char,
                     arg4: ::std::os::raw::c_int)
                     -> ::std::os::raw::c_int;
    pub fn mvgetstr(arg1: ::std::os::raw::c_int,
                    arg2: ::std::os::raw::c_int,
                    arg3: *mut ::std::os::raw::c_char)
                    -> ::std::os::raw::c_int;
    pub fn mvhline(arg1: ::std::os::raw::c_int,
                   arg2: ::std::os::raw::c_int,
                   arg3: chtype,
                   arg4: ::std::os::raw::c_int)
                   -> ::std::os::raw::c_int;
    pub fn mvinch(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> chtype;
    pub fn mvinchnstr(arg1: ::std::os::raw::c_int,
                      arg2: ::std::os::raw::c_int,
                      arg3: *mut chtype,
                      arg4: ::std::os::raw::c_int)
                      -> ::std::os::raw::c_int;
    pub fn mvinchstr(arg1: ::std::os::raw::c_int,
                     arg2: ::std::os::raw::c_int,
                     arg3: *mut chtype)
                     -> ::std::os::raw::c_int;
    pub fn mvinnstr(arg1: ::std::os::raw::c_int,
                    arg2: ::std::os::raw::c_int,
                    arg3: *mut ::std::os::raw::c_char,
                    arg4: ::std::os::raw::c_int)
                    -> ::std::os::raw::c_int;
    pub fn mvinsch(arg1: ::std::os::raw::c_int,
                   arg2: ::std::os::raw::c_int,
                   arg3: chtype)
                   -> ::std::os::raw::c_int;
    pub fn mvinsnstr(arg1: ::std::os::raw::c_int,
                     arg2: ::std::os::raw::c_int,
                     arg3: *const ::std::os::raw::c_char,
                     arg4: ::std::os::raw::c_int)
                     -> ::std::os::raw::c_int;
    pub fn mvinsstr(arg1: ::std::os::raw::c_int,
                    arg2: ::std::os::raw::c_int,
                    arg3: *const ::std::os::raw::c_char)
                    -> ::std::os::raw::c_int;
    pub fn mvinstr(arg1: ::std::os::raw::c_int,
                   arg2: ::std::os::raw::c_int,
                   arg3: *mut ::std::os::raw::c_char)
                   -> ::std::os::raw::c_int;
    pub fn mvprintw(arg1: ::std::os::raw::c_int,
                    arg2: ::std::os::raw::c_int,
                    arg3: *const ::std::os::raw::c_char,
                    ...)
                    -> ::std::os::raw::c_int;
    pub fn mvscanw(arg1: ::std::os::raw::c_int,
                   arg2: ::std::os::raw::c_int,
                   arg3: *const ::std::os::raw::c_char,
                   ...)
                   -> ::std::os::raw::c_int;
    pub fn mvvline(arg1: ::std::os::raw::c_int,
                   arg2: ::std::os::raw::c_int,
                   arg3: chtype,
                   arg4: ::std::os::raw::c_int)
                   -> ::std::os::raw::c_int;
    pub fn mvwaddchnstr(arg1: *mut WINDOW,
                        arg2: ::std::os::raw::c_int,
                        arg3: ::std::os::raw::c_int,
                        arg4: *const chtype,
                        arg5: ::std::os::raw::c_int)
                        -> ::std::os::raw::c_int;
    pub fn mvwaddchstr(arg1: *mut WINDOW,
                       arg2: ::std::os::raw::c_int,
                       arg3: ::std::os::raw::c_int,
                       arg4: *const chtype)
                       -> ::std::os::raw::c_int;
    pub fn mvwaddch(arg1: *mut WINDOW,
                    arg2: ::std::os::raw::c_int,
                    arg3: ::std::os::raw::c_int,
                    arg4: chtype)
                    -> ::std::os::raw::c_int;
    pub fn mvwaddnstr(arg1: *mut WINDOW,
                      arg2: ::std::os::raw::c_int,
                      arg3: ::std::os::raw::c_int,
                      arg4: *const ::std::os::raw::c_char,
                      arg5: ::std::os::raw::c_int)
                      -> ::std::os::raw::c_int;
    pub fn mvwaddstr(arg1: *mut WINDOW,
                     arg2: ::std::os::raw::c_int,
                     arg3: ::std::os::raw::c_int,
                     arg4: *const ::std::os::raw::c_char)
                     -> ::std::os::raw::c_int;
    pub fn mvwchgat(arg1: *mut WINDOW,
                    arg2: ::std::os::raw::c_int,
                    arg3: ::std::os::raw::c_int,
                    arg4: ::std::os::raw::c_int,
                    arg5: attr_t,
                    arg6: ::std::os::raw::c_short,
                    arg7: *const ::std::os::raw::c_void)
                    -> ::std::os::raw::c_int;
    pub fn mvwdelch(arg1: *mut WINDOW,
                    arg2: ::std::os::raw::c_int,
                    arg3: ::std::os::raw::c_int)
                    -> ::std::os::raw::c_int;
    pub fn mvwgetch(arg1: *mut WINDOW,
                    arg2: ::std::os::raw::c_int,
                    arg3: ::std::os::raw::c_int)
                    -> ::std::os::raw::c_int;
    pub fn mvwgetnstr(arg1: *mut WINDOW,
                      arg2: ::std::os::raw::c_int,
                      arg3: ::std::os::raw::c_int,
                      arg4: *mut ::std::os::raw::c_char,
                      arg5: ::std::os::raw::c_int)
                      -> ::std::os::raw::c_int;
    pub fn mvwgetstr(arg1: *mut WINDOW,
                     arg2: ::std::os::raw::c_int,
                     arg3: ::std::os::raw::c_int,
                     arg4: *mut ::std::os::raw::c_char)
                     -> ::std::os::raw::c_int;
    pub fn mvwhline(arg1: *mut WINDOW,
                    arg2: ::std::os::raw::c_int,
                    arg3: ::std::os::raw::c_int,
                    arg4: chtype,
                    arg5: ::std::os::raw::c_int)
                    -> ::std::os::raw::c_int;
    pub fn mvwinchnstr(arg1: *mut WINDOW,
                       arg2: ::std::os::raw::c_int,
                       arg3: ::std::os::raw::c_int,
                       arg4: *mut chtype,
                       arg5: ::std::os::raw::c_int)
                       -> ::std::os::raw::c_int;
    pub fn mvwinchstr(arg1: *mut WINDOW,
                      arg2: ::std::os::raw::c_int,
                      arg3: ::std::os::raw::c_int,
                      arg4: *mut chtype)
                      -> ::std::os::raw::c_int;
    pub fn mvwinch(arg1: *mut WINDOW,
                   arg2: ::std::os::raw::c_int,
                   arg3: ::std::os::raw::c_int)
                   -> chtype;
    pub fn mvwinnstr(arg1: *mut WINDOW,
                     arg2: ::std::os::raw::c_int,
                     arg3: ::std::os::raw::c_int,
                     arg4: *mut ::std::os::raw::c_char,
                     arg5: ::std::os::raw::c_int)
                     -> ::std::os::raw::c_int;
    pub fn mvwinsch(arg1: *mut WINDOW,
                    arg2: ::std::os::raw::c_int,
                    arg3: ::std::os::raw::c_int,
                    arg4: chtype)
                    -> ::std::os::raw::c_int;
    pub fn mvwinsnstr(arg1: *mut WINDOW,
                      arg2: ::std::os::raw::c_int,
                      arg3: ::std::os::raw::c_int,
                      arg4: *const ::std::os::raw::c_char,
                      arg5: ::std::os::raw::c_int)
                      -> ::std::os::raw::c_int;
    pub fn mvwinsstr(arg1: *mut WINDOW,
                     arg2: ::std::os::raw::c_int,
                     arg3: ::std::os::raw::c_int,
                     arg4: *const ::std::os::raw::c_char)
                     -> ::std::os::raw::c_int;
    pub fn mvwinstr(arg1: *mut WINDOW,
                    arg2: ::std::os::raw::c_int,
                    arg3: ::std::os::raw::c_int,
                    arg4: *mut ::std::os::raw::c_char)
                    -> ::std::os::raw::c_int;
    pub fn mvwin(arg1: *mut WINDOW,
                 arg2: ::std::os::raw::c_int,
                 arg3: ::std::os::raw::c_int)
                 -> ::std::os::raw::c_int;
    pub fn mvwprintw(arg1: *mut WINDOW,
                     arg2: ::std::os::raw::c_int,
                     arg3: ::std::os::raw::c_int,
                     arg4: *const ::std::os::raw::c_char,
                     ...)
                     -> ::std::os::raw::c_int;
    pub fn mvwscanw(arg1: *mut WINDOW,
                    arg2: ::std::os::raw::c_int,
                    arg3: ::std::os::raw::c_int,
                    arg4: *const ::std::os::raw::c_char,
                    ...)
                    -> ::std::os::raw::c_int;
    pub fn mvwvline(arg1: *mut WINDOW,
                    arg2: ::std::os::raw::c_int,
                    arg3: ::std::os::raw::c_int,
                    arg4: chtype,
                    arg5: ::std::os::raw::c_int)
                    -> ::std::os::raw::c_int;
    pub fn napms(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn newpad(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> *mut WINDOW;
    pub fn newterm(arg1: *const ::std::os::raw::c_char,
                   arg2: *mut FILE,
                   arg3: *mut FILE)
                   -> *mut SCREEN;
    pub fn newwin(arg1: ::std::os::raw::c_int,
                  arg2: ::std::os::raw::c_int,
                  arg3: ::std::os::raw::c_int,
                  arg4: ::std::os::raw::c_int)
                  -> *mut WINDOW;
    pub fn nl() -> ::std::os::raw::c_int;
    pub fn nocbreak() -> ::std::os::raw::c_int;
    pub fn nodelay(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int;
    pub fn noecho() -> ::std::os::raw::c_int;
    pub fn nonl() -> ::std::os::raw::c_int;
    pub fn noqiflush();
    pub fn noraw() -> ::std::os::raw::c_int;
    pub fn notimeout(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int;
    pub fn overlay(arg1: *const WINDOW, arg2: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn overwrite(arg1: *const WINDOW, arg2: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn pair_content(arg1: ::std::os::raw::c_short,
                        arg2: *mut ::std::os::raw::c_short,
                        arg3: *mut ::std::os::raw::c_short)
                        -> ::std::os::raw::c_int;
    pub fn pechochar(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int;
    pub fn pnoutrefresh(arg1: *mut WINDOW,
                        arg2: ::std::os::raw::c_int,
                        arg3: ::std::os::raw::c_int,
                        arg4: ::std::os::raw::c_int,
                        arg5: ::std::os::raw::c_int,
                        arg6: ::std::os::raw::c_int,
                        arg7: ::std::os::raw::c_int)
                        -> ::std::os::raw::c_int;
    pub fn prefresh(arg1: *mut WINDOW,
                    arg2: ::std::os::raw::c_int,
                    arg3: ::std::os::raw::c_int,
                    arg4: ::std::os::raw::c_int,
                    arg5: ::std::os::raw::c_int,
                    arg6: ::std::os::raw::c_int,
                    arg7: ::std::os::raw::c_int)
                    -> ::std::os::raw::c_int;
    pub fn printw(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
    pub fn putwin(arg1: *mut WINDOW, arg2: *mut FILE) -> ::std::os::raw::c_int;
    pub fn qiflush();
    pub fn raw() -> ::std::os::raw::c_int;
    pub fn redrawwin(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn refresh() -> ::std::os::raw::c_int;
    pub fn reset_prog_mode() -> ::std::os::raw::c_int;
    pub fn reset_shell_mode() -> ::std::os::raw::c_int;
    pub fn resetty() -> ::std::os::raw::c_int;
    pub fn ripoffline(arg1: ::std::os::raw::c_int,
                      arg2:
                          ::std::option::Option<unsafe extern "C" fn(arg1:
                                                                         *mut WINDOW,
                                                                     arg2:
                                                                         ::std::os::raw::c_int)
                                                    -> ::std::os::raw::c_int>)
     -> ::std::os::raw::c_int;
    pub fn savetty() -> ::std::os::raw::c_int;
    pub fn scanw(arg1: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
    pub fn scr_dump(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
    pub fn scr_init(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
    pub fn scr_restore(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
    pub fn scr_set(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
    pub fn scrl(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn scroll(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn scrollok(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int;
    pub fn set_term(arg1: *mut SCREEN) -> *mut SCREEN;
    pub fn setscrreg(arg1: ::std::os::raw::c_int,
                     arg2: ::std::os::raw::c_int)
                     -> ::std::os::raw::c_int;
    pub fn slk_attroff(arg1: chtype) -> ::std::os::raw::c_int;
    pub fn slk_attr_off(arg1: attr_t, arg2: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
    pub fn slk_attron(arg1: chtype) -> ::std::os::raw::c_int;
    pub fn slk_attr_on(arg1: attr_t, arg2: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
    pub fn slk_attrset(arg1: chtype) -> ::std::os::raw::c_int;
    pub fn slk_attr_set(arg1: attr_t,
                        arg2: ::std::os::raw::c_short,
                        arg3: *mut ::std::os::raw::c_void)
                        -> ::std::os::raw::c_int;
    pub fn slk_clear() -> ::std::os::raw::c_int;
    pub fn slk_color(arg1: ::std::os::raw::c_short) -> ::std::os::raw::c_int;
    pub fn slk_init(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn slk_label(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
    pub fn slk_noutrefresh() -> ::std::os::raw::c_int;
    pub fn slk_refresh() -> ::std::os::raw::c_int;
    pub fn slk_restore() -> ::std::os::raw::c_int;
    pub fn slk_set(arg1: ::std::os::raw::c_int,
                   arg2: *const ::std::os::raw::c_char,
                   arg3: ::std::os::raw::c_int)
                   -> ::std::os::raw::c_int;
    pub fn slk_touch() -> ::std::os::raw::c_int;
    pub fn standend() -> ::std::os::raw::c_int;
    pub fn standout() -> ::std::os::raw::c_int;
    pub fn start_color() -> ::std::os::raw::c_int;
    pub fn subpad(arg1: *mut WINDOW,
                  arg2: ::std::os::raw::c_int,
                  arg3: ::std::os::raw::c_int,
                  arg4: ::std::os::raw::c_int,
                  arg5: ::std::os::raw::c_int)
                  -> *mut WINDOW;
    pub fn subwin(arg1: *mut WINDOW,
                  arg2: ::std::os::raw::c_int,
                  arg3: ::std::os::raw::c_int,
                  arg4: ::std::os::raw::c_int,
                  arg5: ::std::os::raw::c_int)
                  -> *mut WINDOW;
    pub fn syncok(arg1: *mut WINDOW, arg2: _bool) -> ::std::os::raw::c_int;
    pub fn termattrs() -> chtype;
    pub fn term_attrs() -> attr_t;
    pub fn termname() -> *mut ::std::os::raw::c_char;
    pub fn timeout(arg1: ::std::os::raw::c_int);
    pub fn touchline(arg1: *mut WINDOW,
                     arg2: ::std::os::raw::c_int,
                     arg3: ::std::os::raw::c_int)
                     -> ::std::os::raw::c_int;
    pub fn touchwin(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn typeahead(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn untouchwin(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn use_env(arg1: _bool);
    pub fn vidattr(arg1: chtype) -> ::std::os::raw::c_int;
    pub fn vid_attr(arg1: attr_t,
                    arg2: ::std::os::raw::c_short,
                    arg3: *mut ::std::os::raw::c_void)
                    -> ::std::os::raw::c_int;
    pub fn vidputs(arg1: chtype,
                   arg2: ::std::option::Option<extern "C" fn(arg1: ::std::os::raw::c_int)
                                                               -> ::std::os::raw::c_int>)
                   -> ::std::os::raw::c_int;
    pub fn vid_puts(arg1: attr_t,
                    arg2: ::std::os::raw::c_short,
                    arg3: *mut ::std::os::raw::c_void,
                    arg4: ::std::option::Option<extern "C" fn(arg1: ::std::os::raw::c_int)
                                                                -> ::std::os::raw::c_int>)
                    -> ::std::os::raw::c_int;
    pub fn vline(arg1: chtype, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn vw_printw(arg1: *mut WINDOW,
                     arg2: *const ::std::os::raw::c_char,
                     arg3: va_list)
                     -> ::std::os::raw::c_int;
    pub fn vwprintw(arg1: *mut WINDOW,
                    arg2: *const ::std::os::raw::c_char,
                    arg3: va_list)
                    -> ::std::os::raw::c_int;
    pub fn vw_scanw(arg1: *mut WINDOW,
                    arg2: *const ::std::os::raw::c_char,
                    arg3: va_list)
                    -> ::std::os::raw::c_int;
    pub fn vwscanw(arg1: *mut WINDOW,
                   arg2: *const ::std::os::raw::c_char,
                   arg3: va_list)
                   -> ::std::os::raw::c_int;
    pub fn waddchnstr(arg1: *mut WINDOW,
                      arg2: *const chtype,
                      arg3: ::std::os::raw::c_int)
                      -> ::std::os::raw::c_int;
    pub fn waddchstr(arg1: *mut WINDOW, arg2: *const chtype) -> ::std::os::raw::c_int;
    pub fn waddch(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int;
    pub fn waddnstr(arg1: *mut WINDOW,
                    arg2: *const ::std::os::raw::c_char,
                    arg3: ::std::os::raw::c_int)
                    -> ::std::os::raw::c_int;
    pub fn waddstr(arg1: *mut WINDOW,
                   arg2: *const ::std::os::raw::c_char)
                   -> ::std::os::raw::c_int;
    pub fn wattroff(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int;
    pub fn wattron(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int;
    pub fn wattrset(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int;
    pub fn wattr_get(arg1: *mut WINDOW,
                     arg2: *mut attr_t,
                     arg3: *mut ::std::os::raw::c_short,
                     arg4: *mut ::std::os::raw::c_void)
                     -> ::std::os::raw::c_int;
    pub fn wattr_off(arg1: *mut WINDOW,
                     arg2: attr_t,
                     arg3: *mut ::std::os::raw::c_void)
                     -> ::std::os::raw::c_int;
    pub fn wattr_on(arg1: *mut WINDOW,
                    arg2: attr_t,
                    arg3: *mut ::std::os::raw::c_void)
                    -> ::std::os::raw::c_int;
    pub fn wattr_set(arg1: *mut WINDOW,
                     arg2: attr_t,
                     arg3: ::std::os::raw::c_short,
                     arg4: *mut ::std::os::raw::c_void)
                     -> ::std::os::raw::c_int;
    pub fn wbkgdset(arg1: *mut WINDOW, arg2: chtype);
    pub fn wbkgd(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int;
    pub fn wborder(arg1: *mut WINDOW,
                   arg2: chtype,
                   arg3: chtype,
                   arg4: chtype,
                   arg5: chtype,
                   arg6: chtype,
                   arg7: chtype,
                   arg8: chtype,
                   arg9: chtype)
                   -> ::std::os::raw::c_int;
    pub fn wchgat(arg1: *mut WINDOW,
                  arg2: ::std::os::raw::c_int,
                  arg3: attr_t,
                  arg4: ::std::os::raw::c_short,
                  arg5: *const ::std::os::raw::c_void)
                  -> ::std::os::raw::c_int;
    pub fn wclear(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn wclrtobot(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn wclrtoeol(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn wcolor_set(arg1: *mut WINDOW,
                      arg2: ::std::os::raw::c_short,
                      arg3: *mut ::std::os::raw::c_void)
                      -> ::std::os::raw::c_int;
    pub fn wcursyncup(arg1: *mut WINDOW);
    pub fn wdelch(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn wdeleteln(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn wechochar(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int;
    pub fn werase(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn wgetch(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn wgetnstr(arg1: *mut WINDOW,
                    arg2: *mut ::std::os::raw::c_char,
                    arg3: ::std::os::raw::c_int)
                    -> ::std::os::raw::c_int;
    pub fn wgetstr(arg1: *mut WINDOW, arg2: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
    pub fn whline(arg1: *mut WINDOW,
                  arg2: chtype,
                  arg3: ::std::os::raw::c_int)
                  -> ::std::os::raw::c_int;
    pub fn winchnstr(arg1: *mut WINDOW,
                     arg2: *mut chtype,
                     arg3: ::std::os::raw::c_int)
                     -> ::std::os::raw::c_int;
    pub fn winchstr(arg1: *mut WINDOW, arg2: *mut chtype) -> ::std::os::raw::c_int;
    pub fn winch(arg1: *mut WINDOW) -> chtype;
    pub fn winnstr(arg1: *mut WINDOW,
                   arg2: *mut ::std::os::raw::c_char,
                   arg3: ::std::os::raw::c_int)
                   -> ::std::os::raw::c_int;
    pub fn winsch(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int;
    pub fn winsdelln(arg1: *mut WINDOW, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn winsertln(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn winsnstr(arg1: *mut WINDOW,
                    arg2: *const ::std::os::raw::c_char,
                    arg3: ::std::os::raw::c_int)
                    -> ::std::os::raw::c_int;
    pub fn winsstr(arg1: *mut WINDOW,
                   arg2: *const ::std::os::raw::c_char)
                   -> ::std::os::raw::c_int;
    pub fn winstr(arg1: *mut WINDOW, arg2: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
    pub fn wmove(arg1: *mut WINDOW,
                 arg2: ::std::os::raw::c_int,
                 arg3: ::std::os::raw::c_int)
                 -> ::std::os::raw::c_int;
    pub fn wnoutrefresh(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn wprintw(arg1: *mut WINDOW,
                   arg2: *const ::std::os::raw::c_char,
                   ...)
                   -> ::std::os::raw::c_int;
    pub fn wredrawln(arg1: *mut WINDOW,
                     arg2: ::std::os::raw::c_int,
                     arg3: ::std::os::raw::c_int)
                     -> ::std::os::raw::c_int;
    pub fn wrefresh(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn wscanw(arg1: *mut WINDOW,
                  arg2: *const ::std::os::raw::c_char,
                  ...)
                  -> ::std::os::raw::c_int;
    pub fn wscrl(arg1: *mut WINDOW, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn wsetscrreg(arg1: *mut WINDOW,
                      arg2: ::std::os::raw::c_int,
                      arg3: ::std::os::raw::c_int)
                      -> ::std::os::raw::c_int;
    pub fn wstandend(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn wstandout(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn wsyncdown(arg1: *mut WINDOW);
    pub fn wsyncup(arg1: *mut WINDOW);
    pub fn wtimeout(arg1: *mut WINDOW, arg2: ::std::os::raw::c_int);
    pub fn wtouchln(arg1: *mut WINDOW,
                    arg2: ::std::os::raw::c_int,
                    arg3: ::std::os::raw::c_int,
                    arg4: ::std::os::raw::c_int)
                    -> ::std::os::raw::c_int;
    pub fn wvline(arg1: *mut WINDOW,
                  arg2: chtype,
                  arg3: ::std::os::raw::c_int)
                  -> ::std::os::raw::c_int;
    pub fn getattrs(arg1: *mut WINDOW) -> chtype;
    pub fn getbegx(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn getbegy(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn getmaxx(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn getmaxy(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn getparx(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn getpary(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn getcurx(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn getcury(arg1: *mut WINDOW) -> ::std::os::raw::c_int;
    pub fn traceoff();
    pub fn traceon();
    pub fn unctrl(arg1: chtype) -> *mut ::std::os::raw::c_char;
    pub fn crmode() -> ::std::os::raw::c_int;
    pub fn nocrmode() -> ::std::os::raw::c_int;
    pub fn draino(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn resetterm() -> ::std::os::raw::c_int;
    pub fn fixterm() -> ::std::os::raw::c_int;
    pub fn saveterm() -> ::std::os::raw::c_int;
    pub fn setsyx(arg1: ::std::os::raw::c_int,
                  arg2: ::std::os::raw::c_int)
                  -> ::std::os::raw::c_int;
    pub fn mouse_set(arg1: ::std::os::raw::c_ulong) -> ::std::os::raw::c_int;
    pub fn mouse_on(arg1: ::std::os::raw::c_ulong) -> ::std::os::raw::c_int;
    pub fn mouse_off(arg1: ::std::os::raw::c_ulong) -> ::std::os::raw::c_int;
    pub fn request_mouse_pos() -> ::std::os::raw::c_int;
    pub fn map_button(arg1: ::std::os::raw::c_ulong) -> ::std::os::raw::c_int;
    pub fn wmouse_position(arg1: *mut WINDOW,
                           arg2: *mut ::std::os::raw::c_int,
                           arg3: *mut ::std::os::raw::c_int);
    pub fn getmouse() -> ::std::os::raw::c_ulong;
    pub fn getbmap() -> ::std::os::raw::c_ulong;
    pub fn assume_default_colors(arg1: ::std::os::raw::c_int,
                                 arg2: ::std::os::raw::c_int)
                                 -> ::std::os::raw::c_int;
    pub fn curses_version() -> *const ::std::os::raw::c_char;
    pub fn has_key(arg1: ::std::os::raw::c_int) -> _bool;
    pub fn use_default_colors() -> ::std::os::raw::c_int;
    pub fn wresize(arg1: *mut WINDOW,
                   arg2: ::std::os::raw::c_int,
                   arg3: ::std::os::raw::c_int)
                   -> ::std::os::raw::c_int;
    pub fn mouseinterval(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn mousemask(arg1: mmask_t, arg2: *mut mmask_t) -> mmask_t;
    pub fn mouse_trafo(arg1: *mut ::std::os::raw::c_int,
                       arg2: *mut ::std::os::raw::c_int,
                       arg3: _bool)
                       -> _bool;
    pub fn nc_getmouse(arg1: *mut MEVENT) -> ::std::os::raw::c_int;
    pub fn ungetmouse(arg1: *mut MEVENT) -> ::std::os::raw::c_int;
    pub fn wenclose(arg1: *const WINDOW,
                    arg2: ::std::os::raw::c_int,
                    arg3: ::std::os::raw::c_int)
                    -> _bool;
    pub fn wmouse_trafo(arg1: *const WINDOW,
                        arg2: *mut ::std::os::raw::c_int,
                        arg3: *mut ::std::os::raw::c_int,
                        arg4: _bool)
                        -> _bool;
    pub fn addrawch(arg1: chtype) -> ::std::os::raw::c_int;
    pub fn insrawch(arg1: chtype) -> ::std::os::raw::c_int;
    pub fn is_termresized() -> _bool;
    pub fn mvaddrawch(arg1: ::std::os::raw::c_int,
                      arg2: ::std::os::raw::c_int,
                      arg3: chtype)
                      -> ::std::os::raw::c_int;
    pub fn mvdeleteln(arg1: ::std::os::raw::c_int,
                      arg2: ::std::os::raw::c_int)
                      -> ::std::os::raw::c_int;
    pub fn mvinsertln(arg1: ::std::os::raw::c_int,
                      arg2: ::std::os::raw::c_int)
                      -> ::std::os::raw::c_int;
    pub fn mvinsrawch(arg1: ::std::os::raw::c_int,
                      arg2: ::std::os::raw::c_int,
                      arg3: chtype)
                      -> ::std::os::raw::c_int;
    pub fn mvwaddrawch(arg1: *mut WINDOW,
                       arg2: ::std::os::raw::c_int,
                       arg3: ::std::os::raw::c_int,
                       arg4: chtype)
                       -> ::std::os::raw::c_int;
    pub fn mvwdeleteln(arg1: *mut WINDOW,
                       arg2: ::std::os::raw::c_int,
                       arg3: ::std::os::raw::c_int)
                       -> ::std::os::raw::c_int;
    pub fn mvwinsertln(arg1: *mut WINDOW,
                       arg2: ::std::os::raw::c_int,
                       arg3: ::std::os::raw::c_int)
                       -> ::std::os::raw::c_int;
    pub fn mvwinsrawch(arg1: *mut WINDOW,
                       arg2: ::std::os::raw::c_int,
                       arg3: ::std::os::raw::c_int,
                       arg4: chtype)
                       -> ::std::os::raw::c_int;
    pub fn raw_output(arg1: _bool) -> ::std::os::raw::c_int;
    pub fn resize_term(arg1: ::std::os::raw::c_int,
                       arg2: ::std::os::raw::c_int)
                       -> ::std::os::raw::c_int;
    pub fn resize_window(arg1: *mut WINDOW,
                         arg2: ::std::os::raw::c_int,
                         arg3: ::std::os::raw::c_int)
                         -> *mut WINDOW;
    pub fn waddrawch(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int;
    pub fn winsrawch(arg1: *mut WINDOW, arg2: chtype) -> ::std::os::raw::c_int;
    pub fn wordchar() -> ::std::os::raw::c_char;
    pub fn PDC_debug(arg1: *const ::std::os::raw::c_char, ...);
    pub fn PDC_ungetch(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
    pub fn PDC_set_blink(arg1: _bool) -> ::std::os::raw::c_int;
    pub fn PDC_set_line_color(arg1: ::std::os::raw::c_short) -> ::std::os::raw::c_int;
    pub fn PDC_set_title(arg1: *const ::std::os::raw::c_char);
    pub fn PDC_clearclipboard() -> ::std::os::raw::c_int;
    pub fn PDC_freeclipboard(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
    pub fn PDC_getclipboard(arg1: *mut *mut ::std::os::raw::c_char,
                            arg2: *mut ::std::os::raw::c_long)
                            -> ::std::os::raw::c_int;
    pub fn PDC_setclipboard(arg1: *const ::std::os::raw::c_char,
                            arg2: ::std::os::raw::c_long)
                            -> ::std::os::raw::c_int;
    pub fn PDC_get_input_fd() -> ::std::os::raw::c_ulong;
    pub fn PDC_get_key_modifiers() -> ::std::os::raw::c_ulong;
    pub fn PDC_return_key_modifiers(arg1: _bool) -> ::std::os::raw::c_int;
    pub fn PDC_save_key_modifiers(arg1: _bool) -> ::std::os::raw::c_int;
    pub fn PDC_set_resize_limits(new_min_lines: ::std::os::raw::c_int,
                                 new_max_lines: ::std::os::raw::c_int,
                                 new_min_cols: ::std::os::raw::c_int,
                                 new_max_cols: ::std::os::raw::c_int);
    pub fn PDC_set_function_key(function: ::std::os::raw::c_uint,
                                new_key: ::std::os::raw::c_int)
                                -> ::std::os::raw::c_int;
    pub fn Xinitscr(arg1: ::std::os::raw::c_int,
                    arg2: *mut *mut ::std::os::raw::c_char)
                    -> *mut WINDOW;
}