WPILibC++
unspecified
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
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_SUPPORT_HOSTNAME_H_
9
#define WPIUTIL_SUPPORT_HOSTNAME_H_
10
11
#include <string>
12
13
#include "llvm/StringRef.h"
14
15
namespace
llvm
{
16
template
<
typename
T>
17
class
SmallVectorImpl;
18
}
// namespace llvm
19
20
namespace
wpi
{
21
std::string GetHostname();
22
llvm::StringRef
GetHostname(
llvm::SmallVectorImpl<char>
& name);
23
}
// namespace wpi
24
25
#endif // WPIUTIL_SUPPORT_HOSTNAME_H_
llvm
Definition:
Path.inc:31
llvm::SmallVectorImpl< char >
wpi
Definition:
SocketError.cpp:17
llvm::StringRef
StringRef - Represent a constant reference to a string, i.e.
Definition:
StringRef.h:42
build
cppSource
wpiutil-cpp
headers
support
hostname.h
Generated on Mon Jan 29 2018 16:02:20 for WPILibC++ by
1.8.11