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 1313 pub shm_ctime: :: time_t,
1414 pub shm_pad4: [ i64 ; 4 ] ,
1515 }
16+
17+ pub struct fil_info {
18+ pub fi_flags: :: c_int,
19+ pub fi_pos: :: c_int,
20+ pub fi_name: [ :: c_char; :: FILNAME_MAX as usize ] ,
21+ }
1622}
1723
1824pub const AF_LOCAL : :: c_int = 1 ; // AF_UNIX
@@ -33,6 +39,15 @@ pub const F_OFD_SETLKW: ::c_int = 52;
3339pub const F_FLOCK : :: c_int = 55 ;
3440pub const F_FLOCKW : :: c_int = 56 ;
3541
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+
3651pub const MR_HDR_AOUT : :: c_uint = 0x3 ;
3752
3853extern "C" {
You can’t perform that action at this time.
0 commit comments