Go to the source code of this file.
Macros | |
#define | MAMA_MSG_QUAL_MAX_STR_LEN (100) |
#define | MAMA_MSG_QUAL_POSSIBLY_DUPLICATE 0x0001 |
#define | MAMA_MSG_QUAL_DEFINITELY_DUPLICATE 0x0002 |
#define | MAMA_MSG_QUAL_POSSIBLY_DELAYED 0x0004 |
#define | MAMA_MSG_QUAL_DEFINITELY_DELAYED 0x0008 |
#define | MAMA_MSG_QUAL_OUT_OF_SEQUENCE 0x0010 |
#define | MAMA_MSG_QUAL_NOT_USED 0x1000 |
Functions | |
MAMAExpDLL mama_status | mamaMsgQual_create (mamaMsgQual *msgQual) |
Create a mamaMsgQual object. More... | |
MAMAExpDLL mama_status | mamaMsgQual_destroy (mamaMsgQual msgQual) |
Destroy a mamaMsgQual object. More... | |
MAMAExpDLL mama_status | mamaMsgQual_clear (mamaMsgQual msgQual) |
Clear a mamaMsgQual object. More... | |
MAMAExpDLL mama_status | mamaMsgQual_copy (mamaMsgQual dest, const mamaMsgQual src) |
Copy a mamaMsgQual object. More... | |
MAMAExpDLL int | mamaMsgQual_equal (const mamaMsgQual lhs, const mamaMsgQual rhs) |
Check for equality between two objects. More... | |
MAMAExpDLL mama_status | mamaMsgQual_setValue (mamaMsgQual msgQual, mama_u16_t value) |
Set the value. More... | |
MAMAExpDLL mama_status | mamaMsgQual_setIsDefinitelyDuplicate (mamaMsgQual msgQual, int state) |
Set the bit associated with the Definitely Duplicate condition. More... | |
MAMAExpDLL mama_status | mamaMsgQual_setIsPossiblyDuplicate (mamaMsgQual msgQual, int state) |
Set the bit associated with the Possibly Duplicate condition. More... | |
MAMAExpDLL mama_status | mamaMsgQual_setIsDefinitelyDelayed (mamaMsgQual msgQual, int state) |
Set the bit associated with the Definitely Delayed condition. More... | |
MAMAExpDLL mama_status | mamaMsgQual_setIsPossiblyDelayed (mamaMsgQual msgQual, int state) |
Set the bit associated with the Possibly Delayed condition. More... | |
MAMAExpDLL mama_status | mamaMsgQual_setIsOutOfSequence (mamaMsgQual msgQual, int state) |
Set the bit associated with the Out Of Sequence condition. More... | |
MAMAExpDLL mama_status | mamaMsgQual_getIsDefinitelyDuplicate (mamaMsgQual msgQual, int *result) |
Determine whether the message qualifier indicates that the "msg" is Definitely Duplicate. More... | |
MAMAExpDLL mama_status | mamaMsgQual_getIsPossiblyDuplicate (mamaMsgQual msgQual, int *result) |
Determine whether the message qualifier indicates that the "msg" is Possibly Duplicate. More... | |
MAMAExpDLL mama_status | mamaMsgQual_getIsDefinitelyDelayed (mamaMsgQual msgQual, int *result) |
Determine whether the message qualifier indicates that the "msg" is Definitely Delayed. More... | |
MAMAExpDLL mama_status | mamaMsgQual_getIsPossiblyDelayed (mamaMsgQual msgQual, int *result) |
Determine whether the message qualifier indicates that the "msg" is Possibly Delayed. More... | |
MAMAExpDLL mama_status | mamaMsgQual_getIsOutOfSequence (mamaMsgQual msgQual, int *result) |
Determine whether the message qualifier indicates that the "msg" is Out Of Sequence Delayed. More... | |
MAMAExpDLL mama_status | mamaMsgQual_getValue (const mamaMsgQual msgQual, mama_u16_t *value) |
Get the message qualifier value. More... | |
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. More... | |
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. More... | |
#define MAMA_MSG_QUAL_MAX_STR_LEN (100) |
#define MAMA_MSG_QUAL_POSSIBLY_DUPLICATE 0x0001 |
#define MAMA_MSG_QUAL_DEFINITELY_DUPLICATE 0x0002 |
#define MAMA_MSG_QUAL_POSSIBLY_DELAYED 0x0004 |
#define MAMA_MSG_QUAL_DEFINITELY_DELAYED 0x0008 |
#define MAMA_MSG_QUAL_OUT_OF_SEQUENCE 0x0010 |
#define MAMA_MSG_QUAL_NOT_USED 0x1000 |
MAMAExpDLL mama_status mamaMsgQual_create | ( | mamaMsgQual * | msgQual) |
Create a mamaMsgQual object.
msgQual | The location of a mamaMsgQual where to store the result. |
MAMAExpDLL mama_status mamaMsgQual_destroy | ( | mamaMsgQual | msgQual) |
Destroy a mamaMsgQual object.
msgQual | The object to destroy. |
MAMAExpDLL mama_status mamaMsgQual_clear | ( | mamaMsgQual | msgQual) |
Clear a mamaMsgQual object.
msgQual | The object to clear. |
MAMAExpDLL mama_status mamaMsgQual_copy | ( | mamaMsgQual | dest, |
const mamaMsgQual | src | ||
) |
Copy a mamaMsgQual object.
The destination object must have already been allocated using mamaMsgQual_create().
dest | The destination mamaMsgQual. |
src | The mamaMsgQual to copy. |
MAMAExpDLL int mamaMsgQual_equal | ( | const mamaMsgQual | lhs, |
const mamaMsgQual | rhs | ||
) |
Check for equality between two objects.
lhs | The first object to compare. |
rhs | The second object to compare. |
MAMAExpDLL mama_status mamaMsgQual_setValue | ( | mamaMsgQual | msgQual, |
mama_u16_t | value | ||
) |
Set the value.
msgQual | The object to set. |
value | The value to set to. |
MAMAExpDLL mama_status mamaMsgQual_setIsDefinitelyDuplicate | ( | mamaMsgQual | msgQual, |
int | state | ||
) |
Set the bit associated with the Definitely Duplicate condition.
msgQual | The object to set. |
state | Zero value clears Definitely Duplicate bit. Non-zero value sets Definitely Duplicate bit. |
MAMAExpDLL mama_status mamaMsgQual_setIsPossiblyDuplicate | ( | mamaMsgQual | msgQual, |
int | state | ||
) |
Set the bit associated with the Possibly Duplicate condition.
msgQual | The object to set. |
state | Zero value clears Possibly Duplicate bit. Non-zero value sets Possibly Duplicate bit. |
MAMAExpDLL mama_status mamaMsgQual_setIsDefinitelyDelayed | ( | mamaMsgQual | msgQual, |
int | state | ||
) |
Set the bit associated with the Definitely Delayed condition.
msgQual | The object to set. |
state | Zero value clears Definitely Delayed bit. Non-zero value sets Definitely Delayed bit. |
MAMAExpDLL mama_status mamaMsgQual_setIsPossiblyDelayed | ( | mamaMsgQual | msgQual, |
int | state | ||
) |
Set the bit associated with the Possibly Delayed condition.
msgQual | The object to set. |
state | Zero value clears Possibly Delayed bit. Non-zero value sets Possibly Delayed bit. |
MAMAExpDLL mama_status mamaMsgQual_setIsOutOfSequence | ( | mamaMsgQual | msgQual, |
int | state | ||
) |
Set the bit associated with the Out Of Sequence condition.
msgQual | The object to set. |
state | Zero value clears Out Of Sequence bit. Non-zero value sets Out Of Sequence bit. |
MAMAExpDLL mama_status mamaMsgQual_getIsDefinitelyDuplicate | ( | mamaMsgQual | msgQual, |
int * | result | ||
) |
Determine whether the message qualifier indicates that the "msg" is Definitely Duplicate.
msgQual | The mamaMsgQual object. |
result | (out) Pointer to the result. "1" indicates a positive result. "0" indicates a negative result. |
MAMAExpDLL mama_status mamaMsgQual_getIsPossiblyDuplicate | ( | mamaMsgQual | msgQual, |
int * | result | ||
) |
Determine whether the message qualifier indicates that the "msg" is Possibly Duplicate.
msgQual | The mamaMsgQual object. |
result | (out) Pointer to the result. "1" indicates a positive result. "0" indicates a negative result. |
MAMAExpDLL mama_status mamaMsgQual_getIsDefinitelyDelayed | ( | mamaMsgQual | msgQual, |
int * | result | ||
) |
Determine whether the message qualifier indicates that the "msg" is Definitely Delayed.
msgQual | The mamaMsgQual object. |
result | (out) Pointer to the result. "1" indicates a positive result. "0" indicates a negative result. |
MAMAExpDLL mama_status mamaMsgQual_getIsPossiblyDelayed | ( | mamaMsgQual | msgQual, |
int * | result | ||
) |
Determine whether the message qualifier indicates that the "msg" is Possibly Delayed.
msgQual | The mamaMsgQual object. |
result | (out) Pointer to the result. "1" indicates a positive result. "0" indicates a negative result. |
MAMAExpDLL mama_status mamaMsgQual_getIsOutOfSequence | ( | mamaMsgQual | msgQual, |
int * | result | ||
) |
Determine whether the message qualifier indicates that the "msg" is Out Of Sequence Delayed.
msgQual | The mamaMsgQual object. |
result | (out) Pointer to the result. "1" indicates a positive result. "0" indicates a negative result. |
MAMAExpDLL mama_status mamaMsgQual_getValue | ( | const mamaMsgQual | msgQual, |
mama_u16_t * | value | ||
) |
Get the message qualifier value.
msgQual | The mamaMsgQual object. |
value | The integer value of the message qualifier. |
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.
msgQual | The mamaMsgQual object. |
delimiter | The delimiter to separate individual condition strings. |
str | The string buffer to update. |
maxLen | The maximum size of the string buffer (including trailing '\0'). |
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.
value | The value of the message qualifier. |
delimiter | The delimiter to separate individual conditions strings. |
str | The string buffer to update. |
maxLen | The maximum size of the string buffer (including trailing '\0'). |