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/reqrep0 | |
| 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/reqrep0')
| -rw-r--r-- | src/sp/protocol/reqrep0/rep.c | 1 | ||||
| -rw-r--r-- | src/sp/protocol/reqrep0/req.c | 1 | ||||
| -rw-r--r-- | src/sp/protocol/reqrep0/xrep.c | 1 | ||||
| -rw-r--r-- | src/sp/protocol/reqrep0/xreq.c | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/src/sp/protocol/reqrep0/rep.c b/src/sp/protocol/reqrep0/rep.c index ea3e9558..940a79a0 100644 --- a/src/sp/protocol/reqrep0/rep.c +++ b/src/sp/protocol/reqrep0/rep.c @@ -673,7 +673,6 @@ static nni_proto_sock_ops rep0_sock_ops = { }; static nni_proto rep0_proto = { - .proto_version = NNI_PROTOCOL_VERSION, .proto_self = { REP0_SELF, REP0_SELF_NAME }, .proto_peer = { REP0_PEER, REP0_PEER_NAME }, .proto_flags = NNI_PROTO_FLAG_SNDRCV, diff --git a/src/sp/protocol/reqrep0/req.c b/src/sp/protocol/reqrep0/req.c index 451253bd..cc2875ce 100644 --- a/src/sp/protocol/reqrep0/req.c +++ b/src/sp/protocol/reqrep0/req.c @@ -933,7 +933,6 @@ static nni_proto_sock_ops req0_sock_ops = { }; static nni_proto req0_proto = { - .proto_version = NNI_PROTOCOL_VERSION, .proto_self = { REQ0_SELF, REQ0_SELF_NAME }, .proto_peer = { REQ0_PEER, REQ0_PEER_NAME }, .proto_flags = NNI_PROTO_FLAG_SNDRCV, diff --git a/src/sp/protocol/reqrep0/xrep.c b/src/sp/protocol/reqrep0/xrep.c index e0b5fece..2422da0d 100644 --- a/src/sp/protocol/reqrep0/xrep.c +++ b/src/sp/protocol/reqrep0/xrep.c @@ -430,7 +430,6 @@ static nni_proto_sock_ops xrep0_sock_ops = { }; static nni_proto xrep0_proto = { - .proto_version = NNI_PROTOCOL_VERSION, .proto_self = { REP0_SELF, REP0_SELF_NAME }, .proto_peer = { REP0_PEER, REP0_PEER_NAME }, .proto_flags = NNI_PROTO_FLAG_SNDRCV | NNI_PROTO_FLAG_RAW, diff --git a/src/sp/protocol/reqrep0/xreq.c b/src/sp/protocol/reqrep0/xreq.c index 8939d8f4..e99623ea 100644 --- a/src/sp/protocol/reqrep0/xreq.c +++ b/src/sp/protocol/reqrep0/xreq.c @@ -313,7 +313,6 @@ static nni_proto_sock_ops xreq0_sock_ops = { }; static nni_proto xreq0_proto = { - .proto_version = NNI_PROTOCOL_VERSION, .proto_self = { REQ0_SELF, REQ0_SELF_NAME }, .proto_peer = { REQ0_PEER, REQ0_PEER_NAME }, .proto_flags = NNI_PROTO_FLAG_SNDRCV | NNI_PROTO_FLAG_RAW, |
