00001 /*[ 00002 * Copyright (c) 2007 Integration Engineering Laboratory 00003 University of California, Davis 00004 * 00005 * Permission to use, copy, and distribute this software and its 00006 * documentation for any purpose with or without fee is hereby granted, 00007 * provided that the above copyright notice appear in all copies and 00008 * that both that copyright notice and this permission notice appear 00009 * in supporting documentation. 00010 * 00011 * Permission to modify the software is granted, but not the right to 00012 * distribute the complete modified source code. Modifications are to 00013 * be distributed as patches to the released version. Permission to 00014 * distribute binaries produced by compiling modified sources is granted, 00015 * provided you 00016 * 1. distribute the corresponding source modifications from the 00017 * released version in the form of a patch file along with the binaries, 00018 * 2. add special version identification to distinguish your version 00019 * in addition to the base release version number, 00020 * 3. provide your name and address as the primary contact for the 00021 * support of your modified version, and 00022 * 4. retain our contact information in regard to use of the base 00023 * software. 00024 * Permission to distribute the released version of the source code along 00025 * with corresponding source modifications in the form of a patch file is 00026 * granted with same provisions 2 through 4 for binary distributions. 00027 * 00028 * This software is provided "as is" without express or implied warranty 00029 * to the extent permitted by applicable law. 00030 ]*/ 00031 00032 #ifndef _XML_COMPOSE_H_ 00033 #define _XML_COMPOSE_H_ 00034 #include "agent.h" 00035 00036 mxml_node_t* 00037 agent_xml_compose(agent_p agent); 00038 00039 mxml_node_t* 00040 agent_xml_compose__gaf_message(agent_p agent); 00041 00042 mxml_node_t* 00043 agent_xml_compose__message(agent_p agent); 00044 00045 mxml_node_t* 00046 agent_xml_compose__mobile_agent(agent_p agent); 00047 00048 mxml_node_t* 00049 agent_xml_compose__agent_data(agent_p agent); 00050 00051 mxml_node_t* 00052 agent_xml_compose__name(agent_p agent); 00053 00054 mxml_node_t* 00055 agent_xml_compose__owner(agent_p agent); 00056 00057 mxml_node_t* 00058 agent_xml_compose__home(agent_p agent); 00059 00060 mxml_node_t* 00061 agent_xml_compose__task(agent_p agent); 00062 00063 mxml_node_t* 00064 agent_xml_compose__data(agent_p agent, int index); 00065 00066 mxml_node_t* 00067 agent_xml_compose__agent_code(agent_p agent, int index); 00068 00069 mxml_node_t* 00070 agent_xml_compose__row(agent_p agent, int index); 00071 00072 mxml_node_t* 00073 agent_xml_compose__create_row_nodes( 00074 void* data, 00075 int index, 00076 int *extent, 00077 ChType_t type, 00078 int dim, 00079 int extent_index 00080 ); 00081 00082 #endif