#include <ControlMatcher.h>
Public Member Functions | |
HostMatcher (const char *name, const char *filename) | |
~HostMatcher () | |
void | Match (RequestData *rdata, Result *result) |
void | AllocateSpace (int num_entries) |
char * | NewEntry (matcher_line *line_info) |
void | Print () |
int | getNumElements () |
Data * | getDataArray () |
HostLookup * | getHLookup () |
Definition at line 216 of file ControlMatcher.h.
HostMatcher< Data, Result >::HostMatcher | ( | const char * | name, | |
const char * | filename | |||
) |
Definition at line 88 of file ControlMatcher.cc.
HostMatcher< Data, Result >::~HostMatcher | ( | ) |
Definition at line 98 of file ControlMatcher.cc.
void HostMatcher< Data, Result >::AllocateSpace | ( | int | num_entries | ) |
Definition at line 133 of file ControlMatcher.cc.
References HostLookup::AllocateSpace(), and ink_assert.
Data* HostMatcher< Data, Result >::getDataArray | ( | ) | [inline] |
Definition at line 226 of file ControlMatcher.h.
HostLookup* HostMatcher< Data, Result >::getHLookup | ( | ) | [inline] |
Definition at line 227 of file ControlMatcher.h.
int HostMatcher< Data, Result >::getNumElements | ( | ) | [inline] |
Definition at line 225 of file ControlMatcher.h.
void HostMatcher< Data, Result >::Match | ( | RequestData * | rdata, | |
Result * | result | |||
) |
Definition at line 151 of file ControlMatcher.cc.
References RequestData::get_host(), ink_assert, HostLookup::MatchFirst(), and HostLookup::MatchNext().
char * HostMatcher< Data, Result >::NewEntry | ( | matcher_line * | line_info | ) |
Definition at line 186 of file ControlMatcher.cc.
References matcher_line::dest_entry, ink_assert, matcher_line::line, MATCH_DOMAIN, MATCHER_MAX_TOKENS, HostLookup::NewEntry(), matcher_line::num_el, and matcher_line::type.
void HostMatcher< Data, Result >::Print | ( | ) |
Definition at line 110 of file ControlMatcher.cc.
References HostLookup::Print().