mediawiki-extensions-AbuseF.../parser_native/request.h
River Tarnell 1912d62d09 - rewrote AFPData to use boost::variant (type safe, no manual memory management)
- rewrote parser to use boost.spirit instead of a hand-written parser
- refactored request loading into 'request' object
- added 'expr', a command-line tool to test the new parser
- some performance fixes for affunctions
2008-08-08 00:01:22 +00:00

19 lines
253 B
C++

#ifndef REQUEST_H
#define REQUEST_H
#include <string>
#include <istream>
#include "filter_evaluator.h"
struct request {
bool load(std::istream &);
bool evaluate(void);
private:
filter_evaluator f;
std::string filter;
};
#endif /* !REQUEST_H */