File tree 16 files changed +20
-20
lines changed
16 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 2
2
//
3
3
// SCSI2Pi, SCSI device emulator and SCSI tools for the Raspberry Pi
4
4
//
5
- // Copyright (C) 2021-2024 Uwe Seimet
5
+ // Copyright (C) 2021-2025 Uwe Seimet
6
6
//
7
7
//---------------------------------------------------------------------------
8
8
13
13
// All operations accept an optional access token, specified by the "token" parameter.
14
14
// All operations also accept an optional locale, specified with the "locale" parameter. If there is
15
15
// a localized error message it is returned, with English being the fallback language.
16
- // This interface is backwards compatible with PiSCSI. Numbers 100 and higher are used for messages
17
- // and fields not known by PISCSI 23.11.01 and newer .
16
+ // This interface is backwards compatible with PiSCSI 24.04.01. Numbers 100 and higher are used for
17
+ // messages and fields not supported by PiSCSI .
18
18
//
19
19
20
20
syntax = "proto3" ;
Original file line number Diff line number Diff line change @@ -168,9 +168,9 @@ DIR_CONTROLLERS := controllers
168
168
DIR_DEVICES := devices
169
169
DIR_PI := pi
170
170
171
- PROTO_TARGET_API := ../api/s2p_interface .proto
171
+ PROTO_TARGET_API := ../api/target_api .proto
172
172
173
- SRC_TARGET_API = $(GENERATED_DIR ) /s2p_interface .pb.cpp
173
+ SRC_TARGET_API = $(GENERATED_DIR ) /target_api .pb.cpp
174
174
175
175
SRC_SHARED = $(shell ls -1 $(DIR_SHARED ) /* .cpp | grep -v sg_)
176
176
ifdef IS_LINUX
@@ -375,7 +375,7 @@ $(OBJ_TARGET_API): | $(OBJDIR)
375
375
376
376
$(SRC_TARGET_API ) : $(PROTO_TARGET_API ) | $(GENERATED_DIR )
377
377
protoc -I ../api --cpp_out=$(GENERATED_DIR ) $(PROTO_TARGET_API )
378
- mv $(GENERATED_DIR ) /s2p_interface .pb.cc $@
378
+ mv $(GENERATED_DIR ) /target_api .pb.cc $@
379
379
380
380
# # Build targets:
381
381
# # all Buidl all executable files (default target)
Original file line number Diff line number Diff line change 11
11
#include < spdlog/spdlog.h>
12
12
#include " shared/s2p_util.h"
13
13
#include " shared/s2p_version.h"
14
- #include " generated/s2p_interface .pb.h"
14
+ #include " generated/target_api .pb.h"
15
15
16
16
using namespace spdlog ;
17
17
using namespace s2p_interface ;
Original file line number Diff line number Diff line change 12
12
13
13
#include < unordered_map>
14
14
#include " shared/s2p_util.h"
15
- #include " generated/s2p_interface .pb.h"
15
+ #include " generated/target_api .pb.h"
16
16
17
17
using namespace std ;
18
18
using namespace s2p_interface ;
Original file line number Diff line number Diff line change 10
10
11
11
#include < spdlog/spdlog.h>
12
12
#include " command_localizer.h"
13
- #include " generated/s2p_interface .pb.h"
13
+ #include " generated/target_api .pb.h"
14
14
15
15
using namespace std ;
16
16
using namespace spdlog ;
Original file line number Diff line number Diff line change 11
11
#include < string>
12
12
#include < unordered_set>
13
13
#include < spdlog/spdlog.h>
14
- #include " generated/s2p_interface .pb.h"
14
+ #include " generated/target_api .pb.h"
15
15
16
16
class PrimaryDevice ;
17
17
Original file line number Diff line number Diff line change 9
9
#pragma once
10
10
11
11
#include " shared/s2p_defs.h"
12
- #include " generated/s2p_interface .pb.h"
12
+ #include " generated/target_api .pb.h"
13
13
14
14
using namespace std ;
15
15
using namespace s2p_interface ;
Original file line number Diff line number Diff line change 11
11
#include < span>
12
12
#include < unordered_map>
13
13
#include < vector>
14
- #include " generated/s2p_interface .pb.h"
14
+ #include " generated/target_api .pb.h"
15
15
16
16
using namespace std ;
17
17
using namespace s2p_interface ;
Original file line number Diff line number Diff line change 13
13
#include < spdlog/spdlog.h>
14
14
#include " controllers/controller_factory.h"
15
15
#include " shared/s2p_exceptions.h"
16
- #include " generated/s2p_interface .pb.h"
16
+ #include " generated/target_api .pb.h"
17
17
18
18
using namespace s2p_util ;
19
19
using namespace s2p_interface ;
Original file line number Diff line number Diff line change 8
8
9
9
#pragma once
10
10
11
- #include " generated/s2p_interface .pb.h"
11
+ #include " generated/target_api .pb.h"
12
12
13
13
using namespace std ;
14
14
using namespace s2p_interface ;
Original file line number Diff line number Diff line change 11
11
#include < string>
12
12
#include < unordered_map>
13
13
#include < vector>
14
- #include " generated/s2p_interface .pb.h"
14
+ #include " generated/target_api .pb.h"
15
15
16
16
using namespace std ;
17
17
using namespace s2p_interface ;
Original file line number Diff line number Diff line change 8
8
9
9
#pragma once
10
10
11
- #include " generated/s2p_interface .pb.h"
11
+ #include " generated/target_api .pb.h"
12
12
13
13
using namespace std ;
14
14
using namespace s2p_interface ;
Original file line number Diff line number Diff line change 16
16
#include " buses/bus_factory.h"
17
17
#include " initiator/initiator_util.h"
18
18
#include " shared/s2p_exceptions.h"
19
- #include " generated/s2p_interface .pb.h"
19
+ #include " generated/target_api .pb.h"
20
20
21
21
using namespace google ::protobuf;
22
22
using namespace google ::protobuf::util;
Original file line number Diff line number Diff line change 12
12
#include < sstream>
13
13
#include < google/protobuf/text_format.h>
14
14
#include < google/protobuf/util/json_util.h>
15
- #include " generated/s2p_interface .pb.h"
15
+ #include " generated/target_api .pb.h"
16
16
17
17
using namespace filesystem ;
18
18
using namespace google ::protobuf;
Original file line number Diff line number Diff line change 10
10
#include " base/property_handler.h"
11
11
#include " s2p/s2p_parser.h"
12
12
#include " shared/s2p_exceptions.h"
13
- #include " generated/s2p_interface .pb.h"
13
+ #include " generated/target_api .pb.h"
14
14
15
15
using namespace s2p_interface ;
16
16
using namespace s2p_parser ;
Original file line number Diff line number Diff line change 13
13
#include " shared/scsi.h"
14
14
#include " base/property_handler.h"
15
15
#include " devices/storage_device.h"
16
- #include " generated/s2p_interface .pb.h"
16
+ #include " generated/target_api .pb.h"
17
17
18
18
using namespace filesystem ;
19
19
using namespace s2p_interface ;
You can’t perform that action at this time.
0 commit comments