static DefenderStatus_t matchBridge()

in source/defender.c [305:323]


static DefenderStatus_t matchBridge( const char * pRemainingTopic,
                                     uint16_t remainingTopicLength )
{
    DefenderStatus_t ret = DefenderNoMatch;

    assert( pRemainingTopic != NULL );

    if( remainingTopicLength >= DEFENDER_API_LENGTH_BRIDGE )
    {
        if( strncmp( pRemainingTopic,
                     DEFENDER_API_BRIDGE,
                     ( size_t ) DEFENDER_API_LENGTH_BRIDGE ) == 0 )
        {
            ret = DefenderSuccess;
        }
    }

    return ret;
}