WPILibC++  unspecified
hostname.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */
3 /* Open Source Software - may be modified and shared by FRC teams. The code */
4 /* must be accompanied by the FIRST BSD license file in the root directory of */
5 /* the project. */
6 /*----------------------------------------------------------------------------*/
7 
8 #ifndef WPIUTIL_WPI_HOSTNAME_H_
9 #define WPIUTIL_WPI_HOSTNAME_H_
10 
11 #include <string>
12 
13 #include "wpi/StringRef.h"
14 
15 namespace wpi {
16 template <typename T>
17 class SmallVectorImpl;
18 
19 std::string GetHostname();
20 StringRef GetHostname(SmallVectorImpl<char>& name);
21 } // namespace wpi
22 
23 #endif // WPIUTIL_WPI_HOSTNAME_H_
namespace to hold default to_json function
Definition: json_binary_writer.cpp:39