mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-22 16:33:17 +00:00
83d1595a35
* Moved rascsi/rasctl/scsimon/rasdump.cpp to classes (for better testability) * Moved bus.* to hal folder * Removed some global variables * Fixed code redundancies
32 lines
599 B
C++
32 lines
599 B
C++
//---------------------------------------------------------------------------
|
|
//
|
|
// SCSI Target Emulator RaSCSI Reloaded
|
|
// for Raspberry Pi
|
|
//
|
|
// Copyright (C) 2022 Uwe Seimet
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
using namespace std;
|
|
|
|
class RasCtl
|
|
{
|
|
// Separator for the INQUIRY name components and for compound parameters
|
|
static const char COMPONENT_SEPARATOR = ':';
|
|
|
|
public:
|
|
|
|
RasCtl() = default;
|
|
~RasCtl() = default;
|
|
|
|
int run(const vector<char *>&) const;
|
|
|
|
private:
|
|
|
|
void Banner(const vector<char *>&) const;
|
|
};
|