Public Member Functions

HostLookup Class Reference

#include <HostLookup.h>

Collaboration diagram for HostLookup:
Collaboration graph
[legend]

Public Member Functions

 HostLookup (const char *name)
 ~HostLookup ()
void NewEntry (const char *match_data, bool domain_record, void *opaque_data_in)
void AllocateSpace (int num_entries)
bool Match (const char *host)
bool Match (const char *host, void **opaque_ptr)
bool MatchFirst (const char *host, HostLookupState *s, void **opaque_ptr)
bool MatchNext (HostLookupState *s, void **opaque_ptr)
void Print (HostLookupPrintFunc f)
void Print ()
HostLeafgetLArray ()

Detailed Description

Definition at line 98 of file HostLookup.h.


Constructor & Destructor Documentation

HostLookup::HostLookup ( const char *  name  ) 

Definition at line 773 of file HostLookup.cc.

References HostBranch::level, HostBranch::next_level, and HostBranch::type.

HostLookup::~HostLookup (  ) 

Definition at line 786 of file HostLookup.cc.

References ats_free().


Member Function Documentation

void HostLookup::AllocateSpace ( int  num_entries  ) 
HostLeaf* HostLookup::getLArray (  )  [inline]

Definition at line 111 of file HostLookup.h.

bool HostLookup::Match ( const char *  host,
void **  opaque_ptr 
)
bool HostLookup::Match ( const char *  host  ) 
bool HostLookup::MatchFirst ( const char *  host,
HostLookupState s,
void **  opaque_ptr 
)
bool HostLookup::MatchNext ( HostLookupState s,
void **  opaque_ptr 
)
void HostLookup::NewEntry ( const char *  match_data,
bool  domain_record,
void *  opaque_data_in 
)
void HostLookup::Print (  ) 

Definition at line 806 of file HostLookup.cc.

References empty_print_fn().

void HostLookup::Print ( HostLookupPrintFunc  f  ) 

Definition at line 812 of file HostLookup.cc.

Referenced by HostMatcher< Data, Result >::Print(), and CacheHostMatcher::Print().


The documentation for this class was generated from the following files: