Code Review
/
ric-plt
/
lib
/
rmr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix(rtable): Potential memory leak in rte replace
[ric-plt/lib/rmr.git]
/
src
/
common
/
include
/
rmr.h
diff --git
a/src/common/include/rmr.h
b/src/common/include/rmr.h
index
6bfe075
..
e6c1660
100644
(file)
--- a/
src/common/include/rmr.h
+++ b/
src/common/include/rmr.h
@@
-47,6
+47,8
@@
extern "C" {
#define RMR_DEF_SIZE 0 // pass as size to have msg allocation use the default msg size
#define RMR_DEF_SIZE 0 // pass as size to have msg allocation use the default msg size
+#define RMR_VOID_MSGTYPE (-1) // unset/invalid message type and sub id
+#define RMR_VOID_SUBID (-1)
#define RMR_OK 0 // state is good
#define RMR_ERR_BADARG 1 // argument passd to function was unusable
#define RMR_OK 0 // state is good
#define RMR_ERR_BADARG 1 // argument passd to function was unusable