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

Go to the source code of this file.

Functions

void JsonSmtpLogRegister (void)
 
json_t * JsonSMTPAddMetadata (const Flow *f, uint64_t tx_id)
 

Detailed Description

Author
Tom DeCanio td@np.nosp@m.ulse.nosp@m.tech..nosp@m.com

Definition in file output-json-smtp.h.

Function Documentation

json_t* JsonSMTPAddMetadata ( const Flow f,
uint64_t  tx_id 
)

Definition at line 118 of file output-json-smtp.c.

References ALPROTO_SMTP, AppLayerParserGetTx(), OutputCtx_::data, OutputJsonEmailCtx_::file_ctx, FlowGetAppState(), LogFileFreeCtx(), SCFree, and SCLogDebug.

Referenced by AlertJsonHeader(), and JsonBuildFileInfoRecord().

Here is the call graph for this function:

Here is the caller graph for this function:

void JsonSmtpLogRegister ( void  )

Definition at line 266 of file output-json-smtp.c.

References ALPROTO_SMTP, LOGGER_JSON_SMTP, OutputRegisterTxModule(), and OutputRegisterTxSubModule().

Referenced by OutputRegisterLoggers().

Here is the call graph for this function:

Here is the caller graph for this function: