Add transport provider status to message buffer 66/666/2 1.1.0
authorE. Scott Daniels <daniels@research.att.com>
Thu, 8 Aug 2019 14:15:43 +0000 (10:15 -0400)
committerE. Scott Daniels <daniels@research.att.com>
Thu, 8 Aug 2019 16:06:37 +0000 (12:06 -0400)
commitf68c2ced7de2bdfc475a9282cde91a67d83325de
treeeb2785054412ff0a4eb7cc925f30c85849bbf992
parent54098f653ce4977668cc3ea9c0ce546a08ef577c
Add transport provider status to message buffer

This change adds a new field to the message buffer: tp_status.
The field allows the underlying "errno" value set by the
transport provider to be returned, in addition to the RMR
status, as a part of the overall message. In some environments
wrapper code (bindings) does not hav access to the errno value
and thus was unable to have the additional information on
send and receive failures.

The new field constitutes a backwards compatable change to RMR's
API, however the python wrapper API does not change. Minor version
bump, but the wrapper will see only a patch level bump.

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: I1b8a863318e2b2515441f7339b41c2856e46c1e4
12 files changed:
CHANGES
CMakeLists.txt
doc/src/man/rmr_alloc_msg.3.xfm
src/bindings/rmr-python/Changelog.md
src/bindings/rmr-python/rmr/rmr.py
src/bindings/rmr-python/rmr/rmr_mocks/rmr_mocks.py
src/bindings/rmr-python/setup.py
src/bindings/rmr-python/tox.ini
src/rmr/common/include/rmr.h
src/rmr/nng/src/rmr_nng.c
src/rmr/nng/src/sr_nng_static.c
test/rmr_nng_api_static_test.c