mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-10 02:29:33 +00:00
ca23d9b7a3
* Merged FileSupport into Disk * Improved code granularity * Made classes previously directly writing to cout testable * Added numerous unit tests * Fixed minor issues uncovered by unit tests * Fixed SonarCloud issues * Replaced remaining proprietary data types (WORD/DWORD) except for files in hal/
28 lines
583 B
C++
28 lines
583 B
C++
//---------------------------------------------------------------------------
|
|
//
|
|
// SCSI Target Emulator RaSCSI Reloaded
|
|
// for Raspberry Pi
|
|
//
|
|
// Copyright (C) 2021 Uwe Seimet
|
|
//
|
|
// Helper methods used by rascsi and rasctl
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include <list>
|
|
#include <string>
|
|
#include "rascsi_interface.pb.h"
|
|
|
|
using namespace std;
|
|
|
|
namespace ras_util
|
|
{
|
|
bool GetAsInt(const string&, int&);
|
|
string Banner(const string&);
|
|
string ListDevices(const list<rascsi_interface::PbDevice>&);
|
|
|
|
void FixCpu(int);
|
|
}
|