mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-21 23:29:39 +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)
32 lines
574 B
C++
32 lines
574 B
C++
//---------------------------------------------------------------------------
|
|
//
|
|
// SCSI Target Emulator RaSCSI Reloaded
|
|
// for Raspberry Pi
|
|
//
|
|
// Copyright (C) 2022 Uwe Seimet
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
#include "generated/rascsi_interface.pb.h"
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
using namespace std;
|
|
using namespace rascsi_interface;
|
|
|
|
class RasCtl
|
|
{
|
|
public:
|
|
|
|
RasCtl() = default;
|
|
~RasCtl() = default;
|
|
|
|
int run(const vector<char *>&) const;
|
|
|
|
private:
|
|
|
|
void Banner(const vector<char *>&) const;
|
|
};
|