static DetectEngineThreadCtx *GetTenantById(HashTable *h, uint32_t id)
{
    /* technically we need to pass a DetectEngineThreadCtx struct with the
     * tentant_id member. But as that member is the first in the struct, we
     * can use the id directly. */
    return HashTableLookup(h, &id, 0);
}
static DetectEngineThreadCtx *GetTenantById(HashTable *h, uint32_t id)
{
     
    return HashTableLookup(h, &id, 0);
}