1 /* c/zx-wsc-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_wsc_data_h
11 #define _c_zx_wsc_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 /* -------------------------- wsc_DerivedKeyToken -------------------------- */
22 /* refby( ) */
23 #ifndef zx_wsc_DerivedKeyToken_EXT
24 #define zx_wsc_DerivedKeyToken_EXT
25 #endif
26 struct zx_wsc_DerivedKeyToken_s {
27   ZX_ELEM_EXT
28   zx_wsc_DerivedKeyToken_EXT
29   struct zx_wsse_SecurityTokenReference_s* SecurityTokenReference;	/* {0,1} nada */
30   struct zx_wsc_Properties_s* Properties;	/* {0,1}  */
31   struct zx_elem_s* Generation;	/* {0,1} xs:unsignedLong */
32   struct zx_elem_s* Offset;	/* {0,1} xs:unsignedLong */
33   struct zx_elem_s* Length;	/* {0,1} xs:unsignedLong */
34   struct zx_elem_s* Label;	/* {0,1} xs:string */
35   struct zx_elem_s* Nonce;	/* {0,1} xs:base64Binary */
36   struct zx_attr_s* Algorithm;	/* {0,1} attribute xs:anyURI */
37   struct zx_attr_s* Id;	/* {0,1} attribute xs:ID */
38 };
39 
40 #define zx_NEW_wsc_DerivedKeyToken(c, father) (struct zx_wsc_DerivedKeyToken_s*)zx_new_elem((c),(father),zx_wsc_DerivedKeyToken_ELEM)
41 int zx_DEC_ATTR_wsc_DerivedKeyToken(struct zx_ctx* c, struct zx_wsc_DerivedKeyToken_s* x);
42 int zx_DEC_ELEM_wsc_DerivedKeyToken(struct zx_ctx* c, struct zx_wsc_DerivedKeyToken_s* x);
43 
44 #ifdef ZX_ENA_AUX
45 struct zx_wsc_DerivedKeyToken_s* zx_DEEP_CLONE_wsc_DerivedKeyToken(struct zx_ctx* c, struct zx_wsc_DerivedKeyToken_s* x, int dup_strs);
46 void zx_DUP_STRS_wsc_DerivedKeyToken(struct zx_ctx* c, struct zx_wsc_DerivedKeyToken_s* x);
47 int zx_WALK_SO_wsc_DerivedKeyToken(struct zx_ctx* c, struct zx_wsc_DerivedKeyToken_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
48 int zx_WALK_WO_wsc_DerivedKeyToken(struct zx_ctx* c, struct zx_wsc_DerivedKeyToken_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
49 #endif
50 
51 #ifdef ZX_ENA_GETPUT
52 struct zx_attr_s* zx_wsc_DerivedKeyToken_GET_Algorithm(struct zx_wsc_DerivedKeyToken_s* x);
53 struct zx_attr_s* zx_wsc_DerivedKeyToken_GET_Id(struct zx_wsc_DerivedKeyToken_s* x);
54 
55 struct zx_wsse_SecurityTokenReference_s* zx_wsc_DerivedKeyToken_GET_SecurityTokenReference(struct zx_wsc_DerivedKeyToken_s* x, int n);
56 struct zx_wsc_Properties_s* zx_wsc_DerivedKeyToken_GET_Properties(struct zx_wsc_DerivedKeyToken_s* x, int n);
57 struct zx_elem_s* zx_wsc_DerivedKeyToken_GET_Generation(struct zx_wsc_DerivedKeyToken_s* x, int n);
58 struct zx_elem_s* zx_wsc_DerivedKeyToken_GET_Offset(struct zx_wsc_DerivedKeyToken_s* x, int n);
59 struct zx_elem_s* zx_wsc_DerivedKeyToken_GET_Length(struct zx_wsc_DerivedKeyToken_s* x, int n);
60 struct zx_elem_s* zx_wsc_DerivedKeyToken_GET_Label(struct zx_wsc_DerivedKeyToken_s* x, int n);
61 struct zx_elem_s* zx_wsc_DerivedKeyToken_GET_Nonce(struct zx_wsc_DerivedKeyToken_s* x, int n);
62 
63 int zx_wsc_DerivedKeyToken_NUM_SecurityTokenReference(struct zx_wsc_DerivedKeyToken_s* x);
64 int zx_wsc_DerivedKeyToken_NUM_Properties(struct zx_wsc_DerivedKeyToken_s* x);
65 int zx_wsc_DerivedKeyToken_NUM_Generation(struct zx_wsc_DerivedKeyToken_s* x);
66 int zx_wsc_DerivedKeyToken_NUM_Offset(struct zx_wsc_DerivedKeyToken_s* x);
67 int zx_wsc_DerivedKeyToken_NUM_Length(struct zx_wsc_DerivedKeyToken_s* x);
68 int zx_wsc_DerivedKeyToken_NUM_Label(struct zx_wsc_DerivedKeyToken_s* x);
69 int zx_wsc_DerivedKeyToken_NUM_Nonce(struct zx_wsc_DerivedKeyToken_s* x);
70 
71 struct zx_wsse_SecurityTokenReference_s* zx_wsc_DerivedKeyToken_POP_SecurityTokenReference(struct zx_wsc_DerivedKeyToken_s* x);
72 struct zx_wsc_Properties_s* zx_wsc_DerivedKeyToken_POP_Properties(struct zx_wsc_DerivedKeyToken_s* x);
73 struct zx_elem_s* zx_wsc_DerivedKeyToken_POP_Generation(struct zx_wsc_DerivedKeyToken_s* x);
74 struct zx_elem_s* zx_wsc_DerivedKeyToken_POP_Offset(struct zx_wsc_DerivedKeyToken_s* x);
75 struct zx_elem_s* zx_wsc_DerivedKeyToken_POP_Length(struct zx_wsc_DerivedKeyToken_s* x);
76 struct zx_elem_s* zx_wsc_DerivedKeyToken_POP_Label(struct zx_wsc_DerivedKeyToken_s* x);
77 struct zx_elem_s* zx_wsc_DerivedKeyToken_POP_Nonce(struct zx_wsc_DerivedKeyToken_s* x);
78 
79 void zx_wsc_DerivedKeyToken_PUSH_SecurityTokenReference(struct zx_wsc_DerivedKeyToken_s* x, struct zx_wsse_SecurityTokenReference_s* y);
80 void zx_wsc_DerivedKeyToken_PUSH_Properties(struct zx_wsc_DerivedKeyToken_s* x, struct zx_wsc_Properties_s* y);
81 void zx_wsc_DerivedKeyToken_PUSH_Generation(struct zx_wsc_DerivedKeyToken_s* x, struct zx_elem_s* y);
82 void zx_wsc_DerivedKeyToken_PUSH_Offset(struct zx_wsc_DerivedKeyToken_s* x, struct zx_elem_s* y);
83 void zx_wsc_DerivedKeyToken_PUSH_Length(struct zx_wsc_DerivedKeyToken_s* x, struct zx_elem_s* y);
84 void zx_wsc_DerivedKeyToken_PUSH_Label(struct zx_wsc_DerivedKeyToken_s* x, struct zx_elem_s* y);
85 void zx_wsc_DerivedKeyToken_PUSH_Nonce(struct zx_wsc_DerivedKeyToken_s* x, struct zx_elem_s* y);
86 
87 void zx_wsc_DerivedKeyToken_PUT_Algorithm(struct zx_wsc_DerivedKeyToken_s* x, struct zx_attr_s* y);
88 void zx_wsc_DerivedKeyToken_PUT_Id(struct zx_wsc_DerivedKeyToken_s* x, struct zx_attr_s* y);
89 
90 void zx_wsc_DerivedKeyToken_PUT_SecurityTokenReference(struct zx_wsc_DerivedKeyToken_s* x, int n, struct zx_wsse_SecurityTokenReference_s* y);
91 void zx_wsc_DerivedKeyToken_PUT_Properties(struct zx_wsc_DerivedKeyToken_s* x, int n, struct zx_wsc_Properties_s* y);
92 void zx_wsc_DerivedKeyToken_PUT_Generation(struct zx_wsc_DerivedKeyToken_s* x, int n, struct zx_elem_s* y);
93 void zx_wsc_DerivedKeyToken_PUT_Offset(struct zx_wsc_DerivedKeyToken_s* x, int n, struct zx_elem_s* y);
94 void zx_wsc_DerivedKeyToken_PUT_Length(struct zx_wsc_DerivedKeyToken_s* x, int n, struct zx_elem_s* y);
95 void zx_wsc_DerivedKeyToken_PUT_Label(struct zx_wsc_DerivedKeyToken_s* x, int n, struct zx_elem_s* y);
96 void zx_wsc_DerivedKeyToken_PUT_Nonce(struct zx_wsc_DerivedKeyToken_s* x, int n, struct zx_elem_s* y);
97 
98 void zx_wsc_DerivedKeyToken_ADD_SecurityTokenReference(struct zx_wsc_DerivedKeyToken_s* x, int n, struct zx_wsse_SecurityTokenReference_s* z);
99 void zx_wsc_DerivedKeyToken_ADD_Properties(struct zx_wsc_DerivedKeyToken_s* x, int n, struct zx_wsc_Properties_s* z);
100 void zx_wsc_DerivedKeyToken_ADD_Generation(struct zx_wsc_DerivedKeyToken_s* x, int n, struct zx_elem_s* z);
101 void zx_wsc_DerivedKeyToken_ADD_Offset(struct zx_wsc_DerivedKeyToken_s* x, int n, struct zx_elem_s* z);
102 void zx_wsc_DerivedKeyToken_ADD_Length(struct zx_wsc_DerivedKeyToken_s* x, int n, struct zx_elem_s* z);
103 void zx_wsc_DerivedKeyToken_ADD_Label(struct zx_wsc_DerivedKeyToken_s* x, int n, struct zx_elem_s* z);
104 void zx_wsc_DerivedKeyToken_ADD_Nonce(struct zx_wsc_DerivedKeyToken_s* x, int n, struct zx_elem_s* z);
105 
106 void zx_wsc_DerivedKeyToken_DEL_SecurityTokenReference(struct zx_wsc_DerivedKeyToken_s* x, int n);
107 void zx_wsc_DerivedKeyToken_DEL_Properties(struct zx_wsc_DerivedKeyToken_s* x, int n);
108 void zx_wsc_DerivedKeyToken_DEL_Generation(struct zx_wsc_DerivedKeyToken_s* x,int n);
109 void zx_wsc_DerivedKeyToken_DEL_Offset(struct zx_wsc_DerivedKeyToken_s* x,int n);
110 void zx_wsc_DerivedKeyToken_DEL_Length(struct zx_wsc_DerivedKeyToken_s* x,int n);
111 void zx_wsc_DerivedKeyToken_DEL_Label(struct zx_wsc_DerivedKeyToken_s* x,int n);
112 void zx_wsc_DerivedKeyToken_DEL_Nonce(struct zx_wsc_DerivedKeyToken_s* x,int n);
113 
114 void zx_wsc_DerivedKeyToken_REV_SecurityTokenReference(struct zx_wsc_DerivedKeyToken_s* x);
115 void zx_wsc_DerivedKeyToken_REV_Properties(struct zx_wsc_DerivedKeyToken_s* x);
116 void zx_wsc_DerivedKeyToken_REV_Generation(struct zx_wsc_DerivedKeyToken_s* x);
117 void zx_wsc_DerivedKeyToken_REV_Offset(struct zx_wsc_DerivedKeyToken_s* x);
118 void zx_wsc_DerivedKeyToken_REV_Length(struct zx_wsc_DerivedKeyToken_s* x);
119 void zx_wsc_DerivedKeyToken_REV_Label(struct zx_wsc_DerivedKeyToken_s* x);
120 void zx_wsc_DerivedKeyToken_REV_Nonce(struct zx_wsc_DerivedKeyToken_s* x);
121 
122 #endif
123 /* -------------------------- wsc_Properties -------------------------- */
124 /* refby( zx_wsc_DerivedKeyToken_s ) */
125 #ifndef zx_wsc_Properties_EXT
126 #define zx_wsc_Properties_EXT
127 #endif
128 struct zx_wsc_Properties_s {
129   ZX_ELEM_EXT
130   zx_wsc_Properties_EXT
131 };
132 
133 #define zx_NEW_wsc_Properties(c, father) (struct zx_wsc_Properties_s*)zx_new_elem((c),(father),zx_wsc_Properties_ELEM)
134 int zx_DEC_ATTR_wsc_Properties(struct zx_ctx* c, struct zx_wsc_Properties_s* x);
135 int zx_DEC_ELEM_wsc_Properties(struct zx_ctx* c, struct zx_wsc_Properties_s* x);
136 
137 #ifdef ZX_ENA_AUX
138 struct zx_wsc_Properties_s* zx_DEEP_CLONE_wsc_Properties(struct zx_ctx* c, struct zx_wsc_Properties_s* x, int dup_strs);
139 void zx_DUP_STRS_wsc_Properties(struct zx_ctx* c, struct zx_wsc_Properties_s* x);
140 int zx_WALK_SO_wsc_Properties(struct zx_ctx* c, struct zx_wsc_Properties_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
141 int zx_WALK_WO_wsc_Properties(struct zx_ctx* c, struct zx_wsc_Properties_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
142 #endif
143 
144 #ifdef ZX_ENA_GETPUT
145 
146 
147 
148 
149 
150 
151 
152 
153 
154 
155 #endif
156 /* -------------------------- wsc_SecurityContextToken -------------------------- */
157 /* refby( ) */
158 #ifndef zx_wsc_SecurityContextToken_EXT
159 #define zx_wsc_SecurityContextToken_EXT
160 #endif
161 struct zx_wsc_SecurityContextToken_s {
162   ZX_ELEM_EXT
163   zx_wsc_SecurityContextToken_EXT
164   struct zx_attr_s* Id;	/* {0,1} attribute xs:ID */
165 };
166 
167 #define zx_NEW_wsc_SecurityContextToken(c, father) (struct zx_wsc_SecurityContextToken_s*)zx_new_elem((c),(father),zx_wsc_SecurityContextToken_ELEM)
168 int zx_DEC_ATTR_wsc_SecurityContextToken(struct zx_ctx* c, struct zx_wsc_SecurityContextToken_s* x);
169 int zx_DEC_ELEM_wsc_SecurityContextToken(struct zx_ctx* c, struct zx_wsc_SecurityContextToken_s* x);
170 
171 #ifdef ZX_ENA_AUX
172 struct zx_wsc_SecurityContextToken_s* zx_DEEP_CLONE_wsc_SecurityContextToken(struct zx_ctx* c, struct zx_wsc_SecurityContextToken_s* x, int dup_strs);
173 void zx_DUP_STRS_wsc_SecurityContextToken(struct zx_ctx* c, struct zx_wsc_SecurityContextToken_s* x);
174 int zx_WALK_SO_wsc_SecurityContextToken(struct zx_ctx* c, struct zx_wsc_SecurityContextToken_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
175 int zx_WALK_WO_wsc_SecurityContextToken(struct zx_ctx* c, struct zx_wsc_SecurityContextToken_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
176 #endif
177 
178 #ifdef ZX_ENA_GETPUT
179 struct zx_attr_s* zx_wsc_SecurityContextToken_GET_Id(struct zx_wsc_SecurityContextToken_s* x);
180 
181 
182 
183 
184 
185 void zx_wsc_SecurityContextToken_PUT_Id(struct zx_wsc_SecurityContextToken_s* x, struct zx_attr_s* y);
186 
187 
188 
189 
190 
191 #endif
192 
193 #endif
194