#include <ctype.h>
#include "libvolume_id.h"
+#include "libvolume_id-private.h"
#include "util.h"
#define SECTOR_SHIFT 9
volume_id_set_usage(id, VOLUME_ID_CRYPTO);
volume_id_set_uuid(id, header->uuid, 36, UUID_HEX_STRING);
+ snprintf(id->type_version, sizeof(header->version), "%u", le16_to_cpu(header->version));
id->type = "crypto_LUKS";
return 0;
}