summaryrefslogtreecommitdiff
path: root/include/Domain.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Domain.h')
-rw-r--r--include/Domain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Domain.h b/include/Domain.h
index d091728..9cd8483 100644
--- a/include/Domain.h
+++ b/include/Domain.h
@@ -27,14 +27,14 @@ class Domain : public Base {
public:
Domain(const Regex &);
virtual ~Domain();
- static Domain * find_domain(const String & url);
+ static Domain * find_domain(const String & url, int nmatches = 0, regmatch_t * pmatches = 0);
void OnTop();
virtual void Do(const HttpRequest &, HttpResponse *) throw (GeneralException) = 0;
static Domain * First();
Domain * Next();
String GetPattern();
private:
- Domain * find_domain_r(const String & url);
+ Domain * find_domain_r(const String & url, int nmatches = 0, regmatch_t * pmatches = 0);
static Domain * head;
Domain * next, * prev;
Regex pattern;