#ifndef KMSG_DEF_H
#define KMSG_DEF_H

//#define KMSG_DEBUG_ON

#define KTAG_TYPE_NULL      0
#define KTAG_TYPE_STRING    1
#define KTAG_TYPE_UINT32    2
#define KTAG_TYPE_UINT16    3
#define KTAG_TYPE_UINT8     4
#define KTAG_TYPE_BYTES     5
#define KTAG_TYPE_FLOAT     6

#define KTAG_DATA_LIMIT     (KMSG_DATA_LIMIT - KMSG_META_LEN - KTAG_META_LEN)
#define KTAG_META_LEN       4

#define KMSG_DATA_LIMIT     1024
#define KMSG_META_LEN       2

#endif
