feat(API): Add subscription id and source retrieval 67/67/5
authorE. Scott Daniels <daniels@research.att.com>
Fri, 19 Apr 2019 21:12:25 +0000 (21:12 +0000)
committerE. Scott Daniels <daniels@research.att.com>
Mon, 22 Apr 2019 14:37:09 +0000 (14:37 +0000)
commitc1aee2b63a523a461e96a8d358c73dd8a9e9e6a2
treee705ef1a1965d49b688cfa2962dd036bc0d71632
parent08aee4ae090afcf804aaa33d219c224ac2e8d399
feat(API): Add subscription id and source retrieval

Subscription id is needed for applications which wish to route
messages based on subscription rather than message type. This
field is now available to user applications by the sub_id
field in the message.  Subscription based applications may also
need to have access to the message source, so a get source
function has been added.

Change-Id: I796392a6e3899e8f01a3292796e54e7abd56c32f
Signed-off-by: E. Scott Daniels <daniels@research.att.com>
CMakeLists.txt
doc/CMakeLists.txt
doc/src/man/rmr.7.xfm
doc/src/man/rmr_get_src.3.xfm [new file with mode: 0644]
src/common/include/rmr.h
src/common/include/rmr_agnostic.h
src/common/src/mbuf_api.c
src/nanomsg/src/sr_static.c
src/nng/src/sr_nng_static.c
test/mbuf_api_static_test.c