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: rust/sys/src/sys.rs
+36-6Lines changed: 36 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -897,6 +897,11 @@ pub struct File_ {
897
897
_unused:[u8;0],
898
898
}
899
899
pubtypeFile = File_;
900
+
#[repr(C)]
901
+
#[derive(Debug,Copy,Clone)]
902
+
pubstructAppLayerTxData{
903
+
_unused:[u8;0],
904
+
}
900
905
extern"C"{
901
906
#[doc = " \\brief Given a protocol name, checks if the parser is enabled in\n the conf file.\n\n\\param alproto_name Name of the app layer protocol.\n\n\\retval 1 If enabled.\n\\retval 0 If disabled."]
#[doc = " \\brief Open a new File\n\n\\param ffc flow container\n\\param sbcfg buffer config\n\\param name filename character array\n\\param name_len filename len\n\\param data initial data\n\\param data_len initial data len\n\\param flags open flags\n\n\\retval ff flowfile object\n\n\\note filename is not a string, so it's not nul terminated.\n\n If flags contains the FILE_USE_DETECT bit, the pruning code will\n consider not just the content_stored tracker, but also content_inspected.\n It's the responsibility of the API user to make sure this tracker is\n properly updated."]
0 commit comments