1 /* c/zx-idpdisc-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_idpdisc_data_h 11 #define _c_zx_idpdisc_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 /* -------------------------- idpdisc_DiscoveryResponse -------------------------- */ 22 /* refby( zx_md_Extensions_s ) */ 23 #ifndef zx_idpdisc_DiscoveryResponse_EXT 24 #define zx_idpdisc_DiscoveryResponse_EXT 25 #endif 26 struct zx_idpdisc_DiscoveryResponse_s { 27 ZX_ELEM_EXT 28 zx_idpdisc_DiscoveryResponse_EXT 29 struct zx_attr_s* Binding; /* {1,1} attribute xs:anyURI */ 30 struct zx_attr_s* Location; /* {1,1} attribute xs:anyURI */ 31 struct zx_attr_s* ResponseLocation; /* {0,1} attribute xs:anyURI */ 32 struct zx_attr_s* index; /* {0,1} attribute xs:unsignedShort */ 33 struct zx_attr_s* isDefault; /* {0,1} attribute xs:boolean */ 34 }; 35 36 #define zx_NEW_idpdisc_DiscoveryResponse(c, father) (struct zx_idpdisc_DiscoveryResponse_s*)zx_new_elem((c),(father),zx_idpdisc_DiscoveryResponse_ELEM) 37 int zx_DEC_ATTR_idpdisc_DiscoveryResponse(struct zx_ctx* c, struct zx_idpdisc_DiscoveryResponse_s* x); 38 int zx_DEC_ELEM_idpdisc_DiscoveryResponse(struct zx_ctx* c, struct zx_idpdisc_DiscoveryResponse_s* x); 39 40 #ifdef ZX_ENA_AUX 41 struct zx_idpdisc_DiscoveryResponse_s* zx_DEEP_CLONE_idpdisc_DiscoveryResponse(struct zx_ctx* c, struct zx_idpdisc_DiscoveryResponse_s* x, int dup_strs); 42 void zx_DUP_STRS_idpdisc_DiscoveryResponse(struct zx_ctx* c, struct zx_idpdisc_DiscoveryResponse_s* x); 43 int zx_WALK_SO_idpdisc_DiscoveryResponse(struct zx_ctx* c, struct zx_idpdisc_DiscoveryResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 44 int zx_WALK_WO_idpdisc_DiscoveryResponse(struct zx_ctx* c, struct zx_idpdisc_DiscoveryResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 45 #endif 46 47 #ifdef ZX_ENA_GETPUT 48 struct zx_attr_s* zx_idpdisc_DiscoveryResponse_GET_Binding(struct zx_idpdisc_DiscoveryResponse_s* x); 49 struct zx_attr_s* zx_idpdisc_DiscoveryResponse_GET_Location(struct zx_idpdisc_DiscoveryResponse_s* x); 50 struct zx_attr_s* zx_idpdisc_DiscoveryResponse_GET_ResponseLocation(struct zx_idpdisc_DiscoveryResponse_s* x); 51 struct zx_attr_s* zx_idpdisc_DiscoveryResponse_GET_index(struct zx_idpdisc_DiscoveryResponse_s* x); 52 struct zx_attr_s* zx_idpdisc_DiscoveryResponse_GET_isDefault(struct zx_idpdisc_DiscoveryResponse_s* x); 53 54 55 56 57 58 void zx_idpdisc_DiscoveryResponse_PUT_Binding(struct zx_idpdisc_DiscoveryResponse_s* x, struct zx_attr_s* y); 59 void zx_idpdisc_DiscoveryResponse_PUT_Location(struct zx_idpdisc_DiscoveryResponse_s* x, struct zx_attr_s* y); 60 void zx_idpdisc_DiscoveryResponse_PUT_ResponseLocation(struct zx_idpdisc_DiscoveryResponse_s* x, struct zx_attr_s* y); 61 void zx_idpdisc_DiscoveryResponse_PUT_index(struct zx_idpdisc_DiscoveryResponse_s* x, struct zx_attr_s* y); 62 void zx_idpdisc_DiscoveryResponse_PUT_isDefault(struct zx_idpdisc_DiscoveryResponse_s* x, struct zx_attr_s* y); 63 64 65 66 67 68 #endif 69 70 #endif 71