#[doc = "\\brief Function type for EVE callbacks.\n\n The function type for callbacks registered with\n SCEveRegisterCallback. This function will be called with the\n SCJsonBuilder just prior to the top-level object being closed. New\n fields may be added, however, there is no way to alter existing\n objects already added to the SCJsonBuilder.\n\n\\param tv The ThreadVars for the thread performing the logging.\n\\param p Packet if available.\n\\param f Flow if available.\n\\param user User data provided during callback registration."]
pubtypeSCEveUserCallbackFn=::std::option::Option<
unsafeextern"C"fn(
tv: *mutThreadVars,
p: *constPacket,
f: *mutFlow,
jb: *mutSCJsonBuilder,
user: *mut::std::os::raw::c_void,
),
>;
extern"C"{
#[doc = "\\brief Register a callback for adding extra information to EVE logs.\n\n Allow users to register a callback for each EVE log. The callback\n is called just before the root object on the SCJsonBuilder is to be\n closed.\n\n New objects and fields can be appended, but existing entries cannot be modified.\n\n Packet and Flow will be provided if available, but will otherwise be\n NULL.\n\n Limitations: At this time the callbacks will only be called for EVE\n loggers that use SCJsonBuilder, notably this means it won't be called\n for stats records at this time.\n\n\\returns true if callback is registered, false is not due to memory\n allocation error."]
#[doc = " A \"mark\" or saved state for a JsonBuilder object.\n\n The name is full, and the types are u64 as this object is used\n directly in C as well."]