00001 /* 00002 * This program is free software; you can redistribute it and/or modify 00003 * it under the terms of the GNU General Public License as published by 00004 * the Free Software Foundation; either version 2 of the License, or 00005 * (at your option) any later version. 00006 * 00007 * This program is distributed in the hope that it will be useful, 00008 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00009 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00010 * GNU General Public License for more details. 00011 * 00012 * You should have received a copy of the GNU General Public License 00013 * along with this program; if not, write to the Free Software 00014 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00015 * 00016 * (c)Copyright 2006 Hewlett-Packard Development Company, LP. 00017 * 00018 */ 00019 00020 #ifndef _GENERATOR_XML_DATA_H 00021 #define _GENERATOR_XML_DATA_H 00022 00023 #include "string_t.hpp" 00024 #include "list_t.hpp" 00025 #include "map_t.hpp" 00026 00027 typedef struct _xml_trans_def { 00028 char* m_name ; 00029 char* m_init_args ; 00030 char* m_library_file_name ; 00031 char* m_instance_create_fct_name ; 00032 char* m_instance_delete_fct_name ; 00033 char* m_protocol_name ; 00034 } T_xml_transport_definition, 00035 *T_pXml_transport_definition ; 00036 00037 typedef list_t<T_pXml_transport_definition> T_Xml_trans_def_list ; 00038 00039 typedef struct _xml_cmd_def { 00040 char *m_name ; 00041 char *m_entity_concerned ; 00042 char *m_args ; 00043 } T_xml_cmd_definiton, 00044 *T_pXml_cmd_definition ; 00045 00046 typedef list_t<T_pXml_cmd_definition> T_Xml_cmd_def_list ; 00047 00048 typedef map_t<string_t, int> T_Xml_trans_name_map, 00049 *T_pXml_trans_name_map; 00050 00051 typedef struct _xml_channel_def { 00052 char *m_name ; 00053 char *m_transport ; 00054 } T_Xml_channel_definition, 00055 *T_pXml_channel_definition ; 00056 00057 typedef list_t<T_pXml_channel_definition> T_Xml_channel_def_list ; 00058 00059 typedef map_t<string_t, int> T_Xml_channel_name_map, 00060 *T_pXml_channel_name_map; 00061 00062 #endif // _GENERATOR_XML_DATA_H