thin-provisioning-tools/caching/restore_emitter.h
Joe Thornber 4da8d19f29 [cache_restore] The metadata version and clean shutdown flags were
swapped.

Reveal by failing --omit-clean-shutdown test
2017-08-29 12:33:32 +01:00

24 lines
477 B
C++

#ifndef CACHE_RESTORE_EMITTER_H
#define CACHE_RESTORE_EMITTER_H
#include "emitter.h"
#include "metadata.h"
//----------------------------------------------------------------
namespace caching {
enum shutdown_type {
CLEAN_SHUTDOWN,
NO_CLEAN_SHUTDOWN
};
emitter::ptr create_restore_emitter(metadata::ptr md,
unsigned metadata_version,
shutdown_type st = CLEAN_SHUTDOWN);
}
//----------------------------------------------------------------
#endif