Go to the source code of this file.
utility routines for writing XML
Definition in file op_xml_out.h.
enum tag_t |
Definition at line 18 of file op_xml_out.h.
void close_xml_element | ( | tag_t | tag, | |
int | has_nested, | |||
char * | buffer, | |||
size_t | size | |||
) |
Definition at line 117 of file op_xml_out.c.
References buf, 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 | size | |||
) |
Definition at line 158 of file op_xml_out.c.
References buf, and xml_tag_name().
Referenced by init_attr().
void init_xml_int_attr | ( | tag_t | attr, | |
int | value, | |||
char * | buffer, | |||
size_t | size | |||
) |
Definition at line 139 of file op_xml_out.c.
References buf, and xml_tag_name().
Referenced by init_attr(), xml_do_arch_specific_event_help(), and xml_help_for_event().
void init_xml_str_attr | ( | tag_t | attr, | |
char const * | str, | |||
char * | buffer, | |||
size_t | size | |||
) |
Definition at line 244 of file op_xml_out.c.
References buf, xml_quote(), and 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 | size | |||
) |
Definition at line 97 of file op_xml_out.c.
References buf, and xml_tag_name().
Referenced by open_element(), open_xml_events(), and xml_help_for_event().
char const* xml_tag_name | ( | tag_t | tag | ) |
Definition at line 91 of file op_xml_out.c.
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().