Show
Ignore:
Timestamp:
06/23/08 08:04:18 (5 years ago)
Author:
ahu
Message:

implement purging whole lists of domains or suffixes instead of 1 at a time

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/packetcache.hh

    r1220 r1221  
    9191  int size(); //!< number of entries in the cache 
    9292  void cleanup(); //!< force the cache to preen itself from expired packets 
    93   int purge(const string &prefix=""); 
     93  int purge(const vector<string>&matches= vector<string>()); 
    9494 
    9595  map<char,int> getCounts();