mirror of
https://github.com/akuker/RASCSI.git
synced 2025-01-03 01:33:14 +00:00
33 lines
695 B
C
33 lines
695 B
C
|
//---------------------------------------------------------------------------
|
||
|
//
|
||
|
// SCSI Target Emulator RaSCSI Reloaded
|
||
|
// for Raspberry Pi
|
||
|
//
|
||
|
// Copyright (C) 2022 Uwe Seimet
|
||
|
// Copyright (C) 2022 akuker
|
||
|
//
|
||
|
//---------------------------------------------------------------------------
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <map>
|
||
|
#include <string>
|
||
|
#include <vector>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
class ScsiLoop
|
||
|
{
|
||
|
public:
|
||
|
ScsiLoop() = default;
|
||
|
~ScsiLoop() = default;
|
||
|
|
||
|
int run(const vector<char *> &args);
|
||
|
|
||
|
private:
|
||
|
void Banner(const vector<char *> &) const;
|
||
|
static void TerminationHandler(int signum);
|
||
|
bool ParseArgument(const vector<char *> &);
|
||
|
bool SetLogLevel(const string &);
|
||
|
};
|