#ifndef SPAY_MSG_H_
#define SPAY_MSG_H_

#include "tz_msg.h"
#define SPAY_MAX_MAGICNUM_SIZE      4
#define SPAY_INVALID_VERSION_ERR    0x0000FFF1
#define SPAY_INVALID_MAGIC_ERR      0x0000FFF2

PACK(
typedef struct spay_msg_hdr {
	tz_msg_header_t header;
	int32_t version;
	uint8_t magicnum[SPAY_MAX_MAGICNUM_SIZE];
} ) spay_msg_hdr_t;

#endif /* SPAY_MSG_H_ */
