mirror of
https://github.com/akuker/RASCSI.git
synced 2025-01-10 17:30:47 +00:00
454c61ac0d
* Support for ID and LUN parameter for the -L option in rascsi * Added DeviceLogger class * Removed dupiicate code * Fixed SonarQube issues * Added unit tests, improved code sharing * Fixed regression (#979)
29 lines
630 B
C++
29 lines
630 B
C++
//---------------------------------------------------------------------------
|
|
//
|
|
// SCSI Target Emulator RaSCSI Reloaded
|
|
// for Raspberry Pi
|
|
//
|
|
// Copyright (C) 2021-2022 Uwe Seimet
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
using namespace std;
|
|
|
|
namespace ras_util
|
|
{
|
|
// Separator for compound options like ID:LUN
|
|
static const char COMPONENT_SEPARATOR = ':';
|
|
|
|
bool GetAsUnsignedInt(const string&, int&);
|
|
string ProcessId(const string&, int, int&, int&);
|
|
string Banner(const string&);
|
|
|
|
string GetExtensionLowerCase(const string&);
|
|
|
|
void FixCpu(int);
|
|
}
|