#include <LogFilter.h>
Inherits LogFilter.
Public Member Functions | |
LogFilterString (const char *name, LogField *field, Action a, Operator o, char *value) | |
LogFilterString (const char *name, LogField *field, Action a, Operator o, size_t num_values, char **value) | |
LogFilterString (const LogFilterString &rhs) | |
~LogFilterString () | |
bool | operator== (LogFilterString &rhs) |
bool | toss_this_entry (LogAccess *lad) |
bool | wipe_this_entry (LogAccess *lad) |
void | display (FILE *fd=stdout) |
void | display_as_XML (FILE *fd=stdout) |
Definition at line 113 of file LogFilter.h.
LogFilterString::LogFilterString | ( | const char * | name, | |
LogField * | field, | |||
LogFilter::Action | action, | |||
LogFilter::Operator | oper, | |||
char * | value | |||
) |
Definition at line 99 of file LogFilter.cc.
References SimpleTokenizer::getNext(), SimpleTokenizer::getNumTokensRemaining(), LogFilterString(), and Warning.
Referenced by LogFilterString().
LogFilterString::LogFilterString | ( | const char * | name, | |
LogField * | field, | |||
LogFilter::Action | action, | |||
LogFilter::Operator | oper, | |||
size_t | num_values, | |||
char ** | value | |||
) |
Definition at line 124 of file LogFilter.cc.
References LogFilterString().
LogFilterString::LogFilterString | ( | const LogFilterString & | rhs | ) |
Definition at line 131 of file LogFilter.cc.
References LogFilterString(), and LogFilter::m_num_values.
LogFilterString::~LogFilterString | ( | ) |
Definition at line 141 of file LogFilter.cc.
References ats_free(), and LogFilter::m_num_values.
void LogFilterString::display | ( | FILE * | fd = stdout |
) | [virtual] |
Implements LogFilter.
Definition at line 339 of file LogFilter.cc.
References LogFilter::ACTION_NAME, ink_assert, LogFilter::m_action, LogFilter::m_field, LogFilter::m_name, LogFilter::m_num_values, LogFilter::m_operator, LogFilter::OPERATOR_NAME, and LogField::symbol().
void LogFilterString::display_as_XML | ( | FILE * | fd = stdout |
) | [virtual] |
Implements LogFilter.
Definition at line 356 of file LogFilter.cc.
References LogFilter::ACTION_NAME, ink_assert, LogFilter::m_action, LogFilter::m_field, LogFilter::m_name, LogFilter::m_num_values, LogFilter::m_operator, LogFilter::OPERATOR_NAME, and LogField::symbol().
bool LogFilterString::operator== | ( | LogFilterString & | rhs | ) |
Definition at line 165 of file LogFilter.cc.
References LogFilter::m_action, LogFilter::m_field, LogFilter::m_num_values, LogFilter::m_operator, and LogFilter::m_type.
bool LogFilterString::toss_this_entry | ( | LogAccess * | lad | ) | [virtual] |
Implements LogFilter.
Definition at line 267 of file LogFilter.cc.
References LogFilter::ACCEPT, ats_free(), ats_malloc(), BUFSIZE, LogFilter::CASE_INSENSITIVE_CONTAIN, LogFilter::CASE_INSENSITIVE_MATCH, LogFilter::CONTAIN, ink_assert, ParseRules::ink_toupper(), LogFilter::m_action, LogFilter::m_field, LogFilter::m_num_values, LogFilter::m_operator, LogField::marshal(), LogField::marshal_len(), LogFilter::MATCH, and LogFilter::REJECT.
bool LogFilterString::wipe_this_entry | ( | LogAccess * | lad | ) | [virtual] |
Implements LogFilter.
Definition at line 196 of file LogFilter.cc.
References ats_free(), ats_malloc(), BUFSIZE, LogFilter::CASE_INSENSITIVE_CONTAIN, LogFilter::CASE_INSENSITIVE_MATCH, LogFilter::CONTAIN, ink_assert, ParseRules::ink_toupper(), LogFilter::m_action, LogFilter::m_field, LogFilter::m_num_values, LogFilter::m_operator, LogField::marshal(), LogField::marshal_len(), LogFilter::MATCH, LogField::updateField(), and LogFilter::WIPE_FIELD_VALUE.