Next: , Previous: , Up: Miscellaneous Topics   [Contents][Index]

6.3 Messages and Message Lists

QSMM uses message lists to return error, warning, and note messages as part of a result of the following operations:

Besides that, you can use the Message List API to return lists of messages from functions you develop.

A handle of qsmm_msglist_t type refers to a message list. A handle of qsmm_msg_t type refers to an individual message. The function qsmm_msglist_create creates an empty message list. You pass the empty message list to an API function that can fill it with messages. The function qsmm_msglist_dump dumps all messages in a message list to a stream. After using the message list, you destroy it by the function qsmm_msglist_destroy.