mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-01 17:16:23 +00:00
ff2465007f
- move AFP stuff into its own namespace - move utf8 and equivset into seperate modules - parser should understand /* */ comments
23 lines
290 B
C++
23 lines
290 B
C++
#ifndef REQUEST_H
|
|
#define REQUEST_H
|
|
|
|
#include <string>
|
|
#include <istream>
|
|
|
|
#include "filter_evaluator.h"
|
|
|
|
namespace afp {
|
|
|
|
struct request {
|
|
bool load(std::istream &);
|
|
bool evaluate(void);
|
|
|
|
private:
|
|
filter_evaluator f;
|
|
std::string filter;
|
|
};
|
|
|
|
} // namespace afp
|
|
|
|
#endif /* !REQUEST_H */
|