Files
libart-seafire-routing/art/seafire/routing/match.hxx

30 lines
589 B
C++

#ifndef art__seafire__routing__match_hxx_
#define art__seafire__routing__match_hxx_
#include <art/seafire/routing/parameters.hxx>
#include <functional>
#include <map>
#include <string>
namespace art::seafire::routing
{
using validator_t = std::function<bool(std::string const&)>;
using validator_map_t = std::map<std::string, validator_t>;
bool
match(std::string const&,
std::string const&,
validator_map_t const&,
char,
parameters_t&);
std::string
render(std::string const&, parameters_t&);
} // namespace art::seafire::routing
#endif