22 #ifndef MSG_QUALIFIER_H__
23 #define MSG_QUALIFIER_H__
29 #if defined(__cplusplus)
33 #define MAMA_MSG_QUAL_MAX_STR_LEN (100)
35 #define MAMA_MSG_QUAL_POSSIBLY_DUPLICATE 0x0001
36 #define MAMA_MSG_QUAL_DEFINITELY_DUPLICATE 0x0002
37 #define MAMA_MSG_QUAL_POSSIBLY_DELAYED 0x0004
38 #define MAMA_MSG_QUAL_DEFINITELY_DELAYED 0x0008
39 #define MAMA_MSG_QUAL_OUT_OF_SEQUENCE 0x0010
40 #define MAMA_MSG_QUAL_NOT_USED 0x1000
273 const char* delimiter,
290 const char* delimiter,
295 #if defined(__cplusplus)
MAMAExpDLL mama_status mamaMsgQual_create(mamaMsgQual *msgQual)
Create a mamaMsgQual object.
MAMAExpDLL int mamaMsgQual_equal(const mamaMsgQual lhs, const mamaMsgQual rhs)
Check for equality between two objects.
MAMAExpDLL mama_status mamaMsgQual_getIsDefinitelyDuplicate(mamaMsgQual msgQual, int *result)
Determine whether the message qualifier indicates that the "msg" is Definitely Duplicate.
struct mamaMsgQualImpl_ * mamaMsgQual
Definition: types.h:114
MAMAExpDLL mama_status mamaMsgQual_setIsDefinitelyDelayed(mamaMsgQual msgQual, int state)
Set the bit associated with the Definitely Delayed condition.
MAMAExpDLL mama_status mamaMsgQual_getIsPossiblyDelayed(mamaMsgQual msgQual, int *result)
Determine whether the message qualifier indicates that the "msg" is Possibly Delayed.
MAMAExpDLL mama_status mamaMsgQual_copy(mamaMsgQual dest, const mamaMsgQual src)
Copy a mamaMsgQual object.
const char mamaFtState state
Definition: ft.h:54
MAMAExpDLL mama_status mamaMsgQual_valueToString(mama_u16_t value, const char *delimiter, char *str, mama_size_t maxLen)
Get the message qualifier value as a delimited string.
MAMAExpDLL mama_status mamaMsgQual_setIsPossiblyDelayed(mamaMsgQual msgQual, int state)
Set the bit associated with the Possibly Delayed condition.
uint16_t mama_u16_t
Definition: types.h:37
MAMAExpDLL mama_status mamaMsgQual_getIsOutOfSequence(mamaMsgQual msgQual, int *result)
Determine whether the message qualifier indicates that the "msg" is Out Of Sequence Delayed...
MAMAExpDLL mama_status mamaMsgQual_getIsDefinitelyDelayed(mamaMsgQual msgQual, int *result)
Determine whether the message qualifier indicates that the "msg" is Definitely Delayed.
MAMAExpDLL mama_status mamaMsgQual_setValue(mamaMsgQual msgQual, mama_u16_t value)
Set the value.
MAMAExpDLL mama_status mamaMsgQual_getValue(const mamaMsgQual msgQual, mama_u16_t *value)
Get the message qualifier value.
MAMAExpDLL mama_status mamaMsgQual_getAsString(const mamaMsgQual msgQual, const char *delimiter, char *str, mama_size_t maxLen)
Get the message qualifier value as a delimited string.
mama_status
Definition: status.h:37
size_t mama_size_t
Definition: types.h:47
MAMAExpDLL mama_status mamaMsgQual_clear(mamaMsgQual msgQual)
Clear a mamaMsgQual object.
MAMAExpDLL mama_status mamaMsgQual_setIsPossiblyDuplicate(mamaMsgQual msgQual, int state)
Set the bit associated with the Possibly Duplicate condition.
MAMAExpDLL mama_status mamaMsgQual_setIsOutOfSequence(mamaMsgQual msgQual, int state)
Set the bit associated with the Out Of Sequence condition.
MAMAExpDLL mama_status mamaMsgQual_destroy(mamaMsgQual msgQual)
Destroy a mamaMsgQual object.
MAMAExpDLL mama_status mamaMsgQual_setIsDefinitelyDuplicate(mamaMsgQual msgQual, int state)
Set the bit associated with the Definitely Duplicate condition.
MAMAExpDLL mama_status mamaMsgQual_getIsPossiblyDuplicate(mamaMsgQual msgQual, int *result)
Determine whether the message qualifier indicates that the "msg" is Possibly Duplicate.