1 /* c/zx-dap-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_dap_data_h 11 #define _c_zx_dap_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 /* -------------------------- dap_Create -------------------------- */ 22 /* refby( zx_e_Body_s ) */ 23 #ifndef zx_dap_Create_EXT 24 #define zx_dap_Create_EXT 25 #endif 26 struct zx_dap_Create_s { 27 ZX_ELEM_EXT 28 zx_dap_Create_EXT 29 struct zx_lu_Extension_s* Extension; /* {0,-1} */ 30 struct zx_dap_Subscription_s* Subscription; /* {0,-1} nada */ 31 struct zx_dap_CreateItem_s* CreateItem; /* {1,-1} nada */ 32 struct zx_dap_ResultQuery_s* ResultQuery; /* {0,-1} nada */ 33 struct zx_attr_s* itemID; /* {0,1} attribute lu:IDType */ 34 }; 35 36 #define zx_NEW_dap_Create(c, father) (struct zx_dap_Create_s*)zx_new_elem((c),(father),zx_dap_Create_ELEM) 37 int zx_DEC_ATTR_dap_Create(struct zx_ctx* c, struct zx_dap_Create_s* x); 38 int zx_DEC_ELEM_dap_Create(struct zx_ctx* c, struct zx_dap_Create_s* x); 39 40 #ifdef ZX_ENA_AUX 41 struct zx_dap_Create_s* zx_DEEP_CLONE_dap_Create(struct zx_ctx* c, struct zx_dap_Create_s* x, int dup_strs); 42 void zx_DUP_STRS_dap_Create(struct zx_ctx* c, struct zx_dap_Create_s* x); 43 int zx_WALK_SO_dap_Create(struct zx_ctx* c, struct zx_dap_Create_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 44 int zx_WALK_WO_dap_Create(struct zx_ctx* c, struct zx_dap_Create_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_dap_Create_GET_itemID(struct zx_dap_Create_s* x); 49 50 struct zx_lu_Extension_s* zx_dap_Create_GET_Extension(struct zx_dap_Create_s* x, int n); 51 struct zx_dap_Subscription_s* zx_dap_Create_GET_Subscription(struct zx_dap_Create_s* x, int n); 52 struct zx_dap_CreateItem_s* zx_dap_Create_GET_CreateItem(struct zx_dap_Create_s* x, int n); 53 struct zx_dap_ResultQuery_s* zx_dap_Create_GET_ResultQuery(struct zx_dap_Create_s* x, int n); 54 55 int zx_dap_Create_NUM_Extension(struct zx_dap_Create_s* x); 56 int zx_dap_Create_NUM_Subscription(struct zx_dap_Create_s* x); 57 int zx_dap_Create_NUM_CreateItem(struct zx_dap_Create_s* x); 58 int zx_dap_Create_NUM_ResultQuery(struct zx_dap_Create_s* x); 59 60 struct zx_lu_Extension_s* zx_dap_Create_POP_Extension(struct zx_dap_Create_s* x); 61 struct zx_dap_Subscription_s* zx_dap_Create_POP_Subscription(struct zx_dap_Create_s* x); 62 struct zx_dap_CreateItem_s* zx_dap_Create_POP_CreateItem(struct zx_dap_Create_s* x); 63 struct zx_dap_ResultQuery_s* zx_dap_Create_POP_ResultQuery(struct zx_dap_Create_s* x); 64 65 void zx_dap_Create_PUSH_Extension(struct zx_dap_Create_s* x, struct zx_lu_Extension_s* y); 66 void zx_dap_Create_PUSH_Subscription(struct zx_dap_Create_s* x, struct zx_dap_Subscription_s* y); 67 void zx_dap_Create_PUSH_CreateItem(struct zx_dap_Create_s* x, struct zx_dap_CreateItem_s* y); 68 void zx_dap_Create_PUSH_ResultQuery(struct zx_dap_Create_s* x, struct zx_dap_ResultQuery_s* y); 69 70 void zx_dap_Create_PUT_itemID(struct zx_dap_Create_s* x, struct zx_attr_s* y); 71 72 void zx_dap_Create_PUT_Extension(struct zx_dap_Create_s* x, int n, struct zx_lu_Extension_s* y); 73 void zx_dap_Create_PUT_Subscription(struct zx_dap_Create_s* x, int n, struct zx_dap_Subscription_s* y); 74 void zx_dap_Create_PUT_CreateItem(struct zx_dap_Create_s* x, int n, struct zx_dap_CreateItem_s* y); 75 void zx_dap_Create_PUT_ResultQuery(struct zx_dap_Create_s* x, int n, struct zx_dap_ResultQuery_s* y); 76 77 void zx_dap_Create_ADD_Extension(struct zx_dap_Create_s* x, int n, struct zx_lu_Extension_s* z); 78 void zx_dap_Create_ADD_Subscription(struct zx_dap_Create_s* x, int n, struct zx_dap_Subscription_s* z); 79 void zx_dap_Create_ADD_CreateItem(struct zx_dap_Create_s* x, int n, struct zx_dap_CreateItem_s* z); 80 void zx_dap_Create_ADD_ResultQuery(struct zx_dap_Create_s* x, int n, struct zx_dap_ResultQuery_s* z); 81 82 void zx_dap_Create_DEL_Extension(struct zx_dap_Create_s* x, int n); 83 void zx_dap_Create_DEL_Subscription(struct zx_dap_Create_s* x, int n); 84 void zx_dap_Create_DEL_CreateItem(struct zx_dap_Create_s* x, int n); 85 void zx_dap_Create_DEL_ResultQuery(struct zx_dap_Create_s* x, int n); 86 87 void zx_dap_Create_REV_Extension(struct zx_dap_Create_s* x); 88 void zx_dap_Create_REV_Subscription(struct zx_dap_Create_s* x); 89 void zx_dap_Create_REV_CreateItem(struct zx_dap_Create_s* x); 90 void zx_dap_Create_REV_ResultQuery(struct zx_dap_Create_s* x); 91 92 #endif 93 /* -------------------------- dap_CreateItem -------------------------- */ 94 /* refby( zx_dap_Create_s ) */ 95 #ifndef zx_dap_CreateItem_EXT 96 #define zx_dap_CreateItem_EXT 97 #endif 98 struct zx_dap_CreateItem_s { 99 ZX_ELEM_EXT 100 zx_dap_CreateItem_EXT 101 struct zx_dap_NewData_s* NewData; /* {0,1} nada */ 102 struct zx_attr_s* id; /* {0,1} attribute xs:ID */ 103 struct zx_attr_s* itemID; /* {0,1} attribute lu:IDType */ 104 struct zx_attr_s* objectType; /* {0,1} attribute xs:NCName */ 105 }; 106 107 #define zx_NEW_dap_CreateItem(c, father) (struct zx_dap_CreateItem_s*)zx_new_elem((c),(father),zx_dap_CreateItem_ELEM) 108 int zx_DEC_ATTR_dap_CreateItem(struct zx_ctx* c, struct zx_dap_CreateItem_s* x); 109 int zx_DEC_ELEM_dap_CreateItem(struct zx_ctx* c, struct zx_dap_CreateItem_s* x); 110 111 #ifdef ZX_ENA_AUX 112 struct zx_dap_CreateItem_s* zx_DEEP_CLONE_dap_CreateItem(struct zx_ctx* c, struct zx_dap_CreateItem_s* x, int dup_strs); 113 void zx_DUP_STRS_dap_CreateItem(struct zx_ctx* c, struct zx_dap_CreateItem_s* x); 114 int zx_WALK_SO_dap_CreateItem(struct zx_ctx* c, struct zx_dap_CreateItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 115 int zx_WALK_WO_dap_CreateItem(struct zx_ctx* c, struct zx_dap_CreateItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 116 #endif 117 118 #ifdef ZX_ENA_GETPUT 119 struct zx_attr_s* zx_dap_CreateItem_GET_id(struct zx_dap_CreateItem_s* x); 120 struct zx_attr_s* zx_dap_CreateItem_GET_itemID(struct zx_dap_CreateItem_s* x); 121 struct zx_attr_s* zx_dap_CreateItem_GET_objectType(struct zx_dap_CreateItem_s* x); 122 123 struct zx_dap_NewData_s* zx_dap_CreateItem_GET_NewData(struct zx_dap_CreateItem_s* x, int n); 124 125 int zx_dap_CreateItem_NUM_NewData(struct zx_dap_CreateItem_s* x); 126 127 struct zx_dap_NewData_s* zx_dap_CreateItem_POP_NewData(struct zx_dap_CreateItem_s* x); 128 129 void zx_dap_CreateItem_PUSH_NewData(struct zx_dap_CreateItem_s* x, struct zx_dap_NewData_s* y); 130 131 void zx_dap_CreateItem_PUT_id(struct zx_dap_CreateItem_s* x, struct zx_attr_s* y); 132 void zx_dap_CreateItem_PUT_itemID(struct zx_dap_CreateItem_s* x, struct zx_attr_s* y); 133 void zx_dap_CreateItem_PUT_objectType(struct zx_dap_CreateItem_s* x, struct zx_attr_s* y); 134 135 void zx_dap_CreateItem_PUT_NewData(struct zx_dap_CreateItem_s* x, int n, struct zx_dap_NewData_s* y); 136 137 void zx_dap_CreateItem_ADD_NewData(struct zx_dap_CreateItem_s* x, int n, struct zx_dap_NewData_s* z); 138 139 void zx_dap_CreateItem_DEL_NewData(struct zx_dap_CreateItem_s* x, int n); 140 141 void zx_dap_CreateItem_REV_NewData(struct zx_dap_CreateItem_s* x); 142 143 #endif 144 /* -------------------------- dap_CreateResponse -------------------------- */ 145 /* refby( zx_e_Body_s ) */ 146 #ifndef zx_dap_CreateResponse_EXT 147 #define zx_dap_CreateResponse_EXT 148 #endif 149 struct zx_dap_CreateResponse_s { 150 ZX_ELEM_EXT 151 zx_dap_CreateResponse_EXT 152 struct zx_lu_Status_s* Status; /* {1,1} nada */ 153 struct zx_lu_Extension_s* Extension; /* {0,-1} */ 154 struct zx_dap_ItemData_s* ItemData; /* {0,-1} nada */ 155 struct zx_attr_s* timeStamp; /* {0,1} attribute xs:dateTime */ 156 struct zx_attr_s* itemIDRef; /* {0,1} attribute lu:IDReferenceType */ 157 }; 158 159 #define zx_NEW_dap_CreateResponse(c, father) (struct zx_dap_CreateResponse_s*)zx_new_elem((c),(father),zx_dap_CreateResponse_ELEM) 160 int zx_DEC_ATTR_dap_CreateResponse(struct zx_ctx* c, struct zx_dap_CreateResponse_s* x); 161 int zx_DEC_ELEM_dap_CreateResponse(struct zx_ctx* c, struct zx_dap_CreateResponse_s* x); 162 163 #ifdef ZX_ENA_AUX 164 struct zx_dap_CreateResponse_s* zx_DEEP_CLONE_dap_CreateResponse(struct zx_ctx* c, struct zx_dap_CreateResponse_s* x, int dup_strs); 165 void zx_DUP_STRS_dap_CreateResponse(struct zx_ctx* c, struct zx_dap_CreateResponse_s* x); 166 int zx_WALK_SO_dap_CreateResponse(struct zx_ctx* c, struct zx_dap_CreateResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 167 int zx_WALK_WO_dap_CreateResponse(struct zx_ctx* c, struct zx_dap_CreateResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 168 #endif 169 170 #ifdef ZX_ENA_GETPUT 171 struct zx_attr_s* zx_dap_CreateResponse_GET_timeStamp(struct zx_dap_CreateResponse_s* x); 172 struct zx_attr_s* zx_dap_CreateResponse_GET_itemIDRef(struct zx_dap_CreateResponse_s* x); 173 174 struct zx_lu_Status_s* zx_dap_CreateResponse_GET_Status(struct zx_dap_CreateResponse_s* x, int n); 175 struct zx_lu_Extension_s* zx_dap_CreateResponse_GET_Extension(struct zx_dap_CreateResponse_s* x, int n); 176 struct zx_dap_ItemData_s* zx_dap_CreateResponse_GET_ItemData(struct zx_dap_CreateResponse_s* x, int n); 177 178 int zx_dap_CreateResponse_NUM_Status(struct zx_dap_CreateResponse_s* x); 179 int zx_dap_CreateResponse_NUM_Extension(struct zx_dap_CreateResponse_s* x); 180 int zx_dap_CreateResponse_NUM_ItemData(struct zx_dap_CreateResponse_s* x); 181 182 struct zx_lu_Status_s* zx_dap_CreateResponse_POP_Status(struct zx_dap_CreateResponse_s* x); 183 struct zx_lu_Extension_s* zx_dap_CreateResponse_POP_Extension(struct zx_dap_CreateResponse_s* x); 184 struct zx_dap_ItemData_s* zx_dap_CreateResponse_POP_ItemData(struct zx_dap_CreateResponse_s* x); 185 186 void zx_dap_CreateResponse_PUSH_Status(struct zx_dap_CreateResponse_s* x, struct zx_lu_Status_s* y); 187 void zx_dap_CreateResponse_PUSH_Extension(struct zx_dap_CreateResponse_s* x, struct zx_lu_Extension_s* y); 188 void zx_dap_CreateResponse_PUSH_ItemData(struct zx_dap_CreateResponse_s* x, struct zx_dap_ItemData_s* y); 189 190 void zx_dap_CreateResponse_PUT_timeStamp(struct zx_dap_CreateResponse_s* x, struct zx_attr_s* y); 191 void zx_dap_CreateResponse_PUT_itemIDRef(struct zx_dap_CreateResponse_s* x, struct zx_attr_s* y); 192 193 void zx_dap_CreateResponse_PUT_Status(struct zx_dap_CreateResponse_s* x, int n, struct zx_lu_Status_s* y); 194 void zx_dap_CreateResponse_PUT_Extension(struct zx_dap_CreateResponse_s* x, int n, struct zx_lu_Extension_s* y); 195 void zx_dap_CreateResponse_PUT_ItemData(struct zx_dap_CreateResponse_s* x, int n, struct zx_dap_ItemData_s* y); 196 197 void zx_dap_CreateResponse_ADD_Status(struct zx_dap_CreateResponse_s* x, int n, struct zx_lu_Status_s* z); 198 void zx_dap_CreateResponse_ADD_Extension(struct zx_dap_CreateResponse_s* x, int n, struct zx_lu_Extension_s* z); 199 void zx_dap_CreateResponse_ADD_ItemData(struct zx_dap_CreateResponse_s* x, int n, struct zx_dap_ItemData_s* z); 200 201 void zx_dap_CreateResponse_DEL_Status(struct zx_dap_CreateResponse_s* x, int n); 202 void zx_dap_CreateResponse_DEL_Extension(struct zx_dap_CreateResponse_s* x, int n); 203 void zx_dap_CreateResponse_DEL_ItemData(struct zx_dap_CreateResponse_s* x, int n); 204 205 void zx_dap_CreateResponse_REV_Status(struct zx_dap_CreateResponse_s* x); 206 void zx_dap_CreateResponse_REV_Extension(struct zx_dap_CreateResponse_s* x); 207 void zx_dap_CreateResponse_REV_ItemData(struct zx_dap_CreateResponse_s* x); 208 209 #endif 210 /* -------------------------- dap_Data -------------------------- */ 211 /* refby( zx_dap_QueryResponse_s ) */ 212 #ifndef zx_dap_Data_EXT 213 #define zx_dap_Data_EXT 214 #endif 215 struct zx_dap_Data_s { 216 ZX_ELEM_EXT 217 zx_dap_Data_EXT 218 struct zx_dap_LDIF_s* LDIF; /* {0,1} nada */ 219 struct zx_dap_Subscription_s* Subscription; /* {0,1} nada */ 220 struct zx_attr_s* nextOffset; /* {0,1} attribute xs:nonNegativeInteger */ 221 struct zx_attr_s* notSorted; /* {0,1} attribute Now */ 222 struct zx_attr_s* remaining; /* {0,1} attribute xs:integer */ 223 struct zx_attr_s* setID; /* {0,1} attribute xs:string */ 224 struct zx_attr_s* changeFormat; /* {0,1} attribute ChangedElements */ 225 struct zx_attr_s* itemIDRef; /* {0,1} attribute lu:IDReferenceType */ 226 }; 227 228 #define zx_NEW_dap_Data(c, father) (struct zx_dap_Data_s*)zx_new_elem((c),(father),zx_dap_Data_ELEM) 229 int zx_DEC_ATTR_dap_Data(struct zx_ctx* c, struct zx_dap_Data_s* x); 230 int zx_DEC_ELEM_dap_Data(struct zx_ctx* c, struct zx_dap_Data_s* x); 231 232 #ifdef ZX_ENA_AUX 233 struct zx_dap_Data_s* zx_DEEP_CLONE_dap_Data(struct zx_ctx* c, struct zx_dap_Data_s* x, int dup_strs); 234 void zx_DUP_STRS_dap_Data(struct zx_ctx* c, struct zx_dap_Data_s* x); 235 int zx_WALK_SO_dap_Data(struct zx_ctx* c, struct zx_dap_Data_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 236 int zx_WALK_WO_dap_Data(struct zx_ctx* c, struct zx_dap_Data_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 237 #endif 238 239 #ifdef ZX_ENA_GETPUT 240 struct zx_attr_s* zx_dap_Data_GET_nextOffset(struct zx_dap_Data_s* x); 241 struct zx_attr_s* zx_dap_Data_GET_notSorted(struct zx_dap_Data_s* x); 242 struct zx_attr_s* zx_dap_Data_GET_remaining(struct zx_dap_Data_s* x); 243 struct zx_attr_s* zx_dap_Data_GET_setID(struct zx_dap_Data_s* x); 244 struct zx_attr_s* zx_dap_Data_GET_changeFormat(struct zx_dap_Data_s* x); 245 struct zx_attr_s* zx_dap_Data_GET_itemIDRef(struct zx_dap_Data_s* x); 246 247 struct zx_dap_LDIF_s* zx_dap_Data_GET_LDIF(struct zx_dap_Data_s* x, int n); 248 struct zx_dap_Subscription_s* zx_dap_Data_GET_Subscription(struct zx_dap_Data_s* x, int n); 249 250 int zx_dap_Data_NUM_LDIF(struct zx_dap_Data_s* x); 251 int zx_dap_Data_NUM_Subscription(struct zx_dap_Data_s* x); 252 253 struct zx_dap_LDIF_s* zx_dap_Data_POP_LDIF(struct zx_dap_Data_s* x); 254 struct zx_dap_Subscription_s* zx_dap_Data_POP_Subscription(struct zx_dap_Data_s* x); 255 256 void zx_dap_Data_PUSH_LDIF(struct zx_dap_Data_s* x, struct zx_dap_LDIF_s* y); 257 void zx_dap_Data_PUSH_Subscription(struct zx_dap_Data_s* x, struct zx_dap_Subscription_s* y); 258 259 void zx_dap_Data_PUT_nextOffset(struct zx_dap_Data_s* x, struct zx_attr_s* y); 260 void zx_dap_Data_PUT_notSorted(struct zx_dap_Data_s* x, struct zx_attr_s* y); 261 void zx_dap_Data_PUT_remaining(struct zx_dap_Data_s* x, struct zx_attr_s* y); 262 void zx_dap_Data_PUT_setID(struct zx_dap_Data_s* x, struct zx_attr_s* y); 263 void zx_dap_Data_PUT_changeFormat(struct zx_dap_Data_s* x, struct zx_attr_s* y); 264 void zx_dap_Data_PUT_itemIDRef(struct zx_dap_Data_s* x, struct zx_attr_s* y); 265 266 void zx_dap_Data_PUT_LDIF(struct zx_dap_Data_s* x, int n, struct zx_dap_LDIF_s* y); 267 void zx_dap_Data_PUT_Subscription(struct zx_dap_Data_s* x, int n, struct zx_dap_Subscription_s* y); 268 269 void zx_dap_Data_ADD_LDIF(struct zx_dap_Data_s* x, int n, struct zx_dap_LDIF_s* z); 270 void zx_dap_Data_ADD_Subscription(struct zx_dap_Data_s* x, int n, struct zx_dap_Subscription_s* z); 271 272 void zx_dap_Data_DEL_LDIF(struct zx_dap_Data_s* x, int n); 273 void zx_dap_Data_DEL_Subscription(struct zx_dap_Data_s* x, int n); 274 275 void zx_dap_Data_REV_LDIF(struct zx_dap_Data_s* x); 276 void zx_dap_Data_REV_Subscription(struct zx_dap_Data_s* x); 277 278 #endif 279 /* -------------------------- dap_Delete -------------------------- */ 280 /* refby( zx_e_Body_s ) */ 281 #ifndef zx_dap_Delete_EXT 282 #define zx_dap_Delete_EXT 283 #endif 284 struct zx_dap_Delete_s { 285 ZX_ELEM_EXT 286 zx_dap_Delete_EXT 287 struct zx_lu_Extension_s* Extension; /* {0,-1} */ 288 struct zx_dap_DeleteItem_s* DeleteItem; /* {1,-1} nada */ 289 struct zx_attr_s* itemID; /* {0,1} attribute lu:IDType */ 290 }; 291 292 #define zx_NEW_dap_Delete(c, father) (struct zx_dap_Delete_s*)zx_new_elem((c),(father),zx_dap_Delete_ELEM) 293 int zx_DEC_ATTR_dap_Delete(struct zx_ctx* c, struct zx_dap_Delete_s* x); 294 int zx_DEC_ELEM_dap_Delete(struct zx_ctx* c, struct zx_dap_Delete_s* x); 295 296 #ifdef ZX_ENA_AUX 297 struct zx_dap_Delete_s* zx_DEEP_CLONE_dap_Delete(struct zx_ctx* c, struct zx_dap_Delete_s* x, int dup_strs); 298 void zx_DUP_STRS_dap_Delete(struct zx_ctx* c, struct zx_dap_Delete_s* x); 299 int zx_WALK_SO_dap_Delete(struct zx_ctx* c, struct zx_dap_Delete_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 300 int zx_WALK_WO_dap_Delete(struct zx_ctx* c, struct zx_dap_Delete_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 301 #endif 302 303 #ifdef ZX_ENA_GETPUT 304 struct zx_attr_s* zx_dap_Delete_GET_itemID(struct zx_dap_Delete_s* x); 305 306 struct zx_lu_Extension_s* zx_dap_Delete_GET_Extension(struct zx_dap_Delete_s* x, int n); 307 struct zx_dap_DeleteItem_s* zx_dap_Delete_GET_DeleteItem(struct zx_dap_Delete_s* x, int n); 308 309 int zx_dap_Delete_NUM_Extension(struct zx_dap_Delete_s* x); 310 int zx_dap_Delete_NUM_DeleteItem(struct zx_dap_Delete_s* x); 311 312 struct zx_lu_Extension_s* zx_dap_Delete_POP_Extension(struct zx_dap_Delete_s* x); 313 struct zx_dap_DeleteItem_s* zx_dap_Delete_POP_DeleteItem(struct zx_dap_Delete_s* x); 314 315 void zx_dap_Delete_PUSH_Extension(struct zx_dap_Delete_s* x, struct zx_lu_Extension_s* y); 316 void zx_dap_Delete_PUSH_DeleteItem(struct zx_dap_Delete_s* x, struct zx_dap_DeleteItem_s* y); 317 318 void zx_dap_Delete_PUT_itemID(struct zx_dap_Delete_s* x, struct zx_attr_s* y); 319 320 void zx_dap_Delete_PUT_Extension(struct zx_dap_Delete_s* x, int n, struct zx_lu_Extension_s* y); 321 void zx_dap_Delete_PUT_DeleteItem(struct zx_dap_Delete_s* x, int n, struct zx_dap_DeleteItem_s* y); 322 323 void zx_dap_Delete_ADD_Extension(struct zx_dap_Delete_s* x, int n, struct zx_lu_Extension_s* z); 324 void zx_dap_Delete_ADD_DeleteItem(struct zx_dap_Delete_s* x, int n, struct zx_dap_DeleteItem_s* z); 325 326 void zx_dap_Delete_DEL_Extension(struct zx_dap_Delete_s* x, int n); 327 void zx_dap_Delete_DEL_DeleteItem(struct zx_dap_Delete_s* x, int n); 328 329 void zx_dap_Delete_REV_Extension(struct zx_dap_Delete_s* x); 330 void zx_dap_Delete_REV_DeleteItem(struct zx_dap_Delete_s* x); 331 332 #endif 333 /* -------------------------- dap_DeleteItem -------------------------- */ 334 /* refby( zx_dap_Delete_s ) */ 335 #ifndef zx_dap_DeleteItem_EXT 336 #define zx_dap_DeleteItem_EXT 337 #endif 338 struct zx_dap_DeleteItem_s { 339 ZX_ELEM_EXT 340 zx_dap_DeleteItem_EXT 341 struct zx_dap_Select_s* Select; /* {0,1} nada */ 342 struct zx_attr_s* id; /* {0,1} attribute xs:ID */ 343 struct zx_attr_s* notChangedSince; /* {0,1} attribute xs:dateTime */ 344 struct zx_attr_s* itemID; /* {0,1} attribute lu:IDType */ 345 struct zx_attr_s* objectType; /* {0,1} attribute xs:NCName */ 346 struct zx_attr_s* predefined; /* {0,1} attribute xs:string */ 347 }; 348 349 #define zx_NEW_dap_DeleteItem(c, father) (struct zx_dap_DeleteItem_s*)zx_new_elem((c),(father),zx_dap_DeleteItem_ELEM) 350 int zx_DEC_ATTR_dap_DeleteItem(struct zx_ctx* c, struct zx_dap_DeleteItem_s* x); 351 int zx_DEC_ELEM_dap_DeleteItem(struct zx_ctx* c, struct zx_dap_DeleteItem_s* x); 352 353 #ifdef ZX_ENA_AUX 354 struct zx_dap_DeleteItem_s* zx_DEEP_CLONE_dap_DeleteItem(struct zx_ctx* c, struct zx_dap_DeleteItem_s* x, int dup_strs); 355 void zx_DUP_STRS_dap_DeleteItem(struct zx_ctx* c, struct zx_dap_DeleteItem_s* x); 356 int zx_WALK_SO_dap_DeleteItem(struct zx_ctx* c, struct zx_dap_DeleteItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 357 int zx_WALK_WO_dap_DeleteItem(struct zx_ctx* c, struct zx_dap_DeleteItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 358 #endif 359 360 #ifdef ZX_ENA_GETPUT 361 struct zx_attr_s* zx_dap_DeleteItem_GET_id(struct zx_dap_DeleteItem_s* x); 362 struct zx_attr_s* zx_dap_DeleteItem_GET_notChangedSince(struct zx_dap_DeleteItem_s* x); 363 struct zx_attr_s* zx_dap_DeleteItem_GET_itemID(struct zx_dap_DeleteItem_s* x); 364 struct zx_attr_s* zx_dap_DeleteItem_GET_objectType(struct zx_dap_DeleteItem_s* x); 365 struct zx_attr_s* zx_dap_DeleteItem_GET_predefined(struct zx_dap_DeleteItem_s* x); 366 367 struct zx_dap_Select_s* zx_dap_DeleteItem_GET_Select(struct zx_dap_DeleteItem_s* x, int n); 368 369 int zx_dap_DeleteItem_NUM_Select(struct zx_dap_DeleteItem_s* x); 370 371 struct zx_dap_Select_s* zx_dap_DeleteItem_POP_Select(struct zx_dap_DeleteItem_s* x); 372 373 void zx_dap_DeleteItem_PUSH_Select(struct zx_dap_DeleteItem_s* x, struct zx_dap_Select_s* y); 374 375 void zx_dap_DeleteItem_PUT_id(struct zx_dap_DeleteItem_s* x, struct zx_attr_s* y); 376 void zx_dap_DeleteItem_PUT_notChangedSince(struct zx_dap_DeleteItem_s* x, struct zx_attr_s* y); 377 void zx_dap_DeleteItem_PUT_itemID(struct zx_dap_DeleteItem_s* x, struct zx_attr_s* y); 378 void zx_dap_DeleteItem_PUT_objectType(struct zx_dap_DeleteItem_s* x, struct zx_attr_s* y); 379 void zx_dap_DeleteItem_PUT_predefined(struct zx_dap_DeleteItem_s* x, struct zx_attr_s* y); 380 381 void zx_dap_DeleteItem_PUT_Select(struct zx_dap_DeleteItem_s* x, int n, struct zx_dap_Select_s* y); 382 383 void zx_dap_DeleteItem_ADD_Select(struct zx_dap_DeleteItem_s* x, int n, struct zx_dap_Select_s* z); 384 385 void zx_dap_DeleteItem_DEL_Select(struct zx_dap_DeleteItem_s* x, int n); 386 387 void zx_dap_DeleteItem_REV_Select(struct zx_dap_DeleteItem_s* x); 388 389 #endif 390 /* -------------------------- dap_DeleteResponse -------------------------- */ 391 /* refby( zx_e_Body_s ) */ 392 #ifndef zx_dap_DeleteResponse_EXT 393 #define zx_dap_DeleteResponse_EXT 394 #endif 395 struct zx_dap_DeleteResponse_s { 396 ZX_ELEM_EXT 397 zx_dap_DeleteResponse_EXT 398 struct zx_lu_Status_s* Status; /* {1,1} nada */ 399 struct zx_lu_Extension_s* Extension; /* {0,-1} */ 400 struct zx_attr_s* itemIDRef; /* {0,1} attribute xs:string */ 401 }; 402 403 #define zx_NEW_dap_DeleteResponse(c, father) (struct zx_dap_DeleteResponse_s*)zx_new_elem((c),(father),zx_dap_DeleteResponse_ELEM) 404 int zx_DEC_ATTR_dap_DeleteResponse(struct zx_ctx* c, struct zx_dap_DeleteResponse_s* x); 405 int zx_DEC_ELEM_dap_DeleteResponse(struct zx_ctx* c, struct zx_dap_DeleteResponse_s* x); 406 407 #ifdef ZX_ENA_AUX 408 struct zx_dap_DeleteResponse_s* zx_DEEP_CLONE_dap_DeleteResponse(struct zx_ctx* c, struct zx_dap_DeleteResponse_s* x, int dup_strs); 409 void zx_DUP_STRS_dap_DeleteResponse(struct zx_ctx* c, struct zx_dap_DeleteResponse_s* x); 410 int zx_WALK_SO_dap_DeleteResponse(struct zx_ctx* c, struct zx_dap_DeleteResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 411 int zx_WALK_WO_dap_DeleteResponse(struct zx_ctx* c, struct zx_dap_DeleteResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 412 #endif 413 414 #ifdef ZX_ENA_GETPUT 415 struct zx_attr_s* zx_dap_DeleteResponse_GET_itemIDRef(struct zx_dap_DeleteResponse_s* x); 416 417 struct zx_lu_Status_s* zx_dap_DeleteResponse_GET_Status(struct zx_dap_DeleteResponse_s* x, int n); 418 struct zx_lu_Extension_s* zx_dap_DeleteResponse_GET_Extension(struct zx_dap_DeleteResponse_s* x, int n); 419 420 int zx_dap_DeleteResponse_NUM_Status(struct zx_dap_DeleteResponse_s* x); 421 int zx_dap_DeleteResponse_NUM_Extension(struct zx_dap_DeleteResponse_s* x); 422 423 struct zx_lu_Status_s* zx_dap_DeleteResponse_POP_Status(struct zx_dap_DeleteResponse_s* x); 424 struct zx_lu_Extension_s* zx_dap_DeleteResponse_POP_Extension(struct zx_dap_DeleteResponse_s* x); 425 426 void zx_dap_DeleteResponse_PUSH_Status(struct zx_dap_DeleteResponse_s* x, struct zx_lu_Status_s* y); 427 void zx_dap_DeleteResponse_PUSH_Extension(struct zx_dap_DeleteResponse_s* x, struct zx_lu_Extension_s* y); 428 429 void zx_dap_DeleteResponse_PUT_itemIDRef(struct zx_dap_DeleteResponse_s* x, struct zx_attr_s* y); 430 431 void zx_dap_DeleteResponse_PUT_Status(struct zx_dap_DeleteResponse_s* x, int n, struct zx_lu_Status_s* y); 432 void zx_dap_DeleteResponse_PUT_Extension(struct zx_dap_DeleteResponse_s* x, int n, struct zx_lu_Extension_s* y); 433 434 void zx_dap_DeleteResponse_ADD_Status(struct zx_dap_DeleteResponse_s* x, int n, struct zx_lu_Status_s* z); 435 void zx_dap_DeleteResponse_ADD_Extension(struct zx_dap_DeleteResponse_s* x, int n, struct zx_lu_Extension_s* z); 436 437 void zx_dap_DeleteResponse_DEL_Status(struct zx_dap_DeleteResponse_s* x, int n); 438 void zx_dap_DeleteResponse_DEL_Extension(struct zx_dap_DeleteResponse_s* x, int n); 439 440 void zx_dap_DeleteResponse_REV_Status(struct zx_dap_DeleteResponse_s* x); 441 void zx_dap_DeleteResponse_REV_Extension(struct zx_dap_DeleteResponse_s* x); 442 443 #endif 444 /* -------------------------- dap_ItemData -------------------------- */ 445 /* refby( zx_dap_Notification_s zx_dap_ModifyResponse_s zx_dap_CreateResponse_s ) */ 446 #ifndef zx_dap_ItemData_EXT 447 #define zx_dap_ItemData_EXT 448 #endif 449 struct zx_dap_ItemData_s { 450 ZX_ELEM_EXT 451 zx_dap_ItemData_EXT 452 struct zx_dap_LDIF_s* LDIF; /* {0,1} nada */ 453 struct zx_dap_Subscription_s* Subscription; /* {0,1} nada */ 454 struct zx_attr_s* notSorted; /* {0,1} attribute Now */ 455 struct zx_attr_s* changeFormat; /* {0,1} attribute ChangedElements */ 456 struct zx_attr_s* itemIDRef; /* {0,1} attribute lu:IDReferenceType */ 457 }; 458 459 #define zx_NEW_dap_ItemData(c, father) (struct zx_dap_ItemData_s*)zx_new_elem((c),(father),zx_dap_ItemData_ELEM) 460 int zx_DEC_ATTR_dap_ItemData(struct zx_ctx* c, struct zx_dap_ItemData_s* x); 461 int zx_DEC_ELEM_dap_ItemData(struct zx_ctx* c, struct zx_dap_ItemData_s* x); 462 463 #ifdef ZX_ENA_AUX 464 struct zx_dap_ItemData_s* zx_DEEP_CLONE_dap_ItemData(struct zx_ctx* c, struct zx_dap_ItemData_s* x, int dup_strs); 465 void zx_DUP_STRS_dap_ItemData(struct zx_ctx* c, struct zx_dap_ItemData_s* x); 466 int zx_WALK_SO_dap_ItemData(struct zx_ctx* c, struct zx_dap_ItemData_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 467 int zx_WALK_WO_dap_ItemData(struct zx_ctx* c, struct zx_dap_ItemData_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 468 #endif 469 470 #ifdef ZX_ENA_GETPUT 471 struct zx_attr_s* zx_dap_ItemData_GET_notSorted(struct zx_dap_ItemData_s* x); 472 struct zx_attr_s* zx_dap_ItemData_GET_changeFormat(struct zx_dap_ItemData_s* x); 473 struct zx_attr_s* zx_dap_ItemData_GET_itemIDRef(struct zx_dap_ItemData_s* x); 474 475 struct zx_dap_LDIF_s* zx_dap_ItemData_GET_LDIF(struct zx_dap_ItemData_s* x, int n); 476 struct zx_dap_Subscription_s* zx_dap_ItemData_GET_Subscription(struct zx_dap_ItemData_s* x, int n); 477 478 int zx_dap_ItemData_NUM_LDIF(struct zx_dap_ItemData_s* x); 479 int zx_dap_ItemData_NUM_Subscription(struct zx_dap_ItemData_s* x); 480 481 struct zx_dap_LDIF_s* zx_dap_ItemData_POP_LDIF(struct zx_dap_ItemData_s* x); 482 struct zx_dap_Subscription_s* zx_dap_ItemData_POP_Subscription(struct zx_dap_ItemData_s* x); 483 484 void zx_dap_ItemData_PUSH_LDIF(struct zx_dap_ItemData_s* x, struct zx_dap_LDIF_s* y); 485 void zx_dap_ItemData_PUSH_Subscription(struct zx_dap_ItemData_s* x, struct zx_dap_Subscription_s* y); 486 487 void zx_dap_ItemData_PUT_notSorted(struct zx_dap_ItemData_s* x, struct zx_attr_s* y); 488 void zx_dap_ItemData_PUT_changeFormat(struct zx_dap_ItemData_s* x, struct zx_attr_s* y); 489 void zx_dap_ItemData_PUT_itemIDRef(struct zx_dap_ItemData_s* x, struct zx_attr_s* y); 490 491 void zx_dap_ItemData_PUT_LDIF(struct zx_dap_ItemData_s* x, int n, struct zx_dap_LDIF_s* y); 492 void zx_dap_ItemData_PUT_Subscription(struct zx_dap_ItemData_s* x, int n, struct zx_dap_Subscription_s* y); 493 494 void zx_dap_ItemData_ADD_LDIF(struct zx_dap_ItemData_s* x, int n, struct zx_dap_LDIF_s* z); 495 void zx_dap_ItemData_ADD_Subscription(struct zx_dap_ItemData_s* x, int n, struct zx_dap_Subscription_s* z); 496 497 void zx_dap_ItemData_DEL_LDIF(struct zx_dap_ItemData_s* x, int n); 498 void zx_dap_ItemData_DEL_Subscription(struct zx_dap_ItemData_s* x, int n); 499 500 void zx_dap_ItemData_REV_LDIF(struct zx_dap_ItemData_s* x); 501 void zx_dap_ItemData_REV_Subscription(struct zx_dap_ItemData_s* x); 502 503 #endif 504 /* -------------------------- dap_LDIF -------------------------- */ 505 /* refby( zx_dap_NewData_s zx_dap_Data_s zx_dap_ItemData_s ) */ 506 #ifndef zx_dap_LDIF_EXT 507 #define zx_dap_LDIF_EXT 508 #endif 509 struct zx_dap_LDIF_s { 510 ZX_ELEM_EXT 511 zx_dap_LDIF_EXT 512 struct zx_attr_s* lang; /* {1,1} attribute xs:string */ 513 struct zx_attr_s* ACC; /* {0,1} attribute xs:anyURI */ 514 struct zx_attr_s* ACCTime; /* {0,1} attribute xs:dateTime */ 515 struct zx_attr_s* id; /* {0,1} attribute lu:IDType */ 516 struct zx_attr_s* modificationTime; /* {0,1} attribute xs:dateTime */ 517 struct zx_attr_s* modifier; /* {0,1} attribute xs:string */ 518 struct zx_attr_s* script; /* {0,1} attribute xs:anyURI */ 519 }; 520 521 #define zx_NEW_dap_LDIF(c, father) (struct zx_dap_LDIF_s*)zx_new_elem((c),(father),zx_dap_LDIF_ELEM) 522 int zx_DEC_ATTR_dap_LDIF(struct zx_ctx* c, struct zx_dap_LDIF_s* x); 523 int zx_DEC_ELEM_dap_LDIF(struct zx_ctx* c, struct zx_dap_LDIF_s* x); 524 525 #ifdef ZX_ENA_AUX 526 struct zx_dap_LDIF_s* zx_DEEP_CLONE_dap_LDIF(struct zx_ctx* c, struct zx_dap_LDIF_s* x, int dup_strs); 527 void zx_DUP_STRS_dap_LDIF(struct zx_ctx* c, struct zx_dap_LDIF_s* x); 528 int zx_WALK_SO_dap_LDIF(struct zx_ctx* c, struct zx_dap_LDIF_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 529 int zx_WALK_WO_dap_LDIF(struct zx_ctx* c, struct zx_dap_LDIF_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 530 #endif 531 532 #ifdef ZX_ENA_GETPUT 533 struct zx_attr_s* zx_dap_LDIF_GET_lang(struct zx_dap_LDIF_s* x); 534 struct zx_attr_s* zx_dap_LDIF_GET_ACC(struct zx_dap_LDIF_s* x); 535 struct zx_attr_s* zx_dap_LDIF_GET_ACCTime(struct zx_dap_LDIF_s* x); 536 struct zx_attr_s* zx_dap_LDIF_GET_id(struct zx_dap_LDIF_s* x); 537 struct zx_attr_s* zx_dap_LDIF_GET_modificationTime(struct zx_dap_LDIF_s* x); 538 struct zx_attr_s* zx_dap_LDIF_GET_modifier(struct zx_dap_LDIF_s* x); 539 struct zx_attr_s* zx_dap_LDIF_GET_script(struct zx_dap_LDIF_s* x); 540 541 542 543 544 545 void zx_dap_LDIF_PUT_lang(struct zx_dap_LDIF_s* x, struct zx_attr_s* y); 546 void zx_dap_LDIF_PUT_ACC(struct zx_dap_LDIF_s* x, struct zx_attr_s* y); 547 void zx_dap_LDIF_PUT_ACCTime(struct zx_dap_LDIF_s* x, struct zx_attr_s* y); 548 void zx_dap_LDIF_PUT_id(struct zx_dap_LDIF_s* x, struct zx_attr_s* y); 549 void zx_dap_LDIF_PUT_modificationTime(struct zx_dap_LDIF_s* x, struct zx_attr_s* y); 550 void zx_dap_LDIF_PUT_modifier(struct zx_dap_LDIF_s* x, struct zx_attr_s* y); 551 void zx_dap_LDIF_PUT_script(struct zx_dap_LDIF_s* x, struct zx_attr_s* y); 552 553 554 555 556 557 #endif 558 /* -------------------------- dap_Modify -------------------------- */ 559 /* refby( zx_e_Body_s ) */ 560 #ifndef zx_dap_Modify_EXT 561 #define zx_dap_Modify_EXT 562 #endif 563 struct zx_dap_Modify_s { 564 ZX_ELEM_EXT 565 zx_dap_Modify_EXT 566 struct zx_lu_Extension_s* Extension; /* {0,-1} */ 567 struct zx_dap_Subscription_s* Subscription; /* {0,-1} nada */ 568 struct zx_dap_ModifyItem_s* ModifyItem; /* {1,-1} nada */ 569 struct zx_dap_ResultQuery_s* ResultQuery; /* {0,-1} nada */ 570 struct zx_attr_s* itemID; /* {0,1} attribute lu:IDType */ 571 }; 572 573 #define zx_NEW_dap_Modify(c, father) (struct zx_dap_Modify_s*)zx_new_elem((c),(father),zx_dap_Modify_ELEM) 574 int zx_DEC_ATTR_dap_Modify(struct zx_ctx* c, struct zx_dap_Modify_s* x); 575 int zx_DEC_ELEM_dap_Modify(struct zx_ctx* c, struct zx_dap_Modify_s* x); 576 577 #ifdef ZX_ENA_AUX 578 struct zx_dap_Modify_s* zx_DEEP_CLONE_dap_Modify(struct zx_ctx* c, struct zx_dap_Modify_s* x, int dup_strs); 579 void zx_DUP_STRS_dap_Modify(struct zx_ctx* c, struct zx_dap_Modify_s* x); 580 int zx_WALK_SO_dap_Modify(struct zx_ctx* c, struct zx_dap_Modify_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 581 int zx_WALK_WO_dap_Modify(struct zx_ctx* c, struct zx_dap_Modify_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 582 #endif 583 584 #ifdef ZX_ENA_GETPUT 585 struct zx_attr_s* zx_dap_Modify_GET_itemID(struct zx_dap_Modify_s* x); 586 587 struct zx_lu_Extension_s* zx_dap_Modify_GET_Extension(struct zx_dap_Modify_s* x, int n); 588 struct zx_dap_Subscription_s* zx_dap_Modify_GET_Subscription(struct zx_dap_Modify_s* x, int n); 589 struct zx_dap_ModifyItem_s* zx_dap_Modify_GET_ModifyItem(struct zx_dap_Modify_s* x, int n); 590 struct zx_dap_ResultQuery_s* zx_dap_Modify_GET_ResultQuery(struct zx_dap_Modify_s* x, int n); 591 592 int zx_dap_Modify_NUM_Extension(struct zx_dap_Modify_s* x); 593 int zx_dap_Modify_NUM_Subscription(struct zx_dap_Modify_s* x); 594 int zx_dap_Modify_NUM_ModifyItem(struct zx_dap_Modify_s* x); 595 int zx_dap_Modify_NUM_ResultQuery(struct zx_dap_Modify_s* x); 596 597 struct zx_lu_Extension_s* zx_dap_Modify_POP_Extension(struct zx_dap_Modify_s* x); 598 struct zx_dap_Subscription_s* zx_dap_Modify_POP_Subscription(struct zx_dap_Modify_s* x); 599 struct zx_dap_ModifyItem_s* zx_dap_Modify_POP_ModifyItem(struct zx_dap_Modify_s* x); 600 struct zx_dap_ResultQuery_s* zx_dap_Modify_POP_ResultQuery(struct zx_dap_Modify_s* x); 601 602 void zx_dap_Modify_PUSH_Extension(struct zx_dap_Modify_s* x, struct zx_lu_Extension_s* y); 603 void zx_dap_Modify_PUSH_Subscription(struct zx_dap_Modify_s* x, struct zx_dap_Subscription_s* y); 604 void zx_dap_Modify_PUSH_ModifyItem(struct zx_dap_Modify_s* x, struct zx_dap_ModifyItem_s* y); 605 void zx_dap_Modify_PUSH_ResultQuery(struct zx_dap_Modify_s* x, struct zx_dap_ResultQuery_s* y); 606 607 void zx_dap_Modify_PUT_itemID(struct zx_dap_Modify_s* x, struct zx_attr_s* y); 608 609 void zx_dap_Modify_PUT_Extension(struct zx_dap_Modify_s* x, int n, struct zx_lu_Extension_s* y); 610 void zx_dap_Modify_PUT_Subscription(struct zx_dap_Modify_s* x, int n, struct zx_dap_Subscription_s* y); 611 void zx_dap_Modify_PUT_ModifyItem(struct zx_dap_Modify_s* x, int n, struct zx_dap_ModifyItem_s* y); 612 void zx_dap_Modify_PUT_ResultQuery(struct zx_dap_Modify_s* x, int n, struct zx_dap_ResultQuery_s* y); 613 614 void zx_dap_Modify_ADD_Extension(struct zx_dap_Modify_s* x, int n, struct zx_lu_Extension_s* z); 615 void zx_dap_Modify_ADD_Subscription(struct zx_dap_Modify_s* x, int n, struct zx_dap_Subscription_s* z); 616 void zx_dap_Modify_ADD_ModifyItem(struct zx_dap_Modify_s* x, int n, struct zx_dap_ModifyItem_s* z); 617 void zx_dap_Modify_ADD_ResultQuery(struct zx_dap_Modify_s* x, int n, struct zx_dap_ResultQuery_s* z); 618 619 void zx_dap_Modify_DEL_Extension(struct zx_dap_Modify_s* x, int n); 620 void zx_dap_Modify_DEL_Subscription(struct zx_dap_Modify_s* x, int n); 621 void zx_dap_Modify_DEL_ModifyItem(struct zx_dap_Modify_s* x, int n); 622 void zx_dap_Modify_DEL_ResultQuery(struct zx_dap_Modify_s* x, int n); 623 624 void zx_dap_Modify_REV_Extension(struct zx_dap_Modify_s* x); 625 void zx_dap_Modify_REV_Subscription(struct zx_dap_Modify_s* x); 626 void zx_dap_Modify_REV_ModifyItem(struct zx_dap_Modify_s* x); 627 void zx_dap_Modify_REV_ResultQuery(struct zx_dap_Modify_s* x); 628 629 #endif 630 /* -------------------------- dap_ModifyItem -------------------------- */ 631 /* refby( zx_dap_Modify_s ) */ 632 #ifndef zx_dap_ModifyItem_EXT 633 #define zx_dap_ModifyItem_EXT 634 #endif 635 struct zx_dap_ModifyItem_s { 636 ZX_ELEM_EXT 637 zx_dap_ModifyItem_EXT 638 struct zx_dap_Select_s* Select; /* {0,1} nada */ 639 struct zx_dap_NewData_s* NewData; /* {0,1} nada */ 640 struct zx_attr_s* id; /* {0,1} attribute xs:ID */ 641 struct zx_attr_s* notChangedSince; /* {0,1} attribute xs:dateTime */ 642 struct zx_attr_s* overrideAllowed; /* {0,1} attribute xs:boolean */ 643 struct zx_attr_s* itemID; /* {0,1} attribute lu:IDType */ 644 struct zx_attr_s* objectType; /* {0,1} attribute xs:NCName */ 645 struct zx_attr_s* predefined; /* {0,1} attribute xs:string */ 646 }; 647 648 #define zx_NEW_dap_ModifyItem(c, father) (struct zx_dap_ModifyItem_s*)zx_new_elem((c),(father),zx_dap_ModifyItem_ELEM) 649 int zx_DEC_ATTR_dap_ModifyItem(struct zx_ctx* c, struct zx_dap_ModifyItem_s* x); 650 int zx_DEC_ELEM_dap_ModifyItem(struct zx_ctx* c, struct zx_dap_ModifyItem_s* x); 651 652 #ifdef ZX_ENA_AUX 653 struct zx_dap_ModifyItem_s* zx_DEEP_CLONE_dap_ModifyItem(struct zx_ctx* c, struct zx_dap_ModifyItem_s* x, int dup_strs); 654 void zx_DUP_STRS_dap_ModifyItem(struct zx_ctx* c, struct zx_dap_ModifyItem_s* x); 655 int zx_WALK_SO_dap_ModifyItem(struct zx_ctx* c, struct zx_dap_ModifyItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 656 int zx_WALK_WO_dap_ModifyItem(struct zx_ctx* c, struct zx_dap_ModifyItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 657 #endif 658 659 #ifdef ZX_ENA_GETPUT 660 struct zx_attr_s* zx_dap_ModifyItem_GET_id(struct zx_dap_ModifyItem_s* x); 661 struct zx_attr_s* zx_dap_ModifyItem_GET_notChangedSince(struct zx_dap_ModifyItem_s* x); 662 struct zx_attr_s* zx_dap_ModifyItem_GET_overrideAllowed(struct zx_dap_ModifyItem_s* x); 663 struct zx_attr_s* zx_dap_ModifyItem_GET_itemID(struct zx_dap_ModifyItem_s* x); 664 struct zx_attr_s* zx_dap_ModifyItem_GET_objectType(struct zx_dap_ModifyItem_s* x); 665 struct zx_attr_s* zx_dap_ModifyItem_GET_predefined(struct zx_dap_ModifyItem_s* x); 666 667 struct zx_dap_Select_s* zx_dap_ModifyItem_GET_Select(struct zx_dap_ModifyItem_s* x, int n); 668 struct zx_dap_NewData_s* zx_dap_ModifyItem_GET_NewData(struct zx_dap_ModifyItem_s* x, int n); 669 670 int zx_dap_ModifyItem_NUM_Select(struct zx_dap_ModifyItem_s* x); 671 int zx_dap_ModifyItem_NUM_NewData(struct zx_dap_ModifyItem_s* x); 672 673 struct zx_dap_Select_s* zx_dap_ModifyItem_POP_Select(struct zx_dap_ModifyItem_s* x); 674 struct zx_dap_NewData_s* zx_dap_ModifyItem_POP_NewData(struct zx_dap_ModifyItem_s* x); 675 676 void zx_dap_ModifyItem_PUSH_Select(struct zx_dap_ModifyItem_s* x, struct zx_dap_Select_s* y); 677 void zx_dap_ModifyItem_PUSH_NewData(struct zx_dap_ModifyItem_s* x, struct zx_dap_NewData_s* y); 678 679 void zx_dap_ModifyItem_PUT_id(struct zx_dap_ModifyItem_s* x, struct zx_attr_s* y); 680 void zx_dap_ModifyItem_PUT_notChangedSince(struct zx_dap_ModifyItem_s* x, struct zx_attr_s* y); 681 void zx_dap_ModifyItem_PUT_overrideAllowed(struct zx_dap_ModifyItem_s* x, struct zx_attr_s* y); 682 void zx_dap_ModifyItem_PUT_itemID(struct zx_dap_ModifyItem_s* x, struct zx_attr_s* y); 683 void zx_dap_ModifyItem_PUT_objectType(struct zx_dap_ModifyItem_s* x, struct zx_attr_s* y); 684 void zx_dap_ModifyItem_PUT_predefined(struct zx_dap_ModifyItem_s* x, struct zx_attr_s* y); 685 686 void zx_dap_ModifyItem_PUT_Select(struct zx_dap_ModifyItem_s* x, int n, struct zx_dap_Select_s* y); 687 void zx_dap_ModifyItem_PUT_NewData(struct zx_dap_ModifyItem_s* x, int n, struct zx_dap_NewData_s* y); 688 689 void zx_dap_ModifyItem_ADD_Select(struct zx_dap_ModifyItem_s* x, int n, struct zx_dap_Select_s* z); 690 void zx_dap_ModifyItem_ADD_NewData(struct zx_dap_ModifyItem_s* x, int n, struct zx_dap_NewData_s* z); 691 692 void zx_dap_ModifyItem_DEL_Select(struct zx_dap_ModifyItem_s* x, int n); 693 void zx_dap_ModifyItem_DEL_NewData(struct zx_dap_ModifyItem_s* x, int n); 694 695 void zx_dap_ModifyItem_REV_Select(struct zx_dap_ModifyItem_s* x); 696 void zx_dap_ModifyItem_REV_NewData(struct zx_dap_ModifyItem_s* x); 697 698 #endif 699 /* -------------------------- dap_ModifyResponse -------------------------- */ 700 /* refby( zx_e_Body_s ) */ 701 #ifndef zx_dap_ModifyResponse_EXT 702 #define zx_dap_ModifyResponse_EXT 703 #endif 704 struct zx_dap_ModifyResponse_s { 705 ZX_ELEM_EXT 706 zx_dap_ModifyResponse_EXT 707 struct zx_lu_Status_s* Status; /* {1,1} nada */ 708 struct zx_lu_Extension_s* Extension; /* {0,-1} */ 709 struct zx_dap_ItemData_s* ItemData; /* {0,-1} nada */ 710 struct zx_attr_s* timeStamp; /* {0,1} attribute xs:dateTime */ 711 struct zx_attr_s* itemIDRef; /* {0,1} attribute lu:IDReferenceType */ 712 }; 713 714 #define zx_NEW_dap_ModifyResponse(c, father) (struct zx_dap_ModifyResponse_s*)zx_new_elem((c),(father),zx_dap_ModifyResponse_ELEM) 715 int zx_DEC_ATTR_dap_ModifyResponse(struct zx_ctx* c, struct zx_dap_ModifyResponse_s* x); 716 int zx_DEC_ELEM_dap_ModifyResponse(struct zx_ctx* c, struct zx_dap_ModifyResponse_s* x); 717 718 #ifdef ZX_ENA_AUX 719 struct zx_dap_ModifyResponse_s* zx_DEEP_CLONE_dap_ModifyResponse(struct zx_ctx* c, struct zx_dap_ModifyResponse_s* x, int dup_strs); 720 void zx_DUP_STRS_dap_ModifyResponse(struct zx_ctx* c, struct zx_dap_ModifyResponse_s* x); 721 int zx_WALK_SO_dap_ModifyResponse(struct zx_ctx* c, struct zx_dap_ModifyResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 722 int zx_WALK_WO_dap_ModifyResponse(struct zx_ctx* c, struct zx_dap_ModifyResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 723 #endif 724 725 #ifdef ZX_ENA_GETPUT 726 struct zx_attr_s* zx_dap_ModifyResponse_GET_timeStamp(struct zx_dap_ModifyResponse_s* x); 727 struct zx_attr_s* zx_dap_ModifyResponse_GET_itemIDRef(struct zx_dap_ModifyResponse_s* x); 728 729 struct zx_lu_Status_s* zx_dap_ModifyResponse_GET_Status(struct zx_dap_ModifyResponse_s* x, int n); 730 struct zx_lu_Extension_s* zx_dap_ModifyResponse_GET_Extension(struct zx_dap_ModifyResponse_s* x, int n); 731 struct zx_dap_ItemData_s* zx_dap_ModifyResponse_GET_ItemData(struct zx_dap_ModifyResponse_s* x, int n); 732 733 int zx_dap_ModifyResponse_NUM_Status(struct zx_dap_ModifyResponse_s* x); 734 int zx_dap_ModifyResponse_NUM_Extension(struct zx_dap_ModifyResponse_s* x); 735 int zx_dap_ModifyResponse_NUM_ItemData(struct zx_dap_ModifyResponse_s* x); 736 737 struct zx_lu_Status_s* zx_dap_ModifyResponse_POP_Status(struct zx_dap_ModifyResponse_s* x); 738 struct zx_lu_Extension_s* zx_dap_ModifyResponse_POP_Extension(struct zx_dap_ModifyResponse_s* x); 739 struct zx_dap_ItemData_s* zx_dap_ModifyResponse_POP_ItemData(struct zx_dap_ModifyResponse_s* x); 740 741 void zx_dap_ModifyResponse_PUSH_Status(struct zx_dap_ModifyResponse_s* x, struct zx_lu_Status_s* y); 742 void zx_dap_ModifyResponse_PUSH_Extension(struct zx_dap_ModifyResponse_s* x, struct zx_lu_Extension_s* y); 743 void zx_dap_ModifyResponse_PUSH_ItemData(struct zx_dap_ModifyResponse_s* x, struct zx_dap_ItemData_s* y); 744 745 void zx_dap_ModifyResponse_PUT_timeStamp(struct zx_dap_ModifyResponse_s* x, struct zx_attr_s* y); 746 void zx_dap_ModifyResponse_PUT_itemIDRef(struct zx_dap_ModifyResponse_s* x, struct zx_attr_s* y); 747 748 void zx_dap_ModifyResponse_PUT_Status(struct zx_dap_ModifyResponse_s* x, int n, struct zx_lu_Status_s* y); 749 void zx_dap_ModifyResponse_PUT_Extension(struct zx_dap_ModifyResponse_s* x, int n, struct zx_lu_Extension_s* y); 750 void zx_dap_ModifyResponse_PUT_ItemData(struct zx_dap_ModifyResponse_s* x, int n, struct zx_dap_ItemData_s* y); 751 752 void zx_dap_ModifyResponse_ADD_Status(struct zx_dap_ModifyResponse_s* x, int n, struct zx_lu_Status_s* z); 753 void zx_dap_ModifyResponse_ADD_Extension(struct zx_dap_ModifyResponse_s* x, int n, struct zx_lu_Extension_s* z); 754 void zx_dap_ModifyResponse_ADD_ItemData(struct zx_dap_ModifyResponse_s* x, int n, struct zx_dap_ItemData_s* z); 755 756 void zx_dap_ModifyResponse_DEL_Status(struct zx_dap_ModifyResponse_s* x, int n); 757 void zx_dap_ModifyResponse_DEL_Extension(struct zx_dap_ModifyResponse_s* x, int n); 758 void zx_dap_ModifyResponse_DEL_ItemData(struct zx_dap_ModifyResponse_s* x, int n); 759 760 void zx_dap_ModifyResponse_REV_Status(struct zx_dap_ModifyResponse_s* x); 761 void zx_dap_ModifyResponse_REV_Extension(struct zx_dap_ModifyResponse_s* x); 762 void zx_dap_ModifyResponse_REV_ItemData(struct zx_dap_ModifyResponse_s* x); 763 764 #endif 765 /* -------------------------- dap_NewData -------------------------- */ 766 /* refby( zx_dap_CreateItem_s zx_dap_ModifyItem_s ) */ 767 #ifndef zx_dap_NewData_EXT 768 #define zx_dap_NewData_EXT 769 #endif 770 struct zx_dap_NewData_s { 771 ZX_ELEM_EXT 772 zx_dap_NewData_EXT 773 struct zx_dap_LDIF_s* LDIF; /* {0,1} nada */ 774 struct zx_dap_Subscription_s* Subscription; /* {0,1} nada */ 775 }; 776 777 #define zx_NEW_dap_NewData(c, father) (struct zx_dap_NewData_s*)zx_new_elem((c),(father),zx_dap_NewData_ELEM) 778 int zx_DEC_ATTR_dap_NewData(struct zx_ctx* c, struct zx_dap_NewData_s* x); 779 int zx_DEC_ELEM_dap_NewData(struct zx_ctx* c, struct zx_dap_NewData_s* x); 780 781 #ifdef ZX_ENA_AUX 782 struct zx_dap_NewData_s* zx_DEEP_CLONE_dap_NewData(struct zx_ctx* c, struct zx_dap_NewData_s* x, int dup_strs); 783 void zx_DUP_STRS_dap_NewData(struct zx_ctx* c, struct zx_dap_NewData_s* x); 784 int zx_WALK_SO_dap_NewData(struct zx_ctx* c, struct zx_dap_NewData_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 785 int zx_WALK_WO_dap_NewData(struct zx_ctx* c, struct zx_dap_NewData_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 786 #endif 787 788 #ifdef ZX_ENA_GETPUT 789 790 struct zx_dap_LDIF_s* zx_dap_NewData_GET_LDIF(struct zx_dap_NewData_s* x, int n); 791 struct zx_dap_Subscription_s* zx_dap_NewData_GET_Subscription(struct zx_dap_NewData_s* x, int n); 792 793 int zx_dap_NewData_NUM_LDIF(struct zx_dap_NewData_s* x); 794 int zx_dap_NewData_NUM_Subscription(struct zx_dap_NewData_s* x); 795 796 struct zx_dap_LDIF_s* zx_dap_NewData_POP_LDIF(struct zx_dap_NewData_s* x); 797 struct zx_dap_Subscription_s* zx_dap_NewData_POP_Subscription(struct zx_dap_NewData_s* x); 798 799 void zx_dap_NewData_PUSH_LDIF(struct zx_dap_NewData_s* x, struct zx_dap_LDIF_s* y); 800 void zx_dap_NewData_PUSH_Subscription(struct zx_dap_NewData_s* x, struct zx_dap_Subscription_s* y); 801 802 803 void zx_dap_NewData_PUT_LDIF(struct zx_dap_NewData_s* x, int n, struct zx_dap_LDIF_s* y); 804 void zx_dap_NewData_PUT_Subscription(struct zx_dap_NewData_s* x, int n, struct zx_dap_Subscription_s* y); 805 806 void zx_dap_NewData_ADD_LDIF(struct zx_dap_NewData_s* x, int n, struct zx_dap_LDIF_s* z); 807 void zx_dap_NewData_ADD_Subscription(struct zx_dap_NewData_s* x, int n, struct zx_dap_Subscription_s* z); 808 809 void zx_dap_NewData_DEL_LDIF(struct zx_dap_NewData_s* x, int n); 810 void zx_dap_NewData_DEL_Subscription(struct zx_dap_NewData_s* x, int n); 811 812 void zx_dap_NewData_REV_LDIF(struct zx_dap_NewData_s* x); 813 void zx_dap_NewData_REV_Subscription(struct zx_dap_NewData_s* x); 814 815 #endif 816 /* -------------------------- dap_Notification -------------------------- */ 817 /* refby( zx_dap_Notify_s ) */ 818 #ifndef zx_dap_Notification_EXT 819 #define zx_dap_Notification_EXT 820 #endif 821 struct zx_dap_Notification_s { 822 ZX_ELEM_EXT 823 zx_dap_Notification_EXT 824 struct zx_lu_TestResult_s* TestResult; /* {0,-1} nada */ 825 struct zx_dap_ItemData_s* ItemData; /* {0,-1} nada */ 826 struct zx_attr_s* endReason; /* {0,1} attribute xs:anyURI */ 827 struct zx_attr_s* expires; /* {0,1} attribute xs:dateTime */ 828 struct zx_attr_s* id; /* {0,1} attribute xs:ID */ 829 struct zx_attr_s* subscriptionID; /* {1,1} attribute xs:string */ 830 }; 831 832 #define zx_NEW_dap_Notification(c, father) (struct zx_dap_Notification_s*)zx_new_elem((c),(father),zx_dap_Notification_ELEM) 833 int zx_DEC_ATTR_dap_Notification(struct zx_ctx* c, struct zx_dap_Notification_s* x); 834 int zx_DEC_ELEM_dap_Notification(struct zx_ctx* c, struct zx_dap_Notification_s* x); 835 836 #ifdef ZX_ENA_AUX 837 struct zx_dap_Notification_s* zx_DEEP_CLONE_dap_Notification(struct zx_ctx* c, struct zx_dap_Notification_s* x, int dup_strs); 838 void zx_DUP_STRS_dap_Notification(struct zx_ctx* c, struct zx_dap_Notification_s* x); 839 int zx_WALK_SO_dap_Notification(struct zx_ctx* c, struct zx_dap_Notification_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 840 int zx_WALK_WO_dap_Notification(struct zx_ctx* c, struct zx_dap_Notification_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 841 #endif 842 843 #ifdef ZX_ENA_GETPUT 844 struct zx_attr_s* zx_dap_Notification_GET_endReason(struct zx_dap_Notification_s* x); 845 struct zx_attr_s* zx_dap_Notification_GET_expires(struct zx_dap_Notification_s* x); 846 struct zx_attr_s* zx_dap_Notification_GET_id(struct zx_dap_Notification_s* x); 847 struct zx_attr_s* zx_dap_Notification_GET_subscriptionID(struct zx_dap_Notification_s* x); 848 849 struct zx_lu_TestResult_s* zx_dap_Notification_GET_TestResult(struct zx_dap_Notification_s* x, int n); 850 struct zx_dap_ItemData_s* zx_dap_Notification_GET_ItemData(struct zx_dap_Notification_s* x, int n); 851 852 int zx_dap_Notification_NUM_TestResult(struct zx_dap_Notification_s* x); 853 int zx_dap_Notification_NUM_ItemData(struct zx_dap_Notification_s* x); 854 855 struct zx_lu_TestResult_s* zx_dap_Notification_POP_TestResult(struct zx_dap_Notification_s* x); 856 struct zx_dap_ItemData_s* zx_dap_Notification_POP_ItemData(struct zx_dap_Notification_s* x); 857 858 void zx_dap_Notification_PUSH_TestResult(struct zx_dap_Notification_s* x, struct zx_lu_TestResult_s* y); 859 void zx_dap_Notification_PUSH_ItemData(struct zx_dap_Notification_s* x, struct zx_dap_ItemData_s* y); 860 861 void zx_dap_Notification_PUT_endReason(struct zx_dap_Notification_s* x, struct zx_attr_s* y); 862 void zx_dap_Notification_PUT_expires(struct zx_dap_Notification_s* x, struct zx_attr_s* y); 863 void zx_dap_Notification_PUT_id(struct zx_dap_Notification_s* x, struct zx_attr_s* y); 864 void zx_dap_Notification_PUT_subscriptionID(struct zx_dap_Notification_s* x, struct zx_attr_s* y); 865 866 void zx_dap_Notification_PUT_TestResult(struct zx_dap_Notification_s* x, int n, struct zx_lu_TestResult_s* y); 867 void zx_dap_Notification_PUT_ItemData(struct zx_dap_Notification_s* x, int n, struct zx_dap_ItemData_s* y); 868 869 void zx_dap_Notification_ADD_TestResult(struct zx_dap_Notification_s* x, int n, struct zx_lu_TestResult_s* z); 870 void zx_dap_Notification_ADD_ItemData(struct zx_dap_Notification_s* x, int n, struct zx_dap_ItemData_s* z); 871 872 void zx_dap_Notification_DEL_TestResult(struct zx_dap_Notification_s* x, int n); 873 void zx_dap_Notification_DEL_ItemData(struct zx_dap_Notification_s* x, int n); 874 875 void zx_dap_Notification_REV_TestResult(struct zx_dap_Notification_s* x); 876 void zx_dap_Notification_REV_ItemData(struct zx_dap_Notification_s* x); 877 878 #endif 879 /* -------------------------- dap_Notify -------------------------- */ 880 /* refby( zx_e_Body_s ) */ 881 #ifndef zx_dap_Notify_EXT 882 #define zx_dap_Notify_EXT 883 #endif 884 struct zx_dap_Notify_s { 885 ZX_ELEM_EXT 886 zx_dap_Notify_EXT 887 struct zx_lu_Extension_s* Extension; /* {0,-1} */ 888 struct zx_dap_Notification_s* Notification; /* {0,-1} nada */ 889 struct zx_attr_s* timeStamp; /* {0,1} attribute xs:dateTime */ 890 struct zx_attr_s* itemID; /* {0,1} attribute lu:IDType */ 891 }; 892 893 #define zx_NEW_dap_Notify(c, father) (struct zx_dap_Notify_s*)zx_new_elem((c),(father),zx_dap_Notify_ELEM) 894 int zx_DEC_ATTR_dap_Notify(struct zx_ctx* c, struct zx_dap_Notify_s* x); 895 int zx_DEC_ELEM_dap_Notify(struct zx_ctx* c, struct zx_dap_Notify_s* x); 896 897 #ifdef ZX_ENA_AUX 898 struct zx_dap_Notify_s* zx_DEEP_CLONE_dap_Notify(struct zx_ctx* c, struct zx_dap_Notify_s* x, int dup_strs); 899 void zx_DUP_STRS_dap_Notify(struct zx_ctx* c, struct zx_dap_Notify_s* x); 900 int zx_WALK_SO_dap_Notify(struct zx_ctx* c, struct zx_dap_Notify_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 901 int zx_WALK_WO_dap_Notify(struct zx_ctx* c, struct zx_dap_Notify_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 902 #endif 903 904 #ifdef ZX_ENA_GETPUT 905 struct zx_attr_s* zx_dap_Notify_GET_timeStamp(struct zx_dap_Notify_s* x); 906 struct zx_attr_s* zx_dap_Notify_GET_itemID(struct zx_dap_Notify_s* x); 907 908 struct zx_lu_Extension_s* zx_dap_Notify_GET_Extension(struct zx_dap_Notify_s* x, int n); 909 struct zx_dap_Notification_s* zx_dap_Notify_GET_Notification(struct zx_dap_Notify_s* x, int n); 910 911 int zx_dap_Notify_NUM_Extension(struct zx_dap_Notify_s* x); 912 int zx_dap_Notify_NUM_Notification(struct zx_dap_Notify_s* x); 913 914 struct zx_lu_Extension_s* zx_dap_Notify_POP_Extension(struct zx_dap_Notify_s* x); 915 struct zx_dap_Notification_s* zx_dap_Notify_POP_Notification(struct zx_dap_Notify_s* x); 916 917 void zx_dap_Notify_PUSH_Extension(struct zx_dap_Notify_s* x, struct zx_lu_Extension_s* y); 918 void zx_dap_Notify_PUSH_Notification(struct zx_dap_Notify_s* x, struct zx_dap_Notification_s* y); 919 920 void zx_dap_Notify_PUT_timeStamp(struct zx_dap_Notify_s* x, struct zx_attr_s* y); 921 void zx_dap_Notify_PUT_itemID(struct zx_dap_Notify_s* x, struct zx_attr_s* y); 922 923 void zx_dap_Notify_PUT_Extension(struct zx_dap_Notify_s* x, int n, struct zx_lu_Extension_s* y); 924 void zx_dap_Notify_PUT_Notification(struct zx_dap_Notify_s* x, int n, struct zx_dap_Notification_s* y); 925 926 void zx_dap_Notify_ADD_Extension(struct zx_dap_Notify_s* x, int n, struct zx_lu_Extension_s* z); 927 void zx_dap_Notify_ADD_Notification(struct zx_dap_Notify_s* x, int n, struct zx_dap_Notification_s* z); 928 929 void zx_dap_Notify_DEL_Extension(struct zx_dap_Notify_s* x, int n); 930 void zx_dap_Notify_DEL_Notification(struct zx_dap_Notify_s* x, int n); 931 932 void zx_dap_Notify_REV_Extension(struct zx_dap_Notify_s* x); 933 void zx_dap_Notify_REV_Notification(struct zx_dap_Notify_s* x); 934 935 #endif 936 /* -------------------------- dap_NotifyResponse -------------------------- */ 937 /* refby( zx_e_Body_s ) */ 938 #ifndef zx_dap_NotifyResponse_EXT 939 #define zx_dap_NotifyResponse_EXT 940 #endif 941 struct zx_dap_NotifyResponse_s { 942 ZX_ELEM_EXT 943 zx_dap_NotifyResponse_EXT 944 struct zx_lu_Status_s* Status; /* {1,1} nada */ 945 struct zx_lu_Extension_s* Extension; /* {0,-1} */ 946 struct zx_attr_s* itemIDRef; /* {0,1} attribute xs:string */ 947 }; 948 949 #define zx_NEW_dap_NotifyResponse(c, father) (struct zx_dap_NotifyResponse_s*)zx_new_elem((c),(father),zx_dap_NotifyResponse_ELEM) 950 int zx_DEC_ATTR_dap_NotifyResponse(struct zx_ctx* c, struct zx_dap_NotifyResponse_s* x); 951 int zx_DEC_ELEM_dap_NotifyResponse(struct zx_ctx* c, struct zx_dap_NotifyResponse_s* x); 952 953 #ifdef ZX_ENA_AUX 954 struct zx_dap_NotifyResponse_s* zx_DEEP_CLONE_dap_NotifyResponse(struct zx_ctx* c, struct zx_dap_NotifyResponse_s* x, int dup_strs); 955 void zx_DUP_STRS_dap_NotifyResponse(struct zx_ctx* c, struct zx_dap_NotifyResponse_s* x); 956 int zx_WALK_SO_dap_NotifyResponse(struct zx_ctx* c, struct zx_dap_NotifyResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 957 int zx_WALK_WO_dap_NotifyResponse(struct zx_ctx* c, struct zx_dap_NotifyResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 958 #endif 959 960 #ifdef ZX_ENA_GETPUT 961 struct zx_attr_s* zx_dap_NotifyResponse_GET_itemIDRef(struct zx_dap_NotifyResponse_s* x); 962 963 struct zx_lu_Status_s* zx_dap_NotifyResponse_GET_Status(struct zx_dap_NotifyResponse_s* x, int n); 964 struct zx_lu_Extension_s* zx_dap_NotifyResponse_GET_Extension(struct zx_dap_NotifyResponse_s* x, int n); 965 966 int zx_dap_NotifyResponse_NUM_Status(struct zx_dap_NotifyResponse_s* x); 967 int zx_dap_NotifyResponse_NUM_Extension(struct zx_dap_NotifyResponse_s* x); 968 969 struct zx_lu_Status_s* zx_dap_NotifyResponse_POP_Status(struct zx_dap_NotifyResponse_s* x); 970 struct zx_lu_Extension_s* zx_dap_NotifyResponse_POP_Extension(struct zx_dap_NotifyResponse_s* x); 971 972 void zx_dap_NotifyResponse_PUSH_Status(struct zx_dap_NotifyResponse_s* x, struct zx_lu_Status_s* y); 973 void zx_dap_NotifyResponse_PUSH_Extension(struct zx_dap_NotifyResponse_s* x, struct zx_lu_Extension_s* y); 974 975 void zx_dap_NotifyResponse_PUT_itemIDRef(struct zx_dap_NotifyResponse_s* x, struct zx_attr_s* y); 976 977 void zx_dap_NotifyResponse_PUT_Status(struct zx_dap_NotifyResponse_s* x, int n, struct zx_lu_Status_s* y); 978 void zx_dap_NotifyResponse_PUT_Extension(struct zx_dap_NotifyResponse_s* x, int n, struct zx_lu_Extension_s* y); 979 980 void zx_dap_NotifyResponse_ADD_Status(struct zx_dap_NotifyResponse_s* x, int n, struct zx_lu_Status_s* z); 981 void zx_dap_NotifyResponse_ADD_Extension(struct zx_dap_NotifyResponse_s* x, int n, struct zx_lu_Extension_s* z); 982 983 void zx_dap_NotifyResponse_DEL_Status(struct zx_dap_NotifyResponse_s* x, int n); 984 void zx_dap_NotifyResponse_DEL_Extension(struct zx_dap_NotifyResponse_s* x, int n); 985 986 void zx_dap_NotifyResponse_REV_Status(struct zx_dap_NotifyResponse_s* x); 987 void zx_dap_NotifyResponse_REV_Extension(struct zx_dap_NotifyResponse_s* x); 988 989 #endif 990 /* -------------------------- dap_Query -------------------------- */ 991 /* refby( zx_e_Body_s ) */ 992 #ifndef zx_dap_Query_EXT 993 #define zx_dap_Query_EXT 994 #endif 995 struct zx_dap_Query_s { 996 ZX_ELEM_EXT 997 zx_dap_Query_EXT 998 struct zx_lu_Extension_s* Extension; /* {0,-1} */ 999 struct zx_dap_TestItem_s* TestItem; /* {0,-1} nada */ 1000 struct zx_dap_QueryItem_s* QueryItem; /* {0,-1} nada */ 1001 struct zx_dap_Subscription_s* Subscription; /* {0,-1} nada */ 1002 struct zx_attr_s* itemID; /* {0,1} attribute lu:IDType */ 1003 }; 1004 1005 #define zx_NEW_dap_Query(c, father) (struct zx_dap_Query_s*)zx_new_elem((c),(father),zx_dap_Query_ELEM) 1006 int zx_DEC_ATTR_dap_Query(struct zx_ctx* c, struct zx_dap_Query_s* x); 1007 int zx_DEC_ELEM_dap_Query(struct zx_ctx* c, struct zx_dap_Query_s* x); 1008 1009 #ifdef ZX_ENA_AUX 1010 struct zx_dap_Query_s* zx_DEEP_CLONE_dap_Query(struct zx_ctx* c, struct zx_dap_Query_s* x, int dup_strs); 1011 void zx_DUP_STRS_dap_Query(struct zx_ctx* c, struct zx_dap_Query_s* x); 1012 int zx_WALK_SO_dap_Query(struct zx_ctx* c, struct zx_dap_Query_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1013 int zx_WALK_WO_dap_Query(struct zx_ctx* c, struct zx_dap_Query_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1014 #endif 1015 1016 #ifdef ZX_ENA_GETPUT 1017 struct zx_attr_s* zx_dap_Query_GET_itemID(struct zx_dap_Query_s* x); 1018 1019 struct zx_lu_Extension_s* zx_dap_Query_GET_Extension(struct zx_dap_Query_s* x, int n); 1020 struct zx_dap_TestItem_s* zx_dap_Query_GET_TestItem(struct zx_dap_Query_s* x, int n); 1021 struct zx_dap_QueryItem_s* zx_dap_Query_GET_QueryItem(struct zx_dap_Query_s* x, int n); 1022 struct zx_dap_Subscription_s* zx_dap_Query_GET_Subscription(struct zx_dap_Query_s* x, int n); 1023 1024 int zx_dap_Query_NUM_Extension(struct zx_dap_Query_s* x); 1025 int zx_dap_Query_NUM_TestItem(struct zx_dap_Query_s* x); 1026 int zx_dap_Query_NUM_QueryItem(struct zx_dap_Query_s* x); 1027 int zx_dap_Query_NUM_Subscription(struct zx_dap_Query_s* x); 1028 1029 struct zx_lu_Extension_s* zx_dap_Query_POP_Extension(struct zx_dap_Query_s* x); 1030 struct zx_dap_TestItem_s* zx_dap_Query_POP_TestItem(struct zx_dap_Query_s* x); 1031 struct zx_dap_QueryItem_s* zx_dap_Query_POP_QueryItem(struct zx_dap_Query_s* x); 1032 struct zx_dap_Subscription_s* zx_dap_Query_POP_Subscription(struct zx_dap_Query_s* x); 1033 1034 void zx_dap_Query_PUSH_Extension(struct zx_dap_Query_s* x, struct zx_lu_Extension_s* y); 1035 void zx_dap_Query_PUSH_TestItem(struct zx_dap_Query_s* x, struct zx_dap_TestItem_s* y); 1036 void zx_dap_Query_PUSH_QueryItem(struct zx_dap_Query_s* x, struct zx_dap_QueryItem_s* y); 1037 void zx_dap_Query_PUSH_Subscription(struct zx_dap_Query_s* x, struct zx_dap_Subscription_s* y); 1038 1039 void zx_dap_Query_PUT_itemID(struct zx_dap_Query_s* x, struct zx_attr_s* y); 1040 1041 void zx_dap_Query_PUT_Extension(struct zx_dap_Query_s* x, int n, struct zx_lu_Extension_s* y); 1042 void zx_dap_Query_PUT_TestItem(struct zx_dap_Query_s* x, int n, struct zx_dap_TestItem_s* y); 1043 void zx_dap_Query_PUT_QueryItem(struct zx_dap_Query_s* x, int n, struct zx_dap_QueryItem_s* y); 1044 void zx_dap_Query_PUT_Subscription(struct zx_dap_Query_s* x, int n, struct zx_dap_Subscription_s* y); 1045 1046 void zx_dap_Query_ADD_Extension(struct zx_dap_Query_s* x, int n, struct zx_lu_Extension_s* z); 1047 void zx_dap_Query_ADD_TestItem(struct zx_dap_Query_s* x, int n, struct zx_dap_TestItem_s* z); 1048 void zx_dap_Query_ADD_QueryItem(struct zx_dap_Query_s* x, int n, struct zx_dap_QueryItem_s* z); 1049 void zx_dap_Query_ADD_Subscription(struct zx_dap_Query_s* x, int n, struct zx_dap_Subscription_s* z); 1050 1051 void zx_dap_Query_DEL_Extension(struct zx_dap_Query_s* x, int n); 1052 void zx_dap_Query_DEL_TestItem(struct zx_dap_Query_s* x, int n); 1053 void zx_dap_Query_DEL_QueryItem(struct zx_dap_Query_s* x, int n); 1054 void zx_dap_Query_DEL_Subscription(struct zx_dap_Query_s* x, int n); 1055 1056 void zx_dap_Query_REV_Extension(struct zx_dap_Query_s* x); 1057 void zx_dap_Query_REV_TestItem(struct zx_dap_Query_s* x); 1058 void zx_dap_Query_REV_QueryItem(struct zx_dap_Query_s* x); 1059 void zx_dap_Query_REV_Subscription(struct zx_dap_Query_s* x); 1060 1061 #endif 1062 /* -------------------------- dap_QueryItem -------------------------- */ 1063 /* refby( zx_dap_Query_s ) */ 1064 #ifndef zx_dap_QueryItem_EXT 1065 #define zx_dap_QueryItem_EXT 1066 #endif 1067 struct zx_dap_QueryItem_s { 1068 ZX_ELEM_EXT 1069 zx_dap_QueryItem_EXT 1070 struct zx_elem_s* ChangeFormat; /* {0,2} xs:string */ 1071 struct zx_dap_Select_s* Select; /* {0,1} nada */ 1072 struct zx_elem_s* Sort; /* {0,1} xs:string */ 1073 struct zx_attr_s* changedSince; /* {0,1} attribute xs:dateTime */ 1074 struct zx_attr_s* contingency; /* {0,1} attribute xs:boolean */ 1075 struct zx_attr_s* count; /* {0,1} attribute xs:nonNegativeInteger */ 1076 struct zx_attr_s* includeCommonAttributes; /* {0,1} attribute xs:boolean */ 1077 struct zx_attr_s* offset; /* {0,1} attribute xs:integer */ 1078 struct zx_attr_s* setID; /* {0,1} attribute xs:string */ 1079 struct zx_attr_s* setReq; /* {0,1} attribute Static */ 1080 struct zx_attr_s* itemID; /* {0,1} attribute lu:IDType */ 1081 struct zx_attr_s* itemIDRef; /* {0,1} attribute lu:IDReferenceType */ 1082 struct zx_attr_s* objectType; /* {0,1} attribute xs:NCName */ 1083 struct zx_attr_s* predefined; /* {0,1} attribute xs:string */ 1084 }; 1085 1086 #define zx_NEW_dap_QueryItem(c, father) (struct zx_dap_QueryItem_s*)zx_new_elem((c),(father),zx_dap_QueryItem_ELEM) 1087 int zx_DEC_ATTR_dap_QueryItem(struct zx_ctx* c, struct zx_dap_QueryItem_s* x); 1088 int zx_DEC_ELEM_dap_QueryItem(struct zx_ctx* c, struct zx_dap_QueryItem_s* x); 1089 1090 #ifdef ZX_ENA_AUX 1091 struct zx_dap_QueryItem_s* zx_DEEP_CLONE_dap_QueryItem(struct zx_ctx* c, struct zx_dap_QueryItem_s* x, int dup_strs); 1092 void zx_DUP_STRS_dap_QueryItem(struct zx_ctx* c, struct zx_dap_QueryItem_s* x); 1093 int zx_WALK_SO_dap_QueryItem(struct zx_ctx* c, struct zx_dap_QueryItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1094 int zx_WALK_WO_dap_QueryItem(struct zx_ctx* c, struct zx_dap_QueryItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1095 #endif 1096 1097 #ifdef ZX_ENA_GETPUT 1098 struct zx_attr_s* zx_dap_QueryItem_GET_changedSince(struct zx_dap_QueryItem_s* x); 1099 struct zx_attr_s* zx_dap_QueryItem_GET_contingency(struct zx_dap_QueryItem_s* x); 1100 struct zx_attr_s* zx_dap_QueryItem_GET_count(struct zx_dap_QueryItem_s* x); 1101 struct zx_attr_s* zx_dap_QueryItem_GET_includeCommonAttributes(struct zx_dap_QueryItem_s* x); 1102 struct zx_attr_s* zx_dap_QueryItem_GET_offset(struct zx_dap_QueryItem_s* x); 1103 struct zx_attr_s* zx_dap_QueryItem_GET_setID(struct zx_dap_QueryItem_s* x); 1104 struct zx_attr_s* zx_dap_QueryItem_GET_setReq(struct zx_dap_QueryItem_s* x); 1105 struct zx_attr_s* zx_dap_QueryItem_GET_itemID(struct zx_dap_QueryItem_s* x); 1106 struct zx_attr_s* zx_dap_QueryItem_GET_itemIDRef(struct zx_dap_QueryItem_s* x); 1107 struct zx_attr_s* zx_dap_QueryItem_GET_objectType(struct zx_dap_QueryItem_s* x); 1108 struct zx_attr_s* zx_dap_QueryItem_GET_predefined(struct zx_dap_QueryItem_s* x); 1109 1110 struct zx_elem_s* zx_dap_QueryItem_GET_ChangeFormat(struct zx_dap_QueryItem_s* x, int n); 1111 struct zx_dap_Select_s* zx_dap_QueryItem_GET_Select(struct zx_dap_QueryItem_s* x, int n); 1112 struct zx_elem_s* zx_dap_QueryItem_GET_Sort(struct zx_dap_QueryItem_s* x, int n); 1113 1114 int zx_dap_QueryItem_NUM_ChangeFormat(struct zx_dap_QueryItem_s* x); 1115 int zx_dap_QueryItem_NUM_Select(struct zx_dap_QueryItem_s* x); 1116 int zx_dap_QueryItem_NUM_Sort(struct zx_dap_QueryItem_s* x); 1117 1118 struct zx_elem_s* zx_dap_QueryItem_POP_ChangeFormat(struct zx_dap_QueryItem_s* x); 1119 struct zx_dap_Select_s* zx_dap_QueryItem_POP_Select(struct zx_dap_QueryItem_s* x); 1120 struct zx_elem_s* zx_dap_QueryItem_POP_Sort(struct zx_dap_QueryItem_s* x); 1121 1122 void zx_dap_QueryItem_PUSH_ChangeFormat(struct zx_dap_QueryItem_s* x, struct zx_elem_s* y); 1123 void zx_dap_QueryItem_PUSH_Select(struct zx_dap_QueryItem_s* x, struct zx_dap_Select_s* y); 1124 void zx_dap_QueryItem_PUSH_Sort(struct zx_dap_QueryItem_s* x, struct zx_elem_s* y); 1125 1126 void zx_dap_QueryItem_PUT_changedSince(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y); 1127 void zx_dap_QueryItem_PUT_contingency(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y); 1128 void zx_dap_QueryItem_PUT_count(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y); 1129 void zx_dap_QueryItem_PUT_includeCommonAttributes(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y); 1130 void zx_dap_QueryItem_PUT_offset(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y); 1131 void zx_dap_QueryItem_PUT_setID(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y); 1132 void zx_dap_QueryItem_PUT_setReq(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y); 1133 void zx_dap_QueryItem_PUT_itemID(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y); 1134 void zx_dap_QueryItem_PUT_itemIDRef(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y); 1135 void zx_dap_QueryItem_PUT_objectType(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y); 1136 void zx_dap_QueryItem_PUT_predefined(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y); 1137 1138 void zx_dap_QueryItem_PUT_ChangeFormat(struct zx_dap_QueryItem_s* x, int n, struct zx_elem_s* y); 1139 void zx_dap_QueryItem_PUT_Select(struct zx_dap_QueryItem_s* x, int n, struct zx_dap_Select_s* y); 1140 void zx_dap_QueryItem_PUT_Sort(struct zx_dap_QueryItem_s* x, int n, struct zx_elem_s* y); 1141 1142 void zx_dap_QueryItem_ADD_ChangeFormat(struct zx_dap_QueryItem_s* x, int n, struct zx_elem_s* z); 1143 void zx_dap_QueryItem_ADD_Select(struct zx_dap_QueryItem_s* x, int n, struct zx_dap_Select_s* z); 1144 void zx_dap_QueryItem_ADD_Sort(struct zx_dap_QueryItem_s* x, int n, struct zx_elem_s* z); 1145 1146 void zx_dap_QueryItem_DEL_ChangeFormat(struct zx_dap_QueryItem_s* x,int n); 1147 void zx_dap_QueryItem_DEL_Select(struct zx_dap_QueryItem_s* x, int n); 1148 void zx_dap_QueryItem_DEL_Sort(struct zx_dap_QueryItem_s* x,int n); 1149 1150 void zx_dap_QueryItem_REV_ChangeFormat(struct zx_dap_QueryItem_s* x); 1151 void zx_dap_QueryItem_REV_Select(struct zx_dap_QueryItem_s* x); 1152 void zx_dap_QueryItem_REV_Sort(struct zx_dap_QueryItem_s* x); 1153 1154 #endif 1155 /* -------------------------- dap_QueryResponse -------------------------- */ 1156 /* refby( zx_e_Body_s ) */ 1157 #ifndef zx_dap_QueryResponse_EXT 1158 #define zx_dap_QueryResponse_EXT 1159 #endif 1160 struct zx_dap_QueryResponse_s { 1161 ZX_ELEM_EXT 1162 zx_dap_QueryResponse_EXT 1163 struct zx_lu_Status_s* Status; /* {1,1} nada */ 1164 struct zx_lu_Extension_s* Extension; /* {0,-1} */ 1165 struct zx_dst_TestResult_s* TestResult; /* {0,-1} nada */ 1166 struct zx_dap_Data_s* Data; /* {0,-1} nada */ 1167 struct zx_attr_s* timeStamp; /* {0,1} attribute xs:dateTime */ 1168 struct zx_attr_s* itemIDRef; /* {0,1} attribute lu:IDReferenceType */ 1169 }; 1170 1171 #define zx_NEW_dap_QueryResponse(c, father) (struct zx_dap_QueryResponse_s*)zx_new_elem((c),(father),zx_dap_QueryResponse_ELEM) 1172 int zx_DEC_ATTR_dap_QueryResponse(struct zx_ctx* c, struct zx_dap_QueryResponse_s* x); 1173 int zx_DEC_ELEM_dap_QueryResponse(struct zx_ctx* c, struct zx_dap_QueryResponse_s* x); 1174 1175 #ifdef ZX_ENA_AUX 1176 struct zx_dap_QueryResponse_s* zx_DEEP_CLONE_dap_QueryResponse(struct zx_ctx* c, struct zx_dap_QueryResponse_s* x, int dup_strs); 1177 void zx_DUP_STRS_dap_QueryResponse(struct zx_ctx* c, struct zx_dap_QueryResponse_s* x); 1178 int zx_WALK_SO_dap_QueryResponse(struct zx_ctx* c, struct zx_dap_QueryResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1179 int zx_WALK_WO_dap_QueryResponse(struct zx_ctx* c, struct zx_dap_QueryResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1180 #endif 1181 1182 #ifdef ZX_ENA_GETPUT 1183 struct zx_attr_s* zx_dap_QueryResponse_GET_timeStamp(struct zx_dap_QueryResponse_s* x); 1184 struct zx_attr_s* zx_dap_QueryResponse_GET_itemIDRef(struct zx_dap_QueryResponse_s* x); 1185 1186 struct zx_lu_Status_s* zx_dap_QueryResponse_GET_Status(struct zx_dap_QueryResponse_s* x, int n); 1187 struct zx_lu_Extension_s* zx_dap_QueryResponse_GET_Extension(struct zx_dap_QueryResponse_s* x, int n); 1188 struct zx_dst_TestResult_s* zx_dap_QueryResponse_GET_TestResult(struct zx_dap_QueryResponse_s* x, int n); 1189 struct zx_dap_Data_s* zx_dap_QueryResponse_GET_Data(struct zx_dap_QueryResponse_s* x, int n); 1190 1191 int zx_dap_QueryResponse_NUM_Status(struct zx_dap_QueryResponse_s* x); 1192 int zx_dap_QueryResponse_NUM_Extension(struct zx_dap_QueryResponse_s* x); 1193 int zx_dap_QueryResponse_NUM_TestResult(struct zx_dap_QueryResponse_s* x); 1194 int zx_dap_QueryResponse_NUM_Data(struct zx_dap_QueryResponse_s* x); 1195 1196 struct zx_lu_Status_s* zx_dap_QueryResponse_POP_Status(struct zx_dap_QueryResponse_s* x); 1197 struct zx_lu_Extension_s* zx_dap_QueryResponse_POP_Extension(struct zx_dap_QueryResponse_s* x); 1198 struct zx_dst_TestResult_s* zx_dap_QueryResponse_POP_TestResult(struct zx_dap_QueryResponse_s* x); 1199 struct zx_dap_Data_s* zx_dap_QueryResponse_POP_Data(struct zx_dap_QueryResponse_s* x); 1200 1201 void zx_dap_QueryResponse_PUSH_Status(struct zx_dap_QueryResponse_s* x, struct zx_lu_Status_s* y); 1202 void zx_dap_QueryResponse_PUSH_Extension(struct zx_dap_QueryResponse_s* x, struct zx_lu_Extension_s* y); 1203 void zx_dap_QueryResponse_PUSH_TestResult(struct zx_dap_QueryResponse_s* x, struct zx_dst_TestResult_s* y); 1204 void zx_dap_QueryResponse_PUSH_Data(struct zx_dap_QueryResponse_s* x, struct zx_dap_Data_s* y); 1205 1206 void zx_dap_QueryResponse_PUT_timeStamp(struct zx_dap_QueryResponse_s* x, struct zx_attr_s* y); 1207 void zx_dap_QueryResponse_PUT_itemIDRef(struct zx_dap_QueryResponse_s* x, struct zx_attr_s* y); 1208 1209 void zx_dap_QueryResponse_PUT_Status(struct zx_dap_QueryResponse_s* x, int n, struct zx_lu_Status_s* y); 1210 void zx_dap_QueryResponse_PUT_Extension(struct zx_dap_QueryResponse_s* x, int n, struct zx_lu_Extension_s* y); 1211 void zx_dap_QueryResponse_PUT_TestResult(struct zx_dap_QueryResponse_s* x, int n, struct zx_dst_TestResult_s* y); 1212 void zx_dap_QueryResponse_PUT_Data(struct zx_dap_QueryResponse_s* x, int n, struct zx_dap_Data_s* y); 1213 1214 void zx_dap_QueryResponse_ADD_Status(struct zx_dap_QueryResponse_s* x, int n, struct zx_lu_Status_s* z); 1215 void zx_dap_QueryResponse_ADD_Extension(struct zx_dap_QueryResponse_s* x, int n, struct zx_lu_Extension_s* z); 1216 void zx_dap_QueryResponse_ADD_TestResult(struct zx_dap_QueryResponse_s* x, int n, struct zx_dst_TestResult_s* z); 1217 void zx_dap_QueryResponse_ADD_Data(struct zx_dap_QueryResponse_s* x, int n, struct zx_dap_Data_s* z); 1218 1219 void zx_dap_QueryResponse_DEL_Status(struct zx_dap_QueryResponse_s* x, int n); 1220 void zx_dap_QueryResponse_DEL_Extension(struct zx_dap_QueryResponse_s* x, int n); 1221 void zx_dap_QueryResponse_DEL_TestResult(struct zx_dap_QueryResponse_s* x, int n); 1222 void zx_dap_QueryResponse_DEL_Data(struct zx_dap_QueryResponse_s* x, int n); 1223 1224 void zx_dap_QueryResponse_REV_Status(struct zx_dap_QueryResponse_s* x); 1225 void zx_dap_QueryResponse_REV_Extension(struct zx_dap_QueryResponse_s* x); 1226 void zx_dap_QueryResponse_REV_TestResult(struct zx_dap_QueryResponse_s* x); 1227 void zx_dap_QueryResponse_REV_Data(struct zx_dap_QueryResponse_s* x); 1228 1229 #endif 1230 /* -------------------------- dap_ResultQuery -------------------------- */ 1231 /* refby( zx_dap_Subscription_s zx_dap_Modify_s zx_dap_Create_s ) */ 1232 #ifndef zx_dap_ResultQuery_EXT 1233 #define zx_dap_ResultQuery_EXT 1234 #endif 1235 struct zx_dap_ResultQuery_s { 1236 ZX_ELEM_EXT 1237 zx_dap_ResultQuery_EXT 1238 struct zx_elem_s* ChangeFormat; /* {0,2} xs:string */ 1239 struct zx_dap_Select_s* Select; /* {0,1} nada */ 1240 struct zx_elem_s* Sort; /* {0,1} xs:string */ 1241 struct zx_attr_s* changedSince; /* {0,1} attribute xs:dateTime */ 1242 struct zx_attr_s* contingency; /* {0,1} attribute xs:boolean */ 1243 struct zx_attr_s* includeCommonAttributes; /* {0,1} attribute xs:boolean */ 1244 struct zx_attr_s* itemID; /* {0,1} attribute lu:IDType */ 1245 struct zx_attr_s* itemIDRef; /* {0,1} attribute lu:IDReferenceType */ 1246 struct zx_attr_s* objectType; /* {0,1} attribute xs:NCName */ 1247 struct zx_attr_s* predefined; /* {0,1} attribute xs:string */ 1248 }; 1249 1250 #define zx_NEW_dap_ResultQuery(c, father) (struct zx_dap_ResultQuery_s*)zx_new_elem((c),(father),zx_dap_ResultQuery_ELEM) 1251 int zx_DEC_ATTR_dap_ResultQuery(struct zx_ctx* c, struct zx_dap_ResultQuery_s* x); 1252 int zx_DEC_ELEM_dap_ResultQuery(struct zx_ctx* c, struct zx_dap_ResultQuery_s* x); 1253 1254 #ifdef ZX_ENA_AUX 1255 struct zx_dap_ResultQuery_s* zx_DEEP_CLONE_dap_ResultQuery(struct zx_ctx* c, struct zx_dap_ResultQuery_s* x, int dup_strs); 1256 void zx_DUP_STRS_dap_ResultQuery(struct zx_ctx* c, struct zx_dap_ResultQuery_s* x); 1257 int zx_WALK_SO_dap_ResultQuery(struct zx_ctx* c, struct zx_dap_ResultQuery_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1258 int zx_WALK_WO_dap_ResultQuery(struct zx_ctx* c, struct zx_dap_ResultQuery_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1259 #endif 1260 1261 #ifdef ZX_ENA_GETPUT 1262 struct zx_attr_s* zx_dap_ResultQuery_GET_changedSince(struct zx_dap_ResultQuery_s* x); 1263 struct zx_attr_s* zx_dap_ResultQuery_GET_contingency(struct zx_dap_ResultQuery_s* x); 1264 struct zx_attr_s* zx_dap_ResultQuery_GET_includeCommonAttributes(struct zx_dap_ResultQuery_s* x); 1265 struct zx_attr_s* zx_dap_ResultQuery_GET_itemID(struct zx_dap_ResultQuery_s* x); 1266 struct zx_attr_s* zx_dap_ResultQuery_GET_itemIDRef(struct zx_dap_ResultQuery_s* x); 1267 struct zx_attr_s* zx_dap_ResultQuery_GET_objectType(struct zx_dap_ResultQuery_s* x); 1268 struct zx_attr_s* zx_dap_ResultQuery_GET_predefined(struct zx_dap_ResultQuery_s* x); 1269 1270 struct zx_elem_s* zx_dap_ResultQuery_GET_ChangeFormat(struct zx_dap_ResultQuery_s* x, int n); 1271 struct zx_dap_Select_s* zx_dap_ResultQuery_GET_Select(struct zx_dap_ResultQuery_s* x, int n); 1272 struct zx_elem_s* zx_dap_ResultQuery_GET_Sort(struct zx_dap_ResultQuery_s* x, int n); 1273 1274 int zx_dap_ResultQuery_NUM_ChangeFormat(struct zx_dap_ResultQuery_s* x); 1275 int zx_dap_ResultQuery_NUM_Select(struct zx_dap_ResultQuery_s* x); 1276 int zx_dap_ResultQuery_NUM_Sort(struct zx_dap_ResultQuery_s* x); 1277 1278 struct zx_elem_s* zx_dap_ResultQuery_POP_ChangeFormat(struct zx_dap_ResultQuery_s* x); 1279 struct zx_dap_Select_s* zx_dap_ResultQuery_POP_Select(struct zx_dap_ResultQuery_s* x); 1280 struct zx_elem_s* zx_dap_ResultQuery_POP_Sort(struct zx_dap_ResultQuery_s* x); 1281 1282 void zx_dap_ResultQuery_PUSH_ChangeFormat(struct zx_dap_ResultQuery_s* x, struct zx_elem_s* y); 1283 void zx_dap_ResultQuery_PUSH_Select(struct zx_dap_ResultQuery_s* x, struct zx_dap_Select_s* y); 1284 void zx_dap_ResultQuery_PUSH_Sort(struct zx_dap_ResultQuery_s* x, struct zx_elem_s* y); 1285 1286 void zx_dap_ResultQuery_PUT_changedSince(struct zx_dap_ResultQuery_s* x, struct zx_attr_s* y); 1287 void zx_dap_ResultQuery_PUT_contingency(struct zx_dap_ResultQuery_s* x, struct zx_attr_s* y); 1288 void zx_dap_ResultQuery_PUT_includeCommonAttributes(struct zx_dap_ResultQuery_s* x, struct zx_attr_s* y); 1289 void zx_dap_ResultQuery_PUT_itemID(struct zx_dap_ResultQuery_s* x, struct zx_attr_s* y); 1290 void zx_dap_ResultQuery_PUT_itemIDRef(struct zx_dap_ResultQuery_s* x, struct zx_attr_s* y); 1291 void zx_dap_ResultQuery_PUT_objectType(struct zx_dap_ResultQuery_s* x, struct zx_attr_s* y); 1292 void zx_dap_ResultQuery_PUT_predefined(struct zx_dap_ResultQuery_s* x, struct zx_attr_s* y); 1293 1294 void zx_dap_ResultQuery_PUT_ChangeFormat(struct zx_dap_ResultQuery_s* x, int n, struct zx_elem_s* y); 1295 void zx_dap_ResultQuery_PUT_Select(struct zx_dap_ResultQuery_s* x, int n, struct zx_dap_Select_s* y); 1296 void zx_dap_ResultQuery_PUT_Sort(struct zx_dap_ResultQuery_s* x, int n, struct zx_elem_s* y); 1297 1298 void zx_dap_ResultQuery_ADD_ChangeFormat(struct zx_dap_ResultQuery_s* x, int n, struct zx_elem_s* z); 1299 void zx_dap_ResultQuery_ADD_Select(struct zx_dap_ResultQuery_s* x, int n, struct zx_dap_Select_s* z); 1300 void zx_dap_ResultQuery_ADD_Sort(struct zx_dap_ResultQuery_s* x, int n, struct zx_elem_s* z); 1301 1302 void zx_dap_ResultQuery_DEL_ChangeFormat(struct zx_dap_ResultQuery_s* x,int n); 1303 void zx_dap_ResultQuery_DEL_Select(struct zx_dap_ResultQuery_s* x, int n); 1304 void zx_dap_ResultQuery_DEL_Sort(struct zx_dap_ResultQuery_s* x,int n); 1305 1306 void zx_dap_ResultQuery_REV_ChangeFormat(struct zx_dap_ResultQuery_s* x); 1307 void zx_dap_ResultQuery_REV_Select(struct zx_dap_ResultQuery_s* x); 1308 void zx_dap_ResultQuery_REV_Sort(struct zx_dap_ResultQuery_s* x); 1309 1310 #endif 1311 /* -------------------------- dap_Select -------------------------- */ 1312 /* refby( zx_dap_QueryItem_s zx_dap_DeleteItem_s zx_dap_ResultQuery_s zx_dap_ModifyItem_s ) */ 1313 #ifndef zx_dap_Select_EXT 1314 #define zx_dap_Select_EXT 1315 #endif 1316 struct zx_dap_Select_s { 1317 ZX_ELEM_EXT 1318 zx_dap_Select_EXT 1319 struct zx_elem_s* dn; /* {0,1} xs:string */ 1320 struct zx_elem_s* filter; /* {0,1} xs:string */ 1321 struct zx_attr_s* attributes; /* {0,1} attribute xs:string */ 1322 struct zx_attr_s* derefaliases; /* {0,1} attribute xs:integer */ 1323 struct zx_attr_s* scope; /* {0,1} attribute xs:integer */ 1324 struct zx_attr_s* sizelimit; /* {0,1} attribute xs:integer */ 1325 struct zx_attr_s* timelimit; /* {0,1} attribute xs:integer */ 1326 struct zx_attr_s* typesonly; /* {0,1} attribute xs:boolean */ 1327 }; 1328 1329 #define zx_NEW_dap_Select(c, father) (struct zx_dap_Select_s*)zx_new_elem((c),(father),zx_dap_Select_ELEM) 1330 int zx_DEC_ATTR_dap_Select(struct zx_ctx* c, struct zx_dap_Select_s* x); 1331 int zx_DEC_ELEM_dap_Select(struct zx_ctx* c, struct zx_dap_Select_s* x); 1332 1333 #ifdef ZX_ENA_AUX 1334 struct zx_dap_Select_s* zx_DEEP_CLONE_dap_Select(struct zx_ctx* c, struct zx_dap_Select_s* x, int dup_strs); 1335 void zx_DUP_STRS_dap_Select(struct zx_ctx* c, struct zx_dap_Select_s* x); 1336 int zx_WALK_SO_dap_Select(struct zx_ctx* c, struct zx_dap_Select_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1337 int zx_WALK_WO_dap_Select(struct zx_ctx* c, struct zx_dap_Select_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1338 #endif 1339 1340 #ifdef ZX_ENA_GETPUT 1341 struct zx_attr_s* zx_dap_Select_GET_attributes(struct zx_dap_Select_s* x); 1342 struct zx_attr_s* zx_dap_Select_GET_derefaliases(struct zx_dap_Select_s* x); 1343 struct zx_attr_s* zx_dap_Select_GET_scope(struct zx_dap_Select_s* x); 1344 struct zx_attr_s* zx_dap_Select_GET_sizelimit(struct zx_dap_Select_s* x); 1345 struct zx_attr_s* zx_dap_Select_GET_timelimit(struct zx_dap_Select_s* x); 1346 struct zx_attr_s* zx_dap_Select_GET_typesonly(struct zx_dap_Select_s* x); 1347 1348 struct zx_elem_s* zx_dap_Select_GET_dn(struct zx_dap_Select_s* x, int n); 1349 struct zx_elem_s* zx_dap_Select_GET_filter(struct zx_dap_Select_s* x, int n); 1350 1351 int zx_dap_Select_NUM_dn(struct zx_dap_Select_s* x); 1352 int zx_dap_Select_NUM_filter(struct zx_dap_Select_s* x); 1353 1354 struct zx_elem_s* zx_dap_Select_POP_dn(struct zx_dap_Select_s* x); 1355 struct zx_elem_s* zx_dap_Select_POP_filter(struct zx_dap_Select_s* x); 1356 1357 void zx_dap_Select_PUSH_dn(struct zx_dap_Select_s* x, struct zx_elem_s* y); 1358 void zx_dap_Select_PUSH_filter(struct zx_dap_Select_s* x, struct zx_elem_s* y); 1359 1360 void zx_dap_Select_PUT_attributes(struct zx_dap_Select_s* x, struct zx_attr_s* y); 1361 void zx_dap_Select_PUT_derefaliases(struct zx_dap_Select_s* x, struct zx_attr_s* y); 1362 void zx_dap_Select_PUT_scope(struct zx_dap_Select_s* x, struct zx_attr_s* y); 1363 void zx_dap_Select_PUT_sizelimit(struct zx_dap_Select_s* x, struct zx_attr_s* y); 1364 void zx_dap_Select_PUT_timelimit(struct zx_dap_Select_s* x, struct zx_attr_s* y); 1365 void zx_dap_Select_PUT_typesonly(struct zx_dap_Select_s* x, struct zx_attr_s* y); 1366 1367 void zx_dap_Select_PUT_dn(struct zx_dap_Select_s* x, int n, struct zx_elem_s* y); 1368 void zx_dap_Select_PUT_filter(struct zx_dap_Select_s* x, int n, struct zx_elem_s* y); 1369 1370 void zx_dap_Select_ADD_dn(struct zx_dap_Select_s* x, int n, struct zx_elem_s* z); 1371 void zx_dap_Select_ADD_filter(struct zx_dap_Select_s* x, int n, struct zx_elem_s* z); 1372 1373 void zx_dap_Select_DEL_dn(struct zx_dap_Select_s* x,int n); 1374 void zx_dap_Select_DEL_filter(struct zx_dap_Select_s* x,int n); 1375 1376 void zx_dap_Select_REV_dn(struct zx_dap_Select_s* x); 1377 void zx_dap_Select_REV_filter(struct zx_dap_Select_s* x); 1378 1379 #endif 1380 /* -------------------------- dap_Subscription -------------------------- */ 1381 /* refby( zx_dap_Query_s zx_dap_Modify_s zx_dap_NewData_s zx_dap_Create_s zx_dap_Data_s zx_dap_ItemData_s ) */ 1382 #ifndef zx_dap_Subscription_EXT 1383 #define zx_dap_Subscription_EXT 1384 #endif 1385 struct zx_dap_Subscription_s { 1386 ZX_ELEM_EXT 1387 zx_dap_Subscription_EXT 1388 struct zx_subs_RefItem_s* RefItem; /* {0,-1} nada */ 1389 struct zx_lu_Extension_s* Extension; /* {0,-1} */ 1390 struct zx_dap_ResultQuery_s* ResultQuery; /* {0,-1} nada */ 1391 struct zx_elem_s* Aggregation; /* {0,1} xs:string */ 1392 struct zx_elem_s* Trigger; /* {0,1} xs:string */ 1393 struct zx_attr_s* adminNotifyToRef; /* {0,1} attribute xs:anyURI */ 1394 struct zx_attr_s* expires; /* {0,1} attribute xs:dateTime */ 1395 struct zx_attr_s* id; /* {0,1} attribute xs:ID */ 1396 struct zx_attr_s* includeData; /* {0,1} attribute Yes */ 1397 struct zx_attr_s* notifyToRef; /* {1,1} attribute xs:anyURI */ 1398 struct zx_attr_s* starts; /* {0,1} attribute xs:dateTime */ 1399 struct zx_attr_s* subscriptionID; /* {1,1} attribute xs:string */ 1400 }; 1401 1402 #define zx_NEW_dap_Subscription(c, father) (struct zx_dap_Subscription_s*)zx_new_elem((c),(father),zx_dap_Subscription_ELEM) 1403 int zx_DEC_ATTR_dap_Subscription(struct zx_ctx* c, struct zx_dap_Subscription_s* x); 1404 int zx_DEC_ELEM_dap_Subscription(struct zx_ctx* c, struct zx_dap_Subscription_s* x); 1405 1406 #ifdef ZX_ENA_AUX 1407 struct zx_dap_Subscription_s* zx_DEEP_CLONE_dap_Subscription(struct zx_ctx* c, struct zx_dap_Subscription_s* x, int dup_strs); 1408 void zx_DUP_STRS_dap_Subscription(struct zx_ctx* c, struct zx_dap_Subscription_s* x); 1409 int zx_WALK_SO_dap_Subscription(struct zx_ctx* c, struct zx_dap_Subscription_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1410 int zx_WALK_WO_dap_Subscription(struct zx_ctx* c, struct zx_dap_Subscription_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1411 #endif 1412 1413 #ifdef ZX_ENA_GETPUT 1414 struct zx_attr_s* zx_dap_Subscription_GET_adminNotifyToRef(struct zx_dap_Subscription_s* x); 1415 struct zx_attr_s* zx_dap_Subscription_GET_expires(struct zx_dap_Subscription_s* x); 1416 struct zx_attr_s* zx_dap_Subscription_GET_id(struct zx_dap_Subscription_s* x); 1417 struct zx_attr_s* zx_dap_Subscription_GET_includeData(struct zx_dap_Subscription_s* x); 1418 struct zx_attr_s* zx_dap_Subscription_GET_notifyToRef(struct zx_dap_Subscription_s* x); 1419 struct zx_attr_s* zx_dap_Subscription_GET_starts(struct zx_dap_Subscription_s* x); 1420 struct zx_attr_s* zx_dap_Subscription_GET_subscriptionID(struct zx_dap_Subscription_s* x); 1421 1422 struct zx_subs_RefItem_s* zx_dap_Subscription_GET_RefItem(struct zx_dap_Subscription_s* x, int n); 1423 struct zx_lu_Extension_s* zx_dap_Subscription_GET_Extension(struct zx_dap_Subscription_s* x, int n); 1424 struct zx_dap_ResultQuery_s* zx_dap_Subscription_GET_ResultQuery(struct zx_dap_Subscription_s* x, int n); 1425 struct zx_elem_s* zx_dap_Subscription_GET_Aggregation(struct zx_dap_Subscription_s* x, int n); 1426 struct zx_elem_s* zx_dap_Subscription_GET_Trigger(struct zx_dap_Subscription_s* x, int n); 1427 1428 int zx_dap_Subscription_NUM_RefItem(struct zx_dap_Subscription_s* x); 1429 int zx_dap_Subscription_NUM_Extension(struct zx_dap_Subscription_s* x); 1430 int zx_dap_Subscription_NUM_ResultQuery(struct zx_dap_Subscription_s* x); 1431 int zx_dap_Subscription_NUM_Aggregation(struct zx_dap_Subscription_s* x); 1432 int zx_dap_Subscription_NUM_Trigger(struct zx_dap_Subscription_s* x); 1433 1434 struct zx_subs_RefItem_s* zx_dap_Subscription_POP_RefItem(struct zx_dap_Subscription_s* x); 1435 struct zx_lu_Extension_s* zx_dap_Subscription_POP_Extension(struct zx_dap_Subscription_s* x); 1436 struct zx_dap_ResultQuery_s* zx_dap_Subscription_POP_ResultQuery(struct zx_dap_Subscription_s* x); 1437 struct zx_elem_s* zx_dap_Subscription_POP_Aggregation(struct zx_dap_Subscription_s* x); 1438 struct zx_elem_s* zx_dap_Subscription_POP_Trigger(struct zx_dap_Subscription_s* x); 1439 1440 void zx_dap_Subscription_PUSH_RefItem(struct zx_dap_Subscription_s* x, struct zx_subs_RefItem_s* y); 1441 void zx_dap_Subscription_PUSH_Extension(struct zx_dap_Subscription_s* x, struct zx_lu_Extension_s* y); 1442 void zx_dap_Subscription_PUSH_ResultQuery(struct zx_dap_Subscription_s* x, struct zx_dap_ResultQuery_s* y); 1443 void zx_dap_Subscription_PUSH_Aggregation(struct zx_dap_Subscription_s* x, struct zx_elem_s* y); 1444 void zx_dap_Subscription_PUSH_Trigger(struct zx_dap_Subscription_s* x, struct zx_elem_s* y); 1445 1446 void zx_dap_Subscription_PUT_adminNotifyToRef(struct zx_dap_Subscription_s* x, struct zx_attr_s* y); 1447 void zx_dap_Subscription_PUT_expires(struct zx_dap_Subscription_s* x, struct zx_attr_s* y); 1448 void zx_dap_Subscription_PUT_id(struct zx_dap_Subscription_s* x, struct zx_attr_s* y); 1449 void zx_dap_Subscription_PUT_includeData(struct zx_dap_Subscription_s* x, struct zx_attr_s* y); 1450 void zx_dap_Subscription_PUT_notifyToRef(struct zx_dap_Subscription_s* x, struct zx_attr_s* y); 1451 void zx_dap_Subscription_PUT_starts(struct zx_dap_Subscription_s* x, struct zx_attr_s* y); 1452 void zx_dap_Subscription_PUT_subscriptionID(struct zx_dap_Subscription_s* x, struct zx_attr_s* y); 1453 1454 void zx_dap_Subscription_PUT_RefItem(struct zx_dap_Subscription_s* x, int n, struct zx_subs_RefItem_s* y); 1455 void zx_dap_Subscription_PUT_Extension(struct zx_dap_Subscription_s* x, int n, struct zx_lu_Extension_s* y); 1456 void zx_dap_Subscription_PUT_ResultQuery(struct zx_dap_Subscription_s* x, int n, struct zx_dap_ResultQuery_s* y); 1457 void zx_dap_Subscription_PUT_Aggregation(struct zx_dap_Subscription_s* x, int n, struct zx_elem_s* y); 1458 void zx_dap_Subscription_PUT_Trigger(struct zx_dap_Subscription_s* x, int n, struct zx_elem_s* y); 1459 1460 void zx_dap_Subscription_ADD_RefItem(struct zx_dap_Subscription_s* x, int n, struct zx_subs_RefItem_s* z); 1461 void zx_dap_Subscription_ADD_Extension(struct zx_dap_Subscription_s* x, int n, struct zx_lu_Extension_s* z); 1462 void zx_dap_Subscription_ADD_ResultQuery(struct zx_dap_Subscription_s* x, int n, struct zx_dap_ResultQuery_s* z); 1463 void zx_dap_Subscription_ADD_Aggregation(struct zx_dap_Subscription_s* x, int n, struct zx_elem_s* z); 1464 void zx_dap_Subscription_ADD_Trigger(struct zx_dap_Subscription_s* x, int n, struct zx_elem_s* z); 1465 1466 void zx_dap_Subscription_DEL_RefItem(struct zx_dap_Subscription_s* x, int n); 1467 void zx_dap_Subscription_DEL_Extension(struct zx_dap_Subscription_s* x, int n); 1468 void zx_dap_Subscription_DEL_ResultQuery(struct zx_dap_Subscription_s* x, int n); 1469 void zx_dap_Subscription_DEL_Aggregation(struct zx_dap_Subscription_s* x,int n); 1470 void zx_dap_Subscription_DEL_Trigger(struct zx_dap_Subscription_s* x,int n); 1471 1472 void zx_dap_Subscription_REV_RefItem(struct zx_dap_Subscription_s* x); 1473 void zx_dap_Subscription_REV_Extension(struct zx_dap_Subscription_s* x); 1474 void zx_dap_Subscription_REV_ResultQuery(struct zx_dap_Subscription_s* x); 1475 void zx_dap_Subscription_REV_Aggregation(struct zx_dap_Subscription_s* x); 1476 void zx_dap_Subscription_REV_Trigger(struct zx_dap_Subscription_s* x); 1477 1478 #endif 1479 /* -------------------------- dap_TestItem -------------------------- */ 1480 /* refby( zx_dap_Query_s ) */ 1481 #ifndef zx_dap_TestItem_EXT 1482 #define zx_dap_TestItem_EXT 1483 #endif 1484 struct zx_dap_TestItem_s { 1485 ZX_ELEM_EXT 1486 zx_dap_TestItem_EXT 1487 struct zx_dap_TestOp_s* TestOp; /* {0,1} */ 1488 struct zx_attr_s* id; /* {0,1} attribute xs:ID */ 1489 struct zx_attr_s* itemID; /* {0,1} attribute lu:IDType */ 1490 struct zx_attr_s* objectType; /* {0,1} attribute xs:NCName */ 1491 struct zx_attr_s* predefined; /* {0,1} attribute xs:string */ 1492 }; 1493 1494 #define zx_NEW_dap_TestItem(c, father) (struct zx_dap_TestItem_s*)zx_new_elem((c),(father),zx_dap_TestItem_ELEM) 1495 int zx_DEC_ATTR_dap_TestItem(struct zx_ctx* c, struct zx_dap_TestItem_s* x); 1496 int zx_DEC_ELEM_dap_TestItem(struct zx_ctx* c, struct zx_dap_TestItem_s* x); 1497 1498 #ifdef ZX_ENA_AUX 1499 struct zx_dap_TestItem_s* zx_DEEP_CLONE_dap_TestItem(struct zx_ctx* c, struct zx_dap_TestItem_s* x, int dup_strs); 1500 void zx_DUP_STRS_dap_TestItem(struct zx_ctx* c, struct zx_dap_TestItem_s* x); 1501 int zx_WALK_SO_dap_TestItem(struct zx_ctx* c, struct zx_dap_TestItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1502 int zx_WALK_WO_dap_TestItem(struct zx_ctx* c, struct zx_dap_TestItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1503 #endif 1504 1505 #ifdef ZX_ENA_GETPUT 1506 struct zx_attr_s* zx_dap_TestItem_GET_id(struct zx_dap_TestItem_s* x); 1507 struct zx_attr_s* zx_dap_TestItem_GET_itemID(struct zx_dap_TestItem_s* x); 1508 struct zx_attr_s* zx_dap_TestItem_GET_objectType(struct zx_dap_TestItem_s* x); 1509 struct zx_attr_s* zx_dap_TestItem_GET_predefined(struct zx_dap_TestItem_s* x); 1510 1511 struct zx_dap_TestOp_s* zx_dap_TestItem_GET_TestOp(struct zx_dap_TestItem_s* x, int n); 1512 1513 int zx_dap_TestItem_NUM_TestOp(struct zx_dap_TestItem_s* x); 1514 1515 struct zx_dap_TestOp_s* zx_dap_TestItem_POP_TestOp(struct zx_dap_TestItem_s* x); 1516 1517 void zx_dap_TestItem_PUSH_TestOp(struct zx_dap_TestItem_s* x, struct zx_dap_TestOp_s* y); 1518 1519 void zx_dap_TestItem_PUT_id(struct zx_dap_TestItem_s* x, struct zx_attr_s* y); 1520 void zx_dap_TestItem_PUT_itemID(struct zx_dap_TestItem_s* x, struct zx_attr_s* y); 1521 void zx_dap_TestItem_PUT_objectType(struct zx_dap_TestItem_s* x, struct zx_attr_s* y); 1522 void zx_dap_TestItem_PUT_predefined(struct zx_dap_TestItem_s* x, struct zx_attr_s* y); 1523 1524 void zx_dap_TestItem_PUT_TestOp(struct zx_dap_TestItem_s* x, int n, struct zx_dap_TestOp_s* y); 1525 1526 void zx_dap_TestItem_ADD_TestOp(struct zx_dap_TestItem_s* x, int n, struct zx_dap_TestOp_s* z); 1527 1528 void zx_dap_TestItem_DEL_TestOp(struct zx_dap_TestItem_s* x, int n); 1529 1530 void zx_dap_TestItem_REV_TestOp(struct zx_dap_TestItem_s* x); 1531 1532 #endif 1533 /* -------------------------- dap_TestOp -------------------------- */ 1534 /* refby( zx_dap_TestItem_s ) */ 1535 #ifndef zx_dap_TestOp_EXT 1536 #define zx_dap_TestOp_EXT 1537 #endif 1538 struct zx_dap_TestOp_s { 1539 ZX_ELEM_EXT 1540 zx_dap_TestOp_EXT 1541 struct zx_elem_s* dn; /* {0,1} xs:string */ 1542 struct zx_elem_s* filter; /* {0,1} xs:string */ 1543 struct zx_attr_s* attributes; /* {0,1} attribute xs:string */ 1544 struct zx_attr_s* derefaliases; /* {0,1} attribute xs:integer */ 1545 struct zx_attr_s* scope; /* {0,1} attribute xs:integer */ 1546 struct zx_attr_s* sizelimit; /* {0,1} attribute xs:integer */ 1547 struct zx_attr_s* timelimit; /* {0,1} attribute xs:integer */ 1548 struct zx_attr_s* typesonly; /* {0,1} attribute xs:boolean */ 1549 }; 1550 1551 #define zx_NEW_dap_TestOp(c, father) (struct zx_dap_TestOp_s*)zx_new_elem((c),(father),zx_dap_TestOp_ELEM) 1552 int zx_DEC_ATTR_dap_TestOp(struct zx_ctx* c, struct zx_dap_TestOp_s* x); 1553 int zx_DEC_ELEM_dap_TestOp(struct zx_ctx* c, struct zx_dap_TestOp_s* x); 1554 1555 #ifdef ZX_ENA_AUX 1556 struct zx_dap_TestOp_s* zx_DEEP_CLONE_dap_TestOp(struct zx_ctx* c, struct zx_dap_TestOp_s* x, int dup_strs); 1557 void zx_DUP_STRS_dap_TestOp(struct zx_ctx* c, struct zx_dap_TestOp_s* x); 1558 int zx_WALK_SO_dap_TestOp(struct zx_ctx* c, struct zx_dap_TestOp_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1559 int zx_WALK_WO_dap_TestOp(struct zx_ctx* c, struct zx_dap_TestOp_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx)); 1560 #endif 1561 1562 #ifdef ZX_ENA_GETPUT 1563 struct zx_attr_s* zx_dap_TestOp_GET_attributes(struct zx_dap_TestOp_s* x); 1564 struct zx_attr_s* zx_dap_TestOp_GET_derefaliases(struct zx_dap_TestOp_s* x); 1565 struct zx_attr_s* zx_dap_TestOp_GET_scope(struct zx_dap_TestOp_s* x); 1566 struct zx_attr_s* zx_dap_TestOp_GET_sizelimit(struct zx_dap_TestOp_s* x); 1567 struct zx_attr_s* zx_dap_TestOp_GET_timelimit(struct zx_dap_TestOp_s* x); 1568 struct zx_attr_s* zx_dap_TestOp_GET_typesonly(struct zx_dap_TestOp_s* x); 1569 1570 struct zx_elem_s* zx_dap_TestOp_GET_dn(struct zx_dap_TestOp_s* x, int n); 1571 struct zx_elem_s* zx_dap_TestOp_GET_filter(struct zx_dap_TestOp_s* x, int n); 1572 1573 int zx_dap_TestOp_NUM_dn(struct zx_dap_TestOp_s* x); 1574 int zx_dap_TestOp_NUM_filter(struct zx_dap_TestOp_s* x); 1575 1576 struct zx_elem_s* zx_dap_TestOp_POP_dn(struct zx_dap_TestOp_s* x); 1577 struct zx_elem_s* zx_dap_TestOp_POP_filter(struct zx_dap_TestOp_s* x); 1578 1579 void zx_dap_TestOp_PUSH_dn(struct zx_dap_TestOp_s* x, struct zx_elem_s* y); 1580 void zx_dap_TestOp_PUSH_filter(struct zx_dap_TestOp_s* x, struct zx_elem_s* y); 1581 1582 void zx_dap_TestOp_PUT_attributes(struct zx_dap_TestOp_s* x, struct zx_attr_s* y); 1583 void zx_dap_TestOp_PUT_derefaliases(struct zx_dap_TestOp_s* x, struct zx_attr_s* y); 1584 void zx_dap_TestOp_PUT_scope(struct zx_dap_TestOp_s* x, struct zx_attr_s* y); 1585 void zx_dap_TestOp_PUT_sizelimit(struct zx_dap_TestOp_s* x, struct zx_attr_s* y); 1586 void zx_dap_TestOp_PUT_timelimit(struct zx_dap_TestOp_s* x, struct zx_attr_s* y); 1587 void zx_dap_TestOp_PUT_typesonly(struct zx_dap_TestOp_s* x, struct zx_attr_s* y); 1588 1589 void zx_dap_TestOp_PUT_dn(struct zx_dap_TestOp_s* x, int n, struct zx_elem_s* y); 1590 void zx_dap_TestOp_PUT_filter(struct zx_dap_TestOp_s* x, int n, struct zx_elem_s* y); 1591 1592 void zx_dap_TestOp_ADD_dn(struct zx_dap_TestOp_s* x, int n, struct zx_elem_s* z); 1593 void zx_dap_TestOp_ADD_filter(struct zx_dap_TestOp_s* x, int n, struct zx_elem_s* z); 1594 1595 void zx_dap_TestOp_DEL_dn(struct zx_dap_TestOp_s* x,int n); 1596 void zx_dap_TestOp_DEL_filter(struct zx_dap_TestOp_s* x,int n); 1597 1598 void zx_dap_TestOp_REV_dn(struct zx_dap_TestOp_s* x); 1599 void zx_dap_TestOp_REV_filter(struct zx_dap_TestOp_s* x); 1600 1601 #endif 1602 1603 #endif 1604