Blame source/vdo/base/dirtyListsInternals.h

Packit b55c50
/*
Packit b55c50
 * Copyright (c) 2020 Red Hat, Inc.
Packit b55c50
 *
Packit b55c50
 * This program is free software; you can redistribute it and/or
Packit b55c50
 * modify it under the terms of the GNU General Public License
Packit b55c50
 * as published by the Free Software Foundation; either version 2
Packit b55c50
 * of the License, or (at your option) any later version.
Packit b55c50
 * 
Packit b55c50
 * This program is distributed in the hope that it will be useful,
Packit b55c50
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit b55c50
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit b55c50
 * GNU General Public License for more details.
Packit b55c50
 * 
Packit b55c50
 * You should have received a copy of the GNU General Public License
Packit b55c50
 * along with this program; if not, write to the Free Software
Packit b55c50
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
Packit b55c50
 * 02110-1301, USA. 
Packit b55c50
 *
Packit b55c50
 * $Id: //eng/vdo-releases/aluminum/src/c++/vdo/base/dirtyListsInternals.h#1 $
Packit b55c50
 */
Packit b55c50
Packit b55c50
#ifndef DIRTY_LISTS_INTERNALS_H
Packit b55c50
#define DIRTY_LISTS_INTERNALS_H
Packit b55c50
Packit b55c50
#include "dirtyLists.h"
Packit b55c50
#include "types.h"
Packit b55c50
Packit b55c50
/**
Packit b55c50
 * Get the next period from a DirtyLists. This method is used by unit tests.
Packit b55c50
 *
Packit b55c50
 * @param dirtyLists  The DirtyLists to examine
Packit b55c50
 **/
Packit b55c50
SequenceNumber getDirtyListsNextPeriod(DirtyLists *dirtyLists)
Packit b55c50
  __attribute__((warn_unused_result));
Packit b55c50
Packit b55c50
#endif // DIRTY_LISTS_INTERNALS_H