suricata
output-json-email-common.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  OutputJsonEmailCtx_
 
struct  JsonEmailLogThread_
 

Typedefs

typedef struct OutputJsonEmailCtx_ OutputJsonEmailCtx
 
typedef struct JsonEmailLogThread_ JsonEmailLogThread
 

Functions

TmEcode JsonEmailLogJson (JsonEmailLogThread *aft, json_t *js, const Packet *p, Flow *f, void *state, void *vtx, uint64_t tx_id)
 
json_t * JsonEmailAddMetadata (const Flow *f, uint32_t tx_id)
 
void OutputEmailInitConf (ConfNode *conf, OutputJsonEmailCtx *email_ctx)
 

Detailed Description

Typedef Documentation

Function Documentation

json_t* JsonEmailAddMetadata ( const Flow f,
uint32_t  tx_id 
)

Definition at line 398 of file output-json-email-common.c.

References ALPROTO_SMTP, AppLayerParserGetTx(), and FlowGetAppState().

Referenced by AlertJsonHeader(), and JsonBuildFileInfoRecord().

Here is the call graph for this function:

Here is the caller graph for this function:

TmEcode JsonEmailLogJson ( JsonEmailLogThread aft,
json_t *  js,
const Packet p,
Flow f,
void *  state,
void *  vtx,
uint64_t  tx_id 
)