def get_entry_size(dt_version):
    """Returns the entry size according to the dt version"""
    if dt_version == 1:
        return 20
    elif dt_version == 2:
        return 24
    else:
        return 40