diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-10-25 20:28:43 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-10-25 20:28:43 -0700 |
| commit | c2aa8c12e705ba77f3d2d28c5ba0a9ec7efb7632 (patch) | |
| tree | 29d666d89ac98c1a1b7259b2cf5b12af2c30c919 /src/sp/protocol/pubsub0 | |
| parent | cc419cf01d9c060a3bd3fc318f9b9bc9e736dae9 (diff) | |
| download | nng-c2aa8c12e705ba77f3d2d28c5ba0a9ec7efb7632.tar.gz nng-c2aa8c12e705ba77f3d2d28c5ba0a9ec7efb7632.tar.bz2 nng-c2aa8c12e705ba77f3d2d28c5ba0a9ec7efb7632.zip | |
Drop the protocol version for internal implementations.
The ops vector / protocol API/ABI were meant to support external
implementations, but we have moved away from having pluggable protocols,
and we aren't likely to support it any time soon.
Diffstat (limited to 'src/sp/protocol/pubsub0')
| -rw-r--r-- | src/sp/protocol/pubsub0/pub.c | 2 | ||||
| -rw-r--r-- | src/sp/protocol/pubsub0/sub.c | 1 | ||||
| -rw-r--r-- | src/sp/protocol/pubsub0/xsub.c | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/src/sp/protocol/pubsub0/pub.c b/src/sp/protocol/pubsub0/pub.c index bc0e5d66..97566a11 100644 --- a/src/sp/protocol/pubsub0/pub.c +++ b/src/sp/protocol/pubsub0/pub.c @@ -410,7 +410,6 @@ static nni_proto_sock_ops pub0_sock_ops = { }; static nni_proto pub0_proto = { - .proto_version = NNI_PROTOCOL_VERSION, .proto_self = { NNI_PROTO_PUB_V0, "pub" }, .proto_peer = { NNI_PROTO_SUB_V0, "sub" }, .proto_flags = NNI_PROTO_FLAG_SND, @@ -419,7 +418,6 @@ static nni_proto pub0_proto = { }; static nni_proto pub0_proto_raw = { - .proto_version = NNI_PROTOCOL_VERSION, .proto_self = { NNI_PROTO_PUB_V0, "pub" }, .proto_peer = { NNI_PROTO_SUB_V0, "sub" }, .proto_flags = NNI_PROTO_FLAG_SND | NNI_PROTO_FLAG_RAW, diff --git a/src/sp/protocol/pubsub0/sub.c b/src/sp/protocol/pubsub0/sub.c index 487d82c8..9176ad1c 100644 --- a/src/sp/protocol/pubsub0/sub.c +++ b/src/sp/protocol/pubsub0/sub.c @@ -683,7 +683,6 @@ static nni_proto_sock_ops sub0_sock_ops = { }; static nni_proto sub0_proto = { - .proto_version = NNI_PROTOCOL_VERSION, .proto_self = { NNI_PROTO_SUB_V0, "sub" }, .proto_peer = { NNI_PROTO_PUB_V0, "pub" }, .proto_flags = NNI_PROTO_FLAG_RCV, diff --git a/src/sp/protocol/pubsub0/xsub.c b/src/sp/protocol/pubsub0/xsub.c index 7fdcf341..785c0ae9 100644 --- a/src/sp/protocol/pubsub0/xsub.c +++ b/src/sp/protocol/pubsub0/xsub.c @@ -203,7 +203,6 @@ static nni_proto_sock_ops xsub0_sock_ops = { }; static nni_proto xsub0_proto = { - .proto_version = NNI_PROTOCOL_VERSION, .proto_self = { NNI_PROTO_SUB_V0, "sub" }, .proto_peer = { NNI_PROTO_PUB_V0, "pub" }, .proto_flags = NNI_PROTO_FLAG_RCV | NNI_PROTO_FLAG_RAW, |
