#ifndef __KIT_XML_H_ #define __KIT_XML_H_ #include #include #include #include #include #include "libxml2/include/libxml2/libxml/parser.h" #include "libxml2/include/libxml2/libxml/tree.h" #include "libxml2/include/libxml2/libxml/xmlmemory.h" #define EMS_XML_FILE "EMS_XML.xml" #define NAME_STR_LEN 32 #define DEFAULT_XML_FILE "EMS_XML.xml" //电话通讯录结构体 typedef struct EMS_XML_t { int id; //编号 char can_recv_name[NAME_STR_LEN]; char can_send_name[NAME_STR_LEN]; char can_id_name[NAME_STR_LEN]; char can_recv_dlc[NAME_STR_LEN]; char can_send_dlc[NAME_STR_LEN]; }EMS_XML; void createXml(); void paraXml(); #endif