ocarina/include/filter.h
Anna Schumaker 58ed47b37c filter: Update design and rewrite the unit test
- filter :: add() now returns the lowercased text
- Don't cache lowercased strings
- Remove functions depending on CONFIG_TEST

Signed-off-by: Anna Schumaker <schumaker.anna@gmail.com>
2014-04-06 19:57:06 -04:00

19 lines
344 B
C++

/*
* Copyright 2013 (c) Anna Schumaker.
*/
#ifndef OCARINA_FILTER_H
#define OCARINA_FILTER_H
#include <set>
#include <string>
namespace filter {
std::string add(const std::string &, unsigned int);
void search(const std::string &, std::set<unsigned int> &);
std::string lowercase(const std::string &);
};
#endif /* OCARINA_FILTER_H */