Andrew Geissler | 3b025e6 | 2019-02-01 10:33:54 -0600 | [diff] [blame^] | 1 | #pragma once |
| 2 | |
| 3 | #include <boost/container/flat_map.hpp> |
| 4 | #include <string> |
| 5 | |
| 6 | /** @brief Get well known name of input unique name |
| 7 | * |
| 8 | * If user passes in well known name then that will be returned. |
| 9 | * |
| 10 | * @param[in] owners - Current list of owners |
| 11 | * @param[in] request - The name to look up |
| 12 | * @param[out] wellKnown - The well known name if found |
| 13 | * |
| 14 | * @return True if well known name is found, false otherwise |
| 15 | */ |
| 16 | bool getWellKnown( |
| 17 | const boost::container::flat_map<std::string, std::string>& owners, |
| 18 | const std::string& request, std::string& wellKnown); |