mpdclient-sys 2.22.1

Native bindings for libmpdclient
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
/* automatically generated by rust-bindgen 0.71.1 */

pub const _STDINT_H: u32 = 1;
pub const _FEATURES_H: u32 = 1;
pub const _DEFAULT_SOURCE: u32 = 1;
pub const __GLIBC_USE_ISOC2Y: u32 = 0;
pub const __GLIBC_USE_ISOC23: u32 = 0;
pub const __USE_ISOC11: u32 = 1;
pub const __USE_ISOC99: u32 = 1;
pub const __USE_ISOC95: u32 = 1;
pub const __USE_POSIX_IMPLICITLY: u32 = 1;
pub const _POSIX_SOURCE: u32 = 1;
pub const _POSIX_C_SOURCE: u32 = 200809;
pub const __USE_POSIX: u32 = 1;
pub const __USE_POSIX2: u32 = 1;
pub const __USE_POSIX199309: u32 = 1;
pub const __USE_POSIX199506: u32 = 1;
pub const __USE_XOPEN2K: u32 = 1;
pub const __USE_XOPEN2K8: u32 = 1;
pub const _ATFILE_SOURCE: u32 = 1;
pub const __WORDSIZE: u32 = 64;
pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1;
pub const __SYSCALL_WORDSIZE: u32 = 64;
pub const __TIMESIZE: u32 = 64;
pub const __USE_TIME_BITS64: u32 = 1;
pub const __USE_MISC: u32 = 1;
pub const __USE_ATFILE: u32 = 1;
pub const __USE_FORTIFY_LEVEL: u32 = 0;
pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0;
pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0;
pub const __GLIBC_USE_C23_STRTOL: u32 = 0;
pub const _STDC_PREDEF_H: u32 = 1;
pub const __STDC_IEC_559__: u32 = 1;
pub const __STDC_IEC_60559_BFP__: u32 = 201404;
pub const __STDC_IEC_559_COMPLEX__: u32 = 1;
pub const __STDC_IEC_60559_COMPLEX__: u32 = 201404;
pub const __STDC_ISO_10646__: u32 = 201706;
pub const __GNU_LIBRARY__: u32 = 6;
pub const __GLIBC__: u32 = 2;
pub const __GLIBC_MINOR__: u32 = 41;
pub const _SYS_CDEFS_H: u32 = 1;
pub const __glibc_c99_flexarr_available: u32 = 1;
pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0;
pub const __HAVE_GENERIC_SELECTION: u32 = 1;
pub const __GLIBC_USE_LIB_EXT2: u32 = 0;
pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0;
pub const __GLIBC_USE_IEC_60559_BFP_EXT_C23: u32 = 0;
pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0;
pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0;
pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C23: u32 = 0;
pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0;
pub const _BITS_TYPES_H: u32 = 1;
pub const _BITS_TYPESIZES_H: u32 = 1;
pub const __OFF_T_MATCHES_OFF64_T: u32 = 1;
pub const __INO_T_MATCHES_INO64_T: u32 = 1;
pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1;
pub const __STATFS_MATCHES_STATFS64: u32 = 1;
pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1;
pub const __FD_SETSIZE: u32 = 1024;
pub const _BITS_TIME64_H: u32 = 1;
pub const _BITS_WCHAR_H: u32 = 1;
pub const _BITS_STDINT_INTN_H: u32 = 1;
pub const _BITS_STDINT_UINTN_H: u32 = 1;
pub const _BITS_STDINT_LEAST_H: u32 = 1;
pub const INT8_MIN: i32 = -128;
pub const INT16_MIN: i32 = -32768;
pub const INT32_MIN: i32 = -2147483648;
pub const INT8_MAX: u32 = 127;
pub const INT16_MAX: u32 = 32767;
pub const INT32_MAX: u32 = 2147483647;
pub const UINT8_MAX: u32 = 255;
pub const UINT16_MAX: u32 = 65535;
pub const UINT32_MAX: u32 = 4294967295;
pub const INT_LEAST8_MIN: i32 = -128;
pub const INT_LEAST16_MIN: i32 = -32768;
pub const INT_LEAST32_MIN: i32 = -2147483648;
pub const INT_LEAST8_MAX: u32 = 127;
pub const INT_LEAST16_MAX: u32 = 32767;
pub const INT_LEAST32_MAX: u32 = 2147483647;
pub const UINT_LEAST8_MAX: u32 = 255;
pub const UINT_LEAST16_MAX: u32 = 65535;
pub const UINT_LEAST32_MAX: u32 = 4294967295;
pub const INT_FAST8_MIN: i32 = -128;
pub const INT_FAST16_MIN: i64 = -9223372036854775808;
pub const INT_FAST32_MIN: i64 = -9223372036854775808;
pub const INT_FAST8_MAX: u32 = 127;
pub const INT_FAST16_MAX: u64 = 9223372036854775807;
pub const INT_FAST32_MAX: u64 = 9223372036854775807;
pub const UINT_FAST8_MAX: u32 = 255;
pub const UINT_FAST16_MAX: i32 = -1;
pub const UINT_FAST32_MAX: i32 = -1;
pub const INTPTR_MIN: i64 = -9223372036854775808;
pub const INTPTR_MAX: u64 = 9223372036854775807;
pub const UINTPTR_MAX: i32 = -1;
pub const PTRDIFF_MIN: i64 = -9223372036854775808;
pub const PTRDIFF_MAX: u64 = 9223372036854775807;
pub const SIG_ATOMIC_MIN: i32 = -2147483648;
pub const SIG_ATOMIC_MAX: u32 = 2147483647;
pub const SIZE_MAX: i32 = -1;
pub const WINT_MIN: u32 = 0;
pub const WINT_MAX: u32 = 4294967295;
pub const __bool_true_false_are_defined: u32 = 1;
pub const true_: u32 = 1;
pub const false_: u32 = 0;
pub const _TIME_H: u32 = 1;
pub const _BITS_TIME_H: u32 = 1;
pub const CLOCK_REALTIME: u32 = 0;
pub const CLOCK_MONOTONIC: u32 = 1;
pub const CLOCK_PROCESS_CPUTIME_ID: u32 = 2;
pub const CLOCK_THREAD_CPUTIME_ID: u32 = 3;
pub const CLOCK_MONOTONIC_RAW: u32 = 4;
pub const CLOCK_REALTIME_COARSE: u32 = 5;
pub const CLOCK_MONOTONIC_COARSE: u32 = 6;
pub const CLOCK_BOOTTIME: u32 = 7;
pub const CLOCK_REALTIME_ALARM: u32 = 8;
pub const CLOCK_BOOTTIME_ALARM: u32 = 9;
pub const CLOCK_TAI: u32 = 11;
pub const TIMER_ABSTIME: u32 = 1;
pub const __clock_t_defined: u32 = 1;
pub const __time_t_defined: u32 = 1;
pub const __struct_tm_defined: u32 = 1;
pub const _STRUCT_TIMESPEC: u32 = 1;
pub const _BITS_ENDIAN_H: u32 = 1;
pub const __LITTLE_ENDIAN: u32 = 1234;
pub const __BIG_ENDIAN: u32 = 4321;
pub const __PDP_ENDIAN: u32 = 3412;
pub const _BITS_ENDIANNESS_H: u32 = 1;
pub const __BYTE_ORDER: u32 = 1234;
pub const __FLOAT_WORD_ORDER: u32 = 1234;
pub const __clockid_t_defined: u32 = 1;
pub const __timer_t_defined: u32 = 1;
pub const __itimerspec_defined: u32 = 1;
pub const _BITS_TYPES_LOCALE_T_H: u32 = 1;
pub const _BITS_TYPES___LOCALE_T_H: u32 = 1;
pub const TIME_UTC: u32 = 1;
pub const LIBMPDCLIENT_MAJOR_VERSION: u32 = 2;
pub const LIBMPDCLIENT_MINOR_VERSION: u32 = 22;
pub const LIBMPDCLIENT_PATCH_VERSION: u32 = 0;
pub type __u_char = ::std::os::raw::c_uchar;
pub type __u_short = ::std::os::raw::c_ushort;
pub type __u_int = ::std::os::raw::c_uint;
pub type __u_long = ::std::os::raw::c_ulong;
pub type __int8_t = ::std::os::raw::c_schar;
pub type __uint8_t = ::std::os::raw::c_uchar;
pub type __int16_t = ::std::os::raw::c_short;
pub type __uint16_t = ::std::os::raw::c_ushort;
pub type __int32_t = ::std::os::raw::c_int;
pub type __uint32_t = ::std::os::raw::c_uint;
pub type __int64_t = ::std::os::raw::c_long;
pub type __uint64_t = ::std::os::raw::c_ulong;
pub type __int_least8_t = __int8_t;
pub type __uint_least8_t = __uint8_t;
pub type __int_least16_t = __int16_t;
pub type __uint_least16_t = __uint16_t;
pub type __int_least32_t = __int32_t;
pub type __uint_least32_t = __uint32_t;
pub type __int_least64_t = __int64_t;
pub type __uint_least64_t = __uint64_t;
pub type __quad_t = ::std::os::raw::c_long;
pub type __u_quad_t = ::std::os::raw::c_ulong;
pub type __intmax_t = ::std::os::raw::c_long;
pub type __uintmax_t = ::std::os::raw::c_ulong;
pub type __dev_t = ::std::os::raw::c_ulong;
pub type __uid_t = ::std::os::raw::c_uint;
pub type __gid_t = ::std::os::raw::c_uint;
pub type __ino_t = ::std::os::raw::c_ulong;
pub type __ino64_t = ::std::os::raw::c_ulong;
pub type __mode_t = ::std::os::raw::c_uint;
pub type __nlink_t = ::std::os::raw::c_ulong;
pub type __off_t = ::std::os::raw::c_long;
pub type __off64_t = ::std::os::raw::c_long;
pub type __pid_t = ::std::os::raw::c_int;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __fsid_t {
    pub __val: [::std::os::raw::c_int; 2usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of __fsid_t"][::std::mem::size_of::<__fsid_t>() - 8usize];
    ["Alignment of __fsid_t"][::std::mem::align_of::<__fsid_t>() - 4usize];
    ["Offset of field: __fsid_t::__val"][::std::mem::offset_of!(__fsid_t, __val) - 0usize];
};
pub type __clock_t = ::std::os::raw::c_long;
pub type __rlim_t = ::std::os::raw::c_ulong;
pub type __rlim64_t = ::std::os::raw::c_ulong;
pub type __id_t = ::std::os::raw::c_uint;
pub type __time_t = ::std::os::raw::c_long;
pub type __useconds_t = ::std::os::raw::c_uint;
pub type __suseconds_t = ::std::os::raw::c_long;
pub type __suseconds64_t = ::std::os::raw::c_long;
pub type __daddr_t = ::std::os::raw::c_int;
pub type __key_t = ::std::os::raw::c_int;
pub type __clockid_t = ::std::os::raw::c_int;
pub type __timer_t = *mut ::std::os::raw::c_void;
pub type __blksize_t = ::std::os::raw::c_long;
pub type __blkcnt_t = ::std::os::raw::c_long;
pub type __blkcnt64_t = ::std::os::raw::c_long;
pub type __fsblkcnt_t = ::std::os::raw::c_ulong;
pub type __fsblkcnt64_t = ::std::os::raw::c_ulong;
pub type __fsfilcnt_t = ::std::os::raw::c_ulong;
pub type __fsfilcnt64_t = ::std::os::raw::c_ulong;
pub type __fsword_t = ::std::os::raw::c_long;
pub type __ssize_t = ::std::os::raw::c_long;
pub type __syscall_slong_t = ::std::os::raw::c_long;
pub type __syscall_ulong_t = ::std::os::raw::c_ulong;
pub type __loff_t = __off64_t;
pub type __caddr_t = *mut ::std::os::raw::c_char;
pub type __intptr_t = ::std::os::raw::c_long;
pub type __socklen_t = ::std::os::raw::c_uint;
pub type __sig_atomic_t = ::std::os::raw::c_int;
pub type int_least8_t = __int_least8_t;
pub type int_least16_t = __int_least16_t;
pub type int_least32_t = __int_least32_t;
pub type int_least64_t = __int_least64_t;
pub type uint_least8_t = __uint_least8_t;
pub type uint_least16_t = __uint_least16_t;
pub type uint_least32_t = __uint_least32_t;
pub type uint_least64_t = __uint_least64_t;
pub type int_fast8_t = ::std::os::raw::c_schar;
pub type int_fast16_t = ::std::os::raw::c_long;
pub type int_fast32_t = ::std::os::raw::c_long;
pub type int_fast64_t = ::std::os::raw::c_long;
pub type uint_fast8_t = ::std::os::raw::c_uchar;
pub type uint_fast16_t = ::std::os::raw::c_ulong;
pub type uint_fast32_t = ::std::os::raw::c_ulong;
pub type uint_fast64_t = ::std::os::raw::c_ulong;
pub type intmax_t = __intmax_t;
pub type uintmax_t = __uintmax_t;
pub const MPD_SAMPLE_FORMAT_UNDEFINED: _bindgen_ty_1 = 0;
pub const MPD_SAMPLE_FORMAT_FLOAT: _bindgen_ty_1 = 224;
pub const MPD_SAMPLE_FORMAT_DSD: _bindgen_ty_1 = 225;
pub type _bindgen_ty_1 = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct mpd_audio_format {
    pub sample_rate: u32,
    pub bits: u8,
    pub channels: u8,
    pub reserved0: u16,
    pub reserved1: u32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of mpd_audio_format"][::std::mem::size_of::<mpd_audio_format>() - 12usize];
    ["Alignment of mpd_audio_format"][::std::mem::align_of::<mpd_audio_format>() - 4usize];
    ["Offset of field: mpd_audio_format::sample_rate"]
        [::std::mem::offset_of!(mpd_audio_format, sample_rate) - 0usize];
    ["Offset of field: mpd_audio_format::bits"]
        [::std::mem::offset_of!(mpd_audio_format, bits) - 4usize];
    ["Offset of field: mpd_audio_format::channels"]
        [::std::mem::offset_of!(mpd_audio_format, channels) - 5usize];
    ["Offset of field: mpd_audio_format::reserved0"]
        [::std::mem::offset_of!(mpd_audio_format, reserved0) - 6usize];
    ["Offset of field: mpd_audio_format::reserved1"]
        [::std::mem::offset_of!(mpd_audio_format, reserved1) - 8usize];
};
pub type wchar_t = ::std::os::raw::c_int;
#[repr(C)]
#[repr(align(16))]
#[derive(Debug, Copy, Clone)]
pub struct max_align_t {
    pub __clang_max_align_nonce1: ::std::os::raw::c_longlong,
    pub __bindgen_padding_0: u64,
    pub __clang_max_align_nonce2: u128,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of max_align_t"][::std::mem::size_of::<max_align_t>() - 32usize];
    ["Alignment of max_align_t"][::std::mem::align_of::<max_align_t>() - 16usize];
    ["Offset of field: max_align_t::__clang_max_align_nonce1"]
        [::std::mem::offset_of!(max_align_t, __clang_max_align_nonce1) - 0usize];
    ["Offset of field: max_align_t::__clang_max_align_nonce2"]
        [::std::mem::offset_of!(max_align_t, __clang_max_align_nonce2) - 16usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct mpd_connection {
    _unused: [u8; 0],
}
unsafe extern "C" {
    pub fn mpd_send_albumart(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
        offset: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_recv_albumart(
        connection: *mut mpd_connection,
        buffer: *mut ::std::os::raw::c_void,
        buffer_size: usize,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn mpd_run_albumart(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
        offset: ::std::os::raw::c_uint,
        buffer: *mut ::std::os::raw::c_void,
        buffer_size: usize,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn mpd_send_binarylimit(
        connection: *mut mpd_connection,
        limit: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_binarylimit(
        connection: *mut mpd_connection,
        limit: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_recv_binary(
        connection: *mut mpd_connection,
        data: *mut ::std::os::raw::c_void,
        length: usize,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_recv_pair(connection: *mut mpd_connection) -> *mut mpd_pair;
}
unsafe extern "C" {
    pub fn mpd_recv_pair_named(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
    ) -> *mut mpd_pair;
}
unsafe extern "C" {
    pub fn mpd_return_pair(connection: *mut mpd_connection, pair: *mut mpd_pair);
}
unsafe extern "C" {
    pub fn mpd_enqueue_pair(connection: *mut mpd_connection, pair: *mut mpd_pair);
}
pub const mpd_tag_type_MPD_TAG_UNKNOWN: mpd_tag_type = -1;
pub const mpd_tag_type_MPD_TAG_ARTIST: mpd_tag_type = 0;
pub const mpd_tag_type_MPD_TAG_ALBUM: mpd_tag_type = 1;
pub const mpd_tag_type_MPD_TAG_ALBUM_ARTIST: mpd_tag_type = 2;
pub const mpd_tag_type_MPD_TAG_TITLE: mpd_tag_type = 3;
pub const mpd_tag_type_MPD_TAG_TRACK: mpd_tag_type = 4;
pub const mpd_tag_type_MPD_TAG_NAME: mpd_tag_type = 5;
pub const mpd_tag_type_MPD_TAG_GENRE: mpd_tag_type = 6;
pub const mpd_tag_type_MPD_TAG_DATE: mpd_tag_type = 7;
pub const mpd_tag_type_MPD_TAG_COMPOSER: mpd_tag_type = 8;
pub const mpd_tag_type_MPD_TAG_PERFORMER: mpd_tag_type = 9;
pub const mpd_tag_type_MPD_TAG_COMMENT: mpd_tag_type = 10;
pub const mpd_tag_type_MPD_TAG_DISC: mpd_tag_type = 11;
pub const mpd_tag_type_MPD_TAG_MUSICBRAINZ_ARTISTID: mpd_tag_type = 12;
pub const mpd_tag_type_MPD_TAG_MUSICBRAINZ_ALBUMID: mpd_tag_type = 13;
pub const mpd_tag_type_MPD_TAG_MUSICBRAINZ_ALBUMARTISTID: mpd_tag_type = 14;
pub const mpd_tag_type_MPD_TAG_MUSICBRAINZ_TRACKID: mpd_tag_type = 15;
pub const mpd_tag_type_MPD_TAG_MUSICBRAINZ_RELEASETRACKID: mpd_tag_type = 16;
pub const mpd_tag_type_MPD_TAG_ORIGINAL_DATE: mpd_tag_type = 17;
pub const mpd_tag_type_MPD_TAG_ARTIST_SORT: mpd_tag_type = 18;
pub const mpd_tag_type_MPD_TAG_ALBUM_ARTIST_SORT: mpd_tag_type = 19;
pub const mpd_tag_type_MPD_TAG_ALBUM_SORT: mpd_tag_type = 20;
pub const mpd_tag_type_MPD_TAG_LABEL: mpd_tag_type = 21;
pub const mpd_tag_type_MPD_TAG_MUSICBRAINZ_WORKID: mpd_tag_type = 22;
pub const mpd_tag_type_MPD_TAG_GROUPING: mpd_tag_type = 23;
pub const mpd_tag_type_MPD_TAG_WORK: mpd_tag_type = 24;
pub const mpd_tag_type_MPD_TAG_CONDUCTOR: mpd_tag_type = 25;
pub const mpd_tag_type_MPD_TAG_COMPOSER_SORT: mpd_tag_type = 26;
pub const mpd_tag_type_MPD_TAG_ENSEMBLE: mpd_tag_type = 27;
pub const mpd_tag_type_MPD_TAG_MOVEMENT: mpd_tag_type = 28;
pub const mpd_tag_type_MPD_TAG_MOVEMENTNUMBER: mpd_tag_type = 29;
pub const mpd_tag_type_MPD_TAG_LOCATION: mpd_tag_type = 30;
pub const mpd_tag_type_MPD_TAG_MOOD: mpd_tag_type = 31;
pub const mpd_tag_type_MPD_TAG_TITLE_SORT: mpd_tag_type = 32;
pub const mpd_tag_type_MPD_TAG_MUSICBRAINZ_RELEASEGROUPID: mpd_tag_type = 33;
pub const mpd_tag_type_MPD_TAG_COUNT: mpd_tag_type = 34;
pub type mpd_tag_type = ::std::os::raw::c_int;
unsafe extern "C" {
    pub fn mpd_tag_name(type_: mpd_tag_type) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_tag_name_parse(name: *const ::std::os::raw::c_char) -> mpd_tag_type;
}
unsafe extern "C" {
    pub fn mpd_tag_name_iparse(name: *const ::std::os::raw::c_char) -> mpd_tag_type;
}
unsafe extern "C" {
    pub fn mpd_send_allowed_commands(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_disallowed_commands(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_list_url_schemes(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_list_tag_types(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_disable_tag_types(
        connection: *mut mpd_connection,
        types: *const mpd_tag_type,
        n: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_disable_tag_types(
        connection: *mut mpd_connection,
        types: *const mpd_tag_type,
        n: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_enable_tag_types(
        connection: *mut mpd_connection,
        types: *const mpd_tag_type,
        n: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_enable_tag_types(
        connection: *mut mpd_connection,
        types: *const mpd_tag_type,
        n: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_clear_tag_types(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_clear_tag_types(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_all_tag_types(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_all_tag_types(connection: *mut mpd_connection) -> bool;
}
pub const mpd_server_error_MPD_SERVER_ERROR_UNK: mpd_server_error = -1;
pub const mpd_server_error_MPD_SERVER_ERROR_NOT_LIST: mpd_server_error = 1;
pub const mpd_server_error_MPD_SERVER_ERROR_ARG: mpd_server_error = 2;
pub const mpd_server_error_MPD_SERVER_ERROR_PASSWORD: mpd_server_error = 3;
pub const mpd_server_error_MPD_SERVER_ERROR_PERMISSION: mpd_server_error = 4;
pub const mpd_server_error_MPD_SERVER_ERROR_UNKNOWN_CMD: mpd_server_error = 5;
pub const mpd_server_error_MPD_SERVER_ERROR_NO_EXIST: mpd_server_error = 50;
pub const mpd_server_error_MPD_SERVER_ERROR_PLAYLIST_MAX: mpd_server_error = 51;
pub const mpd_server_error_MPD_SERVER_ERROR_SYSTEM: mpd_server_error = 52;
pub const mpd_server_error_MPD_SERVER_ERROR_PLAYLIST_LOAD: mpd_server_error = 53;
pub const mpd_server_error_MPD_SERVER_ERROR_UPDATE_ALREADY: mpd_server_error = 54;
pub const mpd_server_error_MPD_SERVER_ERROR_PLAYER_SYNC: mpd_server_error = 55;
pub const mpd_server_error_MPD_SERVER_ERROR_EXIST: mpd_server_error = 56;
pub type mpd_server_error = ::std::os::raw::c_int;
pub const mpd_error_MPD_ERROR_SUCCESS: mpd_error = 0;
pub const mpd_error_MPD_ERROR_OOM: mpd_error = 1;
pub const mpd_error_MPD_ERROR_ARGUMENT: mpd_error = 2;
pub const mpd_error_MPD_ERROR_STATE: mpd_error = 3;
pub const mpd_error_MPD_ERROR_TIMEOUT: mpd_error = 4;
pub const mpd_error_MPD_ERROR_SYSTEM: mpd_error = 5;
pub const mpd_error_MPD_ERROR_RESOLVER: mpd_error = 6;
pub const mpd_error_MPD_ERROR_MALFORMED: mpd_error = 7;
pub const mpd_error_MPD_ERROR_CLOSED: mpd_error = 8;
pub const mpd_error_MPD_ERROR_SERVER: mpd_error = 9;
pub type mpd_error = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct mpd_async {
    _unused: [u8; 0],
}
unsafe extern "C" {
    pub fn mpd_connection_new(
        host: *const ::std::os::raw::c_char,
        port: ::std::os::raw::c_uint,
        timeout_ms: ::std::os::raw::c_uint,
    ) -> *mut mpd_connection;
}
unsafe extern "C" {
    pub fn mpd_connection_new_async(
        async_: *mut mpd_async,
        welcome: *const ::std::os::raw::c_char,
    ) -> *mut mpd_connection;
}
unsafe extern "C" {
    pub fn mpd_connection_free(connection: *mut mpd_connection);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct mpd_settings {
    _unused: [u8; 0],
}
unsafe extern "C" {
    pub fn mpd_connection_get_settings(connection: *const mpd_connection) -> *const mpd_settings;
}
unsafe extern "C" {
    pub fn mpd_connection_set_keepalive(connection: *mut mpd_connection, keepalive: bool) -> bool;
}
unsafe extern "C" {
    pub fn mpd_connection_set_timeout(
        connection: *mut mpd_connection,
        timeout_ms: ::std::os::raw::c_uint,
    );
}
unsafe extern "C" {
    pub fn mpd_connection_get_fd(connection: *const mpd_connection) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn mpd_connection_get_async(connection: *mut mpd_connection) -> *mut mpd_async;
}
unsafe extern "C" {
    pub fn mpd_connection_get_error(connection: *const mpd_connection) -> mpd_error;
}
unsafe extern "C" {
    pub fn mpd_connection_get_error_message(
        connection: *const mpd_connection,
    ) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_connection_get_server_error(connection: *const mpd_connection) -> mpd_server_error;
}
unsafe extern "C" {
    pub fn mpd_connection_get_server_error_location(
        connection: *const mpd_connection,
    ) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_connection_get_system_error(
        connection: *const mpd_connection,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn mpd_connection_clear_error(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_connection_get_server_version(
        connection: *const mpd_connection,
    ) -> *const ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_connection_cmp_server_version(
        connection: *const mpd_connection,
        major: ::std::os::raw::c_uint,
        minor: ::std::os::raw::c_uint,
        patch: ::std::os::raw::c_uint,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn mpd_send_list_all(
        connection: *mut mpd_connection,
        path: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_list_all_meta(
        connection: *mut mpd_connection,
        path: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_list_meta(
        connection: *mut mpd_connection,
        path: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_list_files(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_read_comments(
        connection: *mut mpd_connection,
        path: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_update(
        connection: *mut mpd_connection,
        path: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_rescan(
        connection: *mut mpd_connection,
        path: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_recv_update_id(connection: *mut mpd_connection) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_run_update(
        connection: *mut mpd_connection,
        path: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_run_rescan(
        connection: *mut mpd_connection,
        path: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_uint;
}
pub type clock_t = __clock_t;
pub type time_t = __time_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct tm {
    pub tm_sec: ::std::os::raw::c_int,
    pub tm_min: ::std::os::raw::c_int,
    pub tm_hour: ::std::os::raw::c_int,
    pub tm_mday: ::std::os::raw::c_int,
    pub tm_mon: ::std::os::raw::c_int,
    pub tm_year: ::std::os::raw::c_int,
    pub tm_wday: ::std::os::raw::c_int,
    pub tm_yday: ::std::os::raw::c_int,
    pub tm_isdst: ::std::os::raw::c_int,
    pub tm_gmtoff: ::std::os::raw::c_long,
    pub tm_zone: *const ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of tm"][::std::mem::size_of::<tm>() - 56usize];
    ["Alignment of tm"][::std::mem::align_of::<tm>() - 8usize];
    ["Offset of field: tm::tm_sec"][::std::mem::offset_of!(tm, tm_sec) - 0usize];
    ["Offset of field: tm::tm_min"][::std::mem::offset_of!(tm, tm_min) - 4usize];
    ["Offset of field: tm::tm_hour"][::std::mem::offset_of!(tm, tm_hour) - 8usize];
    ["Offset of field: tm::tm_mday"][::std::mem::offset_of!(tm, tm_mday) - 12usize];
    ["Offset of field: tm::tm_mon"][::std::mem::offset_of!(tm, tm_mon) - 16usize];
    ["Offset of field: tm::tm_year"][::std::mem::offset_of!(tm, tm_year) - 20usize];
    ["Offset of field: tm::tm_wday"][::std::mem::offset_of!(tm, tm_wday) - 24usize];
    ["Offset of field: tm::tm_yday"][::std::mem::offset_of!(tm, tm_yday) - 28usize];
    ["Offset of field: tm::tm_isdst"][::std::mem::offset_of!(tm, tm_isdst) - 32usize];
    ["Offset of field: tm::tm_gmtoff"][::std::mem::offset_of!(tm, tm_gmtoff) - 40usize];
    ["Offset of field: tm::tm_zone"][::std::mem::offset_of!(tm, tm_zone) - 48usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct timespec {
    pub tv_sec: __time_t,
    pub tv_nsec: __syscall_slong_t,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of timespec"][::std::mem::size_of::<timespec>() - 16usize];
    ["Alignment of timespec"][::std::mem::align_of::<timespec>() - 8usize];
    ["Offset of field: timespec::tv_sec"][::std::mem::offset_of!(timespec, tv_sec) - 0usize];
    ["Offset of field: timespec::tv_nsec"][::std::mem::offset_of!(timespec, tv_nsec) - 8usize];
};
pub type clockid_t = __clockid_t;
pub type timer_t = __timer_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct itimerspec {
    pub it_interval: timespec,
    pub it_value: timespec,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of itimerspec"][::std::mem::size_of::<itimerspec>() - 32usize];
    ["Alignment of itimerspec"][::std::mem::align_of::<itimerspec>() - 8usize];
    ["Offset of field: itimerspec::it_interval"]
        [::std::mem::offset_of!(itimerspec, it_interval) - 0usize];
    ["Offset of field: itimerspec::it_value"]
        [::std::mem::offset_of!(itimerspec, it_value) - 16usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct sigevent {
    _unused: [u8; 0],
}
pub type pid_t = __pid_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __locale_struct {
    pub __locales: [*mut __locale_data; 13usize],
    pub __ctype_b: *const ::std::os::raw::c_ushort,
    pub __ctype_tolower: *const ::std::os::raw::c_int,
    pub __ctype_toupper: *const ::std::os::raw::c_int,
    pub __names: [*const ::std::os::raw::c_char; 13usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of __locale_struct"][::std::mem::size_of::<__locale_struct>() - 232usize];
    ["Alignment of __locale_struct"][::std::mem::align_of::<__locale_struct>() - 8usize];
    ["Offset of field: __locale_struct::__locales"]
        [::std::mem::offset_of!(__locale_struct, __locales) - 0usize];
    ["Offset of field: __locale_struct::__ctype_b"]
        [::std::mem::offset_of!(__locale_struct, __ctype_b) - 104usize];
    ["Offset of field: __locale_struct::__ctype_tolower"]
        [::std::mem::offset_of!(__locale_struct, __ctype_tolower) - 112usize];
    ["Offset of field: __locale_struct::__ctype_toupper"]
        [::std::mem::offset_of!(__locale_struct, __ctype_toupper) - 120usize];
    ["Offset of field: __locale_struct::__names"]
        [::std::mem::offset_of!(__locale_struct, __names) - 128usize];
};
pub type __locale_t = *mut __locale_struct;
pub type locale_t = __locale_t;
unsafe extern "C" {
    pub fn clock() -> clock_t;
}
unsafe extern "C" {
    pub fn time(__timer: *mut time_t) -> time_t;
}
unsafe extern "C" {
    pub fn difftime(__time1: time_t, __time0: time_t) -> f64;
}
unsafe extern "C" {
    pub fn mktime(__tp: *mut tm) -> time_t;
}
unsafe extern "C" {
    pub fn strftime(
        __s: *mut ::std::os::raw::c_char,
        __maxsize: usize,
        __format: *const ::std::os::raw::c_char,
        __tp: *const tm,
    ) -> usize;
}
unsafe extern "C" {
    pub fn strftime_l(
        __s: *mut ::std::os::raw::c_char,
        __maxsize: usize,
        __format: *const ::std::os::raw::c_char,
        __tp: *const tm,
        __loc: locale_t,
    ) -> usize;
}
unsafe extern "C" {
    pub fn gmtime(__timer: *const time_t) -> *mut tm;
}
unsafe extern "C" {
    pub fn localtime(__timer: *const time_t) -> *mut tm;
}
unsafe extern "C" {
    pub fn gmtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm;
}
unsafe extern "C" {
    pub fn localtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm;
}
unsafe extern "C" {
    pub fn asctime(__tp: *const tm) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn ctime(__timer: *const time_t) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn asctime_r(
        __tp: *const tm,
        __buf: *mut ::std::os::raw::c_char,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn ctime_r(
        __timer: *const time_t,
        __buf: *mut ::std::os::raw::c_char,
    ) -> *mut ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub static mut __tzname: [*mut ::std::os::raw::c_char; 2usize];
}
unsafe extern "C" {
    pub static mut __daylight: ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub static mut __timezone: ::std::os::raw::c_long;
}
unsafe extern "C" {
    pub static mut tzname: [*mut ::std::os::raw::c_char; 2usize];
}
unsafe extern "C" {
    pub fn tzset();
}
unsafe extern "C" {
    pub static mut daylight: ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub static mut timezone: ::std::os::raw::c_long;
}
unsafe extern "C" {
    pub fn timegm(__tp: *mut tm) -> time_t;
}
unsafe extern "C" {
    pub fn timelocal(__tp: *mut tm) -> time_t;
}
unsafe extern "C" {
    pub fn dysize(__year: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn nanosleep(
        __requested_time: *const timespec,
        __remaining: *mut timespec,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn clock_getres(__clock_id: clockid_t, __res: *mut timespec) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn clock_gettime(__clock_id: clockid_t, __tp: *mut timespec) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn clock_settime(__clock_id: clockid_t, __tp: *const timespec) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn clock_nanosleep(
        __clock_id: clockid_t,
        __flags: ::std::os::raw::c_int,
        __req: *const timespec,
        __rem: *mut timespec,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn clock_getcpuclockid(__pid: pid_t, __clock_id: *mut clockid_t) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn timer_create(
        __clock_id: clockid_t,
        __evp: *mut sigevent,
        __timerid: *mut timer_t,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn timer_delete(__timerid: timer_t) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn timer_settime(
        __timerid: timer_t,
        __flags: ::std::os::raw::c_int,
        __value: *const itimerspec,
        __ovalue: *mut itimerspec,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn timer_gettime(__timerid: timer_t, __value: *mut itimerspec) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn timer_getoverrun(__timerid: timer_t) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn timespec_get(
        __ts: *mut timespec,
        __base: ::std::os::raw::c_int,
    ) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct mpd_directory {
    _unused: [u8; 0],
}
unsafe extern "C" {
    pub fn mpd_directory_dup(directory: *const mpd_directory) -> *mut mpd_directory;
}
unsafe extern "C" {
    pub fn mpd_directory_free(directory: *mut mpd_directory);
}
unsafe extern "C" {
    pub fn mpd_directory_get_path(directory: *const mpd_directory)
        -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_directory_get_last_modified(directory: *const mpd_directory) -> time_t;
}
unsafe extern "C" {
    pub fn mpd_directory_begin(pair: *const mpd_pair) -> *mut mpd_directory;
}
unsafe extern "C" {
    pub fn mpd_directory_feed(directory: *mut mpd_directory, pair: *const mpd_pair) -> bool;
}
unsafe extern "C" {
    pub fn mpd_recv_directory(connection: *mut mpd_connection) -> *mut mpd_directory;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct mpd_song {
    _unused: [u8; 0],
}
unsafe extern "C" {
    pub fn mpd_song_free(song: *mut mpd_song);
}
unsafe extern "C" {
    pub fn mpd_song_dup(song: *const mpd_song) -> *mut mpd_song;
}
unsafe extern "C" {
    pub fn mpd_song_get_uri(song: *const mpd_song) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_song_get_tag(
        song: *const mpd_song,
        type_: mpd_tag_type,
        idx: ::std::os::raw::c_uint,
    ) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_song_get_duration(song: *const mpd_song) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_song_get_duration_ms(song: *const mpd_song) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_song_get_start(song: *const mpd_song) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_song_get_end(song: *const mpd_song) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_song_get_last_modified(song: *const mpd_song) -> time_t;
}
unsafe extern "C" {
    pub fn mpd_song_get_added(song: *const mpd_song) -> time_t;
}
unsafe extern "C" {
    pub fn mpd_song_set_pos(song: *mut mpd_song, pos: ::std::os::raw::c_uint);
}
unsafe extern "C" {
    pub fn mpd_song_get_pos(song: *const mpd_song) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_song_get_id(song: *const mpd_song) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_song_get_prio(song: *const mpd_song) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_song_get_audio_format(song: *const mpd_song) -> *const mpd_audio_format;
}
unsafe extern "C" {
    pub fn mpd_song_begin(pair: *const mpd_pair) -> *mut mpd_song;
}
unsafe extern "C" {
    pub fn mpd_song_feed(song: *mut mpd_song, pair: *const mpd_pair) -> bool;
}
unsafe extern "C" {
    pub fn mpd_recv_song(connection: *mut mpd_connection) -> *mut mpd_song;
}
pub const mpd_entity_type_MPD_ENTITY_TYPE_UNKNOWN: mpd_entity_type = 0;
pub const mpd_entity_type_MPD_ENTITY_TYPE_DIRECTORY: mpd_entity_type = 1;
pub const mpd_entity_type_MPD_ENTITY_TYPE_SONG: mpd_entity_type = 2;
pub const mpd_entity_type_MPD_ENTITY_TYPE_PLAYLIST: mpd_entity_type = 3;
pub type mpd_entity_type = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct mpd_entity {
    _unused: [u8; 0],
}
unsafe extern "C" {
    pub fn mpd_entity_free(entity: *mut mpd_entity);
}
unsafe extern "C" {
    pub fn mpd_entity_get_type(entity: *const mpd_entity) -> mpd_entity_type;
}
unsafe extern "C" {
    pub fn mpd_entity_get_directory(entity: *const mpd_entity) -> *const mpd_directory;
}
unsafe extern "C" {
    pub fn mpd_entity_get_song(entity: *const mpd_entity) -> *const mpd_song;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct mpd_playlist {
    _unused: [u8; 0],
}
unsafe extern "C" {
    pub fn mpd_entity_get_playlist(entity: *const mpd_entity) -> *const mpd_playlist;
}
unsafe extern "C" {
    pub fn mpd_entity_begin(pair: *const mpd_pair) -> *mut mpd_entity;
}
unsafe extern "C" {
    pub fn mpd_entity_feed(entity: *mut mpd_entity, pair: *const mpd_pair) -> bool;
}
unsafe extern "C" {
    pub fn mpd_recv_entity(connection: *mut mpd_connection) -> *mut mpd_entity;
}
pub const mpd_fingerprint_type_MPD_FINGERPRINT_TYPE_UNKNOWN: mpd_fingerprint_type = 0;
pub const mpd_fingerprint_type_MPD_FINGERPRINT_TYPE_CHROMAPRINT: mpd_fingerprint_type = 1;
pub type mpd_fingerprint_type = ::std::os::raw::c_uint;
unsafe extern "C" {
    pub fn mpd_parse_fingerprint_type(name: *const ::std::os::raw::c_char) -> mpd_fingerprint_type;
}
unsafe extern "C" {
    pub fn mpd_send_getfingerprint(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_getfingerprint_chromaprint(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
        buffer: *mut ::std::os::raw::c_char,
        buffer_size: usize,
    ) -> *const ::std::os::raw::c_char;
}
pub const mpd_idle_MPD_IDLE_DATABASE: mpd_idle = 1;
pub const mpd_idle_MPD_IDLE_STORED_PLAYLIST: mpd_idle = 2;
pub const mpd_idle_MPD_IDLE_QUEUE: mpd_idle = 4;
pub const mpd_idle_MPD_IDLE_PLAYLIST: mpd_idle = 4;
pub const mpd_idle_MPD_IDLE_PLAYER: mpd_idle = 8;
pub const mpd_idle_MPD_IDLE_MIXER: mpd_idle = 16;
pub const mpd_idle_MPD_IDLE_OUTPUT: mpd_idle = 32;
pub const mpd_idle_MPD_IDLE_OPTIONS: mpd_idle = 64;
pub const mpd_idle_MPD_IDLE_UPDATE: mpd_idle = 128;
pub const mpd_idle_MPD_IDLE_STICKER: mpd_idle = 256;
pub const mpd_idle_MPD_IDLE_SUBSCRIPTION: mpd_idle = 512;
pub const mpd_idle_MPD_IDLE_MESSAGE: mpd_idle = 1024;
pub const mpd_idle_MPD_IDLE_PARTITION: mpd_idle = 2048;
pub const mpd_idle_MPD_IDLE_NEIGHBOR: mpd_idle = 4096;
pub const mpd_idle_MPD_IDLE_MOUNT: mpd_idle = 8192;
pub type mpd_idle = ::std::os::raw::c_uint;
unsafe extern "C" {
    pub fn mpd_idle_name(idle: mpd_idle) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_idle_name_parse(name: *const ::std::os::raw::c_char) -> mpd_idle;
}
unsafe extern "C" {
    pub fn mpd_send_idle(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_idle_mask(connection: *mut mpd_connection, mask: mpd_idle) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_noidle(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_idle_parse_pair(pair: *const mpd_pair) -> mpd_idle;
}
unsafe extern "C" {
    pub fn mpd_recv_idle(connection: *mut mpd_connection, disable_timeout: bool) -> mpd_idle;
}
unsafe extern "C" {
    pub fn mpd_run_idle(connection: *mut mpd_connection) -> mpd_idle;
}
unsafe extern "C" {
    pub fn mpd_run_idle_mask(connection: *mut mpd_connection, mask: mpd_idle) -> mpd_idle;
}
unsafe extern "C" {
    pub fn mpd_run_noidle(connection: *mut mpd_connection) -> mpd_idle;
}
unsafe extern "C" {
    pub fn mpd_command_list_begin(connection: *mut mpd_connection, discrete_ok: bool) -> bool;
}
unsafe extern "C" {
    pub fn mpd_command_list_end(connection: *mut mpd_connection) -> bool;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct mpd_message {
    _unused: [u8; 0],
}
unsafe extern "C" {
    pub fn mpd_message_begin(pair: *const mpd_pair) -> *mut mpd_message;
}
unsafe extern "C" {
    pub fn mpd_message_feed(output: *mut mpd_message, pair: *const mpd_pair) -> bool;
}
unsafe extern "C" {
    pub fn mpd_message_free(message: *mut mpd_message);
}
unsafe extern "C" {
    pub fn mpd_message_get_channel(message: *const mpd_message) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_message_get_text(message: *const mpd_message) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_send_subscribe(
        connection: *mut mpd_connection,
        channel: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_subscribe(
        connection: *mut mpd_connection,
        channel: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_unsubscribe(
        connection: *mut mpd_connection,
        channel: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_unsubscribe(
        connection: *mut mpd_connection,
        channel: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_send_message(
        connection: *mut mpd_connection,
        channel: *const ::std::os::raw::c_char,
        text: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_send_message(
        connection: *mut mpd_connection,
        channel: *const ::std::os::raw::c_char,
        text: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_read_messages(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_recv_message(connection: *mut mpd_connection) -> *mut mpd_message;
}
unsafe extern "C" {
    pub fn mpd_send_channels(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_set_volume(
        connection: *mut mpd_connection,
        volume: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_set_volume(
        connection: *mut mpd_connection,
        volume: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_change_volume(
        connection: *mut mpd_connection,
        relative_volume: ::std::os::raw::c_int,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_change_volume(
        connection: *mut mpd_connection,
        relative_volume: ::std::os::raw::c_int,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_get_volume(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_get_volume(connection: *mut mpd_connection) -> ::std::os::raw::c_int;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct mpd_mount {
    _unused: [u8; 0],
}
unsafe extern "C" {
    pub fn mpd_mount_begin(pair: *const mpd_pair) -> *mut mpd_mount;
}
unsafe extern "C" {
    pub fn mpd_mount_feed(mnt: *mut mpd_mount, pair: *const mpd_pair) -> bool;
}
unsafe extern "C" {
    pub fn mpd_mount_free(mount: *mut mpd_mount);
}
unsafe extern "C" {
    pub fn mpd_mount_get_uri(mnt: *const mpd_mount) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_mount_get_storage(mnt: *const mpd_mount) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_send_list_mounts(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_recv_mount(connection: *mut mpd_connection) -> *mut mpd_mount;
}
unsafe extern "C" {
    pub fn mpd_send_mount(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
        storage: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_mount(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
        storage: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_unmount(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_unmount(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
    ) -> bool;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct mpd_neighbor {
    _unused: [u8; 0],
}
unsafe extern "C" {
    pub fn mpd_neighbor_begin(pair: *const mpd_pair) -> *mut mpd_neighbor;
}
unsafe extern "C" {
    pub fn mpd_neighbor_feed(neighbor: *mut mpd_neighbor, pair: *const mpd_pair) -> bool;
}
unsafe extern "C" {
    pub fn mpd_neighbor_free(neighbor: *mut mpd_neighbor);
}
unsafe extern "C" {
    pub fn mpd_neighbor_get_uri(neighbor: *const mpd_neighbor) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_neighbor_get_display_name(
        neighbor: *const mpd_neighbor,
    ) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_send_list_neighbors(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_recv_neighbor(connection: *mut mpd_connection) -> *mut mpd_neighbor;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct mpd_output {
    _unused: [u8; 0],
}
unsafe extern "C" {
    pub fn mpd_output_begin(pair: *const mpd_pair) -> *mut mpd_output;
}
unsafe extern "C" {
    pub fn mpd_output_feed(output: *mut mpd_output, pair: *const mpd_pair) -> bool;
}
unsafe extern "C" {
    pub fn mpd_output_free(output: *mut mpd_output);
}
unsafe extern "C" {
    pub fn mpd_output_get_id(output: *const mpd_output) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_output_get_name(output: *const mpd_output) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_output_get_plugin(output: *const mpd_output) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_output_get_enabled(output: *const mpd_output) -> bool;
}
unsafe extern "C" {
    pub fn mpd_output_get_attribute(
        output: *const mpd_output,
        name: *const ::std::os::raw::c_char,
    ) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_output_first_attribute(output: *mut mpd_output) -> *const mpd_pair;
}
unsafe extern "C" {
    pub fn mpd_output_next_attribute(output: *mut mpd_output) -> *const mpd_pair;
}
unsafe extern "C" {
    pub fn mpd_send_outputs(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_recv_output(connection: *mut mpd_connection) -> *mut mpd_output;
}
unsafe extern "C" {
    pub fn mpd_send_enable_output(
        connection: *mut mpd_connection,
        output_id: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_enable_output(
        connection: *mut mpd_connection,
        output_id: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_disable_output(
        connection: *mut mpd_connection,
        output_id: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_disable_output(
        connection: *mut mpd_connection,
        output_id: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_toggle_output(
        connection: *mut mpd_connection,
        output_id: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_toggle_output(
        connection: *mut mpd_connection,
        output_id: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_output_set(
        connection: *mut mpd_connection,
        output_id: ::std::os::raw::c_uint,
        attribute_name: *const ::std::os::raw::c_char,
        attribute_value: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_output_set(
        connection: *mut mpd_connection,
        output_id: ::std::os::raw::c_uint,
        attribute_name: *const ::std::os::raw::c_char,
        attribute_value: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_move_output(
        connection: *mut mpd_connection,
        output_name: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_move_output(
        connection: *mut mpd_connection,
        output_name: *const ::std::os::raw::c_char,
    ) -> bool;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct mpd_pair {
    pub name: *const ::std::os::raw::c_char,
    pub value: *const ::std::os::raw::c_char,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of mpd_pair"][::std::mem::size_of::<mpd_pair>() - 16usize];
    ["Alignment of mpd_pair"][::std::mem::align_of::<mpd_pair>() - 8usize];
    ["Offset of field: mpd_pair::name"][::std::mem::offset_of!(mpd_pair, name) - 0usize];
    ["Offset of field: mpd_pair::value"][::std::mem::offset_of!(mpd_pair, value) - 8usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct mpd_partition {
    _unused: [u8; 0],
}
unsafe extern "C" {
    pub fn mpd_partition_new(pair: *const mpd_pair) -> *mut mpd_partition;
}
unsafe extern "C" {
    pub fn mpd_partition_free(partition: *mut mpd_partition);
}
unsafe extern "C" {
    pub fn mpd_partition_get_name(partition: *const mpd_partition)
        -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_send_newpartition(
        connection: *mut mpd_connection,
        partition: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_newpartition(
        connection: *mut mpd_connection,
        partition: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_delete_partition(
        connection: *mut mpd_connection,
        partition: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_delete_partition(
        connection: *mut mpd_connection,
        partition: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_switch_partition(
        connection: *mut mpd_connection,
        partition: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_switch_partition(
        connection: *mut mpd_connection,
        partition: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_listpartitions(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_recv_partition(connection: *mut mpd_connection) -> *mut mpd_partition;
}
unsafe extern "C" {
    pub fn mpd_send_password(
        connection: *mut mpd_connection,
        password: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_password(
        connection: *mut mpd_connection,
        password: *const ::std::os::raw::c_char,
    ) -> bool;
}
pub const mpd_state_MPD_STATE_UNKNOWN: mpd_state = 0;
pub const mpd_state_MPD_STATE_STOP: mpd_state = 1;
pub const mpd_state_MPD_STATE_PLAY: mpd_state = 2;
pub const mpd_state_MPD_STATE_PAUSE: mpd_state = 3;
pub type mpd_state = ::std::os::raw::c_uint;
pub const mpd_single_state_MPD_SINGLE_OFF: mpd_single_state = 0;
pub const mpd_single_state_MPD_SINGLE_ON: mpd_single_state = 1;
pub const mpd_single_state_MPD_SINGLE_ONESHOT: mpd_single_state = 2;
pub const mpd_single_state_MPD_SINGLE_UNKNOWN: mpd_single_state = 3;
pub type mpd_single_state = ::std::os::raw::c_uint;
pub const mpd_consume_state_MPD_CONSUME_OFF: mpd_consume_state = 0;
pub const mpd_consume_state_MPD_CONSUME_ON: mpd_consume_state = 1;
pub const mpd_consume_state_MPD_CONSUME_ONESHOT: mpd_consume_state = 2;
pub const mpd_consume_state_MPD_CONSUME_UNKNOWN: mpd_consume_state = 3;
pub type mpd_consume_state = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct mpd_status {
    _unused: [u8; 0],
}
unsafe extern "C" {
    pub fn mpd_status_begin() -> *mut mpd_status;
}
unsafe extern "C" {
    pub fn mpd_status_feed(status: *mut mpd_status, pair: *const mpd_pair);
}
unsafe extern "C" {
    pub fn mpd_send_status(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_recv_status(connection: *mut mpd_connection) -> *mut mpd_status;
}
unsafe extern "C" {
    pub fn mpd_run_status(connection: *mut mpd_connection) -> *mut mpd_status;
}
unsafe extern "C" {
    pub fn mpd_status_free(status: *mut mpd_status);
}
unsafe extern "C" {
    pub fn mpd_status_get_volume(status: *const mpd_status) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn mpd_status_get_repeat(status: *const mpd_status) -> bool;
}
unsafe extern "C" {
    pub fn mpd_status_get_random(status: *const mpd_status) -> bool;
}
unsafe extern "C" {
    pub fn mpd_status_get_single_state(status: *const mpd_status) -> mpd_single_state;
}
unsafe extern "C" {
    pub fn mpd_lookup_single_state(state: mpd_single_state) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_parse_single_state(p: *const ::std::os::raw::c_char) -> mpd_single_state;
}
unsafe extern "C" {
    pub fn mpd_status_get_single(status: *const mpd_status) -> bool;
}
unsafe extern "C" {
    pub fn mpd_status_get_consume_state(status: *const mpd_status) -> mpd_consume_state;
}
unsafe extern "C" {
    pub fn mpd_lookup_consume_state(state: mpd_consume_state) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_parse_consume_state(p: *const ::std::os::raw::c_char) -> mpd_consume_state;
}
unsafe extern "C" {
    pub fn mpd_status_get_consume(status: *const mpd_status) -> bool;
}
unsafe extern "C" {
    pub fn mpd_status_get_queue_length(status: *const mpd_status) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_status_get_queue_version(status: *const mpd_status) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_status_get_state(status: *const mpd_status) -> mpd_state;
}
unsafe extern "C" {
    pub fn mpd_status_get_crossfade(status: *const mpd_status) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_status_get_mixrampdb(status: *const mpd_status) -> f32;
}
unsafe extern "C" {
    pub fn mpd_status_get_mixrampdelay(status: *const mpd_status) -> f32;
}
unsafe extern "C" {
    pub fn mpd_status_get_song_pos(status: *const mpd_status) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn mpd_status_get_song_id(status: *const mpd_status) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn mpd_status_get_next_song_pos(status: *const mpd_status) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn mpd_status_get_next_song_id(status: *const mpd_status) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn mpd_status_get_elapsed_time(status: *const mpd_status) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_status_get_elapsed_ms(status: *const mpd_status) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_status_get_total_time(status: *const mpd_status) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_status_get_kbit_rate(status: *const mpd_status) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_status_get_audio_format(status: *const mpd_status) -> *const mpd_audio_format;
}
unsafe extern "C" {
    pub fn mpd_status_get_update_id(status: *const mpd_status) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_status_get_partition(status: *const mpd_status) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_status_get_error(status: *const mpd_status) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_send_current_song(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_current_song(connection: *mut mpd_connection) -> *mut mpd_song;
}
unsafe extern "C" {
    pub fn mpd_send_play(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_play(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_play_pos(
        connection: *mut mpd_connection,
        song_pos: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_play_pos(
        connection: *mut mpd_connection,
        song_pos: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_play_id(
        connection: *mut mpd_connection,
        song_id: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_play_id(
        connection: *mut mpd_connection,
        song_id: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_stop(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_stop(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_toggle_pause(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_toggle_pause(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_pause(connection: *mut mpd_connection, mode: bool) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_pause(connection: *mut mpd_connection, mode: bool) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_next(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_next(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_previous(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_previous(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_seek_pos(
        connection: *mut mpd_connection,
        song_pos: ::std::os::raw::c_uint,
        t: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_seek_pos(
        connection: *mut mpd_connection,
        song_pos: ::std::os::raw::c_uint,
        t: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_seek_id(
        connection: *mut mpd_connection,
        song_id: ::std::os::raw::c_uint,
        t: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_seek_id(
        connection: *mut mpd_connection,
        song_id: ::std::os::raw::c_uint,
        t: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_seek_id_float(
        connection: *mut mpd_connection,
        song_id: ::std::os::raw::c_uint,
        t: f32,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_seek_id_float(
        connection: *mut mpd_connection,
        song_id: ::std::os::raw::c_uint,
        t: f32,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_seek_current(connection: *mut mpd_connection, t: f32, relative: bool) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_seek_current(connection: *mut mpd_connection, t: f32, relative: bool) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_repeat(connection: *mut mpd_connection, mode: bool) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_repeat(connection: *mut mpd_connection, mode: bool) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_random(connection: *mut mpd_connection, mode: bool) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_random(connection: *mut mpd_connection, mode: bool) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_single_state(connection: *mut mpd_connection, state: mpd_single_state) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_single_state(connection: *mut mpd_connection, state: mpd_single_state) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_single(connection: *mut mpd_connection, mode: bool) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_single(connection: *mut mpd_connection, mode: bool) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_consume(connection: *mut mpd_connection, mode: bool) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_consume(connection: *mut mpd_connection, mode: bool) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_consume_state(
        connection: *mut mpd_connection,
        state: mpd_consume_state,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_consume_state(connection: *mut mpd_connection, state: mpd_consume_state)
        -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_crossfade(
        connection: *mut mpd_connection,
        seconds: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_crossfade(
        connection: *mut mpd_connection,
        seconds: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_mixrampdb(connection: *mut mpd_connection, db: f32) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_mixrampdb(connection: *mut mpd_connection, db: f32) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_mixrampdelay(connection: *mut mpd_connection, seconds: f32) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_mixrampdelay(connection: *mut mpd_connection, seconds: f32) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_clearerror(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_clearerror(connection: *mut mpd_connection) -> bool;
}
pub const mpd_position_whence_MPD_POSITION_ABSOLUTE: mpd_position_whence = 0;
pub const mpd_position_whence_MPD_POSITION_AFTER_CURRENT: mpd_position_whence = 1;
pub const mpd_position_whence_MPD_POSITION_BEFORE_CURRENT: mpd_position_whence = 2;
pub type mpd_position_whence = ::std::os::raw::c_uint;
unsafe extern "C" {
    pub fn mpd_position_whence_char(whence: mpd_position_whence) -> *const ::std::os::raw::c_char;
}
pub const mpd_queue_save_mode_MPD_QUEUE_SAVE_MODE_CREATE: mpd_queue_save_mode = 0;
pub const mpd_queue_save_mode_MPD_QUEUE_SAVE_MODE_REPLACE: mpd_queue_save_mode = 1;
pub const mpd_queue_save_mode_MPD_QUEUE_SAVE_MODE_APPEND: mpd_queue_save_mode = 2;
pub const mpd_queue_save_mode_MPD_QUEUE_SAVE_MODE_UNKNOWN: mpd_queue_save_mode = 3;
pub type mpd_queue_save_mode = ::std::os::raw::c_uint;
unsafe extern "C" {
    pub fn mpd_playlist_free(playlist: *mut mpd_playlist);
}
unsafe extern "C" {
    pub fn mpd_playlist_dup(playlist: *const mpd_playlist) -> *mut mpd_playlist;
}
unsafe extern "C" {
    pub fn mpd_playlist_get_path(playlist: *const mpd_playlist) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_playlist_get_last_modified(playlist: *const mpd_playlist) -> time_t;
}
unsafe extern "C" {
    pub fn mpd_playlist_begin(pair: *const mpd_pair) -> *mut mpd_playlist;
}
unsafe extern "C" {
    pub fn mpd_playlist_feed(playlist: *mut mpd_playlist, pair: *const mpd_pair) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_list_playlists(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_recv_playlist(connection: *mut mpd_connection) -> *mut mpd_playlist;
}
unsafe extern "C" {
    pub fn mpd_send_list_playlist(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_list_playlist_meta(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_playlist_clear(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_playlist_clear(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_playlist_add(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
        path: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_playlist_add(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
        path: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_playlist_add_to(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
        uri: *const ::std::os::raw::c_char,
        to: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_playlist_add_to(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
        uri: *const ::std::os::raw::c_char,
        to: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_playlist_move(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
        from: ::std::os::raw::c_uint,
        to: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_playlist_move(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
        from: ::std::os::raw::c_uint,
        to: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_playlist_move_range(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
        to: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_playlist_move_range(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
        to: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_playlist_delete(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
        pos: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_playlist_delete(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
        pos: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_playlist_delete_range(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_playlist_delete_range(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_save(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_save(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_save_queue(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
        mode: mpd_queue_save_mode,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_save_queue(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
        mode: mpd_queue_save_mode,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_lookup_queue_save_mode(mode: mpd_queue_save_mode) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_parse_queue_save_mode(mode: *const ::std::os::raw::c_char) -> mpd_queue_save_mode;
}
unsafe extern "C" {
    pub fn mpd_send_load(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_load(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_load_range(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_load_range(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_load_range_to(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
        to: ::std::os::raw::c_uint,
        whence: mpd_position_whence,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_load_range_to(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
        to: ::std::os::raw::c_uint,
        whence: mpd_position_whence,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_rename(
        connection: *mut mpd_connection,
        from: *const ::std::os::raw::c_char,
        to: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_rename(
        connection: *mut mpd_connection,
        from: *const ::std::os::raw::c_char,
        to: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_rm(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_rm(connection: *mut mpd_connection, name: *const ::std::os::raw::c_char)
        -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_list_queue_meta(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_list_queue_range_meta(
        connection: *mut mpd_connection,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_get_queue_song_pos(
        connection: *mut mpd_connection,
        pos: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_get_queue_song_pos(
        connection: *mut mpd_connection,
        pos: ::std::os::raw::c_uint,
    ) -> *mut mpd_song;
}
unsafe extern "C" {
    pub fn mpd_send_get_queue_song_id(
        connection: *mut mpd_connection,
        id: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_get_queue_song_id(
        connection: *mut mpd_connection,
        id: ::std::os::raw::c_uint,
    ) -> *mut mpd_song;
}
unsafe extern "C" {
    pub fn mpd_send_queue_changes_meta(
        connection: *mut mpd_connection,
        version: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_queue_changes_meta_range(
        connection: *mut mpd_connection,
        version: ::std::os::raw::c_uint,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_queue_changes_brief(
        connection: *mut mpd_connection,
        version: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_queue_changes_brief_range(
        connection: *mut mpd_connection,
        version: ::std::os::raw::c_uint,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_recv_queue_change_brief(
        connection: *mut mpd_connection,
        position_r: *mut ::std::os::raw::c_uint,
        id_r: *mut ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_add(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_add(connection: *mut mpd_connection, uri: *const ::std::os::raw::c_char)
        -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_add_whence(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
        to: ::std::os::raw::c_uint,
        whence: mpd_position_whence,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_add_whence(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
        to: ::std::os::raw::c_uint,
        whence: mpd_position_whence,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_add_id(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_add_id_to(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
        to: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_add_id_whence(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
        to: ::std::os::raw::c_uint,
        whence: mpd_position_whence,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_recv_song_id(connection: *mut mpd_connection) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn mpd_run_add_id(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn mpd_run_add_id_to(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
        to: ::std::os::raw::c_uint,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn mpd_run_add_id_whence(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
        to: ::std::os::raw::c_uint,
        whence: mpd_position_whence,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn mpd_send_delete(connection: *mut mpd_connection, pos: ::std::os::raw::c_uint) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_delete(connection: *mut mpd_connection, pos: ::std::os::raw::c_uint) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_delete_range(
        connection: *mut mpd_connection,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_delete_range(
        connection: *mut mpd_connection,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_delete_id(connection: *mut mpd_connection, id: ::std::os::raw::c_uint) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_delete_id(connection: *mut mpd_connection, id: ::std::os::raw::c_uint) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_shuffle(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_shuffle(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_shuffle_range(
        connection: *mut mpd_connection,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_shuffle_range(
        connection: *mut mpd_connection,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_clear(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_clear(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_move(
        connection: *mut mpd_connection,
        from: ::std::os::raw::c_uint,
        to: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_move(
        connection: *mut mpd_connection,
        from: ::std::os::raw::c_uint,
        to: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_move_whence(
        connection: *mut mpd_connection,
        from: ::std::os::raw::c_uint,
        to: ::std::os::raw::c_uint,
        whence: mpd_position_whence,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_move_whence(
        connection: *mut mpd_connection,
        from: ::std::os::raw::c_uint,
        to: ::std::os::raw::c_uint,
        whence: mpd_position_whence,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_move_id(
        connection: *mut mpd_connection,
        from: ::std::os::raw::c_uint,
        to: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_move_id(
        connection: *mut mpd_connection,
        from: ::std::os::raw::c_uint,
        to: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_move_id_whence(
        connection: *mut mpd_connection,
        from: ::std::os::raw::c_uint,
        to: ::std::os::raw::c_uint,
        whence: mpd_position_whence,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_move_id_whence(
        connection: *mut mpd_connection,
        from: ::std::os::raw::c_uint,
        to: ::std::os::raw::c_uint,
        whence: mpd_position_whence,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_move_range(
        connection: *mut mpd_connection,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
        to: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_move_range(
        connection: *mut mpd_connection,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
        to: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_move_range_whence(
        connection: *mut mpd_connection,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
        to: ::std::os::raw::c_uint,
        whence: mpd_position_whence,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_move_range_whence(
        connection: *mut mpd_connection,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
        to: ::std::os::raw::c_uint,
        whence: mpd_position_whence,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_swap(
        connection: *mut mpd_connection,
        pos1: ::std::os::raw::c_uint,
        pos2: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_swap(
        connection: *mut mpd_connection,
        pos1: ::std::os::raw::c_uint,
        pos2: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_swap_id(
        connection: *mut mpd_connection,
        id1: ::std::os::raw::c_uint,
        id2: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_swap_id(
        connection: *mut mpd_connection,
        id1: ::std::os::raw::c_uint,
        id2: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_add_tag_id(
        connection: *mut mpd_connection,
        id: ::std::os::raw::c_uint,
        tag: mpd_tag_type,
        value: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_add_tag_id(
        connection: *mut mpd_connection,
        id: ::std::os::raw::c_uint,
        tag: mpd_tag_type,
        value: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_clear_tag_id(
        connection: *mut mpd_connection,
        id: ::std::os::raw::c_uint,
        tag: mpd_tag_type,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_clear_tag_id(
        connection: *mut mpd_connection,
        id: ::std::os::raw::c_uint,
        tag: mpd_tag_type,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_clear_all_tags_id(
        connection: *mut mpd_connection,
        id: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_clear_all_tags_id(
        connection: *mut mpd_connection,
        id: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_prio(
        connection: *mut mpd_connection,
        priority: ::std::os::raw::c_uint,
        position: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_prio(
        connection: *mut mpd_connection,
        priority: ::std::os::raw::c_uint,
        position: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_prio_range(
        connection: *mut mpd_connection,
        priority: ::std::os::raw::c_uint,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_prio_range(
        connection: *mut mpd_connection,
        priority: ::std::os::raw::c_uint,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_prio_id(
        connection: *mut mpd_connection,
        priority: ::std::os::raw::c_uint,
        id: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_prio_id(
        connection: *mut mpd_connection,
        priority: ::std::os::raw::c_uint,
        id: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_range_id(
        connection: *mut mpd_connection,
        id: ::std::os::raw::c_uint,
        start: f32,
        end: f32,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_range_id(
        connection: *mut mpd_connection,
        id: ::std::os::raw::c_uint,
        start: f32,
        end: f32,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_readpicture(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
        offset: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_recv_readpicture(
        connection: *mut mpd_connection,
        buffer: *mut ::std::os::raw::c_void,
        buffer_size: usize,
    ) -> ::std::os::raw::c_int;
}
unsafe extern "C" {
    pub fn mpd_run_readpicture(
        connection: *mut mpd_connection,
        uri: *const ::std::os::raw::c_char,
        offset: ::std::os::raw::c_uint,
        buffer: *mut ::std::os::raw::c_void,
        buffer_size: usize,
    ) -> ::std::os::raw::c_int;
}
pub const mpd_replay_gain_mode_MPD_REPLAY_OFF: mpd_replay_gain_mode = 0;
pub const mpd_replay_gain_mode_MPD_REPLAY_TRACK: mpd_replay_gain_mode = 1;
pub const mpd_replay_gain_mode_MPD_REPLAY_ALBUM: mpd_replay_gain_mode = 2;
pub const mpd_replay_gain_mode_MPD_REPLAY_AUTO: mpd_replay_gain_mode = 3;
pub const mpd_replay_gain_mode_MPD_REPLAY_UNKNOWN: mpd_replay_gain_mode = 4;
pub type mpd_replay_gain_mode = ::std::os::raw::c_uint;
unsafe extern "C" {
    pub fn mpd_parse_replay_gain_name(name: *const ::std::os::raw::c_char) -> mpd_replay_gain_mode;
}
unsafe extern "C" {
    pub fn mpd_lookup_replay_gain_mode(mode: mpd_replay_gain_mode)
        -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_send_replay_gain_status(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_recv_replay_gain_status(connection: *mut mpd_connection) -> mpd_replay_gain_mode;
}
unsafe extern "C" {
    pub fn mpd_run_replay_gain_status(connection: *mut mpd_connection) -> mpd_replay_gain_mode;
}
unsafe extern "C" {
    pub fn mpd_send_replay_gain_mode(
        connection: *mut mpd_connection,
        mode: mpd_replay_gain_mode,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_replay_gain_mode(
        connection: *mut mpd_connection,
        mode: mpd_replay_gain_mode,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_response_finish(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_response_next(connection: *mut mpd_connection) -> bool;
}
pub const mpd_operator_MPD_OPERATOR_DEFAULT: mpd_operator = 0;
pub type mpd_operator = ::std::os::raw::c_uint;
unsafe extern "C" {
    pub fn mpd_search_db_songs(connection: *mut mpd_connection, exact: bool) -> bool;
}
unsafe extern "C" {
    pub fn mpd_search_add_db_songs(connection: *mut mpd_connection, exact: bool) -> bool;
}
unsafe extern "C" {
    pub fn mpd_search_add_db_songs_to_playlist(
        connection: *mut mpd_connection,
        playlist_name: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_search_queue_songs(connection: *mut mpd_connection, exact: bool) -> bool;
}
unsafe extern "C" {
    pub fn mpd_search_db_tags(connection: *mut mpd_connection, type_: mpd_tag_type) -> bool;
}
unsafe extern "C" {
    pub fn mpd_count_db_songs(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_searchcount_db_songs(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_search_add_base_constraint(
        connection: *mut mpd_connection,
        oper: mpd_operator,
        value: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_search_add_uri_constraint(
        connection: *mut mpd_connection,
        oper: mpd_operator,
        value: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_search_add_tag_constraint(
        connection: *mut mpd_connection,
        oper: mpd_operator,
        type_: mpd_tag_type,
        value: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_search_add_any_tag_constraint(
        connection: *mut mpd_connection,
        oper: mpd_operator,
        value: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_search_add_modified_since_constraint(
        connection: *mut mpd_connection,
        oper: mpd_operator,
        value: time_t,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_search_add_added_since_constraint(
        connection: *mut mpd_connection,
        oper: mpd_operator,
        value: time_t,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_search_add_expression(
        connection: *mut mpd_connection,
        expression: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_search_add_group_tag(connection: *mut mpd_connection, type_: mpd_tag_type) -> bool;
}
unsafe extern "C" {
    pub fn mpd_search_add_sort_name(
        connection: *mut mpd_connection,
        name: *const ::std::os::raw::c_char,
        descending: bool,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_search_add_sort_tag(
        connection: *mut mpd_connection,
        type_: mpd_tag_type,
        descending: bool,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_search_add_window(
        connection: *mut mpd_connection,
        start: ::std::os::raw::c_uint,
        end: ::std::os::raw::c_uint,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_search_add_position(
        connection: *mut mpd_connection,
        position: ::std::os::raw::c_uint,
        whence: mpd_position_whence,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_search_commit(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_search_cancel(connection: *mut mpd_connection);
}
unsafe extern "C" {
    pub fn mpd_recv_pair_tag(connection: *mut mpd_connection, type_: mpd_tag_type)
        -> *mut mpd_pair;
}
unsafe extern "C" {
    pub fn mpd_send_command(
        connection: *mut mpd_connection,
        command: *const ::std::os::raw::c_char,
        ...
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_settings_new(
        host: *const ::std::os::raw::c_char,
        port: ::std::os::raw::c_uint,
        timeout_ms: ::std::os::raw::c_uint,
        reserved: *const ::std::os::raw::c_char,
        password: *const ::std::os::raw::c_char,
    ) -> *mut mpd_settings;
}
unsafe extern "C" {
    pub fn mpd_settings_free(settings: *mut mpd_settings);
}
unsafe extern "C" {
    pub fn mpd_settings_get_host(settings: *const mpd_settings) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_settings_get_port(settings: *const mpd_settings) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_settings_get_timeout_ms(settings: *const mpd_settings) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_settings_get_password(
        settings: *const mpd_settings,
    ) -> *const ::std::os::raw::c_char;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct mpd_stats {
    _unused: [u8; 0],
}
unsafe extern "C" {
    pub fn mpd_send_stats(connection: *mut mpd_connection) -> bool;
}
unsafe extern "C" {
    pub fn mpd_stats_begin() -> *mut mpd_stats;
}
unsafe extern "C" {
    pub fn mpd_stats_feed(stats: *mut mpd_stats, pair: *const mpd_pair);
}
unsafe extern "C" {
    pub fn mpd_recv_stats(connection: *mut mpd_connection) -> *mut mpd_stats;
}
unsafe extern "C" {
    pub fn mpd_run_stats(connection: *mut mpd_connection) -> *mut mpd_stats;
}
unsafe extern "C" {
    pub fn mpd_stats_free(stats: *mut mpd_stats);
}
unsafe extern "C" {
    pub fn mpd_stats_get_number_of_artists(stats: *const mpd_stats) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_stats_get_number_of_albums(stats: *const mpd_stats) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_stats_get_number_of_songs(stats: *const mpd_stats) -> ::std::os::raw::c_uint;
}
unsafe extern "C" {
    pub fn mpd_stats_get_uptime(stats: *const mpd_stats) -> ::std::os::raw::c_ulong;
}
unsafe extern "C" {
    pub fn mpd_stats_get_db_update_time(stats: *const mpd_stats) -> ::std::os::raw::c_ulong;
}
unsafe extern "C" {
    pub fn mpd_stats_get_play_time(stats: *const mpd_stats) -> ::std::os::raw::c_ulong;
}
unsafe extern "C" {
    pub fn mpd_stats_get_db_play_time(stats: *const mpd_stats) -> ::std::os::raw::c_ulong;
}
unsafe extern "C" {
    pub fn mpd_send_sticker_set(
        connection: *mut mpd_connection,
        type_: *const ::std::os::raw::c_char,
        uri: *const ::std::os::raw::c_char,
        name: *const ::std::os::raw::c_char,
        value: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_sticker_set(
        connection: *mut mpd_connection,
        type_: *const ::std::os::raw::c_char,
        uri: *const ::std::os::raw::c_char,
        name: *const ::std::os::raw::c_char,
        value: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_sticker_delete(
        connection: *mut mpd_connection,
        type_: *const ::std::os::raw::c_char,
        uri: *const ::std::os::raw::c_char,
        name: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_run_sticker_delete(
        connection: *mut mpd_connection,
        type_: *const ::std::os::raw::c_char,
        uri: *const ::std::os::raw::c_char,
        name: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_sticker_get(
        connection: *mut mpd_connection,
        type_: *const ::std::os::raw::c_char,
        uri: *const ::std::os::raw::c_char,
        name: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_sticker_list(
        connection: *mut mpd_connection,
        type_: *const ::std::os::raw::c_char,
        uri: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_send_sticker_find(
        connection: *mut mpd_connection,
        type_: *const ::std::os::raw::c_char,
        base_uri: *const ::std::os::raw::c_char,
        name: *const ::std::os::raw::c_char,
    ) -> bool;
}
unsafe extern "C" {
    pub fn mpd_parse_sticker(
        input: *const ::std::os::raw::c_char,
        name_length_r: *mut usize,
    ) -> *const ::std::os::raw::c_char;
}
unsafe extern "C" {
    pub fn mpd_recv_sticker(connection: *mut mpd_connection) -> *mut mpd_pair;
}
unsafe extern "C" {
    pub fn mpd_return_sticker(connection: *mut mpd_connection, pair: *mut mpd_pair);
}
unsafe extern "C" {
    pub fn mpd_send_stickernames(connection: *mut mpd_connection) -> bool;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __locale_data {
    pub _address: u8,
}