+ Z_SortResponse *r = (Z_SortResponse *)odr_malloc(o, sizeof(*r));
+
+ r->referenceId = 0;
+ r->sortStatus = (int *)odr_malloc(o, sizeof(int));
+ *r->sortStatus = Z_SortStatus_success;
+ r->resultSetStatus = (int *)odr_malloc(o, sizeof(int));
+ *r->resultSetStatus = Z_SortResultSetStatus_empty;
+ r->diagnostics = 0;
+ r->otherInfo = 0;
+ return r;
+}
+
+Z_ExtendedServicesRequest *zget_ExtendedServicesRequest(ODR o)
+{
+ Z_ExtendedServicesRequest *r = (Z_ExtendedServicesRequest *)odr_malloc(o, sizeof(*r));
+
+ r->referenceId = 0;
+ r->function = (int *)odr_malloc(o, sizeof(int));
+ *r->function = Z_ExtendedServicesRequest_create;
+ r->packageType = 0;
+ r->packageName = 0;
+ r->userId = 0;
+ r->retentionTime = 0;
+ r->permissions = 0;
+ r->description = 0;
+ r->taskSpecificParameters = 0;
+ r->waitAction = (int *)odr_malloc(o, sizeof(int));
+ *r->waitAction = Z_ExtendedServicesRequest_wait;
+ r->elements = 0;
+ r->otherInfo = 0;
+ return r;
+}
+
+Z_ExtendedServicesResponse *zget_ExtendedServicesResponse(ODR o)
+{
+ Z_ExtendedServicesResponse *r = (Z_ExtendedServicesResponse *)odr_malloc(o, sizeof(*r));
+
+ r->referenceId = 0;
+ r->operationStatus = (int *)odr_malloc(o, sizeof(int));
+ *r->operationStatus = Z_ExtendedServicesResponse_done;
+ r->num_diagnostics = 0;
+ r->diagnostics = 0;
+ r->taskPackage = 0;
+ r->otherInfo = 0;
+ return r;
+}
+
+Z_APDU *zget_APDU(ODR o, int which)
+{
+ Z_APDU *r = (Z_APDU *)odr_malloc(o, sizeof(*r));
+