#ifndef _SCRIPT_H_
#define _SCRIPT_H_

#define   MAX_PATH                   260
#define   ITEM_MAIN_NAME_MAX          32

#define   DATA_COUNT_MAX         (4)
#define   DATA_TYPE_SINGLE_WORD  (1)
#define   DATA_TYPE_STRING       (2)
#define   DATA_TYPE_MULTI_WORD   (3)
#define   DATA_TYPE_GPIO         (4)
#define   DATA_EMPTY			 (5)
typedef struct _script_item
{
	char  item_name[ITEM_MAIN_NAME_MAX];           //主键名称
	int   item_length;                             //主键成员的个数
	int   item_offset;							   //主键成员开始的偏移量
}
script_item_t;

typedef struct _script_head
{
	unsigned   item_num;
	unsigned   length;
	unsigned   version[2];
}
script_head_t;

#endif   //_SCRIPT_H_