@@ -2693,15 +2693,20 @@ pub const EV_ADD: u16 = 0x1;
2693
2693
pub const EV_DELETE : u16 = 0x2 ;
2694
2694
pub const EV_ENABLE : u16 = 0x4 ;
2695
2695
pub const EV_DISABLE : u16 = 0x8 ;
2696
+ pub const EV_FORCEONESHOT : u16 = 0x100 ;
2697
+ pub const EV_KEEPUDATA : u16 = 0x200 ;
2698
+
2696
2699
pub const EV_ONESHOT : u16 = 0x10 ;
2697
2700
pub const EV_CLEAR : u16 = 0x20 ;
2698
2701
pub const EV_RECEIPT : u16 = 0x40 ;
2699
2702
pub const EV_DISPATCH : u16 = 0x80 ;
2703
+ pub const EV_SYSFLAGS : u16 = 0xf000 ;
2700
2704
pub const EV_DROP : u16 = 0x1000 ;
2701
2705
pub const EV_FLAG1 : u16 = 0x2000 ;
2702
- pub const EV_ERROR : u16 = 0x4000 ;
2706
+ pub const EV_FLAG2 : u16 = 0x4000 ;
2707
+
2703
2708
pub const EV_EOF : u16 = 0x8000 ;
2704
- pub const EV_SYSFLAGS : u16 = 0xf000 ;
2709
+ pub const EV_ERROR : u16 = 0x4000 ;
2705
2710
2706
2711
pub const NOTE_TRIGGER : u32 = 0x01000000 ;
2707
2712
pub const NOTE_FFNOP : u32 = 0x00000000 ;
@@ -2711,13 +2716,18 @@ pub const NOTE_FFCOPY: u32 = 0xc0000000;
2711
2716
pub const NOTE_FFCTRLMASK : u32 = 0xc0000000 ;
2712
2717
pub const NOTE_FFLAGSMASK : u32 = 0x00ffffff ;
2713
2718
pub const NOTE_LOWAT : u32 = 0x00000001 ;
2719
+ pub const NOTE_FILE_POLL : u32 = 0x00000002 ;
2714
2720
pub const NOTE_DELETE : u32 = 0x00000001 ;
2715
2721
pub const NOTE_WRITE : u32 = 0x00000002 ;
2716
2722
pub const NOTE_EXTEND : u32 = 0x00000004 ;
2717
2723
pub const NOTE_ATTRIB : u32 = 0x00000008 ;
2718
2724
pub const NOTE_LINK : u32 = 0x00000010 ;
2719
2725
pub const NOTE_RENAME : u32 = 0x00000020 ;
2720
2726
pub const NOTE_REVOKE : u32 = 0x00000040 ;
2727
+ pub const NOTE_OPEN : u32 = 0x00000080 ;
2728
+ pub const NOTE_CLOSE : u32 = 0x00000100 ;
2729
+ pub const NOTE_CLOSE_WRITE : u32 = 0x00000200 ;
2730
+ pub const NOTE_READ : u32 = 0x00000400 ;
2721
2731
pub const NOTE_EXIT : u32 = 0x80000000 ;
2722
2732
pub const NOTE_FORK : u32 = 0x40000000 ;
2723
2733
pub const NOTE_EXEC : u32 = 0x20000000 ;
@@ -2730,6 +2740,7 @@ pub const NOTE_SECONDS: u32 = 0x00000001;
2730
2740
pub const NOTE_MSECONDS : u32 = 0x00000002 ;
2731
2741
pub const NOTE_USECONDS : u32 = 0x00000004 ;
2732
2742
pub const NOTE_NSECONDS : u32 = 0x00000008 ;
2743
+ pub const NOTE_ABSTIME : u32 = 0x00000010 ;
2733
2744
2734
2745
pub const MADV_PROTECT : :: c_int = 10 ;
2735
2746
0 commit comments