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