ENGINE_LINKAGE int contentMatch(void *p, ContentInfo* content, const uint8_t **cursor)
{
    int ret = contentMatchInternal(p, content, cursor);
    if (ret < 0)
        return CONTENT_NOMATCH;
    if (content->flags & NOT_FLAG)
        return invertMatchResult(ret);
    return ret;
}
ENGINE_LINKAGE int contentMatch(void *p, ContentInfo* content, const uint8_t **cursor)
{
    if (content->flags & NOT_FLAG)
        return invertMatchResult(contentMatchInternal(p, content, cursor));
    return contentMatchInternal(p, content, cursor);
}