Go to the documentation of this file.
24 #ifndef SURICATA_DEBUG_FILTERS_H
25 #define SURICATA_DEBUG_FILTERS_H
Structure used to hold the thread_list used by FD filters.
void SCLogReleaseFGFilters(void)
int sc_log_fd_filters_present
int SCLogMatchFGFilterWL(const char *, const char *, int)
Checks if there is a match for the incoming log_message with any of the FG filters....
struct SCLogFDFilter_ SCLogFDFilter
Structure that holds the FD filters.
void SCLogReleaseFDFilters(void)
Releases all the FD filters added to the logging module.
int SCLogAddFDFilter(const char *)
Adds a Function-Dependent(FD) filter.
int SCLogMatchFGFilterBL(const char *, const char *, int)
Checks if there is a match for the incoming log_message with any of the FG filters....
int SCLogPrintFGFilters(void)
Prints the FG filters(both WL and BL). Used for debugging purposes.
int SCLogPrintFDFilters(void)
Prints the FG filters(both WL and BL). Used for debugging purposes.
struct SCLogFGFilterLine_ * next
int SCLogCheckFDFilterEntry(const char *)
Updates a FD filter, based on whether the function that calls this function, is registered as a FD fi...
struct SCLogFGFilterFile_ * next
struct SCLogFGFilterFunc_ SCLogFGFilterFunc
structure used to hold the function details of a FG filter
struct SCLogFGFilterLine_ SCLogFGFilterLine
Structure used to hold the line_no details of a FG filter.
struct SCLogFGFilterFile_ SCLogFGFilterFile
Structure used to hold FG filters. Encapsulates filename details, func details, which inturn encapsul...
struct SCLogFDFilter_ * next
struct SCLogFDFilterThreadList_ SCLogFDFilterThreadList
Structure used to hold the thread_list used by FD filters.
struct SCLogFDFilterThreadList_ * next
Structure used to hold the line_no details of a FG filter.
void SCLogReleaseFDFilter(SCLogFDFilter *)
Releases the memory alloted to a FD filter.
Structure that holds the FD filters.
int sc_log_fg_filters_present
int SCLogRemoveFDFilter(const char *)
Removes a Function-Dependent(FD) filter.
void SCLogAddToFGFFuncList(SCLogFGFilterFile *, SCLogFGFilterFunc *, const char *, int)
Helper function used internally to add a FG filter. This function is called when the file component o...
structure used to hold the function details of a FG filter
void SCLogAddToFGFLineList(SCLogFGFilterFunc *, SCLogFGFilterLine *, int)
Helper function used internally to add a FG filter. This function is called when the file and functio...
int SCLogAddFGFilterBL(const char *, const char *, int)
Adds a Blacklist(BL) fine-grained(FG) filter. A FG filter BL filter allows messages that don't match ...
int SCLogMatchFDFilter(const char *)
Checks if there is a match for the incoming log_message with any of the FD filters.
void SCLogCheckFDFilterExit(const char *)
Updates a FD filter, based on whether the function that calls this function, is registered as a FD fi...
void SCLogAddToFGFFileList(SCLogFGFilterFile *, const char *, const char *, int, int)
Helper function used internally to add a FG filter. This function is called when the file component o...
Structure used to hold FG filters. Encapsulates filename details, func details, which inturn encapsul...
struct SCLogFGFilterFunc_ * next