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_


typedef struct OutputJsonEmailCtx_ OutputJsonEmailCtx
typedef struct JsonEmailLogThread_ JsonEmailLogThread


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

◆ JsonEmailLogThread

◆ OutputJsonEmailCtx

Function Documentation

◆ JsonEmailAddMetadata()

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 JsonBuildFileInfoRecord().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ JsonEmailLogJson()

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

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

◆ OutputEmailInitConf()