/home/dko/projects/mobilec/trunk/src/mxml-2.2.2/mxml-attr.c File Reference

#include "config.h"
#include "mxml.h"

Go to the source code of this file.

Functions

const char * mxmlElementGetAttr (mxml_node_t *node, const char *name)
void mxmlElementSetAttr (mxml_node_t *node, const char *name, const char *value)


Function Documentation

const char* mxmlElementGetAttr ( mxml_node_t node,
const char *  name 
)

Definition at line 40 of file mxml-attr.c.

References mxml_value_s::attrs, mxml_value_u::element, MXML_ELEMENT, mxml_attr_s::name, mxml_value_s::num_attrs, mxml_node_s::type, mxml_attr_s::value, and mxml_node_s::value.

Referenced by agent_xml_parse__agent_code(), agent_xml_parse__data(), agent_xml_parse__task(), fipa_envelope_HandleReceived(), index_compare(), index_find(), mxml_parse_element(), mxmlFindElement(), mxmlIndexNew(), scan_file(), sort_node(), type_cb(), and write_documentation().

void mxmlElementSetAttr ( mxml_node_t node,
const char *  name,
const char *  value 
)

Definition at line 87 of file mxml-attr.c.

References mxml_value_s::attrs, mxml_value_u::element, MXML_ELEMENT, mxml_error(), mxml_value_s::name, mxml_attr_s::name, mxml_value_s::num_attrs, mxml_node_s::type, mxml_attr_s::value, and mxml_node_s::value.

Referenced by add_variable(), agent_xml_compose__agent_code(), agent_xml_compose__create_row_nodes(), agent_xml_compose__data(), agent_xml_compose__message(), agent_xml_compose__task(), fipa_envelope_Compose__params(), main(), mxml_parse_element(), scan_file(), sort_node(), and update_comment().


Generated on Fri May 16 14:49:56 2008 for Mobile-C by  doxygen 1.5.4