@k13engineering/linux-fuse 0.0.6 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/abi.d.ts +1133 -5
- package/dist/lib/abi.js +705 -535
- package/dist/lib/constants.d.ts +5 -3
- package/dist/lib/constants.js +10 -8
- package/dist/lib/convenience.js +344 -344
- package/dist/lib/dirent.js +24 -8
- package/dist/lib/filesystem.d.ts +41 -0
- package/dist/lib/filesystem.js +344 -0
- package/dist/lib/fuse-lowlevel.d.ts +3 -1
- package/dist/lib/fuse-lowlevel.js +17 -4
- package/dist/lib/index.d.ts +4 -33
- package/dist/lib/index.js +13 -284
- package/dist/lib/kernel.d.ts +9 -0
- package/dist/lib/kernel.js +21 -0
- package/dist/lib/linux-fuse.d.ts +21 -0
- package/dist/lib/linux-fuse.js +38 -0
- package/dist/lib/linux.d.ts +3 -1
- package/dist/lib/linux.js +16 -9
- package/dist/lib/message.js +6 -0
- package/dist/lib/mount.d.ts +5 -2
- package/dist/lib/mount.js +16 -4
- package/dist/lib/protocol.d.ts +6 -0
- package/dist/lib/protocol.js +861 -830
- package/dist/lib/server.js +33 -0
- package/dist/lib/syscalls.d.ts +66 -38
- package/dist/lib/syscalls.js +281 -198
- package/package.json +4 -4
package/dist/lib/abi.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ type TFuseAttrValue = {
|
|
|
24
24
|
gid: bigint;
|
|
25
25
|
rdev: bigint;
|
|
26
26
|
blksize: bigint;
|
|
27
|
-
|
|
27
|
+
flags: bigint;
|
|
28
28
|
};
|
|
29
29
|
type TFuseKstatfsValue = {
|
|
30
30
|
blocks: bigint;
|
|
@@ -358,60 +358,1188 @@ type TFuseStatxOutValue = {
|
|
|
358
358
|
spare: bigint[];
|
|
359
359
|
stat: TFuseStatxValue;
|
|
360
360
|
};
|
|
361
|
+
declare const fuseInHeaderDefinition: {
|
|
362
|
+
readonly type: "struct";
|
|
363
|
+
readonly packed: false;
|
|
364
|
+
readonly fixedAbi: {};
|
|
365
|
+
readonly fields: readonly [{
|
|
366
|
+
readonly name: "len";
|
|
367
|
+
readonly definition: any;
|
|
368
|
+
}, {
|
|
369
|
+
readonly name: "opcode";
|
|
370
|
+
readonly definition: any;
|
|
371
|
+
}, {
|
|
372
|
+
readonly name: "unique";
|
|
373
|
+
readonly definition: any;
|
|
374
|
+
}, {
|
|
375
|
+
readonly name: "nodeid";
|
|
376
|
+
readonly definition: any;
|
|
377
|
+
}, {
|
|
378
|
+
readonly name: "uid";
|
|
379
|
+
readonly definition: any;
|
|
380
|
+
}, {
|
|
381
|
+
readonly name: "gid";
|
|
382
|
+
readonly definition: any;
|
|
383
|
+
}, {
|
|
384
|
+
readonly name: "pid";
|
|
385
|
+
readonly definition: any;
|
|
386
|
+
}, {
|
|
387
|
+
readonly name: "total_extlen";
|
|
388
|
+
readonly definition: any;
|
|
389
|
+
}, {
|
|
390
|
+
readonly name: "padding";
|
|
391
|
+
readonly definition: any;
|
|
392
|
+
}];
|
|
393
|
+
};
|
|
361
394
|
declare const fuseInHeaderParser: TStructParser<TFuseInHeaderValue>;
|
|
395
|
+
declare const fuseOutHeaderDefinition: {
|
|
396
|
+
readonly type: "struct";
|
|
397
|
+
readonly packed: false;
|
|
398
|
+
readonly fixedAbi: {};
|
|
399
|
+
readonly fields: readonly [{
|
|
400
|
+
readonly name: "len";
|
|
401
|
+
readonly definition: any;
|
|
402
|
+
}, {
|
|
403
|
+
readonly name: "error";
|
|
404
|
+
readonly definition: any;
|
|
405
|
+
}, {
|
|
406
|
+
readonly name: "unique";
|
|
407
|
+
readonly definition: any;
|
|
408
|
+
}];
|
|
409
|
+
};
|
|
362
410
|
declare const fuseOutHeaderParser: TStructParser<TFuseOutHeaderValue>;
|
|
411
|
+
declare const fuseEntryOutDefinition: {
|
|
412
|
+
readonly type: "struct";
|
|
413
|
+
readonly packed: false;
|
|
414
|
+
readonly fixedAbi: {};
|
|
415
|
+
readonly fields: readonly [{
|
|
416
|
+
readonly name: "nodeid";
|
|
417
|
+
readonly definition: any;
|
|
418
|
+
}, {
|
|
419
|
+
readonly name: "generation";
|
|
420
|
+
readonly definition: any;
|
|
421
|
+
}, {
|
|
422
|
+
readonly name: "entry_valid";
|
|
423
|
+
readonly definition: any;
|
|
424
|
+
}, {
|
|
425
|
+
readonly name: "attr_valid";
|
|
426
|
+
readonly definition: any;
|
|
427
|
+
}, {
|
|
428
|
+
readonly name: "entry_valid_nsec";
|
|
429
|
+
readonly definition: any;
|
|
430
|
+
}, {
|
|
431
|
+
readonly name: "attr_valid_nsec";
|
|
432
|
+
readonly definition: any;
|
|
433
|
+
}, {
|
|
434
|
+
readonly name: "attr";
|
|
435
|
+
readonly definition: any;
|
|
436
|
+
}];
|
|
437
|
+
};
|
|
363
438
|
declare const fuseEntryOutParser: TStructParser<TFuseEntryOutValue>;
|
|
439
|
+
declare const fuseGetattrInDefinition: {
|
|
440
|
+
readonly type: "struct";
|
|
441
|
+
readonly packed: false;
|
|
442
|
+
readonly fixedAbi: {};
|
|
443
|
+
readonly fields: readonly [{
|
|
444
|
+
readonly name: "getattr_flags";
|
|
445
|
+
readonly definition: any;
|
|
446
|
+
}, {
|
|
447
|
+
readonly name: "dummy";
|
|
448
|
+
readonly definition: any;
|
|
449
|
+
}, {
|
|
450
|
+
readonly name: "fh";
|
|
451
|
+
readonly definition: any;
|
|
452
|
+
}];
|
|
453
|
+
};
|
|
364
454
|
declare const fuseGetattrInParser: TStructParser<TFuseGetattrInValue>;
|
|
455
|
+
declare const fuseAttrOutDefinition: {
|
|
456
|
+
readonly type: "struct";
|
|
457
|
+
readonly packed: false;
|
|
458
|
+
readonly fixedAbi: {};
|
|
459
|
+
readonly fields: readonly [{
|
|
460
|
+
readonly name: "attr_valid";
|
|
461
|
+
readonly definition: any;
|
|
462
|
+
}, {
|
|
463
|
+
readonly name: "attr_valid_nsec";
|
|
464
|
+
readonly definition: any;
|
|
465
|
+
}, {
|
|
466
|
+
readonly name: "dummy";
|
|
467
|
+
readonly definition: any;
|
|
468
|
+
}, {
|
|
469
|
+
readonly name: "attr";
|
|
470
|
+
readonly definition: any;
|
|
471
|
+
}];
|
|
472
|
+
};
|
|
365
473
|
declare const fuseAttrOutParser: TStructParser<TFuseAttrOutValue>;
|
|
474
|
+
declare const fuseSetattrInDefinition: {
|
|
475
|
+
readonly type: "struct";
|
|
476
|
+
readonly packed: false;
|
|
477
|
+
readonly fixedAbi: {};
|
|
478
|
+
readonly fields: readonly [{
|
|
479
|
+
readonly name: "valid";
|
|
480
|
+
readonly definition: any;
|
|
481
|
+
}, {
|
|
482
|
+
readonly name: "padding";
|
|
483
|
+
readonly definition: any;
|
|
484
|
+
}, {
|
|
485
|
+
readonly name: "fh";
|
|
486
|
+
readonly definition: any;
|
|
487
|
+
}, {
|
|
488
|
+
readonly name: "size";
|
|
489
|
+
readonly definition: any;
|
|
490
|
+
}, {
|
|
491
|
+
readonly name: "lock_owner";
|
|
492
|
+
readonly definition: any;
|
|
493
|
+
}, {
|
|
494
|
+
readonly name: "atime";
|
|
495
|
+
readonly definition: any;
|
|
496
|
+
}, {
|
|
497
|
+
readonly name: "mtime";
|
|
498
|
+
readonly definition: any;
|
|
499
|
+
}, {
|
|
500
|
+
readonly name: "ctime";
|
|
501
|
+
readonly definition: any;
|
|
502
|
+
}, {
|
|
503
|
+
readonly name: "atimensec";
|
|
504
|
+
readonly definition: any;
|
|
505
|
+
}, {
|
|
506
|
+
readonly name: "mtimensec";
|
|
507
|
+
readonly definition: any;
|
|
508
|
+
}, {
|
|
509
|
+
readonly name: "ctimensec";
|
|
510
|
+
readonly definition: any;
|
|
511
|
+
}, {
|
|
512
|
+
readonly name: "mode";
|
|
513
|
+
readonly definition: any;
|
|
514
|
+
}, {
|
|
515
|
+
readonly name: "unused4";
|
|
516
|
+
readonly definition: any;
|
|
517
|
+
}, {
|
|
518
|
+
readonly name: "uid";
|
|
519
|
+
readonly definition: any;
|
|
520
|
+
}, {
|
|
521
|
+
readonly name: "gid";
|
|
522
|
+
readonly definition: any;
|
|
523
|
+
}, {
|
|
524
|
+
readonly name: "unused5";
|
|
525
|
+
readonly definition: any;
|
|
526
|
+
}];
|
|
527
|
+
};
|
|
366
528
|
declare const fuseSetattrInParser: TStructParser<TFuseSetattrInValue>;
|
|
529
|
+
declare const fuseOpenInDefinition: {
|
|
530
|
+
readonly type: "struct";
|
|
531
|
+
readonly packed: false;
|
|
532
|
+
readonly fixedAbi: {};
|
|
533
|
+
readonly fields: readonly [{
|
|
534
|
+
readonly name: "flags";
|
|
535
|
+
readonly definition: any;
|
|
536
|
+
}, {
|
|
537
|
+
readonly name: "open_flags";
|
|
538
|
+
readonly definition: any;
|
|
539
|
+
}];
|
|
540
|
+
};
|
|
367
541
|
declare const fuseOpenInParser: TStructParser<TFuseOpenInValue>;
|
|
542
|
+
declare const fuseGetxattrInDefinition: {
|
|
543
|
+
readonly type: "struct";
|
|
544
|
+
readonly packed: false;
|
|
545
|
+
readonly fixedAbi: {};
|
|
546
|
+
readonly fields: readonly [{
|
|
547
|
+
readonly name: "size";
|
|
548
|
+
readonly definition: any;
|
|
549
|
+
}, {
|
|
550
|
+
readonly name: "padding";
|
|
551
|
+
readonly definition: any;
|
|
552
|
+
}];
|
|
553
|
+
};
|
|
368
554
|
declare const fuseGetxattrInParser: TStructParser<TFuseGetxattrInValue>;
|
|
555
|
+
declare const fuseGetxattrOutDefinition: {
|
|
556
|
+
readonly type: "struct";
|
|
557
|
+
readonly packed: false;
|
|
558
|
+
readonly fixedAbi: {};
|
|
559
|
+
readonly fields: readonly [{
|
|
560
|
+
readonly name: "size";
|
|
561
|
+
readonly definition: any;
|
|
562
|
+
}, {
|
|
563
|
+
readonly name: "padding";
|
|
564
|
+
readonly definition: any;
|
|
565
|
+
}];
|
|
566
|
+
};
|
|
369
567
|
declare const fuseGetxattrOutParser: TStructParser<TFuseGetxattrOutValue>;
|
|
568
|
+
declare const fuseCreateInDefinition: {
|
|
569
|
+
readonly type: "struct";
|
|
570
|
+
readonly packed: false;
|
|
571
|
+
readonly fixedAbi: {};
|
|
572
|
+
readonly fields: readonly [{
|
|
573
|
+
readonly name: "flags";
|
|
574
|
+
readonly definition: any;
|
|
575
|
+
}, {
|
|
576
|
+
readonly name: "mode";
|
|
577
|
+
readonly definition: any;
|
|
578
|
+
}, {
|
|
579
|
+
readonly name: "umask";
|
|
580
|
+
readonly definition: any;
|
|
581
|
+
}, {
|
|
582
|
+
readonly name: "open_flags";
|
|
583
|
+
readonly definition: any;
|
|
584
|
+
}];
|
|
585
|
+
};
|
|
370
586
|
declare const fuseCreateInParser: TStructParser<TFuseCreateInValue>;
|
|
587
|
+
declare const fuseOpenOutDefinition: {
|
|
588
|
+
readonly type: "struct";
|
|
589
|
+
readonly packed: false;
|
|
590
|
+
readonly fixedAbi: {};
|
|
591
|
+
readonly fields: readonly [{
|
|
592
|
+
readonly name: "fh";
|
|
593
|
+
readonly definition: any;
|
|
594
|
+
}, {
|
|
595
|
+
readonly name: "open_flags";
|
|
596
|
+
readonly definition: any;
|
|
597
|
+
}, {
|
|
598
|
+
readonly name: "backing_id";
|
|
599
|
+
readonly definition: any;
|
|
600
|
+
}];
|
|
601
|
+
};
|
|
371
602
|
declare const fuseOpenOutParser: TStructParser<TFuseOpenOutValue>;
|
|
603
|
+
declare const fuseReleaseInDefinition: {
|
|
604
|
+
readonly type: "struct";
|
|
605
|
+
readonly packed: false;
|
|
606
|
+
readonly fixedAbi: {};
|
|
607
|
+
readonly fields: readonly [{
|
|
608
|
+
readonly name: "fh";
|
|
609
|
+
readonly definition: any;
|
|
610
|
+
}, {
|
|
611
|
+
readonly name: "flags";
|
|
612
|
+
readonly definition: any;
|
|
613
|
+
}, {
|
|
614
|
+
readonly name: "release_flags";
|
|
615
|
+
readonly definition: any;
|
|
616
|
+
}, {
|
|
617
|
+
readonly name: "lock_owner";
|
|
618
|
+
readonly definition: any;
|
|
619
|
+
}];
|
|
620
|
+
};
|
|
372
621
|
declare const fuseReleaseInParser: TStructParser<TFuseReleaseInValue>;
|
|
622
|
+
declare const fuseFlushInDefinition: {
|
|
623
|
+
readonly type: "struct";
|
|
624
|
+
readonly packed: false;
|
|
625
|
+
readonly fixedAbi: {};
|
|
626
|
+
readonly fields: readonly [{
|
|
627
|
+
readonly name: "fh";
|
|
628
|
+
readonly definition: any;
|
|
629
|
+
}, {
|
|
630
|
+
readonly name: "unused";
|
|
631
|
+
readonly definition: any;
|
|
632
|
+
}, {
|
|
633
|
+
readonly name: "padding";
|
|
634
|
+
readonly definition: any;
|
|
635
|
+
}, {
|
|
636
|
+
readonly name: "lock_owner";
|
|
637
|
+
readonly definition: any;
|
|
638
|
+
}];
|
|
639
|
+
};
|
|
373
640
|
declare const fuseFlushInParser: TStructParser<TFuseFlushInValue>;
|
|
641
|
+
declare const fuseReadInDefinition: {
|
|
642
|
+
readonly type: "struct";
|
|
643
|
+
readonly packed: false;
|
|
644
|
+
readonly fixedAbi: {};
|
|
645
|
+
readonly fields: readonly [{
|
|
646
|
+
readonly name: "fh";
|
|
647
|
+
readonly definition: any;
|
|
648
|
+
}, {
|
|
649
|
+
readonly name: "offset";
|
|
650
|
+
readonly definition: any;
|
|
651
|
+
}, {
|
|
652
|
+
readonly name: "size";
|
|
653
|
+
readonly definition: any;
|
|
654
|
+
}, {
|
|
655
|
+
readonly name: "read_flags";
|
|
656
|
+
readonly definition: any;
|
|
657
|
+
}, {
|
|
658
|
+
readonly name: "lock_owner";
|
|
659
|
+
readonly definition: any;
|
|
660
|
+
}, {
|
|
661
|
+
readonly name: "flags";
|
|
662
|
+
readonly definition: any;
|
|
663
|
+
}, {
|
|
664
|
+
readonly name: "padding";
|
|
665
|
+
readonly definition: any;
|
|
666
|
+
}];
|
|
667
|
+
};
|
|
374
668
|
declare const fuseReadInParser: TStructParser<TFuseReadInValue>;
|
|
669
|
+
declare const fuseWriteInDefinition: {
|
|
670
|
+
readonly type: "struct";
|
|
671
|
+
readonly packed: false;
|
|
672
|
+
readonly fixedAbi: {};
|
|
673
|
+
readonly fields: readonly [{
|
|
674
|
+
readonly name: "fh";
|
|
675
|
+
readonly definition: any;
|
|
676
|
+
}, {
|
|
677
|
+
readonly name: "offset";
|
|
678
|
+
readonly definition: any;
|
|
679
|
+
}, {
|
|
680
|
+
readonly name: "size";
|
|
681
|
+
readonly definition: any;
|
|
682
|
+
}, {
|
|
683
|
+
readonly name: "write_flags";
|
|
684
|
+
readonly definition: any;
|
|
685
|
+
}, {
|
|
686
|
+
readonly name: "lock_owner";
|
|
687
|
+
readonly definition: any;
|
|
688
|
+
}, {
|
|
689
|
+
readonly name: "flags";
|
|
690
|
+
readonly definition: any;
|
|
691
|
+
}, {
|
|
692
|
+
readonly name: "padding";
|
|
693
|
+
readonly definition: any;
|
|
694
|
+
}];
|
|
695
|
+
};
|
|
375
696
|
declare const fuseWriteInParser: TStructParser<TFuseWriteInValue>;
|
|
697
|
+
declare const fuseWriteOutDefinition: {
|
|
698
|
+
readonly type: "struct";
|
|
699
|
+
readonly packed: false;
|
|
700
|
+
readonly fixedAbi: {};
|
|
701
|
+
readonly fields: readonly [{
|
|
702
|
+
readonly name: "size";
|
|
703
|
+
readonly definition: any;
|
|
704
|
+
}, {
|
|
705
|
+
readonly name: "padding";
|
|
706
|
+
readonly definition: any;
|
|
707
|
+
}];
|
|
708
|
+
};
|
|
376
709
|
declare const fuseWriteOutParser: TStructParser<TFuseWriteOutValue>;
|
|
710
|
+
declare const fuseMkdirInDefinition: {
|
|
711
|
+
readonly type: "struct";
|
|
712
|
+
readonly packed: false;
|
|
713
|
+
readonly fixedAbi: {};
|
|
714
|
+
readonly fields: readonly [{
|
|
715
|
+
readonly name: "mode";
|
|
716
|
+
readonly definition: any;
|
|
717
|
+
}, {
|
|
718
|
+
readonly name: "umask";
|
|
719
|
+
readonly definition: any;
|
|
720
|
+
}];
|
|
721
|
+
};
|
|
377
722
|
declare const fuseMkdirInParser: TStructParser<TFuseMkdirInValue>;
|
|
723
|
+
declare const fuseMknodInDefinition: {
|
|
724
|
+
readonly type: "struct";
|
|
725
|
+
readonly packed: false;
|
|
726
|
+
readonly fixedAbi: {};
|
|
727
|
+
readonly fields: readonly [{
|
|
728
|
+
readonly name: "mode";
|
|
729
|
+
readonly definition: any;
|
|
730
|
+
}, {
|
|
731
|
+
readonly name: "rdev";
|
|
732
|
+
readonly definition: any;
|
|
733
|
+
}, {
|
|
734
|
+
readonly name: "umask";
|
|
735
|
+
readonly definition: any;
|
|
736
|
+
}, {
|
|
737
|
+
readonly name: "padding";
|
|
738
|
+
readonly definition: any;
|
|
739
|
+
}];
|
|
740
|
+
};
|
|
378
741
|
declare const fuseMknodInParser: TStructParser<TFuseMknodInValue>;
|
|
742
|
+
declare const fuseRenameInDefinition: {
|
|
743
|
+
readonly type: "struct";
|
|
744
|
+
readonly packed: false;
|
|
745
|
+
readonly fixedAbi: {};
|
|
746
|
+
readonly fields: readonly [{
|
|
747
|
+
readonly name: "newdir";
|
|
748
|
+
readonly definition: any;
|
|
749
|
+
}];
|
|
750
|
+
};
|
|
379
751
|
declare const fuseRenameInParser: TStructParser<TFuseRenameInValue>;
|
|
752
|
+
declare const fuseRename2InDefinition: {
|
|
753
|
+
readonly type: "struct";
|
|
754
|
+
readonly packed: false;
|
|
755
|
+
readonly fixedAbi: {};
|
|
756
|
+
readonly fields: readonly [{
|
|
757
|
+
readonly name: "newdir";
|
|
758
|
+
readonly definition: any;
|
|
759
|
+
}, {
|
|
760
|
+
readonly name: "flags";
|
|
761
|
+
readonly definition: any;
|
|
762
|
+
}, {
|
|
763
|
+
readonly name: "padding";
|
|
764
|
+
readonly definition: any;
|
|
765
|
+
}];
|
|
766
|
+
};
|
|
380
767
|
declare const fuseRename2InParser: TStructParser<TFuseRename2InValue>;
|
|
768
|
+
declare const fuseLinkInDefinition: {
|
|
769
|
+
readonly type: "struct";
|
|
770
|
+
readonly packed: false;
|
|
771
|
+
readonly fixedAbi: {};
|
|
772
|
+
readonly fields: readonly [{
|
|
773
|
+
readonly name: "oldnodeid";
|
|
774
|
+
readonly definition: any;
|
|
775
|
+
}];
|
|
776
|
+
};
|
|
381
777
|
declare const fuseLinkInParser: TStructParser<TFuseLinkInValue>;
|
|
778
|
+
declare const fuseLkInDefinition: {
|
|
779
|
+
readonly type: "struct";
|
|
780
|
+
readonly packed: false;
|
|
781
|
+
readonly fixedAbi: {};
|
|
782
|
+
readonly fields: readonly [{
|
|
783
|
+
readonly name: "fh";
|
|
784
|
+
readonly definition: any;
|
|
785
|
+
}, {
|
|
786
|
+
readonly name: "owner";
|
|
787
|
+
readonly definition: any;
|
|
788
|
+
}, {
|
|
789
|
+
readonly name: "lk";
|
|
790
|
+
readonly definition: any;
|
|
791
|
+
}, {
|
|
792
|
+
readonly name: "lk_flags";
|
|
793
|
+
readonly definition: any;
|
|
794
|
+
}, {
|
|
795
|
+
readonly name: "padding";
|
|
796
|
+
readonly definition: any;
|
|
797
|
+
}];
|
|
798
|
+
};
|
|
382
799
|
declare const fuseLkInParser: TStructParser<TFuseLkInValue>;
|
|
800
|
+
declare const fuseLkOutDefinition: {
|
|
801
|
+
readonly type: "struct";
|
|
802
|
+
readonly packed: false;
|
|
803
|
+
readonly fixedAbi: {};
|
|
804
|
+
readonly fields: readonly [{
|
|
805
|
+
readonly name: "lk";
|
|
806
|
+
readonly definition: any;
|
|
807
|
+
}];
|
|
808
|
+
};
|
|
383
809
|
declare const fuseLkOutParser: TStructParser<TFuseLkOutValue>;
|
|
810
|
+
declare const fuseInterruptInDefinition: {
|
|
811
|
+
readonly type: "struct";
|
|
812
|
+
readonly packed: false;
|
|
813
|
+
readonly fixedAbi: {};
|
|
814
|
+
readonly fields: readonly [{
|
|
815
|
+
readonly name: "unique";
|
|
816
|
+
readonly definition: any;
|
|
817
|
+
}];
|
|
818
|
+
};
|
|
384
819
|
declare const fuseInterruptInParser: TStructParser<TFuseInterruptInValue>;
|
|
820
|
+
declare const fuseBmapInDefinition: {
|
|
821
|
+
readonly type: "struct";
|
|
822
|
+
readonly packed: false;
|
|
823
|
+
readonly fixedAbi: {};
|
|
824
|
+
readonly fields: readonly [{
|
|
825
|
+
readonly name: "block";
|
|
826
|
+
readonly definition: any;
|
|
827
|
+
}, {
|
|
828
|
+
readonly name: "blocksize";
|
|
829
|
+
readonly definition: any;
|
|
830
|
+
}, {
|
|
831
|
+
readonly name: "padding";
|
|
832
|
+
readonly definition: any;
|
|
833
|
+
}];
|
|
834
|
+
};
|
|
385
835
|
declare const fuseBmapInParser: TStructParser<TFuseBmapInValue>;
|
|
836
|
+
declare const fuseBmapOutDefinition: {
|
|
837
|
+
readonly type: "struct";
|
|
838
|
+
readonly packed: false;
|
|
839
|
+
readonly fixedAbi: {};
|
|
840
|
+
readonly fields: readonly [{
|
|
841
|
+
readonly name: "block";
|
|
842
|
+
readonly definition: any;
|
|
843
|
+
}];
|
|
844
|
+
};
|
|
386
845
|
declare const fuseBmapOutParser: TStructParser<TFuseBmapOutValue>;
|
|
846
|
+
declare const fuseIoctlInDefinition: {
|
|
847
|
+
readonly type: "struct";
|
|
848
|
+
readonly packed: false;
|
|
849
|
+
readonly fixedAbi: {};
|
|
850
|
+
readonly fields: readonly [{
|
|
851
|
+
readonly name: "fh";
|
|
852
|
+
readonly definition: any;
|
|
853
|
+
}, {
|
|
854
|
+
readonly name: "flags";
|
|
855
|
+
readonly definition: any;
|
|
856
|
+
}, {
|
|
857
|
+
readonly name: "cmd";
|
|
858
|
+
readonly definition: any;
|
|
859
|
+
}, {
|
|
860
|
+
readonly name: "arg";
|
|
861
|
+
readonly definition: any;
|
|
862
|
+
}, {
|
|
863
|
+
readonly name: "in_size";
|
|
864
|
+
readonly definition: any;
|
|
865
|
+
}, {
|
|
866
|
+
readonly name: "out_size";
|
|
867
|
+
readonly definition: any;
|
|
868
|
+
}];
|
|
869
|
+
};
|
|
387
870
|
declare const fuseIoctlInParser: TStructParser<TFuseIoctlInValue>;
|
|
871
|
+
declare const fuseIoctlOutDefinition: {
|
|
872
|
+
readonly type: "struct";
|
|
873
|
+
readonly packed: false;
|
|
874
|
+
readonly fixedAbi: {};
|
|
875
|
+
readonly fields: readonly [{
|
|
876
|
+
readonly name: "result";
|
|
877
|
+
readonly definition: any;
|
|
878
|
+
}, {
|
|
879
|
+
readonly name: "flags";
|
|
880
|
+
readonly definition: any;
|
|
881
|
+
}, {
|
|
882
|
+
readonly name: "in_iovs";
|
|
883
|
+
readonly definition: any;
|
|
884
|
+
}, {
|
|
885
|
+
readonly name: "out_iovs";
|
|
886
|
+
readonly definition: any;
|
|
887
|
+
}];
|
|
888
|
+
};
|
|
388
889
|
declare const fuseIoctlOutParser: TStructParser<TFuseIoctlOutValue>;
|
|
890
|
+
declare const fusePollInDefinition: {
|
|
891
|
+
readonly type: "struct";
|
|
892
|
+
readonly packed: false;
|
|
893
|
+
readonly fixedAbi: {};
|
|
894
|
+
readonly fields: readonly [{
|
|
895
|
+
readonly name: "fh";
|
|
896
|
+
readonly definition: any;
|
|
897
|
+
}, {
|
|
898
|
+
readonly name: "kh";
|
|
899
|
+
readonly definition: any;
|
|
900
|
+
}, {
|
|
901
|
+
readonly name: "flags";
|
|
902
|
+
readonly definition: any;
|
|
903
|
+
}, {
|
|
904
|
+
readonly name: "events";
|
|
905
|
+
readonly definition: any;
|
|
906
|
+
}];
|
|
907
|
+
};
|
|
389
908
|
declare const fusePollInParser: TStructParser<TFusePollInValue>;
|
|
909
|
+
declare const fusePollOutDefinition: {
|
|
910
|
+
readonly type: "struct";
|
|
911
|
+
readonly packed: false;
|
|
912
|
+
readonly fixedAbi: {};
|
|
913
|
+
readonly fields: readonly [{
|
|
914
|
+
readonly name: "revents";
|
|
915
|
+
readonly definition: any;
|
|
916
|
+
}, {
|
|
917
|
+
readonly name: "padding";
|
|
918
|
+
readonly definition: any;
|
|
919
|
+
}];
|
|
920
|
+
};
|
|
390
921
|
declare const fusePollOutParser: TStructParser<TFusePollOutValue>;
|
|
922
|
+
declare const fuseFallocateInDefinition: {
|
|
923
|
+
readonly type: "struct";
|
|
924
|
+
readonly packed: false;
|
|
925
|
+
readonly fixedAbi: {};
|
|
926
|
+
readonly fields: readonly [{
|
|
927
|
+
readonly name: "fh";
|
|
928
|
+
readonly definition: any;
|
|
929
|
+
}, {
|
|
930
|
+
readonly name: "offset";
|
|
931
|
+
readonly definition: any;
|
|
932
|
+
}, {
|
|
933
|
+
readonly name: "length";
|
|
934
|
+
readonly definition: any;
|
|
935
|
+
}, {
|
|
936
|
+
readonly name: "mode";
|
|
937
|
+
readonly definition: any;
|
|
938
|
+
}, {
|
|
939
|
+
readonly name: "padding";
|
|
940
|
+
readonly definition: any;
|
|
941
|
+
}];
|
|
942
|
+
};
|
|
391
943
|
declare const fuseFallocateInParser: TStructParser<TFuseFallocateInValue>;
|
|
944
|
+
declare const fuseForgetInDefinition: {
|
|
945
|
+
readonly type: "struct";
|
|
946
|
+
readonly packed: false;
|
|
947
|
+
readonly fixedAbi: {};
|
|
948
|
+
readonly fields: readonly [{
|
|
949
|
+
readonly name: "nlookup";
|
|
950
|
+
readonly definition: any;
|
|
951
|
+
}];
|
|
952
|
+
};
|
|
392
953
|
declare const fuseForgetInParser: TStructParser<TFuseForgetInValue>;
|
|
954
|
+
declare const fuseBatchForgetInDefinition: {
|
|
955
|
+
readonly type: "struct";
|
|
956
|
+
readonly packed: false;
|
|
957
|
+
readonly fixedAbi: {};
|
|
958
|
+
readonly fields: readonly [{
|
|
959
|
+
readonly name: "count";
|
|
960
|
+
readonly definition: any;
|
|
961
|
+
}, {
|
|
962
|
+
readonly name: "dummy";
|
|
963
|
+
readonly definition: any;
|
|
964
|
+
}];
|
|
965
|
+
};
|
|
393
966
|
declare const fuseBatchForgetInParser: TStructParser<TFuseBatchForgetInValue>;
|
|
967
|
+
declare const fuseForgetOneDefinition: {
|
|
968
|
+
readonly type: "struct";
|
|
969
|
+
readonly packed: false;
|
|
970
|
+
readonly fixedAbi: {};
|
|
971
|
+
readonly fields: readonly [{
|
|
972
|
+
readonly name: "nodeid";
|
|
973
|
+
readonly definition: any;
|
|
974
|
+
}, {
|
|
975
|
+
readonly name: "nlookup";
|
|
976
|
+
readonly definition: any;
|
|
977
|
+
}];
|
|
978
|
+
};
|
|
394
979
|
declare const fuseForgetOneParser: TStructParser<TFuseForgetOneValue>;
|
|
980
|
+
declare const fuseAccessInDefinition: {
|
|
981
|
+
readonly type: "struct";
|
|
982
|
+
readonly packed: false;
|
|
983
|
+
readonly fixedAbi: {};
|
|
984
|
+
readonly fields: readonly [{
|
|
985
|
+
readonly name: "mask";
|
|
986
|
+
readonly definition: any;
|
|
987
|
+
}, {
|
|
988
|
+
readonly name: "padding";
|
|
989
|
+
readonly definition: any;
|
|
990
|
+
}];
|
|
991
|
+
};
|
|
395
992
|
declare const fuseAccessInParser: TStructParser<TFuseAccessInValue>;
|
|
993
|
+
declare const fuseFsyncInDefinition: {
|
|
994
|
+
readonly type: "struct";
|
|
995
|
+
readonly packed: false;
|
|
996
|
+
readonly fixedAbi: {};
|
|
997
|
+
readonly fields: readonly [{
|
|
998
|
+
readonly name: "fh";
|
|
999
|
+
readonly definition: any;
|
|
1000
|
+
}, {
|
|
1001
|
+
readonly name: "fsync_flags";
|
|
1002
|
+
readonly definition: any;
|
|
1003
|
+
}, {
|
|
1004
|
+
readonly name: "padding";
|
|
1005
|
+
readonly definition: any;
|
|
1006
|
+
}];
|
|
1007
|
+
};
|
|
396
1008
|
declare const fuseFsyncInParser: TStructParser<TFuseFsyncInValue>;
|
|
1009
|
+
declare const fuseSetxattrInDefinition: {
|
|
1010
|
+
readonly type: "struct";
|
|
1011
|
+
readonly packed: false;
|
|
1012
|
+
readonly fixedAbi: {};
|
|
1013
|
+
readonly fields: readonly [{
|
|
1014
|
+
readonly name: "size";
|
|
1015
|
+
readonly definition: any;
|
|
1016
|
+
}, {
|
|
1017
|
+
readonly name: "flags";
|
|
1018
|
+
readonly definition: any;
|
|
1019
|
+
}, {
|
|
1020
|
+
readonly name: "setxattr_flags";
|
|
1021
|
+
readonly definition: any;
|
|
1022
|
+
}, {
|
|
1023
|
+
readonly name: "padding";
|
|
1024
|
+
readonly definition: any;
|
|
1025
|
+
}];
|
|
1026
|
+
};
|
|
397
1027
|
declare const fuseSetxattrInParser: TStructParser<TFuseSetxattrInValue>;
|
|
1028
|
+
declare const fuseInitInDefinition: {
|
|
1029
|
+
readonly type: "struct";
|
|
1030
|
+
readonly packed: false;
|
|
1031
|
+
readonly fixedAbi: {};
|
|
1032
|
+
readonly fields: readonly [{
|
|
1033
|
+
readonly name: "major";
|
|
1034
|
+
readonly definition: any;
|
|
1035
|
+
}, {
|
|
1036
|
+
readonly name: "minor";
|
|
1037
|
+
readonly definition: any;
|
|
1038
|
+
}, {
|
|
1039
|
+
readonly name: "max_readahead";
|
|
1040
|
+
readonly definition: any;
|
|
1041
|
+
}, {
|
|
1042
|
+
readonly name: "flags";
|
|
1043
|
+
readonly definition: any;
|
|
1044
|
+
}, {
|
|
1045
|
+
readonly name: "flags2";
|
|
1046
|
+
readonly definition: any;
|
|
1047
|
+
}, {
|
|
1048
|
+
readonly name: "unused";
|
|
1049
|
+
readonly definition: any;
|
|
1050
|
+
}];
|
|
1051
|
+
};
|
|
398
1052
|
declare const fuseInitInParser: TStructParser<TFuseInitInValue>;
|
|
1053
|
+
declare const fuseInitOutDefinition: {
|
|
1054
|
+
readonly type: "struct";
|
|
1055
|
+
readonly packed: false;
|
|
1056
|
+
readonly fixedAbi: {};
|
|
1057
|
+
readonly fields: readonly [{
|
|
1058
|
+
readonly name: "major";
|
|
1059
|
+
readonly definition: any;
|
|
1060
|
+
}, {
|
|
1061
|
+
readonly name: "minor";
|
|
1062
|
+
readonly definition: any;
|
|
1063
|
+
}, {
|
|
1064
|
+
readonly name: "max_readahead";
|
|
1065
|
+
readonly definition: any;
|
|
1066
|
+
}, {
|
|
1067
|
+
readonly name: "flags";
|
|
1068
|
+
readonly definition: any;
|
|
1069
|
+
}, {
|
|
1070
|
+
readonly name: "max_background";
|
|
1071
|
+
readonly definition: any;
|
|
1072
|
+
}, {
|
|
1073
|
+
readonly name: "congestion_threshold";
|
|
1074
|
+
readonly definition: any;
|
|
1075
|
+
}, {
|
|
1076
|
+
readonly name: "max_write";
|
|
1077
|
+
readonly definition: any;
|
|
1078
|
+
}, {
|
|
1079
|
+
readonly name: "time_gran";
|
|
1080
|
+
readonly definition: any;
|
|
1081
|
+
}, {
|
|
1082
|
+
readonly name: "max_pages";
|
|
1083
|
+
readonly definition: any;
|
|
1084
|
+
}, {
|
|
1085
|
+
readonly name: "map_alignment";
|
|
1086
|
+
readonly definition: any;
|
|
1087
|
+
}, {
|
|
1088
|
+
readonly name: "flags2";
|
|
1089
|
+
readonly definition: any;
|
|
1090
|
+
}, {
|
|
1091
|
+
readonly name: "max_stack_depth";
|
|
1092
|
+
readonly definition: any;
|
|
1093
|
+
}, {
|
|
1094
|
+
readonly name: "request_timeout";
|
|
1095
|
+
readonly definition: any;
|
|
1096
|
+
}, {
|
|
1097
|
+
readonly name: "unused";
|
|
1098
|
+
readonly definition: any;
|
|
1099
|
+
}];
|
|
1100
|
+
};
|
|
399
1101
|
declare const fuseInitOutParser: TStructParser<TFuseInitOutValue>;
|
|
1102
|
+
declare const fuseStatfsOutDefinition: {
|
|
1103
|
+
readonly type: "struct";
|
|
1104
|
+
readonly packed: false;
|
|
1105
|
+
readonly fixedAbi: {};
|
|
1106
|
+
readonly fields: readonly [{
|
|
1107
|
+
readonly name: "st";
|
|
1108
|
+
readonly definition: any;
|
|
1109
|
+
}];
|
|
1110
|
+
};
|
|
400
1111
|
declare const fuseStatfsOutParser: TStructParser<TFuseStatfsOutValue>;
|
|
1112
|
+
declare const fuseLseekInDefinition: {
|
|
1113
|
+
readonly type: "struct";
|
|
1114
|
+
readonly packed: false;
|
|
1115
|
+
readonly fixedAbi: {};
|
|
1116
|
+
readonly fields: readonly [{
|
|
1117
|
+
readonly name: "fh";
|
|
1118
|
+
readonly definition: any;
|
|
1119
|
+
}, {
|
|
1120
|
+
readonly name: "offset";
|
|
1121
|
+
readonly definition: any;
|
|
1122
|
+
}, {
|
|
1123
|
+
readonly name: "whence";
|
|
1124
|
+
readonly definition: any;
|
|
1125
|
+
}, {
|
|
1126
|
+
readonly name: "padding";
|
|
1127
|
+
readonly definition: any;
|
|
1128
|
+
}];
|
|
1129
|
+
};
|
|
401
1130
|
declare const fuseLseekInParser: TStructParser<TFuseLseekInValue>;
|
|
1131
|
+
declare const fuseLseekOutDefinition: {
|
|
1132
|
+
readonly type: "struct";
|
|
1133
|
+
readonly packed: false;
|
|
1134
|
+
readonly fixedAbi: {};
|
|
1135
|
+
readonly fields: readonly [{
|
|
1136
|
+
readonly name: "offset";
|
|
1137
|
+
readonly definition: any;
|
|
1138
|
+
}];
|
|
1139
|
+
};
|
|
402
1140
|
declare const fuseLseekOutParser: TStructParser<TFuseLseekOutValue>;
|
|
1141
|
+
declare const fuseCopyFileRangeInDefinition: {
|
|
1142
|
+
readonly type: "struct";
|
|
1143
|
+
readonly packed: false;
|
|
1144
|
+
readonly fixedAbi: {};
|
|
1145
|
+
readonly fields: readonly [{
|
|
1146
|
+
readonly name: "fh_in";
|
|
1147
|
+
readonly definition: any;
|
|
1148
|
+
}, {
|
|
1149
|
+
readonly name: "off_in";
|
|
1150
|
+
readonly definition: any;
|
|
1151
|
+
}, {
|
|
1152
|
+
readonly name: "nodeid_out";
|
|
1153
|
+
readonly definition: any;
|
|
1154
|
+
}, {
|
|
1155
|
+
readonly name: "fh_out";
|
|
1156
|
+
readonly definition: any;
|
|
1157
|
+
}, {
|
|
1158
|
+
readonly name: "off_out";
|
|
1159
|
+
readonly definition: any;
|
|
1160
|
+
}, {
|
|
1161
|
+
readonly name: "len";
|
|
1162
|
+
readonly definition: any;
|
|
1163
|
+
}, {
|
|
1164
|
+
readonly name: "flags";
|
|
1165
|
+
readonly definition: any;
|
|
1166
|
+
}];
|
|
1167
|
+
};
|
|
403
1168
|
declare const fuseCopyFileRangeInParser: TStructParser<TFuseCopyFileRangeInValue>;
|
|
1169
|
+
declare const fuseSetupmappingInDefinition: {
|
|
1170
|
+
readonly type: "struct";
|
|
1171
|
+
readonly packed: false;
|
|
1172
|
+
readonly fixedAbi: {};
|
|
1173
|
+
readonly fields: readonly [{
|
|
1174
|
+
readonly name: "fh";
|
|
1175
|
+
readonly definition: any;
|
|
1176
|
+
}, {
|
|
1177
|
+
readonly name: "foffset";
|
|
1178
|
+
readonly definition: any;
|
|
1179
|
+
}, {
|
|
1180
|
+
readonly name: "len";
|
|
1181
|
+
readonly definition: any;
|
|
1182
|
+
}, {
|
|
1183
|
+
readonly name: "flags";
|
|
1184
|
+
readonly definition: any;
|
|
1185
|
+
}, {
|
|
1186
|
+
readonly name: "moffset";
|
|
1187
|
+
readonly definition: any;
|
|
1188
|
+
}];
|
|
1189
|
+
};
|
|
404
1190
|
declare const fuseSetupmappingInParser: TStructParser<TFuseSetupmappingInValue>;
|
|
1191
|
+
declare const fuseRemovemappingInDefinition: {
|
|
1192
|
+
readonly type: "struct";
|
|
1193
|
+
readonly packed: false;
|
|
1194
|
+
readonly fixedAbi: {};
|
|
1195
|
+
readonly fields: readonly [{
|
|
1196
|
+
readonly name: "count";
|
|
1197
|
+
readonly definition: any;
|
|
1198
|
+
}];
|
|
1199
|
+
};
|
|
405
1200
|
declare const fuseRemovemappingInParser: TStructParser<TFuseRemovemappingInValue>;
|
|
1201
|
+
declare const fuseRemovemappingOneDefinition: {
|
|
1202
|
+
readonly type: "struct";
|
|
1203
|
+
readonly packed: false;
|
|
1204
|
+
readonly fixedAbi: {};
|
|
1205
|
+
readonly fields: readonly [{
|
|
1206
|
+
readonly name: "moffset";
|
|
1207
|
+
readonly definition: any;
|
|
1208
|
+
}, {
|
|
1209
|
+
readonly name: "len";
|
|
1210
|
+
readonly definition: any;
|
|
1211
|
+
}];
|
|
1212
|
+
};
|
|
406
1213
|
declare const fuseRemovemappingOneParser: TStructParser<TFuseRemovemappingOneValue>;
|
|
1214
|
+
declare const fuseSyncfsInDefinition: {
|
|
1215
|
+
readonly type: "struct";
|
|
1216
|
+
readonly packed: false;
|
|
1217
|
+
readonly fixedAbi: {};
|
|
1218
|
+
readonly fields: readonly [{
|
|
1219
|
+
readonly name: "padding";
|
|
1220
|
+
readonly definition: any;
|
|
1221
|
+
}];
|
|
1222
|
+
};
|
|
407
1223
|
declare const fuseSyncfsInParser: TStructParser<TFuseSyncfsInValue>;
|
|
1224
|
+
declare const fuseSxTimeDefinition: {
|
|
1225
|
+
readonly type: "struct";
|
|
1226
|
+
readonly packed: false;
|
|
1227
|
+
readonly fixedAbi: {};
|
|
1228
|
+
readonly fields: readonly [{
|
|
1229
|
+
readonly name: "tv_sec";
|
|
1230
|
+
readonly definition: any;
|
|
1231
|
+
}, {
|
|
1232
|
+
readonly name: "tv_nsec";
|
|
1233
|
+
readonly definition: any;
|
|
1234
|
+
}, {
|
|
1235
|
+
readonly name: "__reserved";
|
|
1236
|
+
readonly definition: any;
|
|
1237
|
+
}];
|
|
1238
|
+
};
|
|
1239
|
+
declare const fuseStatxDefinition: {
|
|
1240
|
+
readonly type: "struct";
|
|
1241
|
+
readonly packed: false;
|
|
1242
|
+
readonly fixedAbi: {};
|
|
1243
|
+
readonly fields: readonly [{
|
|
1244
|
+
readonly name: "mask";
|
|
1245
|
+
readonly definition: any;
|
|
1246
|
+
}, {
|
|
1247
|
+
readonly name: "blksize";
|
|
1248
|
+
readonly definition: any;
|
|
1249
|
+
}, {
|
|
1250
|
+
readonly name: "attributes";
|
|
1251
|
+
readonly definition: any;
|
|
1252
|
+
}, {
|
|
1253
|
+
readonly name: "nlink";
|
|
1254
|
+
readonly definition: any;
|
|
1255
|
+
}, {
|
|
1256
|
+
readonly name: "uid";
|
|
1257
|
+
readonly definition: any;
|
|
1258
|
+
}, {
|
|
1259
|
+
readonly name: "gid";
|
|
1260
|
+
readonly definition: any;
|
|
1261
|
+
}, {
|
|
1262
|
+
readonly name: "mode";
|
|
1263
|
+
readonly definition: any;
|
|
1264
|
+
}, {
|
|
1265
|
+
readonly name: "__spare0";
|
|
1266
|
+
readonly definition: any;
|
|
1267
|
+
}, {
|
|
1268
|
+
readonly name: "ino";
|
|
1269
|
+
readonly definition: any;
|
|
1270
|
+
}, {
|
|
1271
|
+
readonly name: "size";
|
|
1272
|
+
readonly definition: any;
|
|
1273
|
+
}, {
|
|
1274
|
+
readonly name: "blocks";
|
|
1275
|
+
readonly definition: any;
|
|
1276
|
+
}, {
|
|
1277
|
+
readonly name: "attributes_mask";
|
|
1278
|
+
readonly definition: any;
|
|
1279
|
+
}, {
|
|
1280
|
+
readonly name: "atime";
|
|
1281
|
+
readonly definition: {
|
|
1282
|
+
readonly type: "struct";
|
|
1283
|
+
readonly packed: false;
|
|
1284
|
+
readonly fixedAbi: {};
|
|
1285
|
+
readonly fields: readonly [{
|
|
1286
|
+
readonly name: "tv_sec";
|
|
1287
|
+
readonly definition: any;
|
|
1288
|
+
}, {
|
|
1289
|
+
readonly name: "tv_nsec";
|
|
1290
|
+
readonly definition: any;
|
|
1291
|
+
}, {
|
|
1292
|
+
readonly name: "__reserved";
|
|
1293
|
+
readonly definition: any;
|
|
1294
|
+
}];
|
|
1295
|
+
};
|
|
1296
|
+
}, {
|
|
1297
|
+
readonly name: "btime";
|
|
1298
|
+
readonly definition: {
|
|
1299
|
+
readonly type: "struct";
|
|
1300
|
+
readonly packed: false;
|
|
1301
|
+
readonly fixedAbi: {};
|
|
1302
|
+
readonly fields: readonly [{
|
|
1303
|
+
readonly name: "tv_sec";
|
|
1304
|
+
readonly definition: any;
|
|
1305
|
+
}, {
|
|
1306
|
+
readonly name: "tv_nsec";
|
|
1307
|
+
readonly definition: any;
|
|
1308
|
+
}, {
|
|
1309
|
+
readonly name: "__reserved";
|
|
1310
|
+
readonly definition: any;
|
|
1311
|
+
}];
|
|
1312
|
+
};
|
|
1313
|
+
}, {
|
|
1314
|
+
readonly name: "ctime";
|
|
1315
|
+
readonly definition: {
|
|
1316
|
+
readonly type: "struct";
|
|
1317
|
+
readonly packed: false;
|
|
1318
|
+
readonly fixedAbi: {};
|
|
1319
|
+
readonly fields: readonly [{
|
|
1320
|
+
readonly name: "tv_sec";
|
|
1321
|
+
readonly definition: any;
|
|
1322
|
+
}, {
|
|
1323
|
+
readonly name: "tv_nsec";
|
|
1324
|
+
readonly definition: any;
|
|
1325
|
+
}, {
|
|
1326
|
+
readonly name: "__reserved";
|
|
1327
|
+
readonly definition: any;
|
|
1328
|
+
}];
|
|
1329
|
+
};
|
|
1330
|
+
}, {
|
|
1331
|
+
readonly name: "mtime";
|
|
1332
|
+
readonly definition: {
|
|
1333
|
+
readonly type: "struct";
|
|
1334
|
+
readonly packed: false;
|
|
1335
|
+
readonly fixedAbi: {};
|
|
1336
|
+
readonly fields: readonly [{
|
|
1337
|
+
readonly name: "tv_sec";
|
|
1338
|
+
readonly definition: any;
|
|
1339
|
+
}, {
|
|
1340
|
+
readonly name: "tv_nsec";
|
|
1341
|
+
readonly definition: any;
|
|
1342
|
+
}, {
|
|
1343
|
+
readonly name: "__reserved";
|
|
1344
|
+
readonly definition: any;
|
|
1345
|
+
}];
|
|
1346
|
+
};
|
|
1347
|
+
}, {
|
|
1348
|
+
readonly name: "rdev_major";
|
|
1349
|
+
readonly definition: any;
|
|
1350
|
+
}, {
|
|
1351
|
+
readonly name: "rdev_minor";
|
|
1352
|
+
readonly definition: any;
|
|
1353
|
+
}, {
|
|
1354
|
+
readonly name: "dev_major";
|
|
1355
|
+
readonly definition: any;
|
|
1356
|
+
}, {
|
|
1357
|
+
readonly name: "dev_minor";
|
|
1358
|
+
readonly definition: any;
|
|
1359
|
+
}, {
|
|
1360
|
+
readonly name: "__spare2";
|
|
1361
|
+
readonly definition: any;
|
|
1362
|
+
}];
|
|
1363
|
+
};
|
|
1364
|
+
declare const fuseStatxInDefinition: {
|
|
1365
|
+
readonly type: "struct";
|
|
1366
|
+
readonly packed: false;
|
|
1367
|
+
readonly fixedAbi: {};
|
|
1368
|
+
readonly fields: readonly [{
|
|
1369
|
+
readonly name: "getattr_flags";
|
|
1370
|
+
readonly definition: any;
|
|
1371
|
+
}, {
|
|
1372
|
+
readonly name: "reserved";
|
|
1373
|
+
readonly definition: any;
|
|
1374
|
+
}, {
|
|
1375
|
+
readonly name: "fh";
|
|
1376
|
+
readonly definition: any;
|
|
1377
|
+
}, {
|
|
1378
|
+
readonly name: "sx_flags";
|
|
1379
|
+
readonly definition: any;
|
|
1380
|
+
}, {
|
|
1381
|
+
readonly name: "sx_mask";
|
|
1382
|
+
readonly definition: any;
|
|
1383
|
+
}];
|
|
1384
|
+
};
|
|
408
1385
|
declare const fuseStatxInParser: TStructParser<TFuseStatxInValue>;
|
|
1386
|
+
declare const fuseStatxOutDefinition: {
|
|
1387
|
+
readonly type: "struct";
|
|
1388
|
+
readonly packed: false;
|
|
1389
|
+
readonly fixedAbi: {};
|
|
1390
|
+
readonly fields: readonly [{
|
|
1391
|
+
readonly name: "attr_valid";
|
|
1392
|
+
readonly definition: any;
|
|
1393
|
+
}, {
|
|
1394
|
+
readonly name: "attr_valid_nsec";
|
|
1395
|
+
readonly definition: any;
|
|
1396
|
+
}, {
|
|
1397
|
+
readonly name: "flags";
|
|
1398
|
+
readonly definition: any;
|
|
1399
|
+
}, {
|
|
1400
|
+
readonly name: "spare";
|
|
1401
|
+
readonly definition: any;
|
|
1402
|
+
}, {
|
|
1403
|
+
readonly name: "stat";
|
|
1404
|
+
readonly definition: {
|
|
1405
|
+
readonly type: "struct";
|
|
1406
|
+
readonly packed: false;
|
|
1407
|
+
readonly fixedAbi: {};
|
|
1408
|
+
readonly fields: readonly [{
|
|
1409
|
+
readonly name: "mask";
|
|
1410
|
+
readonly definition: any;
|
|
1411
|
+
}, {
|
|
1412
|
+
readonly name: "blksize";
|
|
1413
|
+
readonly definition: any;
|
|
1414
|
+
}, {
|
|
1415
|
+
readonly name: "attributes";
|
|
1416
|
+
readonly definition: any;
|
|
1417
|
+
}, {
|
|
1418
|
+
readonly name: "nlink";
|
|
1419
|
+
readonly definition: any;
|
|
1420
|
+
}, {
|
|
1421
|
+
readonly name: "uid";
|
|
1422
|
+
readonly definition: any;
|
|
1423
|
+
}, {
|
|
1424
|
+
readonly name: "gid";
|
|
1425
|
+
readonly definition: any;
|
|
1426
|
+
}, {
|
|
1427
|
+
readonly name: "mode";
|
|
1428
|
+
readonly definition: any;
|
|
1429
|
+
}, {
|
|
1430
|
+
readonly name: "__spare0";
|
|
1431
|
+
readonly definition: any;
|
|
1432
|
+
}, {
|
|
1433
|
+
readonly name: "ino";
|
|
1434
|
+
readonly definition: any;
|
|
1435
|
+
}, {
|
|
1436
|
+
readonly name: "size";
|
|
1437
|
+
readonly definition: any;
|
|
1438
|
+
}, {
|
|
1439
|
+
readonly name: "blocks";
|
|
1440
|
+
readonly definition: any;
|
|
1441
|
+
}, {
|
|
1442
|
+
readonly name: "attributes_mask";
|
|
1443
|
+
readonly definition: any;
|
|
1444
|
+
}, {
|
|
1445
|
+
readonly name: "atime";
|
|
1446
|
+
readonly definition: {
|
|
1447
|
+
readonly type: "struct";
|
|
1448
|
+
readonly packed: false;
|
|
1449
|
+
readonly fixedAbi: {};
|
|
1450
|
+
readonly fields: readonly [{
|
|
1451
|
+
readonly name: "tv_sec";
|
|
1452
|
+
readonly definition: any;
|
|
1453
|
+
}, {
|
|
1454
|
+
readonly name: "tv_nsec";
|
|
1455
|
+
readonly definition: any;
|
|
1456
|
+
}, {
|
|
1457
|
+
readonly name: "__reserved";
|
|
1458
|
+
readonly definition: any;
|
|
1459
|
+
}];
|
|
1460
|
+
};
|
|
1461
|
+
}, {
|
|
1462
|
+
readonly name: "btime";
|
|
1463
|
+
readonly definition: {
|
|
1464
|
+
readonly type: "struct";
|
|
1465
|
+
readonly packed: false;
|
|
1466
|
+
readonly fixedAbi: {};
|
|
1467
|
+
readonly fields: readonly [{
|
|
1468
|
+
readonly name: "tv_sec";
|
|
1469
|
+
readonly definition: any;
|
|
1470
|
+
}, {
|
|
1471
|
+
readonly name: "tv_nsec";
|
|
1472
|
+
readonly definition: any;
|
|
1473
|
+
}, {
|
|
1474
|
+
readonly name: "__reserved";
|
|
1475
|
+
readonly definition: any;
|
|
1476
|
+
}];
|
|
1477
|
+
};
|
|
1478
|
+
}, {
|
|
1479
|
+
readonly name: "ctime";
|
|
1480
|
+
readonly definition: {
|
|
1481
|
+
readonly type: "struct";
|
|
1482
|
+
readonly packed: false;
|
|
1483
|
+
readonly fixedAbi: {};
|
|
1484
|
+
readonly fields: readonly [{
|
|
1485
|
+
readonly name: "tv_sec";
|
|
1486
|
+
readonly definition: any;
|
|
1487
|
+
}, {
|
|
1488
|
+
readonly name: "tv_nsec";
|
|
1489
|
+
readonly definition: any;
|
|
1490
|
+
}, {
|
|
1491
|
+
readonly name: "__reserved";
|
|
1492
|
+
readonly definition: any;
|
|
1493
|
+
}];
|
|
1494
|
+
};
|
|
1495
|
+
}, {
|
|
1496
|
+
readonly name: "mtime";
|
|
1497
|
+
readonly definition: {
|
|
1498
|
+
readonly type: "struct";
|
|
1499
|
+
readonly packed: false;
|
|
1500
|
+
readonly fixedAbi: {};
|
|
1501
|
+
readonly fields: readonly [{
|
|
1502
|
+
readonly name: "tv_sec";
|
|
1503
|
+
readonly definition: any;
|
|
1504
|
+
}, {
|
|
1505
|
+
readonly name: "tv_nsec";
|
|
1506
|
+
readonly definition: any;
|
|
1507
|
+
}, {
|
|
1508
|
+
readonly name: "__reserved";
|
|
1509
|
+
readonly definition: any;
|
|
1510
|
+
}];
|
|
1511
|
+
};
|
|
1512
|
+
}, {
|
|
1513
|
+
readonly name: "rdev_major";
|
|
1514
|
+
readonly definition: any;
|
|
1515
|
+
}, {
|
|
1516
|
+
readonly name: "rdev_minor";
|
|
1517
|
+
readonly definition: any;
|
|
1518
|
+
}, {
|
|
1519
|
+
readonly name: "dev_major";
|
|
1520
|
+
readonly definition: any;
|
|
1521
|
+
}, {
|
|
1522
|
+
readonly name: "dev_minor";
|
|
1523
|
+
readonly definition: any;
|
|
1524
|
+
}, {
|
|
1525
|
+
readonly name: "__spare2";
|
|
1526
|
+
readonly definition: any;
|
|
1527
|
+
}];
|
|
1528
|
+
};
|
|
1529
|
+
}];
|
|
1530
|
+
};
|
|
409
1531
|
declare const fuseStatxOutParser: TStructParser<TFuseStatxOutValue>;
|
|
410
1532
|
declare const toCString: (value: string) => any;
|
|
411
1533
|
declare const decodeCString: (data: Uint8Array) => any;
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
1534
|
+
type TDecodeCStringPairResult = {
|
|
1535
|
+
error: Error;
|
|
1536
|
+
first: undefined;
|
|
1537
|
+
second: undefined;
|
|
1538
|
+
} | {
|
|
1539
|
+
error: undefined;
|
|
1540
|
+
first: string;
|
|
1541
|
+
second: string;
|
|
415
1542
|
};
|
|
416
|
-
|
|
1543
|
+
declare const decodeCStringPair: (data: Uint8Array) => TDecodeCStringPairResult;
|
|
1544
|
+
export { decodeCString, decodeCStringPair, toCString, fuseAttrDefinition, fuseCreateInParser, fuseAttrOutParser, fuseBatchForgetInParser, fuseEntryOutParser, fuseForgetInParser, fuseForgetOneParser, fuseGetattrInParser, fuseGetxattrInParser, fuseGetxattrOutParser, fuseInHeaderParser, fuseInitInParser, fuseInitOutParser, fuseAccessInParser, fuseFlushInParser, fuseKstatfsDefinition, fuseMkdirInParser, fuseMknodInParser, fuseOpenInParser, fuseOpenOutParser, fuseOutHeaderParser, fuseReadInParser, fuseReleaseInParser, fuseRename2InParser, fuseRenameInParser, fuseLinkInParser, fuseLkInParser, fuseLkOutParser, fuseInterruptInParser, fuseBmapInParser, fuseBmapOutParser, fuseIoctlInParser, fuseIoctlOutParser, fusePollInParser, fusePollOutParser, fuseFallocateInParser, fuseSetattrInParser, fuseSetxattrInParser, fuseStatfsOutParser, fuseWriteInParser, fuseWriteOutParser, fuseFsyncInParser, fuseLseekInParser, fuseLseekOutParser, fuseCopyFileRangeInParser, fuseSetupmappingInParser, fuseRemovemappingInParser, fuseRemovemappingOneParser, fuseSyncfsInParser, fuseStatxInParser, fuseStatxOutParser, fuseStatxDefinition, fuseSxTimeDefinition, fuseInHeaderDefinition, fuseOutHeaderDefinition, fuseEntryOutDefinition, fuseGetattrInDefinition, fuseAttrOutDefinition, fuseSetattrInDefinition, fuseOpenInDefinition, fuseGetxattrInDefinition, fuseGetxattrOutDefinition, fuseCreateInDefinition, fuseOpenOutDefinition, fuseReleaseInDefinition, fuseFlushInDefinition, fuseReadInDefinition, fuseWriteInDefinition, fuseWriteOutDefinition, fuseMkdirInDefinition, fuseMknodInDefinition, fuseRenameInDefinition, fuseRename2InDefinition, fuseLinkInDefinition, fuseLkInDefinition, fuseLkOutDefinition, fuseInterruptInDefinition, fuseBmapInDefinition, fuseBmapOutDefinition, fuseIoctlInDefinition, fuseIoctlOutDefinition, fusePollInDefinition, fusePollOutDefinition, fuseFallocateInDefinition, fuseForgetInDefinition, fuseBatchForgetInDefinition, fuseForgetOneDefinition, fuseAccessInDefinition, fuseFsyncInDefinition, fuseSetxattrInDefinition, fuseInitInDefinition, fuseInitOutDefinition, fuseStatfsOutDefinition, fuseLseekInDefinition, fuseLseekOutDefinition, fuseCopyFileRangeInDefinition, fuseSetupmappingInDefinition, fuseRemovemappingInDefinition, fuseRemovemappingOneDefinition, fuseSyncfsInDefinition, fuseStatxInDefinition, fuseStatxOutDefinition, };
|
|
417
1545
|
export type { TFuseInHeaderValue, TFuseOutHeaderValue, TFuseEntryOutValue, TFuseAttrValue, TFuseGetattrInValue, TFuseAttrOutValue, TFuseSetattrInValue, TFuseOpenInValue, TFuseGetxattrInValue, TFuseGetxattrOutValue, TFuseCreateInValue, TFuseOpenOutValue, TFuseReleaseInValue, TFuseFlushInValue, TFuseReadInValue, TFuseWriteInValue, TFuseWriteOutValue, TFuseMkdirInValue, TFuseMknodInValue, TFuseRenameInValue, TFuseRename2InValue, TFuseLinkInValue, TFuseForgetInValue, TFuseBatchForgetInValue, TFuseForgetOneValue, TFuseAccessInValue, TFuseFsyncInValue, TFuseSetxattrInValue, TFuseInitInValue, TFuseInitOutValue, TFuseStatfsOutValue, TFuseFileLockValue, TFuseLkInValue, TFuseLkOutValue, TFuseInterruptInValue, TFuseBmapInValue, TFuseBmapOutValue, TFuseIoctlInValue, TFuseIoctlOutValue, TFusePollInValue, TFusePollOutValue, TFuseFallocateInValue, TFuseLseekInValue, TFuseLseekOutValue, TFuseCopyFileRangeInValue, TFuseSetupmappingInValue, TFuseRemovemappingInValue, TFuseRemovemappingOneValue, TFuseSyncfsInValue, TFuseSxTimeValue, TFuseStatxValue, TFuseStatxInValue, TFuseStatxOutValue, };
|