1 /* c/zx-idp-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_idp_data_h 11 #define _c_zx_idp_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 /* -------------------------- idp_AssertionItem -------------------------- */ 22 /* refby( zx_idp_GetAssertionResponseItem_s ) */ 23 #ifndef zx_idp_AssertionItem_EXT 24 #define zx_idp_AssertionItem_EXT 25 #endif 26 struct zx_idp_AssertionItem_s { 27 ZX_ELEM_EXT 28 zx_idp_AssertionItem_EXT 29 struct zx_idp_MEDInfo_s* MEDInfo; /* {1,1} nada */ 30 struct zx_sa_Assertion_s* Assertion; /* {0,-1} nada */ 31 struct zx_attr_s* created; /* {0,1} attribute xs:boolean */ 32 struct zx_attr_s* id; /* {0,1} attribute xs:ID */ 33 }; 34 35 #define zx_NEW_idp_AssertionItem(c, father) (struct zx_idp_AssertionItem_s*)zx_new_elem((c),(father),zx_idp_AssertionItem_ELEM) 36 int zx_DEC_ATTR_idp_AssertionItem(struct zx_ctx* c, struct zx_idp_AssertionItem_s* x); 37 int zx_DEC_ELEM_idp_AssertionItem(struct zx_ctx* c, struct zx_idp_AssertionItem_s* x); 38 39 #ifdef ZX_ENA_AUX 40 struct zx_idp_AssertionItem_s* zx_DEEP_CLONE_idp_AssertionItem(struct zx_ctx* c, struct zx_idp_AssertionItem_s* x, int dup_strs); 41 void zx_DUP_STRS_idp_AssertionItem(struct zx_ctx* c, struct zx_idp_AssertionItem_s* x); 42 int zx_WALK_SO_idp_AssertionItem(struct zx_ctx* c, struct zx_idp_AssertionItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 43 int zx_WALK_WO_idp_AssertionItem(struct zx_ctx* c, struct zx_idp_AssertionItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 44 #endif 45 46 #ifdef ZX_ENA_GETPUT 47 struct zx_attr_s* zx_idp_AssertionItem_GET_created(struct zx_idp_AssertionItem_s* x); 48 struct zx_attr_s* zx_idp_AssertionItem_GET_id(struct zx_idp_AssertionItem_s* x); 49 50 struct zx_idp_MEDInfo_s* zx_idp_AssertionItem_GET_MEDInfo(struct zx_idp_AssertionItem_s* x, int n); 51 struct zx_sa_Assertion_s* zx_idp_AssertionItem_GET_Assertion(struct zx_idp_AssertionItem_s* x, int n); 52 53 int zx_idp_AssertionItem_NUM_MEDInfo(struct zx_idp_AssertionItem_s* x); 54 int zx_idp_AssertionItem_NUM_Assertion(struct zx_idp_AssertionItem_s* x); 55 56 struct zx_idp_MEDInfo_s* zx_idp_AssertionItem_POP_MEDInfo(struct zx_idp_AssertionItem_s* x); 57 struct zx_sa_Assertion_s* zx_idp_AssertionItem_POP_Assertion(struct zx_idp_AssertionItem_s* x); 58 59 void zx_idp_AssertionItem_PUSH_MEDInfo(struct zx_idp_AssertionItem_s* x, struct zx_idp_MEDInfo_s* y); 60 void zx_idp_AssertionItem_PUSH_Assertion(struct zx_idp_AssertionItem_s* x, struct zx_sa_Assertion_s* y); 61 62 void zx_idp_AssertionItem_PUT_created(struct zx_idp_AssertionItem_s* x, struct zx_attr_s* y); 63 void zx_idp_AssertionItem_PUT_id(struct zx_idp_AssertionItem_s* x, struct zx_attr_s* y); 64 65 void zx_idp_AssertionItem_PUT_MEDInfo(struct zx_idp_AssertionItem_s* x, int n, struct zx_idp_MEDInfo_s* y); 66 void zx_idp_AssertionItem_PUT_Assertion(struct zx_idp_AssertionItem_s* x, int n, struct zx_sa_Assertion_s* y); 67 68 void zx_idp_AssertionItem_ADD_MEDInfo(struct zx_idp_AssertionItem_s* x, int n, struct zx_idp_MEDInfo_s* z); 69 void zx_idp_AssertionItem_ADD_Assertion(struct zx_idp_AssertionItem_s* x, int n, struct zx_sa_Assertion_s* z); 70 71 void zx_idp_AssertionItem_DEL_MEDInfo(struct zx_idp_AssertionItem_s* x, int n); 72 void zx_idp_AssertionItem_DEL_Assertion(struct zx_idp_AssertionItem_s* x, int n); 73 74 void zx_idp_AssertionItem_REV_MEDInfo(struct zx_idp_AssertionItem_s* x); 75 void zx_idp_AssertionItem_REV_Assertion(struct zx_idp_AssertionItem_s* x); 76 77 #endif 78 /* -------------------------- idp_AuthnContextRestriction -------------------------- */ 79 /* refby( ) */ 80 #ifndef zx_idp_AuthnContextRestriction_EXT 81 #define zx_idp_AuthnContextRestriction_EXT 82 #endif 83 struct zx_idp_AuthnContextRestriction_s { 84 ZX_ELEM_EXT 85 zx_idp_AuthnContextRestriction_EXT 86 struct zx_sa_AuthnContext_s* AuthnContext; /* {1,-1} nada */ 87 }; 88 89 #define zx_NEW_idp_AuthnContextRestriction(c, father) (struct zx_idp_AuthnContextRestriction_s*)zx_new_elem((c),(father),zx_idp_AuthnContextRestriction_ELEM) 90 int zx_DEC_ATTR_idp_AuthnContextRestriction(struct zx_ctx* c, struct zx_idp_AuthnContextRestriction_s* x); 91 int zx_DEC_ELEM_idp_AuthnContextRestriction(struct zx_ctx* c, struct zx_idp_AuthnContextRestriction_s* x); 92 93 #ifdef ZX_ENA_AUX 94 struct zx_idp_AuthnContextRestriction_s* zx_DEEP_CLONE_idp_AuthnContextRestriction(struct zx_ctx* c, struct zx_idp_AuthnContextRestriction_s* x, int dup_strs); 95 void zx_DUP_STRS_idp_AuthnContextRestriction(struct zx_ctx* c, struct zx_idp_AuthnContextRestriction_s* x); 96 int zx_WALK_SO_idp_AuthnContextRestriction(struct zx_ctx* c, struct zx_idp_AuthnContextRestriction_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 97 int zx_WALK_WO_idp_AuthnContextRestriction(struct zx_ctx* c, struct zx_idp_AuthnContextRestriction_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 98 #endif 99 100 #ifdef ZX_ENA_GETPUT 101 102 struct zx_sa_AuthnContext_s* zx_idp_AuthnContextRestriction_GET_AuthnContext(struct zx_idp_AuthnContextRestriction_s* x, int n); 103 104 int zx_idp_AuthnContextRestriction_NUM_AuthnContext(struct zx_idp_AuthnContextRestriction_s* x); 105 106 struct zx_sa_AuthnContext_s* zx_idp_AuthnContextRestriction_POP_AuthnContext(struct zx_idp_AuthnContextRestriction_s* x); 107 108 void zx_idp_AuthnContextRestriction_PUSH_AuthnContext(struct zx_idp_AuthnContextRestriction_s* x, struct zx_sa_AuthnContext_s* y); 109 110 111 void zx_idp_AuthnContextRestriction_PUT_AuthnContext(struct zx_idp_AuthnContextRestriction_s* x, int n, struct zx_sa_AuthnContext_s* y); 112 113 void zx_idp_AuthnContextRestriction_ADD_AuthnContext(struct zx_idp_AuthnContextRestriction_s* x, int n, struct zx_sa_AuthnContext_s* z); 114 115 void zx_idp_AuthnContextRestriction_DEL_AuthnContext(struct zx_idp_AuthnContextRestriction_s* x, int n); 116 117 void zx_idp_AuthnContextRestriction_REV_AuthnContext(struct zx_idp_AuthnContextRestriction_s* x); 118 119 #endif 120 /* -------------------------- idp_CreatedStatus -------------------------- */ 121 /* refby( zx_e_Body_s ) */ 122 #ifndef zx_idp_CreatedStatus_EXT 123 #define zx_idp_CreatedStatus_EXT 124 #endif 125 struct zx_idp_CreatedStatus_s { 126 ZX_ELEM_EXT 127 zx_idp_CreatedStatus_EXT 128 struct zx_idp_CreatedStatusItem_s* CreatedStatusItem; /* {0,-1} nada */ 129 }; 130 131 #define zx_NEW_idp_CreatedStatus(c, father) (struct zx_idp_CreatedStatus_s*)zx_new_elem((c),(father),zx_idp_CreatedStatus_ELEM) 132 int zx_DEC_ATTR_idp_CreatedStatus(struct zx_ctx* c, struct zx_idp_CreatedStatus_s* x); 133 int zx_DEC_ELEM_idp_CreatedStatus(struct zx_ctx* c, struct zx_idp_CreatedStatus_s* x); 134 135 #ifdef ZX_ENA_AUX 136 struct zx_idp_CreatedStatus_s* zx_DEEP_CLONE_idp_CreatedStatus(struct zx_ctx* c, struct zx_idp_CreatedStatus_s* x, int dup_strs); 137 void zx_DUP_STRS_idp_CreatedStatus(struct zx_ctx* c, struct zx_idp_CreatedStatus_s* x); 138 int zx_WALK_SO_idp_CreatedStatus(struct zx_ctx* c, struct zx_idp_CreatedStatus_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 139 int zx_WALK_WO_idp_CreatedStatus(struct zx_ctx* c, struct zx_idp_CreatedStatus_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 140 #endif 141 142 #ifdef ZX_ENA_GETPUT 143 144 struct zx_idp_CreatedStatusItem_s* zx_idp_CreatedStatus_GET_CreatedStatusItem(struct zx_idp_CreatedStatus_s* x, int n); 145 146 int zx_idp_CreatedStatus_NUM_CreatedStatusItem(struct zx_idp_CreatedStatus_s* x); 147 148 struct zx_idp_CreatedStatusItem_s* zx_idp_CreatedStatus_POP_CreatedStatusItem(struct zx_idp_CreatedStatus_s* x); 149 150 void zx_idp_CreatedStatus_PUSH_CreatedStatusItem(struct zx_idp_CreatedStatus_s* x, struct zx_idp_CreatedStatusItem_s* y); 151 152 153 void zx_idp_CreatedStatus_PUT_CreatedStatusItem(struct zx_idp_CreatedStatus_s* x, int n, struct zx_idp_CreatedStatusItem_s* y); 154 155 void zx_idp_CreatedStatus_ADD_CreatedStatusItem(struct zx_idp_CreatedStatus_s* x, int n, struct zx_idp_CreatedStatusItem_s* z); 156 157 void zx_idp_CreatedStatus_DEL_CreatedStatusItem(struct zx_idp_CreatedStatus_s* x, int n); 158 159 void zx_idp_CreatedStatus_REV_CreatedStatusItem(struct zx_idp_CreatedStatus_s* x); 160 161 #endif 162 /* -------------------------- idp_CreatedStatusItem -------------------------- */ 163 /* refby( zx_idp_CreatedStatus_s ) */ 164 #ifndef zx_idp_CreatedStatusItem_EXT 165 #define zx_idp_CreatedStatusItem_EXT 166 #endif 167 struct zx_idp_CreatedStatusItem_s { 168 ZX_ELEM_EXT 169 zx_idp_CreatedStatusItem_EXT 170 struct zx_attr_s* firstUsed; /* {0,1} attribute xs:dateTime */ 171 struct zx_attr_s* ref; /* {1,1} attribute xs:anyURI */ 172 struct zx_attr_s* used; /* {1,1} attribute xs:boolean */ 173 }; 174 175 #define zx_NEW_idp_CreatedStatusItem(c, father) (struct zx_idp_CreatedStatusItem_s*)zx_new_elem((c),(father),zx_idp_CreatedStatusItem_ELEM) 176 int zx_DEC_ATTR_idp_CreatedStatusItem(struct zx_ctx* c, struct zx_idp_CreatedStatusItem_s* x); 177 int zx_DEC_ELEM_idp_CreatedStatusItem(struct zx_ctx* c, struct zx_idp_CreatedStatusItem_s* x); 178 179 #ifdef ZX_ENA_AUX 180 struct zx_idp_CreatedStatusItem_s* zx_DEEP_CLONE_idp_CreatedStatusItem(struct zx_ctx* c, struct zx_idp_CreatedStatusItem_s* x, int dup_strs); 181 void zx_DUP_STRS_idp_CreatedStatusItem(struct zx_ctx* c, struct zx_idp_CreatedStatusItem_s* x); 182 int zx_WALK_SO_idp_CreatedStatusItem(struct zx_ctx* c, struct zx_idp_CreatedStatusItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 183 int zx_WALK_WO_idp_CreatedStatusItem(struct zx_ctx* c, struct zx_idp_CreatedStatusItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 184 #endif 185 186 #ifdef ZX_ENA_GETPUT 187 struct zx_attr_s* zx_idp_CreatedStatusItem_GET_firstUsed(struct zx_idp_CreatedStatusItem_s* x); 188 struct zx_attr_s* zx_idp_CreatedStatusItem_GET_ref(struct zx_idp_CreatedStatusItem_s* x); 189 struct zx_attr_s* zx_idp_CreatedStatusItem_GET_used(struct zx_idp_CreatedStatusItem_s* x); 190 191 192 193 194 195 void zx_idp_CreatedStatusItem_PUT_firstUsed(struct zx_idp_CreatedStatusItem_s* x, struct zx_attr_s* y); 196 void zx_idp_CreatedStatusItem_PUT_ref(struct zx_idp_CreatedStatusItem_s* x, struct zx_attr_s* y); 197 void zx_idp_CreatedStatusItem_PUT_used(struct zx_idp_CreatedStatusItem_s* x, struct zx_attr_s* y); 198 199 200 201 202 203 #endif 204 /* -------------------------- idp_CreatedStatusResponse -------------------------- */ 205 /* refby( zx_e_Body_s ) */ 206 #ifndef zx_idp_CreatedStatusResponse_EXT 207 #define zx_idp_CreatedStatusResponse_EXT 208 #endif 209 struct zx_idp_CreatedStatusResponse_s { 210 ZX_ELEM_EXT 211 zx_idp_CreatedStatusResponse_EXT 212 struct zx_lu_Status_s* Status; /* {1,1} nada */ 213 }; 214 215 #define zx_NEW_idp_CreatedStatusResponse(c, father) (struct zx_idp_CreatedStatusResponse_s*)zx_new_elem((c),(father),zx_idp_CreatedStatusResponse_ELEM) 216 int zx_DEC_ATTR_idp_CreatedStatusResponse(struct zx_ctx* c, struct zx_idp_CreatedStatusResponse_s* x); 217 int zx_DEC_ELEM_idp_CreatedStatusResponse(struct zx_ctx* c, struct zx_idp_CreatedStatusResponse_s* x); 218 219 #ifdef ZX_ENA_AUX 220 struct zx_idp_CreatedStatusResponse_s* zx_DEEP_CLONE_idp_CreatedStatusResponse(struct zx_ctx* c, struct zx_idp_CreatedStatusResponse_s* x, int dup_strs); 221 void zx_DUP_STRS_idp_CreatedStatusResponse(struct zx_ctx* c, struct zx_idp_CreatedStatusResponse_s* x); 222 int zx_WALK_SO_idp_CreatedStatusResponse(struct zx_ctx* c, struct zx_idp_CreatedStatusResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 223 int zx_WALK_WO_idp_CreatedStatusResponse(struct zx_ctx* c, struct zx_idp_CreatedStatusResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 224 #endif 225 226 #ifdef ZX_ENA_GETPUT 227 228 struct zx_lu_Status_s* zx_idp_CreatedStatusResponse_GET_Status(struct zx_idp_CreatedStatusResponse_s* x, int n); 229 230 int zx_idp_CreatedStatusResponse_NUM_Status(struct zx_idp_CreatedStatusResponse_s* x); 231 232 struct zx_lu_Status_s* zx_idp_CreatedStatusResponse_POP_Status(struct zx_idp_CreatedStatusResponse_s* x); 233 234 void zx_idp_CreatedStatusResponse_PUSH_Status(struct zx_idp_CreatedStatusResponse_s* x, struct zx_lu_Status_s* y); 235 236 237 void zx_idp_CreatedStatusResponse_PUT_Status(struct zx_idp_CreatedStatusResponse_s* x, int n, struct zx_lu_Status_s* y); 238 239 void zx_idp_CreatedStatusResponse_ADD_Status(struct zx_idp_CreatedStatusResponse_s* x, int n, struct zx_lu_Status_s* z); 240 241 void zx_idp_CreatedStatusResponse_DEL_Status(struct zx_idp_CreatedStatusResponse_s* x, int n); 242 243 void zx_idp_CreatedStatusResponse_REV_Status(struct zx_idp_CreatedStatusResponse_s* x); 244 245 #endif 246 /* -------------------------- idp_GetAssertion -------------------------- */ 247 /* refby( zx_e_Body_s ) */ 248 #ifndef zx_idp_GetAssertion_EXT 249 #define zx_idp_GetAssertion_EXT 250 #endif 251 struct zx_idp_GetAssertion_s { 252 ZX_ELEM_EXT 253 zx_idp_GetAssertion_EXT 254 struct zx_sp_AuthnRequest_s* AuthnRequest; /* {1,-1} nada */ 255 struct zx_attr_s* purpose; /* {1,1} attribute hrxml:OrganizationContactPurposeType */ 256 }; 257 258 #define zx_NEW_idp_GetAssertion(c, father) (struct zx_idp_GetAssertion_s*)zx_new_elem((c),(father),zx_idp_GetAssertion_ELEM) 259 int zx_DEC_ATTR_idp_GetAssertion(struct zx_ctx* c, struct zx_idp_GetAssertion_s* x); 260 int zx_DEC_ELEM_idp_GetAssertion(struct zx_ctx* c, struct zx_idp_GetAssertion_s* x); 261 262 #ifdef ZX_ENA_AUX 263 struct zx_idp_GetAssertion_s* zx_DEEP_CLONE_idp_GetAssertion(struct zx_ctx* c, struct zx_idp_GetAssertion_s* x, int dup_strs); 264 void zx_DUP_STRS_idp_GetAssertion(struct zx_ctx* c, struct zx_idp_GetAssertion_s* x); 265 int zx_WALK_SO_idp_GetAssertion(struct zx_ctx* c, struct zx_idp_GetAssertion_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 266 int zx_WALK_WO_idp_GetAssertion(struct zx_ctx* c, struct zx_idp_GetAssertion_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 267 #endif 268 269 #ifdef ZX_ENA_GETPUT 270 struct zx_attr_s* zx_idp_GetAssertion_GET_purpose(struct zx_idp_GetAssertion_s* x); 271 272 struct zx_sp_AuthnRequest_s* zx_idp_GetAssertion_GET_AuthnRequest(struct zx_idp_GetAssertion_s* x, int n); 273 274 int zx_idp_GetAssertion_NUM_AuthnRequest(struct zx_idp_GetAssertion_s* x); 275 276 struct zx_sp_AuthnRequest_s* zx_idp_GetAssertion_POP_AuthnRequest(struct zx_idp_GetAssertion_s* x); 277 278 void zx_idp_GetAssertion_PUSH_AuthnRequest(struct zx_idp_GetAssertion_s* x, struct zx_sp_AuthnRequest_s* y); 279 280 void zx_idp_GetAssertion_PUT_purpose(struct zx_idp_GetAssertion_s* x, struct zx_attr_s* y); 281 282 void zx_idp_GetAssertion_PUT_AuthnRequest(struct zx_idp_GetAssertion_s* x, int n, struct zx_sp_AuthnRequest_s* y); 283 284 void zx_idp_GetAssertion_ADD_AuthnRequest(struct zx_idp_GetAssertion_s* x, int n, struct zx_sp_AuthnRequest_s* z); 285 286 void zx_idp_GetAssertion_DEL_AuthnRequest(struct zx_idp_GetAssertion_s* x, int n); 287 288 void zx_idp_GetAssertion_REV_AuthnRequest(struct zx_idp_GetAssertion_s* x); 289 290 #endif 291 /* -------------------------- idp_GetAssertionResponse -------------------------- */ 292 /* refby( zx_e_Body_s ) */ 293 #ifndef zx_idp_GetAssertionResponse_EXT 294 #define zx_idp_GetAssertionResponse_EXT 295 #endif 296 struct zx_idp_GetAssertionResponse_s { 297 ZX_ELEM_EXT 298 zx_idp_GetAssertionResponse_EXT 299 struct zx_lu_Status_s* Status; /* {1,1} nada */ 300 struct zx_idp_GetAssertionResponseItem_s* GetAssertionResponseItem; /* {0,-1} nada */ 301 }; 302 303 #define zx_NEW_idp_GetAssertionResponse(c, father) (struct zx_idp_GetAssertionResponse_s*)zx_new_elem((c),(father),zx_idp_GetAssertionResponse_ELEM) 304 int zx_DEC_ATTR_idp_GetAssertionResponse(struct zx_ctx* c, struct zx_idp_GetAssertionResponse_s* x); 305 int zx_DEC_ELEM_idp_GetAssertionResponse(struct zx_ctx* c, struct zx_idp_GetAssertionResponse_s* x); 306 307 #ifdef ZX_ENA_AUX 308 struct zx_idp_GetAssertionResponse_s* zx_DEEP_CLONE_idp_GetAssertionResponse(struct zx_ctx* c, struct zx_idp_GetAssertionResponse_s* x, int dup_strs); 309 void zx_DUP_STRS_idp_GetAssertionResponse(struct zx_ctx* c, struct zx_idp_GetAssertionResponse_s* x); 310 int zx_WALK_SO_idp_GetAssertionResponse(struct zx_ctx* c, struct zx_idp_GetAssertionResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 311 int zx_WALK_WO_idp_GetAssertionResponse(struct zx_ctx* c, struct zx_idp_GetAssertionResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 312 #endif 313 314 #ifdef ZX_ENA_GETPUT 315 316 struct zx_lu_Status_s* zx_idp_GetAssertionResponse_GET_Status(struct zx_idp_GetAssertionResponse_s* x, int n); 317 struct zx_idp_GetAssertionResponseItem_s* zx_idp_GetAssertionResponse_GET_GetAssertionResponseItem(struct zx_idp_GetAssertionResponse_s* x, int n); 318 319 int zx_idp_GetAssertionResponse_NUM_Status(struct zx_idp_GetAssertionResponse_s* x); 320 int zx_idp_GetAssertionResponse_NUM_GetAssertionResponseItem(struct zx_idp_GetAssertionResponse_s* x); 321 322 struct zx_lu_Status_s* zx_idp_GetAssertionResponse_POP_Status(struct zx_idp_GetAssertionResponse_s* x); 323 struct zx_idp_GetAssertionResponseItem_s* zx_idp_GetAssertionResponse_POP_GetAssertionResponseItem(struct zx_idp_GetAssertionResponse_s* x); 324 325 void zx_idp_GetAssertionResponse_PUSH_Status(struct zx_idp_GetAssertionResponse_s* x, struct zx_lu_Status_s* y); 326 void zx_idp_GetAssertionResponse_PUSH_GetAssertionResponseItem(struct zx_idp_GetAssertionResponse_s* x, struct zx_idp_GetAssertionResponseItem_s* y); 327 328 329 void zx_idp_GetAssertionResponse_PUT_Status(struct zx_idp_GetAssertionResponse_s* x, int n, struct zx_lu_Status_s* y); 330 void zx_idp_GetAssertionResponse_PUT_GetAssertionResponseItem(struct zx_idp_GetAssertionResponse_s* x, int n, struct zx_idp_GetAssertionResponseItem_s* y); 331 332 void zx_idp_GetAssertionResponse_ADD_Status(struct zx_idp_GetAssertionResponse_s* x, int n, struct zx_lu_Status_s* z); 333 void zx_idp_GetAssertionResponse_ADD_GetAssertionResponseItem(struct zx_idp_GetAssertionResponse_s* x, int n, struct zx_idp_GetAssertionResponseItem_s* z); 334 335 void zx_idp_GetAssertionResponse_DEL_Status(struct zx_idp_GetAssertionResponse_s* x, int n); 336 void zx_idp_GetAssertionResponse_DEL_GetAssertionResponseItem(struct zx_idp_GetAssertionResponse_s* x, int n); 337 338 void zx_idp_GetAssertionResponse_REV_Status(struct zx_idp_GetAssertionResponse_s* x); 339 void zx_idp_GetAssertionResponse_REV_GetAssertionResponseItem(struct zx_idp_GetAssertionResponse_s* x); 340 341 #endif 342 /* -------------------------- idp_GetAssertionResponseItem -------------------------- */ 343 /* refby( zx_idp_GetAssertionResponse_s ) */ 344 #ifndef zx_idp_GetAssertionResponseItem_EXT 345 #define zx_idp_GetAssertionResponseItem_EXT 346 #endif 347 struct zx_idp_GetAssertionResponseItem_s { 348 ZX_ELEM_EXT 349 zx_idp_GetAssertionResponseItem_EXT 350 struct zx_idp_AssertionItem_s* AssertionItem; /* {0,-1} nada */ 351 struct zx_attr_s* id; /* {0,1} attribute xs:ID */ 352 struct zx_attr_s* ref; /* {1,1} attribute xs:anyURI */ 353 }; 354 355 #define zx_NEW_idp_GetAssertionResponseItem(c, father) (struct zx_idp_GetAssertionResponseItem_s*)zx_new_elem((c),(father),zx_idp_GetAssertionResponseItem_ELEM) 356 int zx_DEC_ATTR_idp_GetAssertionResponseItem(struct zx_ctx* c, struct zx_idp_GetAssertionResponseItem_s* x); 357 int zx_DEC_ELEM_idp_GetAssertionResponseItem(struct zx_ctx* c, struct zx_idp_GetAssertionResponseItem_s* x); 358 359 #ifdef ZX_ENA_AUX 360 struct zx_idp_GetAssertionResponseItem_s* zx_DEEP_CLONE_idp_GetAssertionResponseItem(struct zx_ctx* c, struct zx_idp_GetAssertionResponseItem_s* x, int dup_strs); 361 void zx_DUP_STRS_idp_GetAssertionResponseItem(struct zx_ctx* c, struct zx_idp_GetAssertionResponseItem_s* x); 362 int zx_WALK_SO_idp_GetAssertionResponseItem(struct zx_ctx* c, struct zx_idp_GetAssertionResponseItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 363 int zx_WALK_WO_idp_GetAssertionResponseItem(struct zx_ctx* c, struct zx_idp_GetAssertionResponseItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 364 #endif 365 366 #ifdef ZX_ENA_GETPUT 367 struct zx_attr_s* zx_idp_GetAssertionResponseItem_GET_id(struct zx_idp_GetAssertionResponseItem_s* x); 368 struct zx_attr_s* zx_idp_GetAssertionResponseItem_GET_ref(struct zx_idp_GetAssertionResponseItem_s* x); 369 370 struct zx_idp_AssertionItem_s* zx_idp_GetAssertionResponseItem_GET_AssertionItem(struct zx_idp_GetAssertionResponseItem_s* x, int n); 371 372 int zx_idp_GetAssertionResponseItem_NUM_AssertionItem(struct zx_idp_GetAssertionResponseItem_s* x); 373 374 struct zx_idp_AssertionItem_s* zx_idp_GetAssertionResponseItem_POP_AssertionItem(struct zx_idp_GetAssertionResponseItem_s* x); 375 376 void zx_idp_GetAssertionResponseItem_PUSH_AssertionItem(struct zx_idp_GetAssertionResponseItem_s* x, struct zx_idp_AssertionItem_s* y); 377 378 void zx_idp_GetAssertionResponseItem_PUT_id(struct zx_idp_GetAssertionResponseItem_s* x, struct zx_attr_s* y); 379 void zx_idp_GetAssertionResponseItem_PUT_ref(struct zx_idp_GetAssertionResponseItem_s* x, struct zx_attr_s* y); 380 381 void zx_idp_GetAssertionResponseItem_PUT_AssertionItem(struct zx_idp_GetAssertionResponseItem_s* x, int n, struct zx_idp_AssertionItem_s* y); 382 383 void zx_idp_GetAssertionResponseItem_ADD_AssertionItem(struct zx_idp_GetAssertionResponseItem_s* x, int n, struct zx_idp_AssertionItem_s* z); 384 385 void zx_idp_GetAssertionResponseItem_DEL_AssertionItem(struct zx_idp_GetAssertionResponseItem_s* x, int n); 386 387 void zx_idp_GetAssertionResponseItem_REV_AssertionItem(struct zx_idp_GetAssertionResponseItem_s* x); 388 389 #endif 390 /* -------------------------- idp_GetProviderInfo -------------------------- */ 391 /* refby( zx_e_Body_s ) */ 392 #ifndef zx_idp_GetProviderInfo_EXT 393 #define zx_idp_GetProviderInfo_EXT 394 #endif 395 struct zx_idp_GetProviderInfo_s { 396 ZX_ELEM_EXT 397 zx_idp_GetProviderInfo_EXT 398 struct zx_elem_s* ProviderID; /* {0,-1} xs:anyURI */ 399 struct zx_attr_s* all; /* {0,1} attribute xs:boolean */ 400 }; 401 402 #define zx_NEW_idp_GetProviderInfo(c, father) (struct zx_idp_GetProviderInfo_s*)zx_new_elem((c),(father),zx_idp_GetProviderInfo_ELEM) 403 int zx_DEC_ATTR_idp_GetProviderInfo(struct zx_ctx* c, struct zx_idp_GetProviderInfo_s* x); 404 int zx_DEC_ELEM_idp_GetProviderInfo(struct zx_ctx* c, struct zx_idp_GetProviderInfo_s* x); 405 406 #ifdef ZX_ENA_AUX 407 struct zx_idp_GetProviderInfo_s* zx_DEEP_CLONE_idp_GetProviderInfo(struct zx_ctx* c, struct zx_idp_GetProviderInfo_s* x, int dup_strs); 408 void zx_DUP_STRS_idp_GetProviderInfo(struct zx_ctx* c, struct zx_idp_GetProviderInfo_s* x); 409 int zx_WALK_SO_idp_GetProviderInfo(struct zx_ctx* c, struct zx_idp_GetProviderInfo_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 410 int zx_WALK_WO_idp_GetProviderInfo(struct zx_ctx* c, struct zx_idp_GetProviderInfo_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 411 #endif 412 413 #ifdef ZX_ENA_GETPUT 414 struct zx_attr_s* zx_idp_GetProviderInfo_GET_all(struct zx_idp_GetProviderInfo_s* x); 415 416 struct zx_elem_s* zx_idp_GetProviderInfo_GET_ProviderID(struct zx_idp_GetProviderInfo_s* x, int n); 417 418 int zx_idp_GetProviderInfo_NUM_ProviderID(struct zx_idp_GetProviderInfo_s* x); 419 420 struct zx_elem_s* zx_idp_GetProviderInfo_POP_ProviderID(struct zx_idp_GetProviderInfo_s* x); 421 422 void zx_idp_GetProviderInfo_PUSH_ProviderID(struct zx_idp_GetProviderInfo_s* x, struct zx_elem_s* y); 423 424 void zx_idp_GetProviderInfo_PUT_all(struct zx_idp_GetProviderInfo_s* x, struct zx_attr_s* y); 425 426 void zx_idp_GetProviderInfo_PUT_ProviderID(struct zx_idp_GetProviderInfo_s* x, int n, struct zx_elem_s* y); 427 428 void zx_idp_GetProviderInfo_ADD_ProviderID(struct zx_idp_GetProviderInfo_s* x, int n, struct zx_elem_s* z); 429 430 void zx_idp_GetProviderInfo_DEL_ProviderID(struct zx_idp_GetProviderInfo_s* x,int n); 431 432 void zx_idp_GetProviderInfo_REV_ProviderID(struct zx_idp_GetProviderInfo_s* x); 433 434 #endif 435 /* -------------------------- idp_GetProviderInfoResponse -------------------------- */ 436 /* refby( zx_e_Body_s ) */ 437 #ifndef zx_idp_GetProviderInfoResponse_EXT 438 #define zx_idp_GetProviderInfoResponse_EXT 439 #endif 440 struct zx_idp_GetProviderInfoResponse_s { 441 ZX_ELEM_EXT 442 zx_idp_GetProviderInfoResponse_EXT 443 struct zx_lu_Status_s* Status; /* {1,1} nada */ 444 struct zx_idp_ProviderInfo_s* ProviderInfo; /* {0,-1} nada */ 445 }; 446 447 #define zx_NEW_idp_GetProviderInfoResponse(c, father) (struct zx_idp_GetProviderInfoResponse_s*)zx_new_elem((c),(father),zx_idp_GetProviderInfoResponse_ELEM) 448 int zx_DEC_ATTR_idp_GetProviderInfoResponse(struct zx_ctx* c, struct zx_idp_GetProviderInfoResponse_s* x); 449 int zx_DEC_ELEM_idp_GetProviderInfoResponse(struct zx_ctx* c, struct zx_idp_GetProviderInfoResponse_s* x); 450 451 #ifdef ZX_ENA_AUX 452 struct zx_idp_GetProviderInfoResponse_s* zx_DEEP_CLONE_idp_GetProviderInfoResponse(struct zx_ctx* c, struct zx_idp_GetProviderInfoResponse_s* x, int dup_strs); 453 void zx_DUP_STRS_idp_GetProviderInfoResponse(struct zx_ctx* c, struct zx_idp_GetProviderInfoResponse_s* x); 454 int zx_WALK_SO_idp_GetProviderInfoResponse(struct zx_ctx* c, struct zx_idp_GetProviderInfoResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 455 int zx_WALK_WO_idp_GetProviderInfoResponse(struct zx_ctx* c, struct zx_idp_GetProviderInfoResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 456 #endif 457 458 #ifdef ZX_ENA_GETPUT 459 460 struct zx_lu_Status_s* zx_idp_GetProviderInfoResponse_GET_Status(struct zx_idp_GetProviderInfoResponse_s* x, int n); 461 struct zx_idp_ProviderInfo_s* zx_idp_GetProviderInfoResponse_GET_ProviderInfo(struct zx_idp_GetProviderInfoResponse_s* x, int n); 462 463 int zx_idp_GetProviderInfoResponse_NUM_Status(struct zx_idp_GetProviderInfoResponse_s* x); 464 int zx_idp_GetProviderInfoResponse_NUM_ProviderInfo(struct zx_idp_GetProviderInfoResponse_s* x); 465 466 struct zx_lu_Status_s* zx_idp_GetProviderInfoResponse_POP_Status(struct zx_idp_GetProviderInfoResponse_s* x); 467 struct zx_idp_ProviderInfo_s* zx_idp_GetProviderInfoResponse_POP_ProviderInfo(struct zx_idp_GetProviderInfoResponse_s* x); 468 469 void zx_idp_GetProviderInfoResponse_PUSH_Status(struct zx_idp_GetProviderInfoResponse_s* x, struct zx_lu_Status_s* y); 470 void zx_idp_GetProviderInfoResponse_PUSH_ProviderInfo(struct zx_idp_GetProviderInfoResponse_s* x, struct zx_idp_ProviderInfo_s* y); 471 472 473 void zx_idp_GetProviderInfoResponse_PUT_Status(struct zx_idp_GetProviderInfoResponse_s* x, int n, struct zx_lu_Status_s* y); 474 void zx_idp_GetProviderInfoResponse_PUT_ProviderInfo(struct zx_idp_GetProviderInfoResponse_s* x, int n, struct zx_idp_ProviderInfo_s* y); 475 476 void zx_idp_GetProviderInfoResponse_ADD_Status(struct zx_idp_GetProviderInfoResponse_s* x, int n, struct zx_lu_Status_s* z); 477 void zx_idp_GetProviderInfoResponse_ADD_ProviderInfo(struct zx_idp_GetProviderInfoResponse_s* x, int n, struct zx_idp_ProviderInfo_s* z); 478 479 void zx_idp_GetProviderInfoResponse_DEL_Status(struct zx_idp_GetProviderInfoResponse_s* x, int n); 480 void zx_idp_GetProviderInfoResponse_DEL_ProviderInfo(struct zx_idp_GetProviderInfoResponse_s* x, int n); 481 482 void zx_idp_GetProviderInfoResponse_REV_Status(struct zx_idp_GetProviderInfoResponse_s* x); 483 void zx_idp_GetProviderInfoResponse_REV_ProviderInfo(struct zx_idp_GetProviderInfoResponse_s* x); 484 485 #endif 486 /* -------------------------- idp_MEDInfo -------------------------- */ 487 /* refby( zx_idp_AssertionItem_s ) */ 488 #ifndef zx_idp_MEDInfo_EXT 489 #define zx_idp_MEDInfo_EXT 490 #endif 491 struct zx_idp_MEDInfo_s { 492 ZX_ELEM_EXT 493 zx_idp_MEDInfo_EXT 494 struct zx_sa_NameID_s* NameID; /* {1,-1} nada */ 495 struct zx_sa_AttributeStatement_s* AttributeStatement; /* {0,-1} nada */ 496 }; 497 498 #define zx_NEW_idp_MEDInfo(c, father) (struct zx_idp_MEDInfo_s*)zx_new_elem((c),(father),zx_idp_MEDInfo_ELEM) 499 int zx_DEC_ATTR_idp_MEDInfo(struct zx_ctx* c, struct zx_idp_MEDInfo_s* x); 500 int zx_DEC_ELEM_idp_MEDInfo(struct zx_ctx* c, struct zx_idp_MEDInfo_s* x); 501 502 #ifdef ZX_ENA_AUX 503 struct zx_idp_MEDInfo_s* zx_DEEP_CLONE_idp_MEDInfo(struct zx_ctx* c, struct zx_idp_MEDInfo_s* x, int dup_strs); 504 void zx_DUP_STRS_idp_MEDInfo(struct zx_ctx* c, struct zx_idp_MEDInfo_s* x); 505 int zx_WALK_SO_idp_MEDInfo(struct zx_ctx* c, struct zx_idp_MEDInfo_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 506 int zx_WALK_WO_idp_MEDInfo(struct zx_ctx* c, struct zx_idp_MEDInfo_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 507 #endif 508 509 #ifdef ZX_ENA_GETPUT 510 511 struct zx_sa_NameID_s* zx_idp_MEDInfo_GET_NameID(struct zx_idp_MEDInfo_s* x, int n); 512 struct zx_sa_AttributeStatement_s* zx_idp_MEDInfo_GET_AttributeStatement(struct zx_idp_MEDInfo_s* x, int n); 513 514 int zx_idp_MEDInfo_NUM_NameID(struct zx_idp_MEDInfo_s* x); 515 int zx_idp_MEDInfo_NUM_AttributeStatement(struct zx_idp_MEDInfo_s* x); 516 517 struct zx_sa_NameID_s* zx_idp_MEDInfo_POP_NameID(struct zx_idp_MEDInfo_s* x); 518 struct zx_sa_AttributeStatement_s* zx_idp_MEDInfo_POP_AttributeStatement(struct zx_idp_MEDInfo_s* x); 519 520 void zx_idp_MEDInfo_PUSH_NameID(struct zx_idp_MEDInfo_s* x, struct zx_sa_NameID_s* y); 521 void zx_idp_MEDInfo_PUSH_AttributeStatement(struct zx_idp_MEDInfo_s* x, struct zx_sa_AttributeStatement_s* y); 522 523 524 void zx_idp_MEDInfo_PUT_NameID(struct zx_idp_MEDInfo_s* x, int n, struct zx_sa_NameID_s* y); 525 void zx_idp_MEDInfo_PUT_AttributeStatement(struct zx_idp_MEDInfo_s* x, int n, struct zx_sa_AttributeStatement_s* y); 526 527 void zx_idp_MEDInfo_ADD_NameID(struct zx_idp_MEDInfo_s* x, int n, struct zx_sa_NameID_s* z); 528 void zx_idp_MEDInfo_ADD_AttributeStatement(struct zx_idp_MEDInfo_s* x, int n, struct zx_sa_AttributeStatement_s* z); 529 530 void zx_idp_MEDInfo_DEL_NameID(struct zx_idp_MEDInfo_s* x, int n); 531 void zx_idp_MEDInfo_DEL_AttributeStatement(struct zx_idp_MEDInfo_s* x, int n); 532 533 void zx_idp_MEDInfo_REV_NameID(struct zx_idp_MEDInfo_s* x); 534 void zx_idp_MEDInfo_REV_AttributeStatement(struct zx_idp_MEDInfo_s* x); 535 536 #endif 537 /* -------------------------- idp_ProviderInfo -------------------------- */ 538 /* refby( zx_idp_GetProviderInfoResponse_s ) */ 539 #ifndef zx_idp_ProviderInfo_EXT 540 #define zx_idp_ProviderInfo_EXT 541 #endif 542 struct zx_idp_ProviderInfo_s { 543 ZX_ELEM_EXT 544 zx_idp_ProviderInfo_EXT 545 struct zx_attr_s* name; /* {0,1} attribute xs:ID */ 546 struct zx_attr_s* providerID; /* {1,1} attribute xs:anyURI */ 547 }; 548 549 #define zx_NEW_idp_ProviderInfo(c, father) (struct zx_idp_ProviderInfo_s*)zx_new_elem((c),(father),zx_idp_ProviderInfo_ELEM) 550 int zx_DEC_ATTR_idp_ProviderInfo(struct zx_ctx* c, struct zx_idp_ProviderInfo_s* x); 551 int zx_DEC_ELEM_idp_ProviderInfo(struct zx_ctx* c, struct zx_idp_ProviderInfo_s* x); 552 553 #ifdef ZX_ENA_AUX 554 struct zx_idp_ProviderInfo_s* zx_DEEP_CLONE_idp_ProviderInfo(struct zx_ctx* c, struct zx_idp_ProviderInfo_s* x, int dup_strs); 555 void zx_DUP_STRS_idp_ProviderInfo(struct zx_ctx* c, struct zx_idp_ProviderInfo_s* x); 556 int zx_WALK_SO_idp_ProviderInfo(struct zx_ctx* c, struct zx_idp_ProviderInfo_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 557 int zx_WALK_WO_idp_ProviderInfo(struct zx_ctx* c, struct zx_idp_ProviderInfo_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 558 #endif 559 560 #ifdef ZX_ENA_GETPUT 561 struct zx_attr_s* zx_idp_ProviderInfo_GET_name(struct zx_idp_ProviderInfo_s* x); 562 struct zx_attr_s* zx_idp_ProviderInfo_GET_providerID(struct zx_idp_ProviderInfo_s* x); 563 564 565 566 567 568 void zx_idp_ProviderInfo_PUT_name(struct zx_idp_ProviderInfo_s* x, struct zx_attr_s* y); 569 void zx_idp_ProviderInfo_PUT_providerID(struct zx_idp_ProviderInfo_s* x, struct zx_attr_s* y); 570 571 572 573 574 575 #endif 576 /* -------------------------- idp_SubjectRestriction -------------------------- */ 577 /* refby( zx_sa_Conditions_s ) */ 578 #ifndef zx_idp_SubjectRestriction_EXT 579 #define zx_idp_SubjectRestriction_EXT 580 #endif 581 struct zx_idp_SubjectRestriction_s { 582 ZX_ELEM_EXT 583 zx_idp_SubjectRestriction_EXT 584 struct zx_sa_Subject_s* Subject; /* {1,-1} nada */ 585 }; 586 587 #define zx_NEW_idp_SubjectRestriction(c, father) (struct zx_idp_SubjectRestriction_s*)zx_new_elem((c),(father),zx_idp_SubjectRestriction_ELEM) 588 int zx_DEC_ATTR_idp_SubjectRestriction(struct zx_ctx* c, struct zx_idp_SubjectRestriction_s* x); 589 int zx_DEC_ELEM_idp_SubjectRestriction(struct zx_ctx* c, struct zx_idp_SubjectRestriction_s* x); 590 591 #ifdef ZX_ENA_AUX 592 struct zx_idp_SubjectRestriction_s* zx_DEEP_CLONE_idp_SubjectRestriction(struct zx_ctx* c, struct zx_idp_SubjectRestriction_s* x, int dup_strs); 593 void zx_DUP_STRS_idp_SubjectRestriction(struct zx_ctx* c, struct zx_idp_SubjectRestriction_s* x); 594 int zx_WALK_SO_idp_SubjectRestriction(struct zx_ctx* c, struct zx_idp_SubjectRestriction_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 595 int zx_WALK_WO_idp_SubjectRestriction(struct zx_ctx* c, struct zx_idp_SubjectRestriction_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 596 #endif 597 598 #ifdef ZX_ENA_GETPUT 599 600 struct zx_sa_Subject_s* zx_idp_SubjectRestriction_GET_Subject(struct zx_idp_SubjectRestriction_s* x, int n); 601 602 int zx_idp_SubjectRestriction_NUM_Subject(struct zx_idp_SubjectRestriction_s* x); 603 604 struct zx_sa_Subject_s* zx_idp_SubjectRestriction_POP_Subject(struct zx_idp_SubjectRestriction_s* x); 605 606 void zx_idp_SubjectRestriction_PUSH_Subject(struct zx_idp_SubjectRestriction_s* x, struct zx_sa_Subject_s* y); 607 608 609 void zx_idp_SubjectRestriction_PUT_Subject(struct zx_idp_SubjectRestriction_s* x, int n, struct zx_sa_Subject_s* y); 610 611 void zx_idp_SubjectRestriction_ADD_Subject(struct zx_idp_SubjectRestriction_s* x, int n, struct zx_sa_Subject_s* z); 612 613 void zx_idp_SubjectRestriction_DEL_Subject(struct zx_idp_SubjectRestriction_s* x, int n); 614 615 void zx_idp_SubjectRestriction_REV_Subject(struct zx_idp_SubjectRestriction_s* x); 616 617 #endif 618 619 #endif 620