1 /* c/zx-xml-data.h - WARNING: This header was auto generated by xsd2sg.pl. DO NOT EDIT! 2 * $Id$ */ 3 /* Datastructure design, topography, and layout 4 * Copyright (c) 2006,2010 Sampo Kellomaki (sampo@iki.fi), 5 * All Rights Reserved. NO WARRANTY. See file COPYING for 6 * terms and conditions of use. Element and attributes names as well 7 * as some topography are derived from schema descriptions that were used as 8 * input and may be subject to their own copright. */ 9 10 #ifndef _c_zx_xml_data_h 11 #define _c_zx_xml_data_h 12 13 #include "zx.h" 14 #include "c/zx-const.h" 15 #include "c/zx-data.h" 16 17 #ifndef ZX_ELEM_EXT 18 #define ZX_ELEM_EXT /* This extension point should be defined by who includes this file. */ 19 #endif 20 21 /* -------------------------- xml_DummyToPullLang -------------------------- */ 22 /* refby( ) */ 23 #ifndef zx_xml_DummyToPullLang_EXT 24 #define zx_xml_DummyToPullLang_EXT 25 #endif 26 struct zx_xml_DummyToPullLang_s { 27 ZX_ELEM_EXT 28 zx_xml_DummyToPullLang_EXT 29 struct zx_attr_s* lang; /* {0,1} attribute xs:string */ 30 }; 31 32 #define zx_NEW_xml_DummyToPullLang(c, father) (struct zx_xml_DummyToPullLang_s*)zx_new_elem((c),(father),zx_xml_DummyToPullLang_ELEM) 33 int zx_DEC_ATTR_xml_DummyToPullLang(struct zx_ctx* c, struct zx_xml_DummyToPullLang_s* x); 34 int zx_DEC_ELEM_xml_DummyToPullLang(struct zx_ctx* c, struct zx_xml_DummyToPullLang_s* x); 35 36 #ifdef ZX_ENA_AUX 37 struct zx_xml_DummyToPullLang_s* zx_DEEP_CLONE_xml_DummyToPullLang(struct zx_ctx* c, struct zx_xml_DummyToPullLang_s* x, int dup_strs); 38 void zx_DUP_STRS_xml_DummyToPullLang(struct zx_ctx* c, struct zx_xml_DummyToPullLang_s* x); 39 int zx_WALK_SO_xml_DummyToPullLang(struct zx_ctx* c, struct zx_xml_DummyToPullLang_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 40 int zx_WALK_WO_xml_DummyToPullLang(struct zx_ctx* c, struct zx_xml_DummyToPullLang_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 41 #endif 42 43 #ifdef ZX_ENA_GETPUT 44 struct zx_attr_s* zx_xml_DummyToPullLang_GET_lang(struct zx_xml_DummyToPullLang_s* x); 45 46 47 48 49 50 void zx_xml_DummyToPullLang_PUT_lang(struct zx_xml_DummyToPullLang_s* x, struct zx_attr_s* y); 51 52 53 54 55 56 #endif 57 58 #endif 59