#include <gutenprint/gutenprint.h>
#include "gutenprint-internal.h"
#include <gutenprint/gutenprint-intl-internal.h>
#include <assert.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <errno.h>
#include <stdarg.h>
Go to the source code of this file.
Functions | |
static const char * | xml_registry_namefunc (const void *item) |
static void | xml_registry_freefunc (void *item) |
static const char * | xml_preload_namefunc (const void *item) |
static void | xml_preload_freefunc (void *item) |
void | stp_register_xml_parser (const char *name, stp_xml_parse_func parse_func) |
void | stp_unregister_xml_parser (const char *name) |
void | stp_register_xml_preload (const char *filename) |
void | stp_unregister_xml_preload (const char *name) |
static void | stpi_xml_process_gutenprint (stp_mxml_node_t *gutenprint, const char *file) |
void | stp_xml_preinit (void) |
void | stp_xml_init (void) |
void | stp_xml_exit (void) |
void | stp_xml_parse_file_named (const char *name) |
int | stp_xml_init_defaults (void) |
int | stp_xml_parse_file (const char *file) |
long | stp_xmlstrtol (const char *textval) |
unsigned long | stp_xmlstrtoul (const char *textval) |
double | stp_xmlstrtod (const char *textval) |
stp_mxml_node_t * | stp_xml_get_node (stp_mxml_node_t *xmlroot,...) |
static void | stpi_xml_process_node (stp_mxml_node_t *node, const char *file) |
stp_mxml_node_t * | stp_xmldoc_create_generic (void) |
Variables | |
static stp_list_t * | stpi_xml_registry |
static stp_list_t * | stpi_xml_preloads |
static char * | saved_lc_collate |
static char * | saved_lc_ctype |
static char * | saved_lc_numeric |
static int | xml_is_initialised |
|
Definition at line 84 of file xml.c. References stpi_xml_parse_registry::name, stpi_xml_parse_registry::parse_func, stp_list_get_item_by_name(), stp_list_item_create(), stp_list_item_get_data(), stp_malloc(), stp_strdup(), and stpi_xml_registry. Referenced by stpi_init_dither(), stpi_init_paper(), and stpi_init_printer(). |
|
Definition at line 108 of file xml.c. References stp_list_get_item_by_name(), stp_list_item_create(), stp_strdup(), and stpi_xml_preloads. Referenced by stpi_init_printer(). |
|
Definition at line 100 of file xml.c. References stp_list_get_item_by_name(), stp_list_item_destroy(), and stpi_xml_registry. |
|
Definition at line 119 of file xml.c. References stp_list_get_item_by_name(), stp_list_item_destroy(), and stpi_xml_preloads. |
|
|
Definition at line 352 of file xml.c. References STP_MXML_DESCEND, and stp_mxmlFindElement(). Referenced by xml_doc_get_curve(), and xml_doc_get_dither_array(). |
|
|
Definition at line 225 of file xml.c. References STP_DBG_XML, stp_deprintf(), stp_list_destroy(), stp_list_get_start(), stp_list_item_get_data(), stp_list_item_next(), stp_xml_exit(), stp_xml_init(), stp_xml_parse_file_named(), and stpi_xml_preloads. Referenced by stp_init(). |
|
Definition at line 252 of file xml.c. References stp_mxml_node_s::child, stp_mxml_value_u::element, stp_mxml_value_s::name, stp_mxml_node_s::next, STP_DBG_XML, stp_deprintf(), stp_erprintf(), STP_MXML_ELEMENT, STP_MXML_NO_CALLBACK, stp_mxmlDelete(), stp_mxmlLoadFile(), stp_xml_exit(), stp_xml_init(), stpi_xml_process_gutenprint(), stp_mxml_node_s::type, and stp_mxml_node_s::value. Referenced by stp_xml_parse_file_named(). |
|
Definition at line 194 of file xml.c. References STP_DBG_XML, stp_deprintf(), stp_list_create(), stp_list_destroy(), stp_list_get_start(), stp_list_item_get_data(), stp_list_item_next(), stp_list_node_free_data(), stp_list_set_freefunc(), stp_path_search(), stp_path_split(), and stp_xml_parse_file(). Referenced by check_paperlist(), stp_xml_get_dither_array(), and stp_xml_init_defaults(). |
|
Definition at line 135 of file xml.c. References stp_list_create(), stp_list_set_freefunc(), stp_list_set_namefunc(), stpi_xml_preloads, stpi_xml_registry, xml_preload_freefunc(), xml_preload_namefunc(), xml_registry_freefunc(), and xml_registry_namefunc(). Referenced by stp_init(). |
|
Definition at line 407 of file xml.c. References stp_mxmlElementSetAttr(), and stp_mxmlNewElement(). Referenced by xmldoc_create_from_curve(). |
|
Definition at line 335 of file xml.c. Referenced by stp_curve_create_from_xmltree(), stp_printer_create_from_xmltree(), and stp_sequence_create_from_xmltree(). |
|
Definition at line 311 of file xml.c. Referenced by stp_printer_create_from_xmltree(), stp_sequence_create_from_xmltree(), and stp_xml_process_dither_matrix(). |
|
Definition at line 323 of file xml.c. Referenced by stp_sequence_create_from_xmltree(), stp_xml_process_paper(), and stpi_dither_array_create_from_xmltree(). |
|
Definition at line 389 of file xml.c. References stp_mxml_node_s::child, stp_mxml_node_s::next, STP_MXML_ELEMENT, stpi_xml_process_node(), and stp_mxml_node_s::type. Referenced by stp_xml_parse_file(). |
|
Definition at line 373 of file xml.c. References stpi_xml_parse_registry::parse_func, stp_list_get_item_by_name(), stp_list_item_get_data(), and stpi_xml_registry. Referenced by stpi_xml_process_gutenprint(). |
|
Definition at line 78 of file xml.c. References stp_free(). Referenced by stp_xml_preinit(). |
|
Definition at line 72 of file xml.c. Referenced by stp_xml_preinit(). |
|
Definition at line 64 of file xml.c. References stpi_xml_parse_registry::name, and stp_free(). Referenced by stp_xml_preinit(). |
|
Definition at line 57 of file xml.c. References stpi_xml_parse_registry::name. Referenced by stp_xml_preinit(). |
|
Definition at line 129 of file xml.c. Referenced by stp_xml_exit(), and stp_xml_init(). |
|
Definition at line 130 of file xml.c. Referenced by stp_xml_exit(), and stp_xml_init(). |
|
Definition at line 131 of file xml.c. Referenced by stp_xml_exit(), and stp_xml_init(). |
|
Definition at line 54 of file xml.c. Referenced by stp_register_xml_preload(), stp_unregister_xml_preload(), stp_xml_init_defaults(), and stp_xml_preinit(). |
|
Definition at line 52 of file xml.c. Referenced by stp_register_xml_parser(), stp_unregister_xml_parser(), stp_xml_preinit(), and stpi_xml_process_node(). |
|
Definition at line 132 of file xml.c. Referenced by stp_xml_exit(), and stp_xml_init(). |