You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libclamav_rust/src/sys.rs
+66-66Lines changed: 66 additions & 66 deletions
Original file line number
Diff line number
Diff line change
@@ -301,66 +301,15 @@ extern "C" {
301
301
#[doc = " @brief Get the Functionality Level (FLEVEL).\n\n @return unsigned int The FLEVEL."]
302
302
pubfncl_retflevel() -> ::std::os::raw::c_uint;
303
303
}
304
-
pubtypefmap_t = cl_fmap_t;
305
304
#[repr(C)]
306
305
#[derive(Debug,Copy,Clone)]
307
-
pubstructcl_fmap{
308
-
pubhandle:*mut::std::os::raw::c_void,
309
-
pubpread_cb:clcb_pread,
310
-
pubdata:*const::std::os::raw::c_void,
311
-
pubmtime:u64,
312
-
pubpages:u64,
313
-
pubpgsz:u64,
314
-
pubpaged:u64,
315
-
pubaging:bool,
316
-
#[doc = " Indicates if we should age off memory mapped pages"]
317
-
pubdont_cache_flag:bool,
318
-
#[doc = " Indicates if we should not cache scan results for this fmap. Used if limits exceeded"]
319
-
pubhandle_is_fd:bool,
320
-
#[doc = " Non-zero if `map->handle` is an fd. This is needed so that `fmap_fd()` knows if it can\nreturn a file descriptor. If it's some other kind of handle, then `fmap_fd()` has to return -1."]
321
-
puboffset:usize,
322
-
#[doc = " File offset representing start of original fmap, if the fmap created reading from a file starting at offset other than 0.\n`offset` & `len` are critical information for anyone using the file descriptor/handle"]
323
-
pubnested_offset:usize,
324
-
#[doc = " Offset from start of original fmap (data) for nested scan. 0 for orig fmap."]
325
-
pubreal_len:usize,
326
-
#[doc = " Length from start of original fmap (data) to end of current (possibly nested) map.\n`real_len == nested_offset + len`.\n`real_len` is needed for nested maps because we only reference the original mapping data.\nWe convert caller's fmap offsets & lengths to real data offsets using `nested_offset` & `real_len`."]
327
-
publen:usize,
328
-
#[doc = " Length of data from nested_offset, accessible via current fmap"]
#[doc = " Indicates if we should age off memory mapped pages"]
449
+
pubdont_cache_flag:bool,
450
+
#[doc = " Indicates if we should not cache scan results for this fmap. Used if limits exceeded"]
451
+
pubhandle_is_fd:bool,
452
+
#[doc = " Non-zero if `map->handle` is an fd. This is needed so that `fmap_fd()` knows if it can\nreturn a file descriptor. If it's some other kind of handle, then `fmap_fd()` has to return -1."]
453
+
puboffset:usize,
454
+
#[doc = " File offset representing start of original fmap, if the fmap created reading from a file starting at offset other than 0.\n`offset` & `len` are critical information for anyone using the file descriptor/handle"]
455
+
pubnested_offset:usize,
456
+
#[doc = " Offset from start of original fmap (data) for nested scan. 0 for orig fmap."]
457
+
pubreal_len:usize,
458
+
#[doc = " Length from start of original fmap (data) to end of current (possibly nested) map.\n`real_len == nested_offset + len`.\n`real_len` is needed for nested maps because we only reference the original mapping data.\nWe convert caller's fmap offsets & lengths to real data offsets using `nested_offset` & `real_len`."]
459
+
publen:usize,
460
+
#[doc = " Length of data from nested_offset, accessible via current fmap"]
0 commit comments