From fbc0ebb96bb15e9c73d8537490aee0e67d4b83a9 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 10 May 2019 12:36:09 -0700 Subject: [PATCH] works against example in dnssecsocket/example-protobuf/ Signed-off-by: Jeff Carr --- events.proto | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/events.proto b/events.proto index 9c1c8a4..34db9ff 100644 --- a/events.proto +++ b/events.proto @@ -10,17 +10,18 @@ enum EventType { MIGRATE = 5; } - -message Result { - string name = 1; - string error = 2; - repeated string snippets = 3; +message Response { + EventType type = 1; + int32 id = 2; + string name = 3; + string error = 4; + repeated string snippets = 5; } message Event { EventType type = 1; int32 id = 2; - Result result = 3; + repeated Response result = 3; string name = 4; string comment = 5;