2022-11-02 22:41:45 +00:00
|
|
|
//---------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// SCSI Target Emulator RaSCSI Reloaded
|
|
|
|
// for Raspberry Pi
|
|
|
|
//
|
|
|
|
// Copyright (C) 2022 Uwe Seimet
|
|
|
|
//
|
|
|
|
//---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2022-11-11 20:08:48 +00:00
|
|
|
#include "generated/rascsi_interface.pb.h"
|
2022-11-02 22:41:45 +00:00
|
|
|
#include <vector>
|
2022-11-11 20:08:48 +00:00
|
|
|
#include <string>
|
2022-11-02 22:41:45 +00:00
|
|
|
|
|
|
|
using namespace std;
|
2022-11-11 20:08:48 +00:00
|
|
|
using namespace rascsi_interface;
|
2022-11-02 22:41:45 +00:00
|
|
|
|
|
|
|
class RasCtl
|
|
|
|
{
|
2022-11-10 06:44:06 +00:00
|
|
|
public:
|
2022-11-02 22:41:45 +00:00
|
|
|
|
|
|
|
RasCtl() = default;
|
|
|
|
~RasCtl() = default;
|
|
|
|
|
|
|
|
int run(const vector<char *>&) const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
void Banner(const vector<char *>&) const;
|
|
|
|
};
|