suricata
SCPluginFileType_ Struct Reference

#include <suricata-plugin.h>

Public Member Functions

 TAILQ_ENTRY (SCPluginFileType_) entries
 

Data Fields

char * name
 
int(* Open )(ConfNode *conf, void **data)
 
int(* Write )(const char *buffer, int buffer_len, void *ctx)
 
void(* Close )(void *ctx)
 

Detailed Description

Structure used to define a file type plugin.

Currently only used by the Eve output type.

Definition at line 49 of file suricata-plugin.h.

Member Function Documentation

◆ TAILQ_ENTRY()

SCPluginFileType_::TAILQ_ENTRY ( SCPluginFileType_  )

Field Documentation

◆ Close

void(* SCPluginFileType_::Close) (void *ctx)

Definition at line 53 of file suricata-plugin.h.

Referenced by LogFileFreeCtx().

◆ name

char* SCPluginFileType_::name

Definition at line 50 of file suricata-plugin.h.

◆ Open

int(* SCPluginFileType_::Open) (ConfNode *conf, void **data)

Definition at line 51 of file suricata-plugin.h.

◆ Write

int(* SCPluginFileType_::Write) (const char *buffer, int buffer_len, void *ctx)

Definition at line 52 of file suricata-plugin.h.

Referenced by LogFileWrite().


The documentation for this struct was generated from the following file: