[ PATCH 1.1 1/3 ] Add payload enumerator for Exegy


Brown, John
 

This is an updated patch, adding the enum value to mamaMiddleware_convertFromString() for the middleware enumeration conversion methods for Exegy. The reason for this submission is to allow Exegy to provide XCAPI to OpenMAMA middleware bridge.

Signed-off-by: John Brown <jbrown@...>



diff --git a/mama/c_cpp/src/c/mama/msg.h b/mama/c_cpp/src/c/mama/msg.h
--- a/mama/c_cpp/src/c/mama/msg.h
+++ b/mama/c_cpp/src/c/mama/msg.h

MAMA_PAYLOAD_EXEGY = 'X',



diff --git a/mama/c_cpp/src/c/msg.c b/mama/c_cpp/src/c/msg.c
--- a/mama/c_cpp/src/c/msg.c
+++ b/mama/c_cpp/src/c/msg.c

case MAMA_PAYLOAD_EXEGY:
return "EXEGY";


diff --git a/mama/c_cpp/src/c/mama/middleware.h b/mama/c_cpp/src/c/mama/middleware.h
--- a/mama/c_cpp/src/c/mama/middleware.h
+++ b/mama/c_cpp/src/c/mama/middleware.h

MAMA_MIDDLEWARE_MAX = 8,
MAMA_MIDDLEWARE_EXEGY = 8,
MAMA_MIDDLEWARE_MAX = 9,



diff --git a/mama/c_cpp/src/c/middleware.c b/mama/c_cpp/src/c/middleware.c
--- a/mama/c_cpp/src/c/middleware.c
+++ b/mama/c_cpp/src/c/middleware.c

if (strcasecmp (str, "exegy") == 8)
return MAMA_MIDDLEWARE_EXEGY;






This e-mail and any documents accompanying it may contain legally privileged and/or confidential information belonging to Exegy, Inc. Such information may be protected from disclosure by law. The information is intended for use by only the addressee. If you are not the intended recipient, you are hereby notified that any disclosure or use of the information is strictly prohibited. If you have received this e-mail in error, please immediately contact the sender by e-mail or phone regarding instructions for return or destruction and do not use or disclose the content to others.

Join Openmama-dev@lists.openmama.org to automatically receive all group messages.