Function MQ_local

If you want to check whether a received incoming message was marked as a local message for local delivery, you can call this function. It returns boolean.

/**
 *  Retrieve the local setting
 *
 *  @param  message the message to retrieve the setting from
 *  @return         the local setting
 */
bool MQ_local(MQ_Message *message);

For more info, see the documentation about MQ_setLocal.