File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 13
13
pub shm_ctime: :: time_t,
14
14
pub shm_pad4: [ i64 ; 4 ] ,
15
15
}
16
+
17
+ pub struct fil_info {
18
+ pub fi_flags: :: c_int,
19
+ pub fi_pos: :: c_int,
20
+ pub fi_name[ :: FILNAME_MAX as usize ]
21
+ }
16
22
}
17
23
18
24
pub const AF_LOCAL : :: c_int = 1 ; // AF_UNIX
@@ -33,6 +39,15 @@ pub const F_OFD_SETLKW: ::c_int = 52;
33
39
pub const F_FLOCK : :: c_int = 55 ;
34
40
pub const F_FLOCKW : :: c_int = 56 ;
35
41
42
+ pub const FIL_ATTACH : :: c_int = 0x1 ;
43
+ pub const FIL_DETACH : :: c_int = 0x2 ;
44
+ pub const FIL_LIST : :: c_int = 0x3 ;
45
+ pub const FILNAME_MAX : :: c_int = 32 ;
46
+ pub const FILF_PROG : :: c_int = 0x1 ;
47
+ pub const FILF_AUTO : :: c_int = 0x2 ;
48
+ pub const FILF_BYPASS : :: c_int = 0x4 ;
49
+ pub const SOL_FILTER : :: c_int = 0xfffc ;
50
+
36
51
pub const MR_HDR_AOUT : :: c_uint = 0x3 ;
37
52
38
53
extern "C" {
You can’t perform that action at this time.
0 commit comments