summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2023-03-14 12:50:21 +0100
committerSander Vrijders <sander@ouroboros.rocks>2023-03-18 17:12:26 +0100
commit975a3ad0c761f5603a5026a56d825ba0ccb591c9 (patch)
tree6a50ebd91cbcf91e3186afe5c77b61ba97fc1cf1 /src
parent0930b871653bcbc8c6efe44345887dcf6a9f455a (diff)
downloadouroboros-975a3ad0c761f5603a5026a56d825ba0ccb591c9.tar.gz
ouroboros-975a3ad0c761f5603a5026a56d825ba0ccb591c9.zip
lib: Remove semicolon after protobuf messages
Doesn't seem to be needed, this makes it uniform in all protobuf files. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src')
-rw-r--r--src/ipcpd/unicast/dir/kademlia.proto4
-rw-r--r--src/lib/ipcpd_messages.proto4
-rw-r--r--src/lib/irmd_messages.proto8
-rw-r--r--src/lib/qosspec.proto2
4 files changed, 9 insertions, 9 deletions
diff --git a/src/ipcpd/unicast/dir/kademlia.proto b/src/ipcpd/unicast/dir/kademlia.proto
index 5f0f9d4e..1cd890af 100644
--- a/src/ipcpd/unicast/dir/kademlia.proto
+++ b/src/ipcpd/unicast/dir/kademlia.proto
@@ -25,7 +25,7 @@ syntax = "proto2";
message kad_contact_msg {
required bytes id = 1;
required uint64 addr = 2;
-};
+}
message kad_msg {
required uint32 code = 1;
@@ -42,4 +42,4 @@ message kad_msg {
optional uint32 t_expire = 11;
optional uint32 t_refresh = 12;
optional uint32 t_replicate = 13;
-}; \ No newline at end of file
+} \ No newline at end of file
diff --git a/src/lib/ipcpd_messages.proto b/src/lib/ipcpd_messages.proto
index 05831fa0..c985b752 100644
--- a/src/lib/ipcpd_messages.proto
+++ b/src/lib/ipcpd_messages.proto
@@ -38,7 +38,7 @@ enum ipcp_msg_code {
IPCP_CONNECT = 10;
IPCP_DISCONNECT = 11;
IPCP_REPLY = 12;
-};
+}
message ipcp_msg {
required ipcp_msg_code code = 1;
@@ -55,4 +55,4 @@ message ipcp_msg {
optional uint32 timeo_sec = 12;
optional sint32 mpl = 13;
optional int32 result = 14;
-};
+}
diff --git a/src/lib/irmd_messages.proto b/src/lib/irmd_messages.proto
index 8cf5da9e..41ef8595 100644
--- a/src/lib/irmd_messages.proto
+++ b/src/lib/irmd_messages.proto
@@ -51,19 +51,19 @@ enum irm_msg_code {
IPCP_FLOW_REQ_ARR = 23;
IPCP_FLOW_ALLOC_REPLY = 24;
IRM_REPLY = 25;
-};
+}
message ipcp_info_msg {
required uint32 pid = 1;
required uint32 type = 2;
required string name = 3;
required string layer = 4;
-};
+}
message name_info_msg {
required string name = 1;
required uint32 pol_lb = 2;
-};
+}
message irm_msg {
required irm_msg_code code = 1;
@@ -88,4 +88,4 @@ message irm_msg {
optional string comp = 20;
optional bytes pk = 21; /* piggyback */
optional sint32 result = 22;
-};
+}
diff --git a/src/lib/qosspec.proto b/src/lib/qosspec.proto
index e0400350..81d0e4a0 100644
--- a/src/lib/qosspec.proto
+++ b/src/lib/qosspec.proto
@@ -32,4 +32,4 @@ message qosspec_msg {
required uint32 max_gap = 7; /* In ms. */
required uint32 cypher_s = 8; /* Crypto strength in bits. */
required uint32 timeout = 9; /* Timeout in ms. */
-};
+}