MCPcopy Create free account
hub / github.com/PiSCSI/piscsi / AddCommand

Method AddCommand

cpp/devices/primary_device.cpp:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void PrimaryDevice::AddCommand(scsi_command cmd, const operation& execute)
39{
40 commands[cmd] = execute;
41}
42
43void PrimaryDevice::Dispatch(scsi_command cmd)
44{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected