[ PATCH 2.1 1/1 ] mamac: add payload enumerator for RaiMsg


David @ Rai Technology
 

This patch adds a new payload type MAMA_PAYLOAD_RAI to the current set of payload types enumerated in msg.c
This has no impact other than to allow the Rai Technology middleware and payload bridges to load and run.

Signed-off-by: David Ashburner <dna@...>

---

diff --git a/mama/c_cpp/src/c/mama/msg.h b/mama/c_cpp/src/c/mama/msg.h
index 5094ac9..d27dc3d 100644
--- a/mama/c_cpp/src/c/mama/msg.h
+++ b/mama/c_cpp/src/c/mama/msg.h
@@ -47,6 +47,7 @@ typedef enum mamaPayloadType_
     MAMA_PAYLOAD_FAST       = 'F',
     MAMA_PAYLOAD_V5         = '5',
     MAMA_PAYLOAD_AVIS       = 'A',
+    MAMA_PAYLOAD_RAI        = 'I',
     MAMA_PAYLOAD_UNKNOWN    = 'U'
 } mamaPayloadType;


diff --git a/mama/c_cpp/src/c/msg.c b/mama/c_cpp/src/c/msg.c
index 1daf82f..beb0da2 100644
--- a/mama/c_cpp/src/c/msg.c
+++ b/mama/c_cpp/src/c/msg.c
@@ -371,6 +371,8 @@ mamaPayload_convertToString (mamaPayloadType payloadType)
             return "V5";
         case MAMA_PAYLOAD_AVIS:
             return "AVIS";
+        case MAMA_PAYLOAD_RAI:
+            return "rai";
         default:
             return "unknown";
     }