def METHOD_NAME(config, param=None, user=None):
    """
    Returns a list of audit entries, supports pagination
    :param config: The config entries from the file config
    :return: Audit dictionary with information about the previous and next
    pages.
    """
    audit = getAudit(config)
    sortorder = "desc"
    page_size = 15
    page = 1
    timelimit = None
    hidden_columns = []
    # The filtering dictionary
    param = param or {}
    # special treatment for:
    # sortorder, page, pagesize
    if "sortorder" in param:
        sortorder = param["sortorder"]
        del param["sortorder"]
    if "page" in param:
        page = param["page"]
        del param["page"]
    if "page_size" in param:
        page_size = param["page_size"]
        del param["page_size"]
    if "timelimit" in param:
        timelimit = parse_timedelta(param["timelimit"])
        del param["timelimit"]
    if "hidden_columns" in param:
        hidden_columns = param["hidden_columns"]
        del param["hidden_columns"]
    pagination = audit.METHOD_NAME(param, sortorder=sortorder, page=page,
                              page_size=page_size, timelimit=timelimit)
    # delete hidden columns from response
    if hidden_columns:
        for i in range(len(pagination.auditdata)):
            pagination.auditdata[i] = OrderedDict({audit_col: value for audit_col, value in
                                                   pagination.auditdata[i].items()
                                                   if audit_col not in hidden_columns})
    visible_columns = [col for col in audit.available_audit_columns if col not in hidden_columns]
    ret = {"auditdata": pagination.auditdata,
           "auditcolumns": visible_columns,
           "prev": pagination.prev,
           "next": pagination.next,
           "current": pagination.page,
           "count": pagination.total}
    return ret