mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Add methods to get the hostname and network interfaces.
This commit is contained in:
@@ -275,6 +275,10 @@ llvm::ArrayRef<CS_Source> EnumerateSourceHandles(
|
||||
llvm::ArrayRef<CS_Sink> EnumerateSinkHandles(
|
||||
llvm::SmallVectorImpl<CS_Sink>& vec, CS_Status* status);
|
||||
|
||||
std::string GetHostname();
|
||||
|
||||
std::vector<std::string> GetNetworkInterfaces();
|
||||
|
||||
} // namespace cs
|
||||
|
||||
#endif // CSCORE_CPP_H_
|
||||
|
||||
Reference in New Issue
Block a user