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
/*
 * A libfuse highlevel API Rust bindings.
 * It supports only libfuse 2.6.x+
 *
 */
extern crate libc;

#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
#[allow(non_camel_case_types)]
pub struct __BindgenBitfieldUnit<Storage, Align>
where
    Storage: AsRef<[u8]> + AsMut<[u8]>,
{
    storage: Storage,
    align: [Align; 0],
}

#[doc = " Argument list"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
#[allow(non_camel_case_types)]
pub struct fuse_args {
    #[doc = " Argument count"]
    pub argc: ::std::os::raw::c_int,
    #[doc = " Argument vector.  NULL terminated"]
    pub argv: *mut *mut ::std::os::raw::c_char,
    #[doc = " Is \'argv\' allocated?"]
    pub allocated: ::std::os::raw::c_int,
}

#[doc = " Option description"]
#[doc = ""]
#[doc = " This structure describes a single option, and and action associated"]
#[doc = " with it, in case it matches."]
#[doc = ""]
#[doc = " More than one such match may occur, in which case the action for"]
#[doc = " each match is executed."]
#[doc = ""]
#[doc = " There are three possible actions in case of a match:"]
#[doc = ""]
#[doc = " i) An integer (int or unsigned) variable determined by \'offset\' is"]
#[doc = "    set to \'value\'"]
#[doc = ""]
#[doc = " ii) The processing function is called, with \'value\' as the key"]
#[doc = ""]
#[doc = " iii) An integer (any) or string (char *) variable determined by"]
#[doc = "    \'offset\' is set to the value of an option parameter"]
#[doc = ""]
#[doc = " \'offset\' should normally be either set to"]
#[doc = ""]
#[doc = "  - \'offsetof(struct foo, member)\'  actions i) and iii)"]
#[doc = ""]
#[doc = "  - -1\t\t\t      action ii)"]
#[doc = ""]
#[doc = " The \'offsetof()\' macro is defined in the <stddef.h> header."]
#[doc = ""]
#[doc = " The template determines which options match, and also have an"]
#[doc = " effect on the action.  Normally the action is either i) or ii), but"]
#[doc = " if a format is present in the template, then action iii) is"]
#[doc = " performed."]
#[doc = ""]
#[doc = " The types of templates are:"]
#[doc = ""]
#[doc = " 1) \"-x\", \"-foo\", \"--foo\", \"--foo-bar\", etc.\tThese match only"]
#[doc = "   themselves.  Invalid values are \"--\" and anything beginning"]
#[doc = "   with \"-o\""]
#[doc = ""]
#[doc = " 2) \"foo\", \"foo-bar\", etc.  These match \"-ofoo\", \"-ofoo-bar\" or"]
#[doc = "    the relevant option in a comma separated option list"]
#[doc = ""]
#[doc = " 3) \"bar=\", \"--foo=\", etc.  These are variations of 1) and 2)"]
#[doc = "    which have a parameter"]
#[doc = ""]
#[doc = " 4) \"bar=%s\", \"--foo=%lu\", etc.  Same matching as above but perform"]
#[doc = "    action iii)."]
#[doc = ""]
#[doc = " 5) \"-x \", etc.  Matches either \"-xparam\" or \"-x param\" as"]
#[doc = "    two separate arguments"]
#[doc = ""]
#[doc = " 6) \"-x %s\", etc.  Combination of 4) and 5)"]
#[doc = ""]
#[doc = " If the format is \"%s\", memory is allocated for the string unlike"]
#[doc = " with scanf()."]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
#[allow(non_camel_case_types)]
pub struct fuse_opt {
    #[doc = " Matching template and optional parameter formatting"]
    pub templ: *const ::std::os::raw::c_char,
    #[doc = " Offset of variable within \'data\' parameter of fuse_opt_parse()"]
    #[doc = " or -1"]
    pub offset: ::std::os::raw::c_ulong,
    #[doc = " Value to set the variable to, or to be passed as \'key\' to the"]
    #[doc = " processing function.\t Ignored if template has a format"]
    pub value: ::std::os::raw::c_int,
}

#[doc = " Connection information, passed to the ->init() method"]
#[doc = ""]
#[doc = " Some of the elements are read-write, these can be changed to"]
#[doc = " indicate the value requested by the filesystem.  The requested"]
#[doc = " value must usually be smaller than the indicated value."]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
#[allow(non_camel_case_types)]
pub struct fuse_conn_info {
    #[doc = " Major version of the protocol (read-only)"]
    pub proto_major: ::std::os::raw::c_uint,
    #[doc = " Minor version of the protocol (read-only)"]
    pub proto_minor: ::std::os::raw::c_uint,
    #[doc = " Is asynchronous read supported (read-write)"]
    pub async_read: ::std::os::raw::c_uint,
    #[doc = " Maximum size of the write buffer"]
    pub max_write: ::std::os::raw::c_uint,
    #[doc = " Maximum readahead"]
    pub max_readahead: ::std::os::raw::c_uint,
    // TODO pub enable: fuse_conn_info__bindgen_ty_1,
    pub reserved: [::std::os::raw::c_uint; 26usize],
}

#[doc = " Information about open files"]
#[doc = ""]
#[doc = " Changed in version 2.5"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
#[allow(non_camel_case_types)]
pub struct fuse_file_info {
    #[doc = " Open flags.\t Available in open() and release()"]
    pub flags: ::std::os::raw::c_int,
    #[doc = " Old file handle, don\'t use"]
    pub fh_old: ::std::os::raw::c_ulong,
    #[doc = " In case of a write operation indicates if this was caused by a"]
    #[doc = "writepage"]
    pub writepage: ::std::os::raw::c_int,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize], u32>,
    #[doc = " File handle.  May be filled in by filesystem in open()."]
    #[doc = "Available in all other file operations"]
    pub fh: u64,
    #[doc = " Lock owner id.  Available in locking operations and flush"]
    pub lock_owner: u64,
}

#[doc = " Function to add an entry in a readdir() operation"]
#[doc = ""]
#[doc = " @param buf the buffer passed to the readdir() operation"]
#[doc = " @param name the file name of the directory entry"]
#[doc = " @param stat file attributes, can be NULL"]
#[doc = " @param off offset of the next entry or zero"]
#[doc = " @return 1 if buffer is full, zero otherwise"]
#[allow(non_camel_case_types)]
pub type fuse_fill_dir_t = ::std::option::Option<
    unsafe extern "C" fn(
        buf: *mut ::std::os::raw::c_void,
        name: *const ::std::os::raw::c_char,
        stbuf: *const ::libc::stat,
        off: ::libc::off_t,
    ) -> ::std::os::raw::c_int,
>;

#[doc = " Processing function"]
#[doc = ""]
#[doc = " This function is called if"]
#[doc = "    - option did not match any \'struct fuse_opt\'"]
#[doc = "    - argument is a non-option"]
#[doc = "    - option did match and offset was set to -1"]
#[doc = ""]
#[doc = " The \'arg\' parameter will always contain the whole argument or"]
#[doc = " option including the parameter if exists.  A two-argument option"]
#[doc = " (\"-x foo\") is always converted to single arguemnt option of the"]
#[doc = " form \"-xfoo\" before this function is called."]
#[doc = ""]
#[doc = " Options of the form \'-ofoo\' are passed to this function without the"]
#[doc = " \'-o\' prefix."]
#[doc = ""]
#[doc = " The return value of this function determines whether this argument"]
#[doc = " is to be inserted into the output argument vector, or discarded."]
#[doc = ""]
#[doc = " @param data is the user data passed to the fuse_opt_parse() function"]
#[doc = " @param arg is the whole argument or option"]
#[doc = " @param key determines why the processing function was called"]
#[doc = " @param outargs the current output argument list"]
#[doc = " @return -1 on error, 0 if arg is to be discarded, 1 if arg should be kept"]
#[allow(non_camel_case_types)]
pub type fuse_opt_proc_t = ::std::option::Option<
    unsafe extern "C" fn(
        data: *mut ::std::os::raw::c_void,
        arg: *const ::std::os::raw::c_char,
        key: ::std::os::raw::c_int,
        outargs: *mut fuse_args,
    ) -> ::std::os::raw::c_int,
>;

#[repr(C)]
#[derive(Debug, Copy, Clone)]
#[allow(non_camel_case_types)]
pub struct fuse_dirhandle {
    _unused: [u8; 0],
}

#[allow(non_camel_case_types)]
pub type fuse_dirh_t = *mut fuse_dirhandle;

#[allow(non_camel_case_types)]
pub type fuse_dirfil_t = ::std::option::Option<
    unsafe extern "C" fn(
        h: fuse_dirh_t,
        name: *const ::std::os::raw::c_char,
        type_: ::std::os::raw::c_int,
        ino: ::libc::ino_t,
    ) -> ::std::os::raw::c_int,
>;

#[repr(C)]
#[derive(Copy, Clone)]
#[allow(non_camel_case_types)]
pub struct setattr_x {
    pub valid: i32,
    pub mode: ::libc::mode_t,
    pub uid: ::libc::uid_t,
    pub gid: ::libc::gid_t,
    pub size: ::libc::off_t,
    pub acctime: ::libc::timespec,
    pub modtime: ::libc::timespec,
    pub crtime: ::libc::timespec,
    pub chgtime: ::libc::timespec,
    pub bkuptime: ::libc::timespec,
    pub flags: u32,
}

#[doc = " Handle for a FUSE filesystem"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct fuse {
    _unused: [u8; 0],
}

#[doc = " Extra context that may be needed by some filesystems"]
#[doc = ""]
#[doc = " The uid, gid and pid fields are not filled in case of a writepage"]
#[doc = " operation."]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
#[allow(non_camel_case_types)]
pub struct fuse_context {
    #[doc = " Pointer to the fuse object"]
    pub fuse: *mut fuse,
    #[doc = " User ID of the calling process"]
    pub uid: ::libc::uid_t,
    #[doc = " Group ID of the calling process"]
    pub gid: ::libc::gid_t,
    #[doc = " Thread ID of the calling process"]
    pub pid: ::libc::pid_t,
    #[doc = " Private filesystem data"]
    pub private_data: *mut ::std::os::raw::c_void,
}

#[doc = " The file system operations:"]
#[doc = ""]
#[doc = " Most of these should work very similarly to the well known UNIX"]
#[doc = " file system operations.  A major exception is that instead of"]
#[doc = " returning an error in \'errno\', the operation should return the"]
#[doc = " negated error value (-errno) directly."]
#[doc = ""]
#[doc = " All methods are optional, but some are essential for a useful"]
#[doc = " filesystem (e.g. getattr).  Open, flush, release, fsync, opendir,"]
#[doc = " releasedir, fsyncdir, access, create, ftruncate, fgetattr, lock,"]
#[doc = " init and destroy are special purpose methods, without which a full"]
#[doc = " featured filesystem can still be implemented."]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
#[allow(non_camel_case_types)]
pub struct fuse_operations {
    #[doc = " Get file attributes."]
    #[doc = ""]
    #[doc = " Similar to stat().  The \'st_dev\' and \'st_blksize\' fields are"]
    #[doc = " ignored.\t The \'st_ino\' field is ignored except if the \'use_ino\'"]
    #[doc = " mount option is given."]
    pub getattr: ::std::option::Option<
        unsafe extern "C" fn(
            path: *const ::std::os::raw::c_char,
            stbuf: *mut ::libc::stat,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Read the target of a symbolic link"]
    #[doc = ""]
    #[doc = " The buffer should be filled with a null terminated string.  The"]
    #[doc = " buffer size argument includes the space for the terminating"]
    #[doc = " null character.\tIf the linkname is too long to fit in the"]
    #[doc = " buffer, it should be truncated.\tThe return value should be 0"]
    #[doc = " for success."]
    pub readlink: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *mut ::std::os::raw::c_char,
            arg3: usize,
        ) -> ::std::os::raw::c_int,
    >,

    pub getdir: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: fuse_dirh_t,
            arg3: fuse_dirfil_t,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Create a file node"]
    #[doc = ""]
    #[doc = " This is called for creation of all non-directory, non-symlink"]
    #[doc = " nodes.  If the filesystem defines a create() method, then for"]
    #[doc = " regular files that will be called instead."]
    pub mknod: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: ::libc::mode_t,
            arg3: ::libc::dev_t,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Create a directory"]
    pub mkdir: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: ::libc::mode_t,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Remove a file"]
    pub unlink: ::std::option::Option<
        unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
    >,

    #[doc = " Remove a directory"]
    pub rmdir: ::std::option::Option<
        unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
    >,

    #[doc = " Create a symbolic link"]
    pub symlink: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *const ::std::os::raw::c_char,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Rename a file"]
    pub rename: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *const ::std::os::raw::c_char,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Create a hard link to a file"]
    pub link: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *const ::std::os::raw::c_char,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Change the permission bits of a file"]
    pub chmod: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: ::libc::mode_t,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Change the owner and group of a file"]
    pub chown: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: ::libc::uid_t,
            arg3: ::libc::gid_t,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Change the size of a file"]
    pub truncate: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: ::libc::off_t,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Change the access and/or modification times of a file"]
    #[doc = ""]
    #[doc = " Deprecated, use utimens() instead."]
    pub utime: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *mut ::libc::utimbuf,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " File open operation"]
    #[doc = ""]
    #[doc = " No creation, or truncation flags (O_CREAT, O_EXCL, O_TRUNC)"]
    #[doc = " will be passed to open().  Open should check if the operation"]
    #[doc = " is permitted for the given flags.  Optionally open may also"]
    #[doc = " return an arbitrary filehandle in the fuse_file_info structure,"]
    #[doc = " which will be passed to all file operations."]
    #[doc = ""]
    #[doc = " Changed in version 2.2"]
    pub open: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *mut fuse_file_info,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Read data from an open file"]
    #[doc = ""]
    #[doc = " Read should return exactly the number of bytes requested except"]
    #[doc = " on EOF or error, otherwise the rest of the data will be"]
    #[doc = " substituted with zeroes.\t An exception to this is when the"]
    #[doc = " \'direct_io\' mount option is specified, in which case the return"]
    #[doc = " value of the read system call will reflect the return value of"]
    #[doc = " this operation."]
    #[doc = ""]
    #[doc = " Changed in version 2.2"]
    pub read: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *mut ::std::os::raw::c_char,
            arg3: usize,
            arg4: ::libc::off_t,
            arg5: *mut fuse_file_info,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Write data to an open file"]
    #[doc = ""]
    #[doc = " Write should return exactly the number of bytes requested"]
    #[doc = " except on error.\t An exception to this is when the \'direct_io\'"]
    #[doc = " mount option is specified (see read operation)."]
    #[doc = ""]
    #[doc = " Changed in version 2.2"]
    pub write: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *const ::std::os::raw::c_char,
            arg3: usize,
            arg4: ::libc::off_t,
            arg5: *mut fuse_file_info,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Get file system statistics"]
    #[doc = ""]
    #[doc = " The \'f_frsize\', \'f_favail\', \'f_fsid\' and \'f_flag\' fields are ignored"]
    #[doc = ""]
    #[doc = " Replaced \'struct statfs\' parameter with \'struct statvfs\' in"]
    #[doc = " version 2.5"]
    pub statfs: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *mut ::libc::statvfs,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Possibly flush cached data"]
    #[doc = ""]
    #[doc = " BIG NOTE: This is not equivalent to fsync().  It\'s not a"]
    #[doc = " request to sync dirty data."]
    #[doc = ""]
    #[doc = " Flush is called on each close() of a file descriptor.  So if a"]
    #[doc = " filesystem wants to return write errors in close() and the file"]
    #[doc = " has cached dirty data, this is a good place to write back data"]
    #[doc = " and return any errors.  Since many applications ignore close()"]
    #[doc = " errors this is not always useful."]
    #[doc = ""]
    #[doc = " NOTE: The flush() method may be called more than once for each"]
    #[doc = " open().\tThis happens if more than one file descriptor refers"]
    #[doc = " to an opened file due to dup(), dup2() or fork() calls.\tIt is"]
    #[doc = " not possible to determine if a flush is final, so each flush"]
    #[doc = " should be treated equally.  Multiple write-flush sequences are"]
    #[doc = " relatively rare, so this shouldn\'t be a problem."]
    #[doc = ""]
    #[doc = " Filesystems shouldn\'t assume that flush will always be called"]
    #[doc = " after some writes, or that if will be called at all."]
    #[doc = ""]
    #[doc = " Changed in version 2.2"]
    pub flush: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *mut fuse_file_info,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Release an open file"]
    #[doc = ""]
    #[doc = " Release is called when there are no more references to an open"]
    #[doc = " file: all file descriptors are closed and all memory mappings"]
    #[doc = " are unmapped."]
    #[doc = ""]
    #[doc = " For every open() call there will be exactly one release() call"]
    #[doc = " with the same flags and file descriptor.\t It is possible to"]
    #[doc = " have a file opened more than once, in which case only the last"]
    #[doc = " release will mean, that no more reads/writes will happen on the"]
    #[doc = " file.  The return value of release is ignored."]
    #[doc = ""]
    #[doc = " Changed in version 2.2"]
    pub release: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *mut fuse_file_info,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Synchronize file contents"]
    #[doc = ""]
    #[doc = " If the datasync parameter is non-zero, then only the user data"]
    #[doc = " should be flushed, not the meta data."]
    #[doc = ""]
    #[doc = " Changed in version 2.2"]
    pub fsync: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: ::std::os::raw::c_int,
            arg3: *mut fuse_file_info,
        ) -> ::std::os::raw::c_int,
    >,

    pub setxattr: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *const ::std::os::raw::c_char,
            arg3: *const ::std::os::raw::c_char,
            arg4: usize,
            arg5: ::std::os::raw::c_int,
            arg6: u32,
        ) -> ::std::os::raw::c_int,
    >,

    pub getxattr: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *const ::std::os::raw::c_char,
            arg3: *mut ::std::os::raw::c_char,
            arg4: usize,
            arg5: u32,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " List extended attributes"]
    pub listxattr: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *mut ::std::os::raw::c_char,
            arg3: usize,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Remove extended attributes"]
    pub removexattr: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *const ::std::os::raw::c_char,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Open directory"]
    #[doc = ""]
    #[doc = " This method should check if the open operation is permitted for"]
    #[doc = " this  directory"]
    #[doc = ""]
    #[doc = " Introduced in version 2.3"]
    pub opendir: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *mut fuse_file_info,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Read directory"]
    #[doc = ""]
    #[doc = " This supersedes the old getdir() interface.  New applications"]
    #[doc = " should use this."]
    #[doc = ""]
    #[doc = " The filesystem may choose between two modes of operation:"]
    #[doc = ""]
    #[doc = " 1) The readdir implementation ignores the offset parameter, and"]
    #[doc = " passes zero to the filler function\'s offset.  The filler"]
    #[doc = " function will not return \'1\' (unless an error happens), so the"]
    #[doc = " whole directory is read in a single readdir operation.  This"]
    #[doc = " works just like the old getdir() method."]
    #[doc = ""]
    #[doc = " 2) The readdir implementation keeps track of the offsets of the"]
    #[doc = " directory entries.  It uses the offset parameter and always"]
    #[doc = " passes non-zero offset to the filler function.  When the buffer"]
    #[doc = " is full (or an error happens) the filler function will return"]
    #[doc = " \'1\'."]
    #[doc = ""]
    #[doc = " Introduced in version 2.3"]
    pub readdir: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *mut ::std::os::raw::c_void,
            arg3: fuse_fill_dir_t,
            arg4: ::libc::off_t,
            arg5: *mut fuse_file_info,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Release directory"]
    #[doc = ""]
    #[doc = " Introduced in version 2.3"]
    pub releasedir: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *mut fuse_file_info,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Synchronize directory contents"]
    #[doc = ""]
    #[doc = " If the datasync parameter is non-zero, then only the user data"]
    #[doc = " should be flushed, not the meta data"]
    #[doc = ""]
    #[doc = " Introduced in version 2.3"]
    pub fsyncdir: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: ::std::os::raw::c_int,
            arg3: *mut fuse_file_info,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Initialize filesystem"]
    #[doc = ""]
    #[doc = " The return value will passed in the private_data field of"]
    #[doc = " fuse_context to all file operations and as a parameter to the"]
    #[doc = " destroy() method."]
    #[doc = ""]
    #[doc = " Introduced in version 2.3"]
    #[doc = " Changed in version 2.6"]
    pub init: ::std::option::Option<
        unsafe extern "C" fn(conn: *mut fuse_conn_info) -> *mut ::std::os::raw::c_void,
    >,

    #[doc = " Clean up filesystem"]
    #[doc = ""]
    #[doc = " Called on filesystem exit."]
    #[doc = ""]
    #[doc = " Introduced in version 2.3"]
    pub destroy: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,

    #[doc = " Check file access permissions"]
    #[doc = ""]
    #[doc = " This will be called for the access() system call.  If the"]
    #[doc = " \'default_permissions\' mount option is given, this method is not"]
    #[doc = " called."]
    #[doc = ""]
    #[doc = " This method is not called under Linux kernel versions 2.4.x"]
    #[doc = ""]
    #[doc = " Introduced in version 2.5"]
    pub access: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: ::std::os::raw::c_int,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Create and open a file"]
    #[doc = ""]
    #[doc = " If the file does not exist, first create it with the specified"]
    #[doc = " mode, and then open it."]
    #[doc = ""]
    #[doc = " If this method is not implemented or under Linux kernel"]
    #[doc = " versions earlier than 2.6.15, the mknod() and open() methods"]
    #[doc = " will be called instead."]
    #[doc = ""]
    #[doc = " Introduced in version 2.5"]
    pub create: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: ::libc::mode_t,
            arg3: *mut fuse_file_info,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Change the size of an open file"]
    #[doc = ""]
    #[doc = " This method is called instead of the truncate() method if the"]
    #[doc = " truncation was invoked from an ftruncate() system call."]
    #[doc = ""]
    #[doc = " If this method is not implemented or under Linux kernel"]
    #[doc = " versions earlier than 2.6.15, the truncate() method will be"]
    #[doc = " called instead."]
    #[doc = ""]
    #[doc = " Introduced in version 2.5"]
    pub ftruncate: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: ::libc::off_t,
            arg3: *mut fuse_file_info,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Get attributes from an open file"]
    #[doc = ""]
    #[doc = " This method is called instead of the getattr() method if the"]
    #[doc = " file information is available."]
    #[doc = ""]
    #[doc = " Currently this is only called after the create() method if that"]
    #[doc = " is implemented (see above).  Later it may be called for"]
    #[doc = " invocations of fstat() too."]
    #[doc = ""]
    #[doc = " Introduced in version 2.5"]
    pub fgetattr: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *mut ::libc::stat,
            arg3: *mut fuse_file_info,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Perform POSIX file locking operation"]
    #[doc = ""]
    #[doc = " The cmd argument will be either F_GETLK, F_SETLK or F_SETLKW."]
    #[doc = ""]
    #[doc = " For the meaning of fields in \'struct flock\' see the man page"]
    #[doc = " for fcntl(2).  The l_whence field will always be set to"]
    #[doc = " SEEK_SET."]
    #[doc = ""]
    #[doc = " For checking lock ownership, the \'fuse_file_info->owner\'"]
    #[doc = " argument must be used."]
    #[doc = ""]
    #[doc = " For F_GETLK operation, the library will first check currently"]
    #[doc = " held locks, and if a conflicting lock is found it will return"]
    #[doc = " information without calling this method.\t This ensures, that"]
    #[doc = " for local locks the l_pid field is correctly filled in.\tThe"]
    #[doc = " results may not be accurate in case of race conditions and in"]
    #[doc = " the presence of hard links, but it\'s unlikly that an"]
    #[doc = " application would rely on accurate GETLK results in these"]
    #[doc = " cases.  If a conflicting lock is not found, this method will be"]
    #[doc = " called, and the filesystem may fill out l_pid by a meaningful"]
    #[doc = " value, or it may leave this field zero."]
    #[doc = ""]
    #[doc = " For F_SETLK and F_SETLKW the l_pid field will be set to the pid"]
    #[doc = " of the process performing the locking operation."]
    #[doc = ""]
    #[doc = " Note: if this method is not implemented, the kernel will still"]
    #[doc = " allow file locking to work locally.  Hence it is only"]
    #[doc = " interesting for network filesystems and similar."]
    #[doc = ""]
    #[doc = " Introduced in version 2.6"]
    pub lock: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *mut fuse_file_info,
            cmd: ::std::os::raw::c_int,
            arg3: *mut ::libc::flock,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Change the access and modification times of a file with"]
    #[doc = " nanosecond resolution"]
    #[doc = ""]
    #[doc = " Introduced in version 2.6"]
    pub utimens: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            tv: *const ::libc::timespec,
        ) -> ::std::os::raw::c_int,
    >,

    #[doc = " Map block index within file to block index within device"]
    #[doc = ""]
    #[doc = " Note: This makes sense only for block device backed filesystems"]
    #[doc = " mounted with the \'blkdev\' option"]
    #[doc = ""]
    #[doc = " Introduced in version 2.6"]
    pub bmap: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            blocksize: usize,
            idx: *mut u64,
        ) -> ::std::os::raw::c_int,
    >,

    pub reserved00: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *mut ::std::os::raw::c_void,
            arg2: *mut ::std::os::raw::c_void,
            arg3: *mut ::std::os::raw::c_void,
            arg4: *mut ::std::os::raw::c_void,
            arg5: *mut ::std::os::raw::c_void,
            arg6: *mut ::std::os::raw::c_void,
            arg7: *mut ::std::os::raw::c_void,
            arg8: *mut ::std::os::raw::c_void,
        ) -> ::std::os::raw::c_int,
    >,

    pub reserved01: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *mut ::std::os::raw::c_void,
            arg2: *mut ::std::os::raw::c_void,
            arg3: *mut ::std::os::raw::c_void,
            arg4: *mut ::std::os::raw::c_void,
            arg5: *mut ::std::os::raw::c_void,
            arg6: *mut ::std::os::raw::c_void,
            arg7: *mut ::std::os::raw::c_void,
            arg8: *mut ::std::os::raw::c_void,
        ) -> ::std::os::raw::c_int,
    >,

    pub reserved02: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *mut ::std::os::raw::c_void,
            arg2: *mut ::std::os::raw::c_void,
            arg3: *mut ::std::os::raw::c_void,
            arg4: *mut ::std::os::raw::c_void,
            arg5: *mut ::std::os::raw::c_void,
            arg6: *mut ::std::os::raw::c_void,
            arg7: *mut ::std::os::raw::c_void,
            arg8: *mut ::std::os::raw::c_void,
        ) -> ::std::os::raw::c_int,
    >,

    pub reserved03: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *mut ::std::os::raw::c_void,
            arg2: *mut ::std::os::raw::c_void,
            arg3: *mut ::std::os::raw::c_void,
            arg4: *mut ::std::os::raw::c_void,
            arg5: *mut ::std::os::raw::c_void,
            arg6: *mut ::std::os::raw::c_void,
            arg7: *mut ::std::os::raw::c_void,
            arg8: *mut ::std::os::raw::c_void,
        ) -> ::std::os::raw::c_int,
    >,

    pub reserved04: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *mut ::std::os::raw::c_void,
            arg2: *mut ::std::os::raw::c_void,
            arg3: *mut ::std::os::raw::c_void,
            arg4: *mut ::std::os::raw::c_void,
            arg5: *mut ::std::os::raw::c_void,
            arg6: *mut ::std::os::raw::c_void,
            arg7: *mut ::std::os::raw::c_void,
            arg8: *mut ::std::os::raw::c_void,
        ) -> ::std::os::raw::c_int,
    >,

    pub reserved05: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *mut ::std::os::raw::c_void,
            arg2: *mut ::std::os::raw::c_void,
            arg3: *mut ::std::os::raw::c_void,
            arg4: *mut ::std::os::raw::c_void,
            arg5: *mut ::std::os::raw::c_void,
            arg6: *mut ::std::os::raw::c_void,
            arg7: *mut ::std::os::raw::c_void,
            arg8: *mut ::std::os::raw::c_void,
        ) -> ::std::os::raw::c_int,
    >,

    pub reserved06: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *mut ::std::os::raw::c_void,
            arg2: *mut ::std::os::raw::c_void,
            arg3: *mut ::std::os::raw::c_void,
            arg4: *mut ::std::os::raw::c_void,
            arg5: *mut ::std::os::raw::c_void,
            arg6: *mut ::std::os::raw::c_void,
            arg7: *mut ::std::os::raw::c_void,
            arg8: *mut ::std::os::raw::c_void,
        ) -> ::std::os::raw::c_int,
    >,

    pub reserved07: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *mut ::std::os::raw::c_void,
            arg2: *mut ::std::os::raw::c_void,
            arg3: *mut ::std::os::raw::c_void,
            arg4: *mut ::std::os::raw::c_void,
            arg5: *mut ::std::os::raw::c_void,
            arg6: *mut ::std::os::raw::c_void,
            arg7: *mut ::std::os::raw::c_void,
            arg8: *mut ::std::os::raw::c_void,
        ) -> ::std::os::raw::c_int,
    >,

    pub reserved08: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *mut ::std::os::raw::c_void,
            arg2: *mut ::std::os::raw::c_void,
            arg3: *mut ::std::os::raw::c_void,
            arg4: *mut ::std::os::raw::c_void,
            arg5: *mut ::std::os::raw::c_void,
            arg6: *mut ::std::os::raw::c_void,
            arg7: *mut ::std::os::raw::c_void,
            arg8: *mut ::std::os::raw::c_void,
        ) -> ::std::os::raw::c_int,
    >,

    pub reserved09: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *mut ::std::os::raw::c_void,
            arg2: *mut ::std::os::raw::c_void,
            arg3: *mut ::std::os::raw::c_void,
            arg4: *mut ::std::os::raw::c_void,
            arg5: *mut ::std::os::raw::c_void,
            arg6: *mut ::std::os::raw::c_void,
            arg7: *mut ::std::os::raw::c_void,
            arg8: *mut ::std::os::raw::c_void,
        ) -> ::std::os::raw::c_int,
    >,

    pub reserved10: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *mut ::std::os::raw::c_void,
            arg2: *mut ::std::os::raw::c_void,
            arg3: *mut ::std::os::raw::c_void,
            arg4: *mut ::std::os::raw::c_void,
            arg5: *mut ::std::os::raw::c_void,
            arg6: *mut ::std::os::raw::c_void,
            arg7: *mut ::std::os::raw::c_void,
            arg8: *mut ::std::os::raw::c_void,
        ) -> ::std::os::raw::c_int,
    >,

    pub setvolname: ::std::option::Option<
        unsafe extern "C" fn(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int,
    >,

    pub exchange: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *const ::std::os::raw::c_char,
            arg3: ::std::os::raw::c_ulong,
        ) -> ::std::os::raw::c_int,
    >,

    pub getxtimes: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            bkuptime: *mut ::libc::timespec,
            crtime: *mut ::libc::timespec,
        ) -> ::std::os::raw::c_int,
    >,

    pub setbkuptime: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            tv: *const ::libc::timespec,
        ) -> ::std::os::raw::c_int,
    >,

    pub setchgtime: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            tv: *const ::libc::timespec,
        ) -> ::std::os::raw::c_int,
    >,

    pub setcrtime: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            tv: *const ::libc::timespec,
        ) -> ::std::os::raw::c_int,
    >,

    pub chflags: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: u32,
        ) -> ::std::os::raw::c_int,
    >,

    pub setattr_x: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *mut setattr_x,
        ) -> ::std::os::raw::c_int,
    >,

    pub fsetattr_x: ::std::option::Option<
        unsafe extern "C" fn(
            arg1: *const ::std::os::raw::c_char,
            arg2: *mut setattr_x,
            arg3: *mut fuse_file_info,
        ) -> ::std::os::raw::c_int,
    >,
}

extern "C" {
    #[doc = " The real main function"]
    #[doc = ""]
    #[doc = " Do not call this directly, use fuse_main()"]
    #[link_name = "fuse_main_real"]
    pub fn fuse_main_real(
        argc: ::std::os::raw::c_int,
        argv: *mut *mut ::std::os::raw::c_char,
        op: *const fuse_operations,
        op_size: usize,
        user_data: *mut ::std::os::raw::c_void,
    ) -> ::std::os::raw::c_int;

    #[doc = " Get the current context"]
    #[doc = ""]
    #[doc = " The context is only valid for the duration of a filesystem"]
    #[doc = " operation, and thus must not be stored and used later."]
    #[doc = ""]
    #[doc = " @return the context"]
    #[link_name = "fuse_get_context"]
    pub fn fuse_get_context() -> *mut fuse_context;

    #[doc = " Option parsing function"]
    #[doc = ""]
    #[doc = " If \'args\' was returned from a previous call to fuse_opt_parse() or"]
    #[doc = " it was constructed from"]
    #[doc = ""]
    #[doc = " A NULL \'args\' is equivalent to an empty argument vector"]
    #[doc = ""]
    #[doc = " A NULL \'opts\' is equivalent to an \'opts\' array containing a single"]
    #[doc = " end marker"]
    #[doc = ""]
    #[doc = " A NULL \'proc\' is equivalent to a processing function always"]
    #[doc = " returning \'1\'"]
    #[doc = ""]
    #[doc = " @param args is the input and output argument list"]
    #[doc = " @param data is the user data"]
    #[doc = " @param opts is the option description array"]
    #[doc = " @param proc is the processing function"]
    #[doc = " @return -1 on error, 0 on success"]
    #[link_name = "fuse_opt_parse"]
    pub fn fuse_opt_parse(
        args: *mut fuse_args,
        data: *mut ::std::os::raw::c_void,
        opts: *const fuse_opt,
        proc_: fuse_opt_proc_t,
    ) -> ::std::os::raw::c_int;

    #[doc = " Add an option to a comma separated option list"]
    #[doc = ""]
    #[doc = " @param opts is a pointer to an option list, may point to a NULL value"]
    #[doc = " @param opt is the option to add"]
    #[doc = " @return -1 on allocation error, 0 on success"]
    #[link_name = "fuse_opt_add_opt"]
    pub fn fuse_opt_add_opt(
        opts: *mut *mut ::std::os::raw::c_char,
        opt: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_int;

    #[doc = " Add an argument to a NULL terminated argument vector"]
    #[doc = ""]
    #[doc = " @param args is the structure containing the current argument list"]
    #[doc = " @param arg is the new argument to add"]
    #[doc = " @return -1 on allocation error, 0 on success"]
    #[link_name = "fuse_opt_add_arg"]
    pub fn fuse_opt_add_arg(
        args: *mut fuse_args,
        arg: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_int;

    #[doc = " Add an argument at the specified position in a NULL terminated"]
    #[doc = " argument vector"]
    #[doc = ""]
    #[doc = " Adds the argument to the N-th position.  This is useful for adding"]
    #[doc = " options at the beggining of the array which must not come after the"]
    #[doc = " special \'--\' option."]
    #[doc = ""]
    #[doc = " @param args is the structure containing the current argument list"]
    #[doc = " @param pos is the position at which to add the argument"]
    #[doc = " @param arg is the new argument to add"]
    #[doc = " @return -1 on allocation error, 0 on success"]
    #[link_name = "fuse_opt_insert_arg"]
    pub fn fuse_opt_insert_arg(
        args: *mut fuse_args,
        pos: ::std::os::raw::c_int,
        arg: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_int;

    #[doc = " Free the contents of argument list"]
    #[doc = ""]
    #[doc = " The structure itself is not freed"]
    #[doc = ""]
    #[doc = " @param args is the structure containing the argument list"]
    #[link_name = "fuse_opt_free_args"]
    pub fn fuse_opt_free_args(args: *mut fuse_args);

    #[doc = " Check if an option matches"]
    #[doc = ""]
    #[doc = " @param opts is the option description array"]
    #[doc = " @param opt is the option to match"]
    #[doc = " @return 1 if a match is found, 0 if not"]
    #[link_name = "fuse_opt_match"]
    pub fn fuse_opt_match(
        opts: *const fuse_opt,
        opt: *const ::std::os::raw::c_char,
    ) -> ::std::os::raw::c_int;
}

#[test]
fn bindgen_test_layout_fuse_context() {
    assert_eq!(
        ::std::mem::size_of::<fuse_context>(),
        32usize,
        concat!("Size of: ", stringify!(fuse_context))
    );
    assert_eq!(
        ::std::mem::align_of::<fuse_context>(),
        8usize,
        concat!("Alignment of ", stringify!(fuse_context))
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_context>())).fuse as *const _ as usize },
        0usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_context),
            "::",
            stringify!(fuse)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_context>())).uid as *const _ as usize },
        8usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_context),
            "::",
            stringify!(uid)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_context>())).gid as *const _ as usize },
        12usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_context),
            "::",
            stringify!(gid)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_context>())).pid as *const _ as usize },
        16usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_context),
            "::",
            stringify!(pid)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_context>())).private_data as *const _ as usize },
        24usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_context),
            "::",
            stringify!(private_data)
        )
    );
}
#[test]
fn bindgen_test_layout_fuse_operations() {
    assert_eq!(
        ::std::mem::size_of::<fuse_operations>(),
        464usize,
        concat!("Size of: ", stringify!(fuse_operations))
    );
    assert_eq!(
        ::std::mem::align_of::<fuse_operations>(),
        8usize,
        concat!("Alignment of ", stringify!(fuse_operations))
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).getattr as *const _ as usize },
        0usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(getattr)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).readlink as *const _ as usize },
        8usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(readlink)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).getdir as *const _ as usize },
        16usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(getdir)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).mknod as *const _ as usize },
        24usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(mknod)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).mkdir as *const _ as usize },
        32usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(mkdir)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).unlink as *const _ as usize },
        40usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(unlink)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).rmdir as *const _ as usize },
        48usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(rmdir)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).symlink as *const _ as usize },
        56usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(symlink)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).rename as *const _ as usize },
        64usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(rename)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).link as *const _ as usize },
        72usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(link)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).chmod as *const _ as usize },
        80usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(chmod)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).chown as *const _ as usize },
        88usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(chown)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).truncate as *const _ as usize },
        96usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(truncate)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).utime as *const _ as usize },
        104usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(utime)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).open as *const _ as usize },
        112usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(open)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).read as *const _ as usize },
        120usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(read)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).write as *const _ as usize },
        128usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(write)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).statfs as *const _ as usize },
        136usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(statfs)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).flush as *const _ as usize },
        144usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(flush)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).release as *const _ as usize },
        152usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(release)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).fsync as *const _ as usize },
        160usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(fsync)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).setxattr as *const _ as usize },
        168usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(setxattr)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).getxattr as *const _ as usize },
        176usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(getxattr)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).listxattr as *const _ as usize },
        184usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(listxattr)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).removexattr as *const _ as usize },
        192usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(removexattr)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).opendir as *const _ as usize },
        200usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(opendir)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).readdir as *const _ as usize },
        208usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(readdir)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).releasedir as *const _ as usize },
        216usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(releasedir)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).fsyncdir as *const _ as usize },
        224usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(fsyncdir)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).init as *const _ as usize },
        232usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(init)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).destroy as *const _ as usize },
        240usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(destroy)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).access as *const _ as usize },
        248usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(access)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).create as *const _ as usize },
        256usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(create)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).ftruncate as *const _ as usize },
        264usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(ftruncate)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).fgetattr as *const _ as usize },
        272usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(fgetattr)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).lock as *const _ as usize },
        280usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(lock)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).utimens as *const _ as usize },
        288usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(utimens)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).bmap as *const _ as usize },
        296usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(bmap)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).reserved00 as *const _ as usize },
        304usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(reserved00)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).reserved01 as *const _ as usize },
        312usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(reserved01)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).reserved02 as *const _ as usize },
        320usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(reserved02)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).reserved03 as *const _ as usize },
        328usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(reserved03)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).reserved04 as *const _ as usize },
        336usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(reserved04)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).reserved05 as *const _ as usize },
        344usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(reserved05)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).reserved06 as *const _ as usize },
        352usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(reserved06)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).reserved07 as *const _ as usize },
        360usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(reserved07)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).reserved08 as *const _ as usize },
        368usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(reserved08)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).reserved09 as *const _ as usize },
        376usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(reserved09)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).reserved10 as *const _ as usize },
        384usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(reserved10)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).setvolname as *const _ as usize },
        392usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(setvolname)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).exchange as *const _ as usize },
        400usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(exchange)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).getxtimes as *const _ as usize },
        408usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(getxtimes)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).setbkuptime as *const _ as usize },
        416usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(setbkuptime)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).setchgtime as *const _ as usize },
        424usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(setchgtime)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).setcrtime as *const _ as usize },
        432usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(setcrtime)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).chflags as *const _ as usize },
        440usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(chflags)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).setattr_x as *const _ as usize },
        448usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(setattr_x)
        )
    );
    assert_eq!(
        unsafe { &(*(::std::ptr::null::<fuse_operations>())).fsetattr_x as *const _ as usize },
        456usize,
        concat!(
            "Offset of field: ",
            stringify!(fuse_operations),
            "::",
            stringify!(fsetattr_x)
        )
    );
}