#ifndef msvpvf_common_h
#define msvpvf_common_h

#include <stdio.h>
#include <stdint.h>

#ifndef ARRAYSIZE
#define ARRAYSIZE(x) \
	(sizeof(x)/sizeof((x)[0]))
#endif

enum types {
	TYPES_UNKNOWN = 0,
	TYPES_VF,
	TYPES_VEG
};

int set_file_information(FILE* target, uint8_t version, enum types type);
int get_file_information(FILE* input, uint8_t* version, enum types* type);

#endif /* msvpvf_common_h */
