mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-29 00:10:26 +00:00
ff2465007f
- move AFP stuff into its own namespace - move utf8 and equivset into seperate modules - parser should understand /* */ comments
27 lines
748 B
C++
27 lines
748 B
C++
#ifndef AFFUNCTIONS_H
|
|
#define AFFUNCTIONS_H
|
|
|
|
#include <map>
|
|
#include <vector>
|
|
|
|
#include "aftypes.h"
|
|
|
|
namespace afp {
|
|
|
|
datum af_length (std::vector<datum> const &args);
|
|
datum af_lcase (std::vector<datum> const &args);
|
|
datum af_ccnorm (std::vector<datum> const &args);
|
|
datum af_rmdoubles (std::vector<datum> const &args);
|
|
datum af_specialratio (std::vector<datum> const &args);
|
|
datum af_rmspecials (std::vector<datum> const &args);
|
|
datum af_norm (std::vector<datum> const &args);
|
|
datum af_count (std::vector<datum> const &args);
|
|
|
|
std::string confusable_character_normalise(std::string const &orig);
|
|
std::string rmdoubles(std::string const &orig);
|
|
std::string rmspecials(std::string const &orig);
|
|
|
|
} // namespace afp
|
|
|
|
#endif /* !AFFUNCTIONS_H */
|