1 /* c/zx-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_data_h 11 #define _c_zx_data_h 12 13 #include "zx.h" 14 #include "c/zx-const.h" 15 #include "c/zx-a-data.h" 16 #include "c/zx-ac-data.h" 17 #include "c/zx-as-data.h" 18 #include "c/zx-b-data.h" 19 #include "c/zx-b12-data.h" 20 #include "c/zx-cb-data.h" 21 #include "c/zx-cdm-data.h" 22 #include "c/zx-dap-data.h" 23 #include "c/zx-demomed-data.h" 24 #include "c/zx-di-data.h" 25 #include "c/zx-di12-data.h" 26 #include "c/zx-dp-data.h" 27 #include "c/zx-ds-data.h" 28 #include "c/zx-dst-data.h" 29 #include "c/zx-e-data.h" 30 #include "c/zx-ecp-data.h" 31 #include "c/zx-exca-data.h" 32 #include "c/zx-ff12-data.h" 33 #include "c/zx-gl-data.h" 34 #include "c/zx-hrxml-data.h" 35 #include "c/zx-idhrxml-data.h" 36 #include "c/zx-idp-data.h" 37 #include "c/zx-idpdisc-data.h" 38 #include "c/zx-im-data.h" 39 #include "c/zx-is-data.h" 40 #include "c/zx-is12-data.h" 41 #include "c/zx-lu-data.h" 42 #include "c/zx-m20-data.h" 43 #include "c/zx-md-data.h" 44 #include "c/zx-mm7-data.h" 45 #include "c/zx-paos-data.h" 46 #include "c/zx-pmm-data.h" 47 #include "c/zx-prov-data.h" 48 #include "c/zx-ps-data.h" 49 #include "c/zx-sa-data.h" 50 #include "c/zx-sa11-data.h" 51 #include "c/zx-sbf-data.h" 52 #include "c/zx-sec-data.h" 53 #include "c/zx-sec12-data.h" 54 #include "c/zx-shibmd-data.h" 55 #include "c/zx-shps-data.h" 56 #include "c/zx-sp-data.h" 57 #include "c/zx-sp11-data.h" 58 #include "c/zx-subs-data.h" 59 #include "c/zx-tas3-data.h" 60 #include "c/zx-tas3sol-data.h" 61 #include "c/zx-wsc-data.h" 62 #include "c/zx-wsp-data.h" 63 #include "c/zx-wsse-data.h" 64 #include "c/zx-wst-data.h" 65 #include "c/zx-wsu-data.h" 66 #include "c/zx-xa-data.h" 67 #include "c/zx-xac-data.h" 68 #include "c/zx-xasa-data.h" 69 #include "c/zx-xasacd1-data.h" 70 #include "c/zx-xasp-data.h" 71 #include "c/zx-xaspcd1-data.h" 72 #include "c/zx-xenc-data.h" 73 #include "c/zx-xml-data.h" 74 #include "c/zx-xs-data.h" 75 #include "c/zx-xsi-data.h" 76 77 78 #ifndef ZX_ELEM_EXT 79 #define ZX_ELEM_EXT /* This extension point should be defined by who includes this file. */ 80 #endif 81 82 struct zx_ns_s* zx_url2ns(const char* str, unsigned int len); 83 84 #define zx_N_ATTR 337 85 extern struct zx_at_tok zx_at_tab[zx__ATTR_MAX]; /* gperf generated, see zx-attrs.c */ 86 struct zx_at_tok* zx_attr2tok(const char* s, unsigned int len); 87 88 #define zx_N_ELEM 1339 89 #define zx_N_EL_DESC (1149 + 500) 90 extern struct zx_el_tok zx_el_tab[zx__ELEM_MAX]; /* gperf generated, see zx-elems.c */ 91 struct zx_el_tok* zx_elem2tok(const char* s, unsigned int len); 92 93 /* -------------------------- root -------------------------- */ 94 /* refby( ) */ 95 #ifndef zx_root_EXT 96 #define zx_root_EXT 97 #endif 98 struct zx_root_s { 99 ZX_ELEM_EXT 100 zx_root_EXT 101 struct zx_sa_Assertion_s* Assertion; /* {0,-1} root */ 102 struct zx_sa_EncryptedAssertion_s* EncryptedAssertion; /* {0,-1} root */ 103 struct zx_sa_NameID_s* NameID; /* {0,-1} root */ 104 struct zx_sa_EncryptedID_s* EncryptedID; /* {0,-1} root */ 105 struct zx_elem_s* NewID; /* {0,-1} xs:string */ 106 struct zx_sp_AuthnRequest_s* AuthnRequest; /* {0,-1} root */ 107 struct zx_sp_Response_s* Response; /* {0,-1} root */ 108 struct zx_sp_LogoutRequest_s* LogoutRequest; /* {0,-1} root */ 109 struct zx_sp_LogoutResponse_s* LogoutResponse; /* {0,-1} root */ 110 struct zx_sp_ManageNameIDRequest_s* ManageNameIDRequest; /* {0,-1} root */ 111 struct zx_sp_ManageNameIDResponse_s* ManageNameIDResponse; /* {0,-1} root */ 112 struct zx_e_Envelope_s* Envelope; /* {0,-1} root */ 113 struct zx_e_Header_s* Header; /* {0,-1} root */ 114 struct zx_e_Body_s* Body; /* {0,-1} root */ 115 struct zx_md_EntityDescriptor_s* EntityDescriptor; /* {0,-1} root */ 116 struct zx_md_EntitiesDescriptor_s* EntitiesDescriptor; /* {0,-1} root */ 117 struct zx_xasp_XACMLAuthzDecisionQuery_s* XACMLAuthzDecisionQuery; /* {0,-1} root */ 118 struct zx_xasp_XACMLPolicyQuery_s* XACMLPolicyQuery; /* {0,-1} root */ 119 struct zx_xaspcd1_XACMLAuthzDecisionQuery_s* xaspcd1_XACMLAuthzDecisionQuery; /* {0,-1} root */ 120 struct zx_xaspcd1_XACMLPolicyQuery_s* xaspcd1_XACMLPolicyQuery; /* {0,-1} root */ 121 struct zx_a_EndpointReference_s* EndpointReference; /* {0,-1} root */ 122 struct zx_sec_Token_s* Token; /* {0,-1} root */ 123 struct zx_hrxml_Candidate_s* Candidate; /* {0,-1} root */ 124 struct zx_sa11_Assertion_s* sa11_Assertion; /* {0,-1} root */ 125 struct zx_sp11_Request_s* Request; /* {0,-1} root */ 126 struct zx_sp11_Response_s* sp11_Response; /* {0,-1} root */ 127 struct zx_ff12_Assertion_s* ff12_Assertion; /* {0,-1} root */ 128 struct zx_ff12_AuthnRequest_s* ff12_AuthnRequest; /* {0,-1} root */ 129 struct zx_ff12_AuthnResponse_s* AuthnResponse; /* {0,-1} root */ 130 struct zx_ff12_AuthnRequestEnvelope_s* AuthnRequestEnvelope; /* {0,-1} root */ 131 struct zx_ff12_AuthnResponseEnvelope_s* AuthnResponseEnvelope; /* {0,-1} root */ 132 struct zx_ff12_RegisterNameIdentifierRequest_s* RegisterNameIdentifierRequest; /* {0,-1} root */ 133 struct zx_ff12_RegisterNameIdentifierResponse_s* RegisterNameIdentifierResponse; /* {0,-1} root */ 134 struct zx_ff12_FederationTerminationNotification_s* FederationTerminationNotification; /* {0,-1} root */ 135 struct zx_ff12_LogoutRequest_s* ff12_LogoutRequest; /* {0,-1} root */ 136 struct zx_ff12_LogoutResponse_s* ff12_LogoutResponse; /* {0,-1} root */ 137 struct zx_ff12_NameIdentifierMappingRequest_s* NameIdentifierMappingRequest; /* {0,-1} root */ 138 struct zx_ff12_NameIdentifierMappingResponse_s* NameIdentifierMappingResponse; /* {0,-1} root */ 139 struct zx_m20_EntityDescriptor_s* m20_EntityDescriptor; /* {0,-1} root */ 140 struct zx_m20_EntitiesDescriptor_s* m20_EntitiesDescriptor; /* {0,-1} */ 141 }; 142 143 #define zx_NEW_root(c, father) (struct zx_root_s*)zx_new_elem((c),(father),zx_root_ELEM) 144 int zx_DEC_ATTR_root(struct zx_ctx* c, struct zx_root_s* x); 145 int zx_DEC_ELEM_root(struct zx_ctx* c, struct zx_root_s* x); 146 147 #ifdef ZX_ENA_AUX 148 struct zx_root_s* zx_DEEP_CLONE_root(struct zx_ctx* c, struct zx_root_s* x, int dup_strs); 149 void zx_DUP_STRS_root(struct zx_ctx* c, struct zx_root_s* x); 150 int zx_WALK_SO_root(struct zx_ctx* c, struct zx_root_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 151 int zx_WALK_WO_root(struct zx_ctx* c, struct zx_root_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 152 #endif 153 154 #ifdef ZX_ENA_GETPUT 155 156 struct zx_sa_Assertion_s* zx_root_GET_Assertion(struct zx_root_s* x, int n); 157 struct zx_sa_EncryptedAssertion_s* zx_root_GET_EncryptedAssertion(struct zx_root_s* x, int n); 158 struct zx_sa_NameID_s* zx_root_GET_NameID(struct zx_root_s* x, int n); 159 struct zx_sa_EncryptedID_s* zx_root_GET_EncryptedID(struct zx_root_s* x, int n); 160 struct zx_elem_s* zx_root_GET_NewID(struct zx_root_s* x, int n); 161 struct zx_sp_AuthnRequest_s* zx_root_GET_AuthnRequest(struct zx_root_s* x, int n); 162 struct zx_sp_Response_s* zx_root_GET_Response(struct zx_root_s* x, int n); 163 struct zx_sp_LogoutRequest_s* zx_root_GET_LogoutRequest(struct zx_root_s* x, int n); 164 struct zx_sp_LogoutResponse_s* zx_root_GET_LogoutResponse(struct zx_root_s* x, int n); 165 struct zx_sp_ManageNameIDRequest_s* zx_root_GET_ManageNameIDRequest(struct zx_root_s* x, int n); 166 struct zx_sp_ManageNameIDResponse_s* zx_root_GET_ManageNameIDResponse(struct zx_root_s* x, int n); 167 struct zx_e_Envelope_s* zx_root_GET_Envelope(struct zx_root_s* x, int n); 168 struct zx_e_Header_s* zx_root_GET_Header(struct zx_root_s* x, int n); 169 struct zx_e_Body_s* zx_root_GET_Body(struct zx_root_s* x, int n); 170 struct zx_md_EntityDescriptor_s* zx_root_GET_EntityDescriptor(struct zx_root_s* x, int n); 171 struct zx_md_EntitiesDescriptor_s* zx_root_GET_EntitiesDescriptor(struct zx_root_s* x, int n); 172 struct zx_xasp_XACMLAuthzDecisionQuery_s* zx_root_GET_XACMLAuthzDecisionQuery(struct zx_root_s* x, int n); 173 struct zx_xasp_XACMLPolicyQuery_s* zx_root_GET_XACMLPolicyQuery(struct zx_root_s* x, int n); 174 struct zx_xaspcd1_XACMLAuthzDecisionQuery_s* zx_root_GET_xaspcd1_XACMLAuthzDecisionQuery(struct zx_root_s* x, int n); 175 struct zx_xaspcd1_XACMLPolicyQuery_s* zx_root_GET_xaspcd1_XACMLPolicyQuery(struct zx_root_s* x, int n); 176 struct zx_a_EndpointReference_s* zx_root_GET_EndpointReference(struct zx_root_s* x, int n); 177 struct zx_sec_Token_s* zx_root_GET_Token(struct zx_root_s* x, int n); 178 struct zx_hrxml_Candidate_s* zx_root_GET_Candidate(struct zx_root_s* x, int n); 179 struct zx_sa11_Assertion_s* zx_root_GET_sa11_Assertion(struct zx_root_s* x, int n); 180 struct zx_sp11_Request_s* zx_root_GET_Request(struct zx_root_s* x, int n); 181 struct zx_sp11_Response_s* zx_root_GET_sp11_Response(struct zx_root_s* x, int n); 182 struct zx_ff12_Assertion_s* zx_root_GET_ff12_Assertion(struct zx_root_s* x, int n); 183 struct zx_ff12_AuthnRequest_s* zx_root_GET_ff12_AuthnRequest(struct zx_root_s* x, int n); 184 struct zx_ff12_AuthnResponse_s* zx_root_GET_AuthnResponse(struct zx_root_s* x, int n); 185 struct zx_ff12_AuthnRequestEnvelope_s* zx_root_GET_AuthnRequestEnvelope(struct zx_root_s* x, int n); 186 struct zx_ff12_AuthnResponseEnvelope_s* zx_root_GET_AuthnResponseEnvelope(struct zx_root_s* x, int n); 187 struct zx_ff12_RegisterNameIdentifierRequest_s* zx_root_GET_RegisterNameIdentifierRequest(struct zx_root_s* x, int n); 188 struct zx_ff12_RegisterNameIdentifierResponse_s* zx_root_GET_RegisterNameIdentifierResponse(struct zx_root_s* x, int n); 189 struct zx_ff12_FederationTerminationNotification_s* zx_root_GET_FederationTerminationNotification(struct zx_root_s* x, int n); 190 struct zx_ff12_LogoutRequest_s* zx_root_GET_ff12_LogoutRequest(struct zx_root_s* x, int n); 191 struct zx_ff12_LogoutResponse_s* zx_root_GET_ff12_LogoutResponse(struct zx_root_s* x, int n); 192 struct zx_ff12_NameIdentifierMappingRequest_s* zx_root_GET_NameIdentifierMappingRequest(struct zx_root_s* x, int n); 193 struct zx_ff12_NameIdentifierMappingResponse_s* zx_root_GET_NameIdentifierMappingResponse(struct zx_root_s* x, int n); 194 struct zx_m20_EntityDescriptor_s* zx_root_GET_m20_EntityDescriptor(struct zx_root_s* x, int n); 195 struct zx_m20_EntitiesDescriptor_s* zx_root_GET_m20_EntitiesDescriptor(struct zx_root_s* x, int n); 196 197 int zx_root_NUM_Assertion(struct zx_root_s* x); 198 int zx_root_NUM_EncryptedAssertion(struct zx_root_s* x); 199 int zx_root_NUM_NameID(struct zx_root_s* x); 200 int zx_root_NUM_EncryptedID(struct zx_root_s* x); 201 int zx_root_NUM_NewID(struct zx_root_s* x); 202 int zx_root_NUM_AuthnRequest(struct zx_root_s* x); 203 int zx_root_NUM_Response(struct zx_root_s* x); 204 int zx_root_NUM_LogoutRequest(struct zx_root_s* x); 205 int zx_root_NUM_LogoutResponse(struct zx_root_s* x); 206 int zx_root_NUM_ManageNameIDRequest(struct zx_root_s* x); 207 int zx_root_NUM_ManageNameIDResponse(struct zx_root_s* x); 208 int zx_root_NUM_Envelope(struct zx_root_s* x); 209 int zx_root_NUM_Header(struct zx_root_s* x); 210 int zx_root_NUM_Body(struct zx_root_s* x); 211 int zx_root_NUM_EntityDescriptor(struct zx_root_s* x); 212 int zx_root_NUM_EntitiesDescriptor(struct zx_root_s* x); 213 int zx_root_NUM_XACMLAuthzDecisionQuery(struct zx_root_s* x); 214 int zx_root_NUM_XACMLPolicyQuery(struct zx_root_s* x); 215 int zx_root_NUM_xaspcd1_XACMLAuthzDecisionQuery(struct zx_root_s* x); 216 int zx_root_NUM_xaspcd1_XACMLPolicyQuery(struct zx_root_s* x); 217 int zx_root_NUM_EndpointReference(struct zx_root_s* x); 218 int zx_root_NUM_Token(struct zx_root_s* x); 219 int zx_root_NUM_Candidate(struct zx_root_s* x); 220 int zx_root_NUM_sa11_Assertion(struct zx_root_s* x); 221 int zx_root_NUM_Request(struct zx_root_s* x); 222 int zx_root_NUM_sp11_Response(struct zx_root_s* x); 223 int zx_root_NUM_ff12_Assertion(struct zx_root_s* x); 224 int zx_root_NUM_ff12_AuthnRequest(struct zx_root_s* x); 225 int zx_root_NUM_AuthnResponse(struct zx_root_s* x); 226 int zx_root_NUM_AuthnRequestEnvelope(struct zx_root_s* x); 227 int zx_root_NUM_AuthnResponseEnvelope(struct zx_root_s* x); 228 int zx_root_NUM_RegisterNameIdentifierRequest(struct zx_root_s* x); 229 int zx_root_NUM_RegisterNameIdentifierResponse(struct zx_root_s* x); 230 int zx_root_NUM_FederationTerminationNotification(struct zx_root_s* x); 231 int zx_root_NUM_ff12_LogoutRequest(struct zx_root_s* x); 232 int zx_root_NUM_ff12_LogoutResponse(struct zx_root_s* x); 233 int zx_root_NUM_NameIdentifierMappingRequest(struct zx_root_s* x); 234 int zx_root_NUM_NameIdentifierMappingResponse(struct zx_root_s* x); 235 int zx_root_NUM_m20_EntityDescriptor(struct zx_root_s* x); 236 int zx_root_NUM_m20_EntitiesDescriptor(struct zx_root_s* x); 237 238 struct zx_sa_Assertion_s* zx_root_POP_Assertion(struct zx_root_s* x); 239 struct zx_sa_EncryptedAssertion_s* zx_root_POP_EncryptedAssertion(struct zx_root_s* x); 240 struct zx_sa_NameID_s* zx_root_POP_NameID(struct zx_root_s* x); 241 struct zx_sa_EncryptedID_s* zx_root_POP_EncryptedID(struct zx_root_s* x); 242 struct zx_elem_s* zx_root_POP_NewID(struct zx_root_s* x); 243 struct zx_sp_AuthnRequest_s* zx_root_POP_AuthnRequest(struct zx_root_s* x); 244 struct zx_sp_Response_s* zx_root_POP_Response(struct zx_root_s* x); 245 struct zx_sp_LogoutRequest_s* zx_root_POP_LogoutRequest(struct zx_root_s* x); 246 struct zx_sp_LogoutResponse_s* zx_root_POP_LogoutResponse(struct zx_root_s* x); 247 struct zx_sp_ManageNameIDRequest_s* zx_root_POP_ManageNameIDRequest(struct zx_root_s* x); 248 struct zx_sp_ManageNameIDResponse_s* zx_root_POP_ManageNameIDResponse(struct zx_root_s* x); 249 struct zx_e_Envelope_s* zx_root_POP_Envelope(struct zx_root_s* x); 250 struct zx_e_Header_s* zx_root_POP_Header(struct zx_root_s* x); 251 struct zx_e_Body_s* zx_root_POP_Body(struct zx_root_s* x); 252 struct zx_md_EntityDescriptor_s* zx_root_POP_EntityDescriptor(struct zx_root_s* x); 253 struct zx_md_EntitiesDescriptor_s* zx_root_POP_EntitiesDescriptor(struct zx_root_s* x); 254 struct zx_xasp_XACMLAuthzDecisionQuery_s* zx_root_POP_XACMLAuthzDecisionQuery(struct zx_root_s* x); 255 struct zx_xasp_XACMLPolicyQuery_s* zx_root_POP_XACMLPolicyQuery(struct zx_root_s* x); 256 struct zx_xaspcd1_XACMLAuthzDecisionQuery_s* zx_root_POP_xaspcd1_XACMLAuthzDecisionQuery(struct zx_root_s* x); 257 struct zx_xaspcd1_XACMLPolicyQuery_s* zx_root_POP_xaspcd1_XACMLPolicyQuery(struct zx_root_s* x); 258 struct zx_a_EndpointReference_s* zx_root_POP_EndpointReference(struct zx_root_s* x); 259 struct zx_sec_Token_s* zx_root_POP_Token(struct zx_root_s* x); 260 struct zx_hrxml_Candidate_s* zx_root_POP_Candidate(struct zx_root_s* x); 261 struct zx_sa11_Assertion_s* zx_root_POP_sa11_Assertion(struct zx_root_s* x); 262 struct zx_sp11_Request_s* zx_root_POP_Request(struct zx_root_s* x); 263 struct zx_sp11_Response_s* zx_root_POP_sp11_Response(struct zx_root_s* x); 264 struct zx_ff12_Assertion_s* zx_root_POP_ff12_Assertion(struct zx_root_s* x); 265 struct zx_ff12_AuthnRequest_s* zx_root_POP_ff12_AuthnRequest(struct zx_root_s* x); 266 struct zx_ff12_AuthnResponse_s* zx_root_POP_AuthnResponse(struct zx_root_s* x); 267 struct zx_ff12_AuthnRequestEnvelope_s* zx_root_POP_AuthnRequestEnvelope(struct zx_root_s* x); 268 struct zx_ff12_AuthnResponseEnvelope_s* zx_root_POP_AuthnResponseEnvelope(struct zx_root_s* x); 269 struct zx_ff12_RegisterNameIdentifierRequest_s* zx_root_POP_RegisterNameIdentifierRequest(struct zx_root_s* x); 270 struct zx_ff12_RegisterNameIdentifierResponse_s* zx_root_POP_RegisterNameIdentifierResponse(struct zx_root_s* x); 271 struct zx_ff12_FederationTerminationNotification_s* zx_root_POP_FederationTerminationNotification(struct zx_root_s* x); 272 struct zx_ff12_LogoutRequest_s* zx_root_POP_ff12_LogoutRequest(struct zx_root_s* x); 273 struct zx_ff12_LogoutResponse_s* zx_root_POP_ff12_LogoutResponse(struct zx_root_s* x); 274 struct zx_ff12_NameIdentifierMappingRequest_s* zx_root_POP_NameIdentifierMappingRequest(struct zx_root_s* x); 275 struct zx_ff12_NameIdentifierMappingResponse_s* zx_root_POP_NameIdentifierMappingResponse(struct zx_root_s* x); 276 struct zx_m20_EntityDescriptor_s* zx_root_POP_m20_EntityDescriptor(struct zx_root_s* x); 277 struct zx_m20_EntitiesDescriptor_s* zx_root_POP_m20_EntitiesDescriptor(struct zx_root_s* x); 278 279 void zx_root_PUSH_Assertion(struct zx_root_s* x, struct zx_sa_Assertion_s* y); 280 void zx_root_PUSH_EncryptedAssertion(struct zx_root_s* x, struct zx_sa_EncryptedAssertion_s* y); 281 void zx_root_PUSH_NameID(struct zx_root_s* x, struct zx_sa_NameID_s* y); 282 void zx_root_PUSH_EncryptedID(struct zx_root_s* x, struct zx_sa_EncryptedID_s* y); 283 void zx_root_PUSH_NewID(struct zx_root_s* x, struct zx_elem_s* y); 284 void zx_root_PUSH_AuthnRequest(struct zx_root_s* x, struct zx_sp_AuthnRequest_s* y); 285 void zx_root_PUSH_Response(struct zx_root_s* x, struct zx_sp_Response_s* y); 286 void zx_root_PUSH_LogoutRequest(struct zx_root_s* x, struct zx_sp_LogoutRequest_s* y); 287 void zx_root_PUSH_LogoutResponse(struct zx_root_s* x, struct zx_sp_LogoutResponse_s* y); 288 void zx_root_PUSH_ManageNameIDRequest(struct zx_root_s* x, struct zx_sp_ManageNameIDRequest_s* y); 289 void zx_root_PUSH_ManageNameIDResponse(struct zx_root_s* x, struct zx_sp_ManageNameIDResponse_s* y); 290 void zx_root_PUSH_Envelope(struct zx_root_s* x, struct zx_e_Envelope_s* y); 291 void zx_root_PUSH_Header(struct zx_root_s* x, struct zx_e_Header_s* y); 292 void zx_root_PUSH_Body(struct zx_root_s* x, struct zx_e_Body_s* y); 293 void zx_root_PUSH_EntityDescriptor(struct zx_root_s* x, struct zx_md_EntityDescriptor_s* y); 294 void zx_root_PUSH_EntitiesDescriptor(struct zx_root_s* x, struct zx_md_EntitiesDescriptor_s* y); 295 void zx_root_PUSH_XACMLAuthzDecisionQuery(struct zx_root_s* x, struct zx_xasp_XACMLAuthzDecisionQuery_s* y); 296 void zx_root_PUSH_XACMLPolicyQuery(struct zx_root_s* x, struct zx_xasp_XACMLPolicyQuery_s* y); 297 void zx_root_PUSH_xaspcd1_XACMLAuthzDecisionQuery(struct zx_root_s* x, struct zx_xaspcd1_XACMLAuthzDecisionQuery_s* y); 298 void zx_root_PUSH_xaspcd1_XACMLPolicyQuery(struct zx_root_s* x, struct zx_xaspcd1_XACMLPolicyQuery_s* y); 299 void zx_root_PUSH_EndpointReference(struct zx_root_s* x, struct zx_a_EndpointReference_s* y); 300 void zx_root_PUSH_Token(struct zx_root_s* x, struct zx_sec_Token_s* y); 301 void zx_root_PUSH_Candidate(struct zx_root_s* x, struct zx_hrxml_Candidate_s* y); 302 void zx_root_PUSH_sa11_Assertion(struct zx_root_s* x, struct zx_sa11_Assertion_s* y); 303 void zx_root_PUSH_Request(struct zx_root_s* x, struct zx_sp11_Request_s* y); 304 void zx_root_PUSH_sp11_Response(struct zx_root_s* x, struct zx_sp11_Response_s* y); 305 void zx_root_PUSH_ff12_Assertion(struct zx_root_s* x, struct zx_ff12_Assertion_s* y); 306 void zx_root_PUSH_ff12_AuthnRequest(struct zx_root_s* x, struct zx_ff12_AuthnRequest_s* y); 307 void zx_root_PUSH_AuthnResponse(struct zx_root_s* x, struct zx_ff12_AuthnResponse_s* y); 308 void zx_root_PUSH_AuthnRequestEnvelope(struct zx_root_s* x, struct zx_ff12_AuthnRequestEnvelope_s* y); 309 void zx_root_PUSH_AuthnResponseEnvelope(struct zx_root_s* x, struct zx_ff12_AuthnResponseEnvelope_s* y); 310 void zx_root_PUSH_RegisterNameIdentifierRequest(struct zx_root_s* x, struct zx_ff12_RegisterNameIdentifierRequest_s* y); 311 void zx_root_PUSH_RegisterNameIdentifierResponse(struct zx_root_s* x, struct zx_ff12_RegisterNameIdentifierResponse_s* y); 312 void zx_root_PUSH_FederationTerminationNotification(struct zx_root_s* x, struct zx_ff12_FederationTerminationNotification_s* y); 313 void zx_root_PUSH_ff12_LogoutRequest(struct zx_root_s* x, struct zx_ff12_LogoutRequest_s* y); 314 void zx_root_PUSH_ff12_LogoutResponse(struct zx_root_s* x, struct zx_ff12_LogoutResponse_s* y); 315 void zx_root_PUSH_NameIdentifierMappingRequest(struct zx_root_s* x, struct zx_ff12_NameIdentifierMappingRequest_s* y); 316 void zx_root_PUSH_NameIdentifierMappingResponse(struct zx_root_s* x, struct zx_ff12_NameIdentifierMappingResponse_s* y); 317 void zx_root_PUSH_m20_EntityDescriptor(struct zx_root_s* x, struct zx_m20_EntityDescriptor_s* y); 318 void zx_root_PUSH_m20_EntitiesDescriptor(struct zx_root_s* x, struct zx_m20_EntitiesDescriptor_s* y); 319 320 321 void zx_root_PUT_Assertion(struct zx_root_s* x, int n, struct zx_sa_Assertion_s* y); 322 void zx_root_PUT_EncryptedAssertion(struct zx_root_s* x, int n, struct zx_sa_EncryptedAssertion_s* y); 323 void zx_root_PUT_NameID(struct zx_root_s* x, int n, struct zx_sa_NameID_s* y); 324 void zx_root_PUT_EncryptedID(struct zx_root_s* x, int n, struct zx_sa_EncryptedID_s* y); 325 void zx_root_PUT_NewID(struct zx_root_s* x, int n, struct zx_elem_s* y); 326 void zx_root_PUT_AuthnRequest(struct zx_root_s* x, int n, struct zx_sp_AuthnRequest_s* y); 327 void zx_root_PUT_Response(struct zx_root_s* x, int n, struct zx_sp_Response_s* y); 328 void zx_root_PUT_LogoutRequest(struct zx_root_s* x, int n, struct zx_sp_LogoutRequest_s* y); 329 void zx_root_PUT_LogoutResponse(struct zx_root_s* x, int n, struct zx_sp_LogoutResponse_s* y); 330 void zx_root_PUT_ManageNameIDRequest(struct zx_root_s* x, int n, struct zx_sp_ManageNameIDRequest_s* y); 331 void zx_root_PUT_ManageNameIDResponse(struct zx_root_s* x, int n, struct zx_sp_ManageNameIDResponse_s* y); 332 void zx_root_PUT_Envelope(struct zx_root_s* x, int n, struct zx_e_Envelope_s* y); 333 void zx_root_PUT_Header(struct zx_root_s* x, int n, struct zx_e_Header_s* y); 334 void zx_root_PUT_Body(struct zx_root_s* x, int n, struct zx_e_Body_s* y); 335 void zx_root_PUT_EntityDescriptor(struct zx_root_s* x, int n, struct zx_md_EntityDescriptor_s* y); 336 void zx_root_PUT_EntitiesDescriptor(struct zx_root_s* x, int n, struct zx_md_EntitiesDescriptor_s* y); 337 void zx_root_PUT_XACMLAuthzDecisionQuery(struct zx_root_s* x, int n, struct zx_xasp_XACMLAuthzDecisionQuery_s* y); 338 void zx_root_PUT_XACMLPolicyQuery(struct zx_root_s* x, int n, struct zx_xasp_XACMLPolicyQuery_s* y); 339 void zx_root_PUT_xaspcd1_XACMLAuthzDecisionQuery(struct zx_root_s* x, int n, struct zx_xaspcd1_XACMLAuthzDecisionQuery_s* y); 340 void zx_root_PUT_xaspcd1_XACMLPolicyQuery(struct zx_root_s* x, int n, struct zx_xaspcd1_XACMLPolicyQuery_s* y); 341 void zx_root_PUT_EndpointReference(struct zx_root_s* x, int n, struct zx_a_EndpointReference_s* y); 342 void zx_root_PUT_Token(struct zx_root_s* x, int n, struct zx_sec_Token_s* y); 343 void zx_root_PUT_Candidate(struct zx_root_s* x, int n, struct zx_hrxml_Candidate_s* y); 344 void zx_root_PUT_sa11_Assertion(struct zx_root_s* x, int n, struct zx_sa11_Assertion_s* y); 345 void zx_root_PUT_Request(struct zx_root_s* x, int n, struct zx_sp11_Request_s* y); 346 void zx_root_PUT_sp11_Response(struct zx_root_s* x, int n, struct zx_sp11_Response_s* y); 347 void zx_root_PUT_ff12_Assertion(struct zx_root_s* x, int n, struct zx_ff12_Assertion_s* y); 348 void zx_root_PUT_ff12_AuthnRequest(struct zx_root_s* x, int n, struct zx_ff12_AuthnRequest_s* y); 349 void zx_root_PUT_AuthnResponse(struct zx_root_s* x, int n, struct zx_ff12_AuthnResponse_s* y); 350 void zx_root_PUT_AuthnRequestEnvelope(struct zx_root_s* x, int n, struct zx_ff12_AuthnRequestEnvelope_s* y); 351 void zx_root_PUT_AuthnResponseEnvelope(struct zx_root_s* x, int n, struct zx_ff12_AuthnResponseEnvelope_s* y); 352 void zx_root_PUT_RegisterNameIdentifierRequest(struct zx_root_s* x, int n, struct zx_ff12_RegisterNameIdentifierRequest_s* y); 353 void zx_root_PUT_RegisterNameIdentifierResponse(struct zx_root_s* x, int n, struct zx_ff12_RegisterNameIdentifierResponse_s* y); 354 void zx_root_PUT_FederationTerminationNotification(struct zx_root_s* x, int n, struct zx_ff12_FederationTerminationNotification_s* y); 355 void zx_root_PUT_ff12_LogoutRequest(struct zx_root_s* x, int n, struct zx_ff12_LogoutRequest_s* y); 356 void zx_root_PUT_ff12_LogoutResponse(struct zx_root_s* x, int n, struct zx_ff12_LogoutResponse_s* y); 357 void zx_root_PUT_NameIdentifierMappingRequest(struct zx_root_s* x, int n, struct zx_ff12_NameIdentifierMappingRequest_s* y); 358 void zx_root_PUT_NameIdentifierMappingResponse(struct zx_root_s* x, int n, struct zx_ff12_NameIdentifierMappingResponse_s* y); 359 void zx_root_PUT_m20_EntityDescriptor(struct zx_root_s* x, int n, struct zx_m20_EntityDescriptor_s* y); 360 void zx_root_PUT_m20_EntitiesDescriptor(struct zx_root_s* x, int n, struct zx_m20_EntitiesDescriptor_s* y); 361 362 void zx_root_ADD_Assertion(struct zx_root_s* x, int n, struct zx_sa_Assertion_s* z); 363 void zx_root_ADD_EncryptedAssertion(struct zx_root_s* x, int n, struct zx_sa_EncryptedAssertion_s* z); 364 void zx_root_ADD_NameID(struct zx_root_s* x, int n, struct zx_sa_NameID_s* z); 365 void zx_root_ADD_EncryptedID(struct zx_root_s* x, int n, struct zx_sa_EncryptedID_s* z); 366 void zx_root_ADD_NewID(struct zx_root_s* x, int n, struct zx_elem_s* z); 367 void zx_root_ADD_AuthnRequest(struct zx_root_s* x, int n, struct zx_sp_AuthnRequest_s* z); 368 void zx_root_ADD_Response(struct zx_root_s* x, int n, struct zx_sp_Response_s* z); 369 void zx_root_ADD_LogoutRequest(struct zx_root_s* x, int n, struct zx_sp_LogoutRequest_s* z); 370 void zx_root_ADD_LogoutResponse(struct zx_root_s* x, int n, struct zx_sp_LogoutResponse_s* z); 371 void zx_root_ADD_ManageNameIDRequest(struct zx_root_s* x, int n, struct zx_sp_ManageNameIDRequest_s* z); 372 void zx_root_ADD_ManageNameIDResponse(struct zx_root_s* x, int n, struct zx_sp_ManageNameIDResponse_s* z); 373 void zx_root_ADD_Envelope(struct zx_root_s* x, int n, struct zx_e_Envelope_s* z); 374 void zx_root_ADD_Header(struct zx_root_s* x, int n, struct zx_e_Header_s* z); 375 void zx_root_ADD_Body(struct zx_root_s* x, int n, struct zx_e_Body_s* z); 376 void zx_root_ADD_EntityDescriptor(struct zx_root_s* x, int n, struct zx_md_EntityDescriptor_s* z); 377 void zx_root_ADD_EntitiesDescriptor(struct zx_root_s* x, int n, struct zx_md_EntitiesDescriptor_s* z); 378 void zx_root_ADD_XACMLAuthzDecisionQuery(struct zx_root_s* x, int n, struct zx_xasp_XACMLAuthzDecisionQuery_s* z); 379 void zx_root_ADD_XACMLPolicyQuery(struct zx_root_s* x, int n, struct zx_xasp_XACMLPolicyQuery_s* z); 380 void zx_root_ADD_xaspcd1_XACMLAuthzDecisionQuery(struct zx_root_s* x, int n, struct zx_xaspcd1_XACMLAuthzDecisionQuery_s* z); 381 void zx_root_ADD_xaspcd1_XACMLPolicyQuery(struct zx_root_s* x, int n, struct zx_xaspcd1_XACMLPolicyQuery_s* z); 382 void zx_root_ADD_EndpointReference(struct zx_root_s* x, int n, struct zx_a_EndpointReference_s* z); 383 void zx_root_ADD_Token(struct zx_root_s* x, int n, struct zx_sec_Token_s* z); 384 void zx_root_ADD_Candidate(struct zx_root_s* x, int n, struct zx_hrxml_Candidate_s* z); 385 void zx_root_ADD_sa11_Assertion(struct zx_root_s* x, int n, struct zx_sa11_Assertion_s* z); 386 void zx_root_ADD_Request(struct zx_root_s* x, int n, struct zx_sp11_Request_s* z); 387 void zx_root_ADD_sp11_Response(struct zx_root_s* x, int n, struct zx_sp11_Response_s* z); 388 void zx_root_ADD_ff12_Assertion(struct zx_root_s* x, int n, struct zx_ff12_Assertion_s* z); 389 void zx_root_ADD_ff12_AuthnRequest(struct zx_root_s* x, int n, struct zx_ff12_AuthnRequest_s* z); 390 void zx_root_ADD_AuthnResponse(struct zx_root_s* x, int n, struct zx_ff12_AuthnResponse_s* z); 391 void zx_root_ADD_AuthnRequestEnvelope(struct zx_root_s* x, int n, struct zx_ff12_AuthnRequestEnvelope_s* z); 392 void zx_root_ADD_AuthnResponseEnvelope(struct zx_root_s* x, int n, struct zx_ff12_AuthnResponseEnvelope_s* z); 393 void zx_root_ADD_RegisterNameIdentifierRequest(struct zx_root_s* x, int n, struct zx_ff12_RegisterNameIdentifierRequest_s* z); 394 void zx_root_ADD_RegisterNameIdentifierResponse(struct zx_root_s* x, int n, struct zx_ff12_RegisterNameIdentifierResponse_s* z); 395 void zx_root_ADD_FederationTerminationNotification(struct zx_root_s* x, int n, struct zx_ff12_FederationTerminationNotification_s* z); 396 void zx_root_ADD_ff12_LogoutRequest(struct zx_root_s* x, int n, struct zx_ff12_LogoutRequest_s* z); 397 void zx_root_ADD_ff12_LogoutResponse(struct zx_root_s* x, int n, struct zx_ff12_LogoutResponse_s* z); 398 void zx_root_ADD_NameIdentifierMappingRequest(struct zx_root_s* x, int n, struct zx_ff12_NameIdentifierMappingRequest_s* z); 399 void zx_root_ADD_NameIdentifierMappingResponse(struct zx_root_s* x, int n, struct zx_ff12_NameIdentifierMappingResponse_s* z); 400 void zx_root_ADD_m20_EntityDescriptor(struct zx_root_s* x, int n, struct zx_m20_EntityDescriptor_s* z); 401 void zx_root_ADD_m20_EntitiesDescriptor(struct zx_root_s* x, int n, struct zx_m20_EntitiesDescriptor_s* z); 402 403 void zx_root_DEL_Assertion(struct zx_root_s* x, int n); 404 void zx_root_DEL_EncryptedAssertion(struct zx_root_s* x, int n); 405 void zx_root_DEL_NameID(struct zx_root_s* x, int n); 406 void zx_root_DEL_EncryptedID(struct zx_root_s* x, int n); 407 void zx_root_DEL_NewID(struct zx_root_s* x,int n); 408 void zx_root_DEL_AuthnRequest(struct zx_root_s* x, int n); 409 void zx_root_DEL_Response(struct zx_root_s* x, int n); 410 void zx_root_DEL_LogoutRequest(struct zx_root_s* x, int n); 411 void zx_root_DEL_LogoutResponse(struct zx_root_s* x, int n); 412 void zx_root_DEL_ManageNameIDRequest(struct zx_root_s* x, int n); 413 void zx_root_DEL_ManageNameIDResponse(struct zx_root_s* x, int n); 414 void zx_root_DEL_Envelope(struct zx_root_s* x, int n); 415 void zx_root_DEL_Header(struct zx_root_s* x, int n); 416 void zx_root_DEL_Body(struct zx_root_s* x, int n); 417 void zx_root_DEL_EntityDescriptor(struct zx_root_s* x, int n); 418 void zx_root_DEL_EntitiesDescriptor(struct zx_root_s* x, int n); 419 void zx_root_DEL_XACMLAuthzDecisionQuery(struct zx_root_s* x, int n); 420 void zx_root_DEL_XACMLPolicyQuery(struct zx_root_s* x, int n); 421 void zx_root_DEL_xaspcd1_XACMLAuthzDecisionQuery(struct zx_root_s* x, int n); 422 void zx_root_DEL_xaspcd1_XACMLPolicyQuery(struct zx_root_s* x, int n); 423 void zx_root_DEL_EndpointReference(struct zx_root_s* x, int n); 424 void zx_root_DEL_Token(struct zx_root_s* x, int n); 425 void zx_root_DEL_Candidate(struct zx_root_s* x, int n); 426 void zx_root_DEL_sa11_Assertion(struct zx_root_s* x, int n); 427 void zx_root_DEL_Request(struct zx_root_s* x, int n); 428 void zx_root_DEL_sp11_Response(struct zx_root_s* x, int n); 429 void zx_root_DEL_ff12_Assertion(struct zx_root_s* x, int n); 430 void zx_root_DEL_ff12_AuthnRequest(struct zx_root_s* x, int n); 431 void zx_root_DEL_AuthnResponse(struct zx_root_s* x, int n); 432 void zx_root_DEL_AuthnRequestEnvelope(struct zx_root_s* x, int n); 433 void zx_root_DEL_AuthnResponseEnvelope(struct zx_root_s* x, int n); 434 void zx_root_DEL_RegisterNameIdentifierRequest(struct zx_root_s* x, int n); 435 void zx_root_DEL_RegisterNameIdentifierResponse(struct zx_root_s* x, int n); 436 void zx_root_DEL_FederationTerminationNotification(struct zx_root_s* x, int n); 437 void zx_root_DEL_ff12_LogoutRequest(struct zx_root_s* x, int n); 438 void zx_root_DEL_ff12_LogoutResponse(struct zx_root_s* x, int n); 439 void zx_root_DEL_NameIdentifierMappingRequest(struct zx_root_s* x, int n); 440 void zx_root_DEL_NameIdentifierMappingResponse(struct zx_root_s* x, int n); 441 void zx_root_DEL_m20_EntityDescriptor(struct zx_root_s* x, int n); 442 void zx_root_DEL_m20_EntitiesDescriptor(struct zx_root_s* x, int n); 443 444 void zx_root_REV_Assertion(struct zx_root_s* x); 445 void zx_root_REV_EncryptedAssertion(struct zx_root_s* x); 446 void zx_root_REV_NameID(struct zx_root_s* x); 447 void zx_root_REV_EncryptedID(struct zx_root_s* x); 448 void zx_root_REV_NewID(struct zx_root_s* x); 449 void zx_root_REV_AuthnRequest(struct zx_root_s* x); 450 void zx_root_REV_Response(struct zx_root_s* x); 451 void zx_root_REV_LogoutRequest(struct zx_root_s* x); 452 void zx_root_REV_LogoutResponse(struct zx_root_s* x); 453 void zx_root_REV_ManageNameIDRequest(struct zx_root_s* x); 454 void zx_root_REV_ManageNameIDResponse(struct zx_root_s* x); 455 void zx_root_REV_Envelope(struct zx_root_s* x); 456 void zx_root_REV_Header(struct zx_root_s* x); 457 void zx_root_REV_Body(struct zx_root_s* x); 458 void zx_root_REV_EntityDescriptor(struct zx_root_s* x); 459 void zx_root_REV_EntitiesDescriptor(struct zx_root_s* x); 460 void zx_root_REV_XACMLAuthzDecisionQuery(struct zx_root_s* x); 461 void zx_root_REV_XACMLPolicyQuery(struct zx_root_s* x); 462 void zx_root_REV_xaspcd1_XACMLAuthzDecisionQuery(struct zx_root_s* x); 463 void zx_root_REV_xaspcd1_XACMLPolicyQuery(struct zx_root_s* x); 464 void zx_root_REV_EndpointReference(struct zx_root_s* x); 465 void zx_root_REV_Token(struct zx_root_s* x); 466 void zx_root_REV_Candidate(struct zx_root_s* x); 467 void zx_root_REV_sa11_Assertion(struct zx_root_s* x); 468 void zx_root_REV_Request(struct zx_root_s* x); 469 void zx_root_REV_sp11_Response(struct zx_root_s* x); 470 void zx_root_REV_ff12_Assertion(struct zx_root_s* x); 471 void zx_root_REV_ff12_AuthnRequest(struct zx_root_s* x); 472 void zx_root_REV_AuthnResponse(struct zx_root_s* x); 473 void zx_root_REV_AuthnRequestEnvelope(struct zx_root_s* x); 474 void zx_root_REV_AuthnResponseEnvelope(struct zx_root_s* x); 475 void zx_root_REV_RegisterNameIdentifierRequest(struct zx_root_s* x); 476 void zx_root_REV_RegisterNameIdentifierResponse(struct zx_root_s* x); 477 void zx_root_REV_FederationTerminationNotification(struct zx_root_s* x); 478 void zx_root_REV_ff12_LogoutRequest(struct zx_root_s* x); 479 void zx_root_REV_ff12_LogoutResponse(struct zx_root_s* x); 480 void zx_root_REV_NameIdentifierMappingRequest(struct zx_root_s* x); 481 void zx_root_REV_NameIdentifierMappingResponse(struct zx_root_s* x); 482 void zx_root_REV_m20_EntityDescriptor(struct zx_root_s* x); 483 void zx_root_REV_m20_EntitiesDescriptor(struct zx_root_s* x); 484 485 #endif 486 int zx_LEN_SO_simple_elem(struct zx_ctx* c, struct zx_elem_s* x, int simplelen, struct zx_ns_s* ns); 487 char* zx_ENC_SO_simple_elem(struct zx_ctx* c, struct zx_elem_s* x, char* p, char* simpletag, int simplelen, struct zx_ns_s* ns); 488 struct zx_str* zx_EASY_ENC_SO_simple_elem(struct zx_ctx* c, struct zx_elem_s* x, char* simpletag, int simplelen, struct zx_ns_s* ns); 489 int zx_DEC_ATTR_simple_elem(struct zx_ctx* c, struct zx_elem_s* el); 490 int zx_DEC_ELEM_simple_elem(struct zx_ctx* c, struct zx_elem_s* el); 491 int zx_DEC_ATTR_wrong_elem(struct zx_ctx* c, struct zx_elem_s* el); 492 int zx_DEC_ELEM_wrong_elem(struct zx_ctx* c, struct zx_elem_s* el); 493 void zx_DUP_STRS_simple_elem(struct zx_ctx* c, struct zx_elem_s* x); 494 struct zx_elem_s* zx_DEEP_CLONE_simple_elem(struct zx_ctx* c, struct zx_elem_s* x, int dup_strs); 495 int zx_WALK_SO_simple_elem(struct zx_ctx* c, struct zx_elem_s* x, void* ctx, int (*callback)(struct zx_str* node, void* ctx)); 496 int zx_WALK_WO_simple_elem(struct zx_ctx* c, struct zx_elem_s* x, void* ctx, int (*callback)(struct zx_str* node, void* ctx)); 497 498 #endif 499