Classes Files

integration/msgutils.h

Source code


#if defined (OPENMAMA_INTEGRATION) && ! defined (OPENMAMA_INTEGRATION_MSGUTILS_H__)
#define OPENMAMA_INTEGRATION_MSGUTILS_H__

#include <mama/mama.h>

#if defined (__cplusplus)
extern "C"
{
#endif

MAMAExpDLL
mama_status
msgUtils_getIssueSymbol            (mamaMsg msg, const char** result);

MAMAExpDLL
mama_status
msgUtils_setStatus                 (mamaMsg msg, short status);

MAMAExpDLL
mama_status
msgUtils_msgTotal                  (mamaMsg msg, short* result);

MAMAExpDLL
mama_status 
msgUtils_msgNum                    (mamaMsg msg, short* result);

MAMAExpDLL
mama_status
msgUtils_msgSubscMsgType           (mamaMsg msg, short* result);

MAMAExpDLL
mama_status 
msgUtils_createSubscriptionMessage (mamaSubscription  subscription,
                                    mamaSubscMsgType  subscMsgType,
                                    mamaMsg*          msg,
                                    const char*       issueSymbol);

MAMAExpDLL
mama_status
msgUtils_createSubscribeMsg        (mamaSubscription subsc, mamaMsg* result);

MAMAExpDLL
mama_status
msgUtils_createResubscribeMessage  (mamaMsg* result);

MAMAExpDLL
mama_status
msgUtils_createRefreshMsg          (mamaSubscription subsc, mamaMsg* result);

MAMAExpDLL
mama_status
msgUtils_createTimeoutMsg          (mamaMsg* msg);

MAMAExpDLL
mama_status
msgUtils_createEndOfInitialsMsg    (mamaMsg* msg);

MAMAExpDLL
mama_status
msgUtils_createRecoveryRequestMsg  (mamaSubscription subsc, 
                                    short            reason,
                                    mamaMsg*         result, 
                                    const char*      issueSymbol);

MAMAExpDLL
mama_status
msgUtils_setSubscSubject           (mamaMsg msg, const char* sendSubject);

MAMAExpDLL
mama_status 
msgUtils_createUnsubscribeMsg      (mamaSubscription subsc, mamaMsg* msg);

MAMAExpDLL
mama_status
msgUtils_createDictionarySubscribe (mamaSubscription subscription, 
                                    mamaMsg*         msg);

MAMAExpDLL
mama_status
msgUtils_createSnapshotSubscribe   (mamaSubscription subsc, mamaMsg* msg);

MAMAExpDLL
mama_status
msgUtils_msgTotal                  (mamaMsg msg, short* result);

MAMAExpDLL
mama_status
msgUtils_msgNum                    (mamaMsg msg, short* result);

#if defined (__cplusplus)
}
#endif

#endif /* OPENMAMA_INTEGRATION_MSGUTILS_H__ */

Updated on 2023-03-31 at 15:29:16 +0100