From 2495995e6e50be78e8501eeeaf1a1b7cf067e6ae Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 9 Mar 2025 09:30:39 -0500 Subject: testing ConfigSave() and load --- portmap.proto | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'portmap.proto') diff --git a/portmap.proto b/portmap.proto index a3c3964..e9e21ff 100644 --- a/portmap.proto +++ b/portmap.proto @@ -14,13 +14,14 @@ message Events { } message Portmap { - int64 listen = 1; - string connect = 2; + int64 listen = 1; // `autogenpb:unique` + string connect = 2; // `autogenpb:unique` bool enabled = 3; } -message Portmaps { // `autogenpb:marshal` `autogenpb:gui` +message Portmaps { // `autogenpb:marshal` `autogenpb:gui` `autogenpb:nomutex` string uuid = 1; // `autogenpb:uuid:49a865ea-292d-48fd-8dc2-d0f82d5fd016` string version = 2; // `autogenpb:version:v0.0.1` repeated Portmap portmaps = 3; + Events events = 4; } -- cgit v1.2.3