C utility routines for writing XML. More...
#include <stdio.h>#include <string.h>#include <stdlib.h>#include "op_xml_out.h"
Defines | |
| #define | MAX_BUF_LEN 2048 |
Functions | |
| char const * | xml_tag_name (tag_t tag) |
| void | open_xml_element (tag_t tag, int with_attrs, char *buffer, size_t max) |
| void | close_xml_element (tag_t tag, int has_nested, char *buffer, size_t max) |
| void | init_xml_int_attr (tag_t attr, int value, char *buffer, size_t max) |
| void | init_xml_dbl_attr (tag_t attr, double value, char *buffer, size_t max) |
| void | init_xml_str_attr (tag_t attr, char const *str, char *buffer, size_t max) |
Variables | |
| char const * | xml_tag_map [] |
C utility routines for writing XML.
| #define MAX_BUF_LEN 2048 |
| void close_xml_element | ( | tag_t | tag, | |
| int | has_nested, | |||
| char * | buffer, | |||
| size_t | max | |||
| ) |
References NONE, and xml_tag_name().
Referenced by close_element(), close_xml_events(), open_xml_events(), and xml_help_for_event().
| void init_xml_dbl_attr | ( | tag_t | attr, | |
| double | value, | |||
| char * | buffer, | |||
| size_t | max | |||
| ) |
References xml_tag_name().
Referenced by init_attr().
| void init_xml_int_attr | ( | tag_t | attr, | |
| int | value, | |||
| char * | buffer, | |||
| size_t | max | |||
| ) |
References xml_tag_name().
Referenced by init_attr(), and xml_help_for_event().
| void init_xml_str_attr | ( | tag_t | attr, | |
| char const * | str, | |||
| char * | buffer, | |||
| size_t | max | |||
| ) |
References xml_tag_name().
Referenced by init_attr(), open_xml_events(), and xml_help_for_event().
| void open_xml_element | ( | tag_t | tag, | |
| int | with_attrs, | |||
| char * | buffer, | |||
| size_t | max | |||
| ) |
References xml_tag_name().
Referenced by open_element(), open_xml_events(), and xml_help_for_event().
| char const* xml_tag_name | ( | tag_t | tag | ) |
References xml_tag_map.
Referenced by close_xml_element(), init_xml_dbl_attr(), init_xml_int_attr(), init_xml_str_attr(), open_xml_element(), and tag_name().
| char const* xml_tag_map[] |
Referenced by xml_tag_name().
1.6.1