mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-25 20:33:35 +00:00
25 lines
502 B
C
25 lines
502 B
C
|
//---------------------------------------------------------------------------
|
||
|
//
|
||
|
// SCSI Target Emulator PiSCSI
|
||
|
// for Raspberry Pi
|
||
|
//
|
||
|
// Copyright (C) 2023 Uwe Seimet
|
||
|
//
|
||
|
//---------------------------------------------------------------------------
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <string>
|
||
|
#include <set>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
struct sockaddr_in;
|
||
|
|
||
|
namespace network_util
|
||
|
{
|
||
|
bool IsInterfaceUp(const string&);
|
||
|
set<string, less<>> GetNetworkInterfaces();
|
||
|
bool ResolveHostName(const string&, sockaddr_in *);
|
||
|
}
|