mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
10 lines
305 B
C++
10 lines
305 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
|
|
/** Get the FQDN for the local server by resolving DNS hostname - similar to calling the 'hostname' tool with the -f flag.
|
|
* If it does not work, return hostname - similar to calling 'hostname' without flags or 'uname -n'.
|
|
*/
|
|
const std::string & getFQDNOrHostName();
|