1 /* ------------------------------------------------------------------ 2 * Copyright (C) 1998-2009 PacketVideo 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 13 * express or implied. 14 * See the License for the specific language governing permissions 15 * and limitations under the License. 16 * ------------------------------------------------------------------- 17 */ 18 // ============================================================(Auto)= 19 // FILE: h245_deleter.c 20 // 21 // DESC: PER Delete routines for H.245 22 // ------------------------------------------------------------------- 23 // Copyright (c) 1998- 2000, PacketVideo Corporation. 24 // All Rights Reserved. 25 // =================================================================== 26 27 #include "oscl_base.h" 28 #include "oscl_mem.h" 29 #include "per_headers.h" 30 #include "h245def.h" 31 #include "h245_deleter.h" 32 33 /* <=======================================================> */ 34 /* PER-Deleter for MultimediaSystemControlMessage (CHOICE) */ 35 /* <=======================================================> */ Delete_MultimediaSystemControlMessage(PS_MultimediaSystemControlMessage x)36void Delete_MultimediaSystemControlMessage(PS_MultimediaSystemControlMessage x) 37 { 38 switch (x->index) 39 { 40 case 0: 41 Delete_RequestMessage(x->request); 42 OSCL_DEFAULT_FREE(x->request); 43 break; 44 case 1: 45 Delete_ResponseMessage(x->response); 46 OSCL_DEFAULT_FREE(x->response); 47 break; 48 case 2: 49 Delete_CommandMessage(x->command); 50 OSCL_DEFAULT_FREE(x->command); 51 break; 52 case 3: 53 Delete_IndicationMessage(x->indication); 54 OSCL_DEFAULT_FREE(x->indication); 55 break; 56 /* ------------------------------- */ 57 /* ---- Extension Begins Here ---- */ 58 /* ------------------------------- */ 59 default: 60 ErrorMessage("Delete_MultimediaSystemControlMessage: Illegal CHOICE index"); 61 } 62 } 63 64 /* <=======================================> */ 65 /* PER-Deleter for RequestMessage (CHOICE) */ 66 /* <=======================================> */ Delete_RequestMessage(PS_RequestMessage x)67void Delete_RequestMessage(PS_RequestMessage x) 68 { 69 switch (x->index) 70 { 71 case 0: 72 Delete_NonStandardMessage(x->nonStandard); 73 OSCL_DEFAULT_FREE(x->nonStandard); 74 break; 75 case 1: 76 Delete_MasterSlaveDetermination(x->masterSlaveDetermination); 77 OSCL_DEFAULT_FREE(x->masterSlaveDetermination); 78 break; 79 case 2: 80 Delete_TerminalCapabilitySet(x->terminalCapabilitySet); 81 OSCL_DEFAULT_FREE(x->terminalCapabilitySet); 82 break; 83 case 3: 84 Delete_OpenLogicalChannel(x->openLogicalChannel); 85 OSCL_DEFAULT_FREE(x->openLogicalChannel); 86 break; 87 case 4: 88 Delete_CloseLogicalChannel(x->closeLogicalChannel); 89 OSCL_DEFAULT_FREE(x->closeLogicalChannel); 90 break; 91 case 5: 92 Delete_RequestChannelClose(x->requestChannelClose); 93 OSCL_DEFAULT_FREE(x->requestChannelClose); 94 break; 95 case 6: 96 Delete_MultiplexEntrySend(x->multiplexEntrySend); 97 OSCL_DEFAULT_FREE(x->multiplexEntrySend); 98 break; 99 case 7: 100 Delete_RequestMultiplexEntry(x->requestMultiplexEntry); 101 OSCL_DEFAULT_FREE(x->requestMultiplexEntry); 102 break; 103 case 8: 104 Delete_RequestMode(x->requestMode); 105 OSCL_DEFAULT_FREE(x->requestMode); 106 break; 107 case 9: 108 Delete_RoundTripDelayRequest(x->roundTripDelayRequest); 109 OSCL_DEFAULT_FREE(x->roundTripDelayRequest); 110 break; 111 case 10: 112 Delete_MaintenanceLoopRequest(x->maintenanceLoopRequest); 113 OSCL_DEFAULT_FREE(x->maintenanceLoopRequest); 114 break; 115 /* ------------------------------- */ 116 /* ---- Extension Begins Here ---- */ 117 /* ------------------------------- */ 118 case 11: 119 Delete_CommunicationModeRequest(x->communicationModeRequest); 120 OSCL_DEFAULT_FREE(x->communicationModeRequest); 121 break; 122 case 12: 123 Delete_ConferenceRequest(x->conferenceRequest); 124 OSCL_DEFAULT_FREE(x->conferenceRequest); 125 break; 126 case 13: 127 Delete_MultilinkRequest(x->multilinkRequest); 128 OSCL_DEFAULT_FREE(x->multilinkRequest); 129 break; 130 case 14: 131 Delete_LogicalChannelRateRequest(x->logicalChannelRateRequest); 132 OSCL_DEFAULT_FREE(x->logicalChannelRateRequest); 133 break; 134 default: 135 ErrorMessage("Delete_RequestMessage: Illegal CHOICE index"); 136 } 137 } 138 139 /* <========================================> */ 140 /* PER-Deleter for ResponseMessage (CHOICE) */ 141 /* <========================================> */ Delete_ResponseMessage(PS_ResponseMessage x)142void Delete_ResponseMessage(PS_ResponseMessage x) 143 { 144 switch (x->index) 145 { 146 case 0: 147 Delete_NonStandardMessage(x->nonStandard); 148 OSCL_DEFAULT_FREE(x->nonStandard); 149 break; 150 case 1: 151 Delete_MasterSlaveDeterminationAck(x->masterSlaveDeterminationAck); 152 OSCL_DEFAULT_FREE(x->masterSlaveDeterminationAck); 153 break; 154 case 2: 155 Delete_MasterSlaveDeterminationReject(x->masterSlaveDeterminationReject); 156 OSCL_DEFAULT_FREE(x->masterSlaveDeterminationReject); 157 break; 158 case 3: 159 Delete_TerminalCapabilitySetAck(x->terminalCapabilitySetAck); 160 OSCL_DEFAULT_FREE(x->terminalCapabilitySetAck); 161 break; 162 case 4: 163 Delete_TerminalCapabilitySetReject(x->terminalCapabilitySetReject); 164 OSCL_DEFAULT_FREE(x->terminalCapabilitySetReject); 165 break; 166 case 5: 167 Delete_OpenLogicalChannelAck(x->openLogicalChannelAck); 168 OSCL_DEFAULT_FREE(x->openLogicalChannelAck); 169 break; 170 case 6: 171 Delete_OpenLogicalChannelReject(x->openLogicalChannelReject); 172 OSCL_DEFAULT_FREE(x->openLogicalChannelReject); 173 break; 174 case 7: 175 Delete_CloseLogicalChannelAck(x->closeLogicalChannelAck); 176 OSCL_DEFAULT_FREE(x->closeLogicalChannelAck); 177 break; 178 case 8: 179 Delete_RequestChannelCloseAck(x->requestChannelCloseAck); 180 OSCL_DEFAULT_FREE(x->requestChannelCloseAck); 181 break; 182 case 9: 183 Delete_RequestChannelCloseReject(x->requestChannelCloseReject); 184 OSCL_DEFAULT_FREE(x->requestChannelCloseReject); 185 break; 186 case 10: 187 Delete_MultiplexEntrySendAck(x->multiplexEntrySendAck); 188 OSCL_DEFAULT_FREE(x->multiplexEntrySendAck); 189 break; 190 case 11: 191 Delete_MultiplexEntrySendReject(x->multiplexEntrySendReject); 192 OSCL_DEFAULT_FREE(x->multiplexEntrySendReject); 193 break; 194 case 12: 195 Delete_RequestMultiplexEntryAck(x->requestMultiplexEntryAck); 196 OSCL_DEFAULT_FREE(x->requestMultiplexEntryAck); 197 break; 198 case 13: 199 Delete_RequestMultiplexEntryReject(x->requestMultiplexEntryReject); 200 OSCL_DEFAULT_FREE(x->requestMultiplexEntryReject); 201 break; 202 case 14: 203 Delete_RequestModeAck(x->requestModeAck); 204 OSCL_DEFAULT_FREE(x->requestModeAck); 205 break; 206 case 15: 207 Delete_RequestModeReject(x->requestModeReject); 208 OSCL_DEFAULT_FREE(x->requestModeReject); 209 break; 210 case 16: 211 Delete_RoundTripDelayResponse(x->roundTripDelayResponse); 212 OSCL_DEFAULT_FREE(x->roundTripDelayResponse); 213 break; 214 case 17: 215 Delete_MaintenanceLoopAck(x->maintenanceLoopAck); 216 OSCL_DEFAULT_FREE(x->maintenanceLoopAck); 217 break; 218 case 18: 219 Delete_MaintenanceLoopReject(x->maintenanceLoopReject); 220 OSCL_DEFAULT_FREE(x->maintenanceLoopReject); 221 break; 222 /* ------------------------------- */ 223 /* ---- Extension Begins Here ---- */ 224 /* ------------------------------- */ 225 case 19: 226 Delete_CommunicationModeResponse(x->communicationModeResponse); 227 OSCL_DEFAULT_FREE(x->communicationModeResponse); 228 break; 229 case 20: 230 Delete_ConferenceResponse(x->conferenceResponse); 231 OSCL_DEFAULT_FREE(x->conferenceResponse); 232 break; 233 case 21: 234 Delete_MultilinkResponse(x->multilinkResponse); 235 OSCL_DEFAULT_FREE(x->multilinkResponse); 236 break; 237 case 22: 238 Delete_LogicalChannelRateAcknowledge(x->logicalChannelRateAcknowledge); 239 OSCL_DEFAULT_FREE(x->logicalChannelRateAcknowledge); 240 break; 241 case 23: 242 Delete_LogicalChannelRateReject(x->logicalChannelRateReject); 243 OSCL_DEFAULT_FREE(x->logicalChannelRateReject); 244 break; 245 default: 246 ErrorMessage("Delete_ResponseMessage: Illegal CHOICE index"); 247 } 248 } 249 250 /* <=======================================> */ 251 /* PER-Deleter for CommandMessage (CHOICE) */ 252 /* <=======================================> */ Delete_CommandMessage(PS_CommandMessage x)253void Delete_CommandMessage(PS_CommandMessage x) 254 { 255 switch (x->index) 256 { 257 case 0: 258 Delete_NonStandardMessage(x->nonStandard); 259 OSCL_DEFAULT_FREE(x->nonStandard); 260 break; 261 case 1: 262 Delete_MaintenanceLoopOffCommand(x->maintenanceLoopOffCommand); 263 OSCL_DEFAULT_FREE(x->maintenanceLoopOffCommand); 264 break; 265 case 2: 266 Delete_SendTerminalCapabilitySet(x->sendTerminalCapabilitySet); 267 OSCL_DEFAULT_FREE(x->sendTerminalCapabilitySet); 268 break; 269 case 3: 270 Delete_EncryptionCommand(x->encryptionCommand); 271 OSCL_DEFAULT_FREE(x->encryptionCommand); 272 break; 273 case 4: 274 Delete_FlowControlCommand(x->flowControlCommand); 275 OSCL_DEFAULT_FREE(x->flowControlCommand); 276 break; 277 case 5: 278 Delete_EndSessionCommand(x->endSessionCommand); 279 OSCL_DEFAULT_FREE(x->endSessionCommand); 280 break; 281 case 6: 282 Delete_MiscellaneousCommand(x->miscellaneousCommand); 283 OSCL_DEFAULT_FREE(x->miscellaneousCommand); 284 break; 285 /* ------------------------------- */ 286 /* ---- Extension Begins Here ---- */ 287 /* ------------------------------- */ 288 case 7: 289 Delete_CommunicationModeCommand(x->communicationModeCommand); 290 OSCL_DEFAULT_FREE(x->communicationModeCommand); 291 break; 292 case 8: 293 Delete_ConferenceCommand(x->conferenceCommand); 294 OSCL_DEFAULT_FREE(x->conferenceCommand); 295 break; 296 case 9: 297 Delete_H223MultiplexReconfiguration(x->h223MultiplexReconfiguration); 298 OSCL_DEFAULT_FREE(x->h223MultiplexReconfiguration); 299 break; 300 case 10: 301 Delete_NewATMVCCommand(x->newATMVCCommand); 302 OSCL_DEFAULT_FREE(x->newATMVCCommand); 303 break; 304 default: 305 ErrorMessage("Delete_CommandMessage: Illegal CHOICE index"); 306 } 307 } 308 309 /* <==========================================> */ 310 /* PER-Deleter for IndicationMessage (CHOICE) */ 311 /* <==========================================> */ Delete_IndicationMessage(PS_IndicationMessage x)312void Delete_IndicationMessage(PS_IndicationMessage x) 313 { 314 switch (x->index) 315 { 316 case 0: 317 Delete_NonStandardMessage(x->nonStandard); 318 OSCL_DEFAULT_FREE(x->nonStandard); 319 break; 320 case 1: 321 Delete_FunctionNotUnderstood(x->functionNotUnderstood); 322 OSCL_DEFAULT_FREE(x->functionNotUnderstood); 323 break; 324 case 2: 325 Delete_MasterSlaveDeterminationRelease(x->masterSlaveDeterminationRelease); 326 OSCL_DEFAULT_FREE(x->masterSlaveDeterminationRelease); 327 break; 328 case 3: 329 Delete_TerminalCapabilitySetRelease(x->terminalCapabilitySetRelease); 330 OSCL_DEFAULT_FREE(x->terminalCapabilitySetRelease); 331 break; 332 case 4: 333 Delete_OpenLogicalChannelConfirm(x->openLogicalChannelConfirm); 334 OSCL_DEFAULT_FREE(x->openLogicalChannelConfirm); 335 break; 336 case 5: 337 Delete_RequestChannelCloseRelease(x->requestChannelCloseRelease); 338 OSCL_DEFAULT_FREE(x->requestChannelCloseRelease); 339 break; 340 case 6: 341 Delete_MultiplexEntrySendRelease(x->multiplexEntrySendRelease); 342 OSCL_DEFAULT_FREE(x->multiplexEntrySendRelease); 343 break; 344 case 7: 345 Delete_RequestMultiplexEntryRelease(x->requestMultiplexEntryRelease); 346 OSCL_DEFAULT_FREE(x->requestMultiplexEntryRelease); 347 break; 348 case 8: 349 Delete_RequestModeRelease(x->requestModeRelease); 350 OSCL_DEFAULT_FREE(x->requestModeRelease); 351 break; 352 case 9: 353 Delete_MiscellaneousIndication(x->miscellaneousIndication); 354 OSCL_DEFAULT_FREE(x->miscellaneousIndication); 355 break; 356 case 10: 357 Delete_JitterIndication(x->jitterIndication); 358 OSCL_DEFAULT_FREE(x->jitterIndication); 359 break; 360 case 11: 361 Delete_H223SkewIndication(x->h223SkewIndication); 362 OSCL_DEFAULT_FREE(x->h223SkewIndication); 363 break; 364 case 12: 365 Delete_NewATMVCIndication(x->newATMVCIndication); 366 OSCL_DEFAULT_FREE(x->newATMVCIndication); 367 break; 368 case 13: 369 Delete_UserInputIndication(x->userInput); 370 OSCL_DEFAULT_FREE(x->userInput); 371 break; 372 /* ------------------------------- */ 373 /* ---- Extension Begins Here ---- */ 374 /* ------------------------------- */ 375 case 14: 376 Delete_H2250MaximumSkewIndication(x->h2250MaximumSkewIndication); 377 OSCL_DEFAULT_FREE(x->h2250MaximumSkewIndication); 378 break; 379 case 15: 380 Delete_MCLocationIndication(x->mcLocationIndication); 381 OSCL_DEFAULT_FREE(x->mcLocationIndication); 382 break; 383 case 16: 384 Delete_ConferenceIndication(x->conferenceIndication); 385 OSCL_DEFAULT_FREE(x->conferenceIndication); 386 break; 387 case 17: 388 Delete_VendorIdentification(x->vendorIdentification); 389 OSCL_DEFAULT_FREE(x->vendorIdentification); 390 break; 391 case 18: 392 Delete_FunctionNotSupported(x->functionNotSupported); 393 OSCL_DEFAULT_FREE(x->functionNotSupported); 394 break; 395 case 19: 396 Delete_MultilinkIndication(x->multilinkIndication); 397 OSCL_DEFAULT_FREE(x->multilinkIndication); 398 break; 399 case 20: 400 Delete_LogicalChannelRateRelease(x->logicalChannelRateRelease); 401 OSCL_DEFAULT_FREE(x->logicalChannelRateRelease); 402 break; 403 case 21: 404 Delete_FlowControlIndication(x->flowControlIndication); 405 OSCL_DEFAULT_FREE(x->flowControlIndication); 406 break; 407 default: 408 ErrorMessage("Delete_IndicationMessage: Illegal CHOICE index"); 409 } 410 } 411 412 /* <=============================================> */ 413 /* PER-Deleter for GenericInformation (SEQUENCE) */ 414 /* <=============================================> */ Delete_GenericInformation(PS_GenericInformation x)415void Delete_GenericInformation(PS_GenericInformation x) 416 { 417 uint16 i = 0; 418 Delete_CapabilityIdentifier(&x->messageIdentifier); 419 if (x->option_of_subMessageIdentifier) 420 { 421 } 422 if (x->option_of_messageContent) 423 { 424 for (i = 0; i < x->size_of_messageContent; ++i) 425 { 426 Delete_GenericParameter(x->messageContent + i); 427 } 428 OSCL_DEFAULT_FREE(x->messageContent); 429 } 430 /* ------------------------------- */ 431 /* ---- Extension Begins Here ---- */ 432 /* ------------------------------- */ 433 } 434 435 /* <=============================================> */ 436 /* PER-Deleter for NonStandardMessage (SEQUENCE) */ 437 /* <=============================================> */ Delete_NonStandardMessage(PS_NonStandardMessage x)438void Delete_NonStandardMessage(PS_NonStandardMessage x) 439 { 440 Delete_NonStandardParameter(&x->nonStandardData); 441 /* ------------------------------- */ 442 /* ---- Extension Begins Here ---- */ 443 /* ------------------------------- */ 444 } 445 446 /* <===============================================> */ 447 /* PER-Deleter for NonStandardParameter (SEQUENCE) */ 448 /* <===============================================> */ Delete_NonStandardParameter(PS_NonStandardParameter x)449void Delete_NonStandardParameter(PS_NonStandardParameter x) 450 { 451 if (x->data.size > 0) OSCL_DEFAULT_FREE(x->data.data); 452 Delete_NonStandardIdentifier(&x->nonStandardIdentifier); 453 } 454 455 /* <==============================================> */ 456 /* PER-Deleter for NonStandardIdentifier (CHOICE) */ 457 /* <==============================================> */ Delete_NonStandardIdentifier(PS_NonStandardIdentifier x)458void Delete_NonStandardIdentifier(PS_NonStandardIdentifier x) 459 { 460 switch (x->index) 461 { 462 case 0: 463 FreeObjectID(x->object); 464 break; 465 case 1: 466 Delete_H221NonStandard(x->h221NonStandard); 467 OSCL_DEFAULT_FREE(x->h221NonStandard); 468 break; 469 default: 470 ErrorMessage("Delete_NonStandardIdentifier: Illegal CHOICE index"); 471 } 472 } 473 474 /* <==========================================> */ 475 /* PER-Deleter for H221NonStandard (SEQUENCE) */ 476 /* <==========================================> */ Delete_H221NonStandard(PS_H221NonStandard x)477void Delete_H221NonStandard(PS_H221NonStandard x) 478 { 479 OSCL_UNUSED_ARG(x); 480 } 481 482 /* <===================================================> */ 483 /* PER-Deleter for MasterSlaveDetermination (SEQUENCE) */ 484 /* <===================================================> */ Delete_MasterSlaveDetermination(PS_MasterSlaveDetermination x)485void Delete_MasterSlaveDetermination(PS_MasterSlaveDetermination x) 486 { 487 OSCL_UNUSED_ARG(x); 488 /* ------------------------------- */ 489 /* ---- Extension Begins Here ---- */ 490 /* ------------------------------- */ 491 } 492 493 /* <======================================================> */ 494 /* PER-Deleter for MasterSlaveDeterminationAck (SEQUENCE) */ 495 /* <======================================================> */ Delete_MasterSlaveDeterminationAck(PS_MasterSlaveDeterminationAck x)496void Delete_MasterSlaveDeterminationAck(PS_MasterSlaveDeterminationAck x) 497 { 498 Delete_Decision(&x->decision); 499 /* ------------------------------- */ 500 /* ---- Extension Begins Here ---- */ 501 /* ------------------------------- */ 502 } 503 504 /* <=================================> */ 505 /* PER-Deleter for Decision (CHOICE) */ 506 /* <=================================> */ Delete_Decision(PS_Decision x)507void Delete_Decision(PS_Decision x) 508 { 509 switch (x->index) 510 { 511 case 0: 512 /* (master is NULL) */ 513 break; 514 case 1: 515 /* (slave is NULL) */ 516 break; 517 default: 518 ErrorMessage("Delete_Decision: Illegal CHOICE index"); 519 } 520 } 521 522 /* <=========================================================> */ 523 /* PER-Deleter for MasterSlaveDeterminationReject (SEQUENCE) */ 524 /* <=========================================================> */ Delete_MasterSlaveDeterminationReject(PS_MasterSlaveDeterminationReject x)525void Delete_MasterSlaveDeterminationReject(PS_MasterSlaveDeterminationReject x) 526 { 527 Delete_MsdRejectCause(&x->msdRejectCause); 528 /* ------------------------------- */ 529 /* ---- Extension Begins Here ---- */ 530 /* ------------------------------- */ 531 } 532 533 /* <=======================================> */ 534 /* PER-Deleter for MsdRejectCause (CHOICE) */ 535 /* <=======================================> */ Delete_MsdRejectCause(PS_MsdRejectCause x)536void Delete_MsdRejectCause(PS_MsdRejectCause x) 537 { 538 switch (x->index) 539 { 540 case 0: 541 /* (identicalNumbers is NULL) */ 542 break; 543 /* ------------------------------- */ 544 /* ---- Extension Begins Here ---- */ 545 /* ------------------------------- */ 546 default: 547 ErrorMessage("Delete_MsdRejectCause: Illegal CHOICE index"); 548 } 549 } 550 551 /* <==========================================================> */ 552 /* PER-Deleter for MasterSlaveDeterminationRelease (SEQUENCE) */ 553 /* <==========================================================> */ Delete_MasterSlaveDeterminationRelease(PS_MasterSlaveDeterminationRelease x)554void Delete_MasterSlaveDeterminationRelease(PS_MasterSlaveDeterminationRelease x) 555 { 556 OSCL_UNUSED_ARG(x); 557 /* ------------------------------- */ 558 /* ---- Extension Begins Here ---- */ 559 /* ------------------------------- */ 560 } 561 562 /* <================================================> */ 563 /* PER-Deleter for TerminalCapabilitySet (SEQUENCE) */ 564 /* <================================================> */ Delete_TerminalCapabilitySet(PS_TerminalCapabilitySet x)565void Delete_TerminalCapabilitySet(PS_TerminalCapabilitySet x) 566 { 567 uint16 i = 0; 568 uint32 extension; 569 570 extension = x->option_of_genericInformation; 571 OSCL_DEFAULT_FREE(x->protocolIdentifier.data); 572 if (x->option_of_multiplexCapability) 573 { 574 Delete_MultiplexCapability(&x->multiplexCapability); 575 } 576 if (x->option_of_capabilityTable) 577 { 578 for (i = 0; i < x->size_of_capabilityTable; ++i) 579 { 580 Delete_CapabilityTableEntry(x->capabilityTable + i); 581 } 582 OSCL_DEFAULT_FREE(x->capabilityTable); 583 } 584 if (x->option_of_capabilityDescriptors) 585 { 586 for (i = 0; i < x->size_of_capabilityDescriptors; ++i) 587 { 588 Delete_CapabilityDescriptor(x->capabilityDescriptors + i); 589 } 590 OSCL_DEFAULT_FREE(x->capabilityDescriptors); 591 } 592 /* ------------------------------- */ 593 /* ---- Extension Begins Here ---- */ 594 /* ------------------------------- */ 595 if (!extension) return; /* (No items present?) */ 596 if (x->option_of_genericInformation) 597 { 598 for (i = 0; i < x->size_of_genericInformation; ++i) 599 { 600 Delete_GenericInformation(x->genericInformation + i); 601 } 602 OSCL_DEFAULT_FREE(x->genericInformation); 603 } 604 } 605 606 /* <===============================================> */ 607 /* PER-Deleter for CapabilityTableEntry (SEQUENCE) */ 608 /* <===============================================> */ Delete_CapabilityTableEntry(PS_CapabilityTableEntry x)609void Delete_CapabilityTableEntry(PS_CapabilityTableEntry x) 610 { 611 if (x->option_of_capability) 612 { 613 Delete_Capability(&x->capability); 614 } 615 } 616 617 /* <===============================================> */ 618 /* PER-Deleter for CapabilityDescriptor (SEQUENCE) */ 619 /* <===============================================> */ Delete_CapabilityDescriptor(PS_CapabilityDescriptor x)620void Delete_CapabilityDescriptor(PS_CapabilityDescriptor x) 621 { 622 uint16 i = 0; 623 if (x->option_of_simultaneousCapabilities) 624 { 625 for (i = 0; i < x->size_of_simultaneousCapabilities; ++i) 626 { 627 Delete_AlternativeCapabilitySet(x->simultaneousCapabilities + i); 628 } 629 OSCL_DEFAULT_FREE(x->simultaneousCapabilities); 630 } 631 } 632 633 /* <======================================================> */ 634 /* PER-Deleter for AlternativeCapabilitySet (SEQUENCE-OF) */ 635 /* <======================================================> */ Delete_AlternativeCapabilitySet(PS_AlternativeCapabilitySet x)636void Delete_AlternativeCapabilitySet(PS_AlternativeCapabilitySet x) 637 { 638 OSCL_DEFAULT_FREE(x->item); 639 } 640 641 /* <===================================================> */ 642 /* PER-Deleter for TerminalCapabilitySetAck (SEQUENCE) */ 643 /* <===================================================> */ Delete_TerminalCapabilitySetAck(PS_TerminalCapabilitySetAck x)644void Delete_TerminalCapabilitySetAck(PS_TerminalCapabilitySetAck x) 645 { 646 OSCL_UNUSED_ARG(x); 647 /* ------------------------------- */ 648 /* ---- Extension Begins Here ---- */ 649 /* ------------------------------- */ 650 } 651 652 /* <======================================================> */ 653 /* PER-Deleter for TerminalCapabilitySetReject (SEQUENCE) */ 654 /* <======================================================> */ Delete_TerminalCapabilitySetReject(PS_TerminalCapabilitySetReject x)655void Delete_TerminalCapabilitySetReject(PS_TerminalCapabilitySetReject x) 656 { 657 Delete_TcsRejectCause(&x->tcsRejectCause); 658 /* ------------------------------- */ 659 /* ---- Extension Begins Here ---- */ 660 /* ------------------------------- */ 661 } 662 663 /* <=======================================> */ 664 /* PER-Deleter for TcsRejectCause (CHOICE) */ 665 /* <=======================================> */ Delete_TcsRejectCause(PS_TcsRejectCause x)666void Delete_TcsRejectCause(PS_TcsRejectCause x) 667 { 668 switch (x->index) 669 { 670 case 0: 671 /* (unspecified is NULL) */ 672 break; 673 case 1: 674 /* (undefinedTableEntryUsed is NULL) */ 675 break; 676 case 2: 677 /* (descriptorCapacityExceeded is NULL) */ 678 break; 679 case 3: 680 Delete_TableEntryCapacityExceeded(x->tableEntryCapacityExceeded); 681 OSCL_DEFAULT_FREE(x->tableEntryCapacityExceeded); 682 break; 683 /* ------------------------------- */ 684 /* ---- Extension Begins Here ---- */ 685 /* ------------------------------- */ 686 default: 687 ErrorMessage("Delete_TcsRejectCause: Illegal CHOICE index"); 688 } 689 } 690 691 /* <===================================================> */ 692 /* PER-Deleter for TableEntryCapacityExceeded (CHOICE) */ 693 /* <===================================================> */ Delete_TableEntryCapacityExceeded(PS_TableEntryCapacityExceeded x)694void Delete_TableEntryCapacityExceeded(PS_TableEntryCapacityExceeded x) 695 { 696 switch (x->index) 697 { 698 case 0: 699 break; 700 case 1: 701 /* (noneProcessed is NULL) */ 702 break; 703 default: 704 ErrorMessage("Delete_TableEntryCapacityExceeded: Illegal CHOICE index"); 705 } 706 } 707 708 /* <=======================================================> */ 709 /* PER-Deleter for TerminalCapabilitySetRelease (SEQUENCE) */ 710 /* <=======================================================> */ Delete_TerminalCapabilitySetRelease(PS_TerminalCapabilitySetRelease x)711void Delete_TerminalCapabilitySetRelease(PS_TerminalCapabilitySetRelease x) 712 { 713 OSCL_UNUSED_ARG(x); 714 /* ------------------------------- */ 715 /* ---- Extension Begins Here ---- */ 716 /* ------------------------------- */ 717 } 718 719 /* <===================================> */ 720 /* PER-Deleter for Capability (CHOICE) */ 721 /* <===================================> */ Delete_Capability(PS_Capability x)722void Delete_Capability(PS_Capability x) 723 { 724 switch (x->index) 725 { 726 case 0: 727 Delete_NonStandardParameter(x->nonStandard); 728 OSCL_DEFAULT_FREE(x->nonStandard); 729 break; 730 case 1: 731 Delete_VideoCapability(x->receiveVideoCapability); 732 OSCL_DEFAULT_FREE(x->receiveVideoCapability); 733 break; 734 case 2: 735 Delete_VideoCapability(x->transmitVideoCapability); 736 OSCL_DEFAULT_FREE(x->transmitVideoCapability); 737 break; 738 case 3: 739 Delete_VideoCapability(x->receiveAndTransmitVideoCapability); 740 OSCL_DEFAULT_FREE(x->receiveAndTransmitVideoCapability); 741 break; 742 case 4: 743 Delete_AudioCapability(x->receiveAudioCapability); 744 OSCL_DEFAULT_FREE(x->receiveAudioCapability); 745 break; 746 case 5: 747 Delete_AudioCapability(x->transmitAudioCapability); 748 OSCL_DEFAULT_FREE(x->transmitAudioCapability); 749 break; 750 case 6: 751 Delete_AudioCapability(x->receiveAndTransmitAudioCapability); 752 OSCL_DEFAULT_FREE(x->receiveAndTransmitAudioCapability); 753 break; 754 case 7: 755 Delete_DataApplicationCapability(x->receiveDataApplicationCapability); 756 OSCL_DEFAULT_FREE(x->receiveDataApplicationCapability); 757 break; 758 case 8: 759 Delete_DataApplicationCapability(x->transmitDataApplicationCapability); 760 OSCL_DEFAULT_FREE(x->transmitDataApplicationCapability); 761 break; 762 case 9: 763 Delete_DataApplicationCapability(x->receiveAndTransmitDataApplicationCapability); 764 OSCL_DEFAULT_FREE(x->receiveAndTransmitDataApplicationCapability); 765 break; 766 case 10: 767 break; 768 case 11: 769 Delete_H233EncryptionReceiveCapability(x->h233EncryptionReceiveCapability); 770 OSCL_DEFAULT_FREE(x->h233EncryptionReceiveCapability); 771 break; 772 /* ------------------------------- */ 773 /* ---- Extension Begins Here ---- */ 774 /* ------------------------------- */ 775 case 12: 776 Delete_ConferenceCapability(x->conferenceCapability); 777 OSCL_DEFAULT_FREE(x->conferenceCapability); 778 break; 779 case 13: 780 Delete_H235SecurityCapability(x->h235SecurityCapability); 781 OSCL_DEFAULT_FREE(x->h235SecurityCapability); 782 break; 783 case 14: 784 break; 785 case 15: 786 Delete_UserInputCapability(x->receiveUserInputCapability); 787 OSCL_DEFAULT_FREE(x->receiveUserInputCapability); 788 break; 789 case 16: 790 Delete_UserInputCapability(x->transmitUserInputCapability); 791 OSCL_DEFAULT_FREE(x->transmitUserInputCapability); 792 break; 793 case 17: 794 Delete_UserInputCapability(x->receiveAndTransmitUserInputCapability); 795 OSCL_DEFAULT_FREE(x->receiveAndTransmitUserInputCapability); 796 break; 797 case 18: 798 Delete_GenericCapability(x->genericControlCapability); 799 OSCL_DEFAULT_FREE(x->genericControlCapability); 800 break; 801 default: 802 ErrorMessage("Delete_Capability: Illegal CHOICE index"); 803 } 804 } 805 806 /* <==========================================================> */ 807 /* PER-Deleter for H233EncryptionReceiveCapability (SEQUENCE) */ 808 /* <==========================================================> */ Delete_H233EncryptionReceiveCapability(PS_H233EncryptionReceiveCapability x)809void Delete_H233EncryptionReceiveCapability(PS_H233EncryptionReceiveCapability x) 810 { 811 OSCL_UNUSED_ARG(x); 812 /* ------------------------------- */ 813 /* ---- Extension Begins Here ---- */ 814 /* ------------------------------- */ 815 } 816 817 /* <=================================================> */ 818 /* PER-Deleter for H235SecurityCapability (SEQUENCE) */ 819 /* <=================================================> */ Delete_H235SecurityCapability(PS_H235SecurityCapability x)820void Delete_H235SecurityCapability(PS_H235SecurityCapability x) 821 { 822 Delete_EncryptionAuthenticationAndIntegrity(&x->encryptionAuthenticationAndIntegrity); 823 /* ------------------------------- */ 824 /* ---- Extension Begins Here ---- */ 825 /* ------------------------------- */ 826 } 827 828 /* <============================================> */ 829 /* PER-Deleter for MultiplexCapability (CHOICE) */ 830 /* <============================================> */ Delete_MultiplexCapability(PS_MultiplexCapability x)831void Delete_MultiplexCapability(PS_MultiplexCapability x) 832 { 833 switch (x->index) 834 { 835 case 0: 836 Delete_NonStandardParameter(x->nonStandard); 837 OSCL_DEFAULT_FREE(x->nonStandard); 838 break; 839 case 1: 840 Delete_H222Capability(x->h222Capability); 841 OSCL_DEFAULT_FREE(x->h222Capability); 842 break; 843 case 2: 844 Delete_H223Capability(x->h223Capability); 845 OSCL_DEFAULT_FREE(x->h223Capability); 846 break; 847 case 3: 848 Delete_V76Capability(x->v76Capability); 849 OSCL_DEFAULT_FREE(x->v76Capability); 850 break; 851 /* ------------------------------- */ 852 /* ---- Extension Begins Here ---- */ 853 /* ------------------------------- */ 854 case 4: 855 Delete_H2250Capability(x->h2250Capability); 856 OSCL_DEFAULT_FREE(x->h2250Capability); 857 break; 858 case 5: 859 Delete_GenericCapability(x->genericMultiplexCapability); 860 OSCL_DEFAULT_FREE(x->genericMultiplexCapability); 861 break; 862 default: 863 ErrorMessage("Delete_MultiplexCapability: Illegal CHOICE index"); 864 } 865 } 866 867 /* <=========================================> */ 868 /* PER-Deleter for H222Capability (SEQUENCE) */ 869 /* <=========================================> */ Delete_H222Capability(PS_H222Capability x)870void Delete_H222Capability(PS_H222Capability x) 871 { 872 uint16 i = 0; 873 for (i = 0; i < x->size_of_vcCapability; ++i) 874 { 875 Delete_VCCapability(x->vcCapability + i); 876 } 877 OSCL_DEFAULT_FREE(x->vcCapability); 878 /* ------------------------------- */ 879 /* ---- Extension Begins Here ---- */ 880 /* ------------------------------- */ 881 } 882 883 /* <=======================================> */ 884 /* PER-Deleter for VCCapability (SEQUENCE) */ 885 /* <=======================================> */ Delete_VCCapability(PS_VCCapability x)886void Delete_VCCapability(PS_VCCapability x) 887 { 888 uint32 extension; 889 890 extension = x->option_of_aal1ViaGateway; 891 if (x->option_of_vccAal1) 892 { 893 Delete_VccAal1(&x->vccAal1); 894 } 895 if (x->option_of_vccAal5) 896 { 897 Delete_VccAal5(&x->vccAal5); 898 } 899 Delete_AvailableBitRates(&x->availableBitRates); 900 /* ------------------------------- */ 901 /* ---- Extension Begins Here ---- */ 902 /* ------------------------------- */ 903 if (!extension) return; /* (No items present?) */ 904 if (x->option_of_aal1ViaGateway) 905 { 906 Delete_Aal1ViaGateway(&x->aal1ViaGateway); 907 } 908 } 909 910 /* <=========================================> */ 911 /* PER-Deleter for Aal1ViaGateway (SEQUENCE) */ 912 /* <=========================================> */ Delete_Aal1ViaGateway(PS_Aal1ViaGateway x)913void Delete_Aal1ViaGateway(PS_Aal1ViaGateway x) 914 { 915 uint16 i = 0; 916 for (i = 0; i < x->size_of_gatewayAddress; ++i) 917 { 918 Delete_Q2931Address(x->gatewayAddress + i); 919 } 920 OSCL_DEFAULT_FREE(x->gatewayAddress); 921 /* ------------------------------- */ 922 /* ---- Extension Begins Here ---- */ 923 /* ------------------------------- */ 924 } 925 926 /* <============================================> */ 927 /* PER-Deleter for AvailableBitRates (SEQUENCE) */ 928 /* <============================================> */ Delete_AvailableBitRates(PS_AvailableBitRates x)929void Delete_AvailableBitRates(PS_AvailableBitRates x) 930 { 931 Delete_VccAal5Type(&x->vccAal5Type); 932 /* ------------------------------- */ 933 /* ---- Extension Begins Here ---- */ 934 /* ------------------------------- */ 935 } 936 937 /* <====================================> */ 938 /* PER-Deleter for VccAal5Type (CHOICE) */ 939 /* <====================================> */ Delete_VccAal5Type(PS_VccAal5Type x)940void Delete_VccAal5Type(PS_VccAal5Type x) 941 { 942 switch (x->index) 943 { 944 case 0: 945 break; 946 case 1: 947 Delete_RangeOfBitRates(x->rangeOfBitRates); 948 OSCL_DEFAULT_FREE(x->rangeOfBitRates); 949 break; 950 default: 951 ErrorMessage("Delete_VccAal5Type: Illegal CHOICE index"); 952 } 953 } 954 955 /* <==========================================> */ 956 /* PER-Deleter for RangeOfBitRates (SEQUENCE) */ 957 /* <==========================================> */ Delete_RangeOfBitRates(PS_RangeOfBitRates x)958void Delete_RangeOfBitRates(PS_RangeOfBitRates x) 959 { 960 OSCL_UNUSED_ARG(x); 961 } 962 963 /* <==================================> */ 964 /* PER-Deleter for VccAal5 (SEQUENCE) */ 965 /* <==================================> */ Delete_VccAal5(PS_VccAal5 x)966void Delete_VccAal5(PS_VccAal5 x) 967 { 968 OSCL_UNUSED_ARG(x); 969 /* ------------------------------- */ 970 /* ---- Extension Begins Here ---- */ 971 /* ------------------------------- */ 972 } 973 974 /* <==================================> */ 975 /* PER-Deleter for VccAal1 (SEQUENCE) */ 976 /* <==================================> */ Delete_VccAal1(PS_VccAal1 x)977void Delete_VccAal1(PS_VccAal1 x) 978 { 979 OSCL_UNUSED_ARG(x); 980 /* ------------------------------- */ 981 /* ---- Extension Begins Here ---- */ 982 /* ------------------------------- */ 983 } 984 985 /* <=========================================> */ 986 /* PER-Deleter for H223Capability (SEQUENCE) */ 987 /* <=========================================> */ Delete_H223Capability(PS_H223Capability x)988void Delete_H223Capability(PS_H223Capability x) 989 { 990 uint32 extension; 991 992 extension = x->option_of_maxMUXPDUSizeCapability | 993 x->option_of_nsrpSupport | 994 x->option_of_mobileOperationTransmitCapability | 995 x->option_of_h223AnnexCCapability; 996 Delete_H223MultiplexTableCapability(&x->h223MultiplexTableCapability); 997 /* ------------------------------- */ 998 /* ---- Extension Begins Here ---- */ 999 /* ------------------------------- */ 1000 if (!extension) return; /* (No items present?) */ 1001 if (x->option_of_maxMUXPDUSizeCapability) 1002 { 1003 } 1004 if (x->option_of_nsrpSupport) 1005 { 1006 } 1007 if (x->option_of_mobileOperationTransmitCapability) 1008 { 1009 Delete_MobileOperationTransmitCapability(&x->mobileOperationTransmitCapability); 1010 } 1011 if (x->option_of_h223AnnexCCapability) 1012 { 1013 Delete_H223AnnexCCapability(&x->h223AnnexCCapability); 1014 } 1015 } 1016 1017 /* <============================================================> */ 1018 /* PER-Deleter for MobileOperationTransmitCapability (SEQUENCE) */ 1019 /* <============================================================> */ Delete_MobileOperationTransmitCapability(PS_MobileOperationTransmitCapability x)1020void Delete_MobileOperationTransmitCapability(PS_MobileOperationTransmitCapability x) 1021 { 1022 OSCL_UNUSED_ARG(x); 1023 /* ------------------------------- */ 1024 /* ---- Extension Begins Here ---- */ 1025 /* ------------------------------- */ 1026 } 1027 1028 /* <=====================================================> */ 1029 /* PER-Deleter for H223MultiplexTableCapability (CHOICE) */ 1030 /* <=====================================================> */ Delete_H223MultiplexTableCapability(PS_H223MultiplexTableCapability x)1031void Delete_H223MultiplexTableCapability(PS_H223MultiplexTableCapability x) 1032 { 1033 switch (x->index) 1034 { 1035 case 0: 1036 /* (basic is NULL) */ 1037 break; 1038 case 1: 1039 Delete_Enhanced(x->enhanced); 1040 OSCL_DEFAULT_FREE(x->enhanced); 1041 break; 1042 default: 1043 ErrorMessage("Delete_H223MultiplexTableCapability: Illegal CHOICE index"); 1044 } 1045 } 1046 1047 /* <===================================> */ 1048 /* PER-Deleter for Enhanced (SEQUENCE) */ 1049 /* <===================================> */ Delete_Enhanced(PS_Enhanced x)1050void Delete_Enhanced(PS_Enhanced x) 1051 { 1052 OSCL_UNUSED_ARG(x); 1053 /* ------------------------------- */ 1054 /* ---- Extension Begins Here ---- */ 1055 /* ------------------------------- */ 1056 } 1057 1058 /* <===============================================> */ 1059 /* PER-Deleter for H223AnnexCCapability (SEQUENCE) */ 1060 /* <===============================================> */ Delete_H223AnnexCCapability(PS_H223AnnexCCapability x)1061void Delete_H223AnnexCCapability(PS_H223AnnexCCapability x) 1062 { 1063 uint32 extension; 1064 1065 extension = x->option_of_rsCodeCapability; 1066 /* ------------------------------- */ 1067 /* ---- Extension Begins Here ---- */ 1068 /* ------------------------------- */ 1069 if (!extension) return; /* (No items present?) */ 1070 if (x->option_of_rsCodeCapability) 1071 { 1072 } 1073 } 1074 1075 /* <========================================> */ 1076 /* PER-Deleter for V76Capability (SEQUENCE) */ 1077 /* <========================================> */ Delete_V76Capability(PS_V76Capability x)1078void Delete_V76Capability(PS_V76Capability x) 1079 { 1080 Delete_V75Capability(&x->v75Capability); 1081 /* ------------------------------- */ 1082 /* ---- Extension Begins Here ---- */ 1083 /* ------------------------------- */ 1084 } 1085 1086 /* <========================================> */ 1087 /* PER-Deleter for V75Capability (SEQUENCE) */ 1088 /* <========================================> */ Delete_V75Capability(PS_V75Capability x)1089void Delete_V75Capability(PS_V75Capability x) 1090 { 1091 OSCL_UNUSED_ARG(x); 1092 /* ------------------------------- */ 1093 /* ---- Extension Begins Here ---- */ 1094 /* ------------------------------- */ 1095 } 1096 1097 /* <==========================================> */ 1098 /* PER-Deleter for H2250Capability (SEQUENCE) */ 1099 /* <==========================================> */ Delete_H2250Capability(PS_H2250Capability x)1100void Delete_H2250Capability(PS_H2250Capability x) 1101 { 1102 uint16 i = 0; 1103 uint32 extension; 1104 1105 extension = x->option_of_transportCapability | 1106 x->option_of_redundancyEncodingCapability | 1107 x->option_of_logicalChannelSwitchingCapability | 1108 x->option_of_t120DynamicPortCapability; 1109 Delete_MultipointCapability(&x->receiveMultipointCapability); 1110 Delete_MultipointCapability(&x->transmitMultipointCapability); 1111 Delete_MultipointCapability(&x->receiveAndTransmitMultipointCapability); 1112 Delete_McCapability(&x->mcCapability); 1113 Delete_MediaPacketizationCapability(&x->mediaPacketizationCapability); 1114 /* ------------------------------- */ 1115 /* ---- Extension Begins Here ---- */ 1116 /* ------------------------------- */ 1117 if (!extension) return; /* (No items present?) */ 1118 if (x->option_of_transportCapability) 1119 { 1120 Delete_TransportCapability(&x->transportCapability); 1121 } 1122 if (x->option_of_redundancyEncodingCapability) 1123 { 1124 for (i = 0; i < x->size_of_redundancyEncodingCapability; ++i) 1125 { 1126 Delete_RedundancyEncodingCapability(x->redundancyEncodingCapability + i); 1127 } 1128 OSCL_DEFAULT_FREE(x->redundancyEncodingCapability); 1129 } 1130 if (x->option_of_logicalChannelSwitchingCapability) 1131 { 1132 } 1133 if (x->option_of_t120DynamicPortCapability) 1134 { 1135 } 1136 } 1137 1138 /* <=======================================> */ 1139 /* PER-Deleter for McCapability (SEQUENCE) */ 1140 /* <=======================================> */ Delete_McCapability(PS_McCapability x)1141void Delete_McCapability(PS_McCapability x) 1142 { 1143 OSCL_UNUSED_ARG(x); 1144 /* ------------------------------- */ 1145 /* ---- Extension Begins Here ---- */ 1146 /* ------------------------------- */ 1147 } 1148 1149 /* <=======================================================> */ 1150 /* PER-Deleter for MediaPacketizationCapability (SEQUENCE) */ 1151 /* <=======================================================> */ Delete_MediaPacketizationCapability(PS_MediaPacketizationCapability x)1152void Delete_MediaPacketizationCapability(PS_MediaPacketizationCapability x) 1153 { 1154 uint16 i = 0; 1155 uint32 extension; 1156 1157 extension = x->option_of_rtpPayloadType; 1158 /* ------------------------------- */ 1159 /* ---- Extension Begins Here ---- */ 1160 /* ------------------------------- */ 1161 if (!extension) return; /* (No items present?) */ 1162 if (x->option_of_rtpPayloadType) 1163 { 1164 for (i = 0; i < x->size_of_rtpPayloadType; ++i) 1165 { 1166 Delete_RTPPayloadType(x->rtpPayloadType + i); 1167 } 1168 OSCL_DEFAULT_FREE(x->rtpPayloadType); 1169 } 1170 } 1171 1172 /* <=========================================> */ 1173 /* PER-Deleter for RSVPParameters (SEQUENCE) */ 1174 /* <=========================================> */ Delete_RSVPParameters(PS_RSVPParameters x)1175void Delete_RSVPParameters(PS_RSVPParameters x) 1176 { 1177 if (x->option_of_qosMode) 1178 { 1179 Delete_QOSMode(&x->qosMode); 1180 } 1181 if (x->option_of_tokenRate) 1182 { 1183 } 1184 if (x->option_of_bucketSize) 1185 { 1186 } 1187 if (x->option_of_peakRate) 1188 { 1189 } 1190 if (x->option_of_minPoliced) 1191 { 1192 } 1193 if (x->option_of_maxPktSize) 1194 { 1195 } 1196 /* ------------------------------- */ 1197 /* ---- Extension Begins Here ---- */ 1198 /* ------------------------------- */ 1199 } 1200 1201 /* <================================> */ 1202 /* PER-Deleter for QOSMode (CHOICE) */ 1203 /* <================================> */ Delete_QOSMode(PS_QOSMode x)1204void Delete_QOSMode(PS_QOSMode x) 1205 { 1206 switch (x->index) 1207 { 1208 case 0: 1209 /* (guaranteedQOS is NULL) */ 1210 break; 1211 case 1: 1212 /* (controlledLoad is NULL) */ 1213 break; 1214 /* ------------------------------- */ 1215 /* ---- Extension Begins Here ---- */ 1216 /* ------------------------------- */ 1217 default: 1218 ErrorMessage("Delete_QOSMode: Illegal CHOICE index"); 1219 } 1220 } 1221 1222 /* <========================================> */ 1223 /* PER-Deleter for ATMParameters (SEQUENCE) */ 1224 /* <========================================> */ Delete_ATMParameters(PS_ATMParameters x)1225void Delete_ATMParameters(PS_ATMParameters x) 1226 { 1227 OSCL_UNUSED_ARG(x); 1228 /* ------------------------------- */ 1229 /* ---- Extension Begins Here ---- */ 1230 /* ------------------------------- */ 1231 } 1232 1233 /* <========================================> */ 1234 /* PER-Deleter for QOSCapability (SEQUENCE) */ 1235 /* <========================================> */ Delete_QOSCapability(PS_QOSCapability x)1236void Delete_QOSCapability(PS_QOSCapability x) 1237 { 1238 if (x->option_of_nonStandardData) 1239 { 1240 Delete_NonStandardParameter(&x->nonStandardData); 1241 } 1242 if (x->option_of_rsvpParameters) 1243 { 1244 Delete_RSVPParameters(&x->rsvpParameters); 1245 } 1246 if (x->option_of_atmParameters) 1247 { 1248 Delete_ATMParameters(&x->atmParameters); 1249 } 1250 /* ------------------------------- */ 1251 /* ---- Extension Begins Here ---- */ 1252 /* ------------------------------- */ 1253 } 1254 1255 /* <===========================================> */ 1256 /* PER-Deleter for MediaTransportType (CHOICE) */ 1257 /* <===========================================> */ Delete_MediaTransportType(PS_MediaTransportType x)1258void Delete_MediaTransportType(PS_MediaTransportType x) 1259 { 1260 switch (x->index) 1261 { 1262 case 0: 1263 /* (ip_UDP is NULL) */ 1264 break; 1265 case 1: 1266 /* (ip_TCP is NULL) */ 1267 break; 1268 case 2: 1269 /* (atm_AAL5_UNIDIR is NULL) */ 1270 break; 1271 case 3: 1272 /* (atm_AAL5_BIDIR is NULL) */ 1273 break; 1274 /* ------------------------------- */ 1275 /* ---- Extension Begins Here ---- */ 1276 /* ------------------------------- */ 1277 case 4: 1278 Delete_Atm_AAL5_compressed(x->atm_AAL5_compressed); 1279 OSCL_DEFAULT_FREE(x->atm_AAL5_compressed); 1280 break; 1281 default: 1282 ErrorMessage("Delete_MediaTransportType: Illegal CHOICE index"); 1283 } 1284 } 1285 1286 /* <==============================================> */ 1287 /* PER-Deleter for Atm_AAL5_compressed (SEQUENCE) */ 1288 /* <==============================================> */ Delete_Atm_AAL5_compressed(PS_Atm_AAL5_compressed x)1289void Delete_Atm_AAL5_compressed(PS_Atm_AAL5_compressed x) 1290 { 1291 OSCL_UNUSED_ARG(x); 1292 /* ------------------------------- */ 1293 /* ---- Extension Begins Here ---- */ 1294 /* ------------------------------- */ 1295 } 1296 1297 /* <=================================================> */ 1298 /* PER-Deleter for MediaChannelCapability (SEQUENCE) */ 1299 /* <=================================================> */ Delete_MediaChannelCapability(PS_MediaChannelCapability x)1300void Delete_MediaChannelCapability(PS_MediaChannelCapability x) 1301 { 1302 if (x->option_of_mediaTransport) 1303 { 1304 Delete_MediaTransportType(&x->mediaTransport); 1305 } 1306 /* ------------------------------- */ 1307 /* ---- Extension Begins Here ---- */ 1308 /* ------------------------------- */ 1309 } 1310 1311 /* <==============================================> */ 1312 /* PER-Deleter for TransportCapability (SEQUENCE) */ 1313 /* <==============================================> */ Delete_TransportCapability(PS_TransportCapability x)1314void Delete_TransportCapability(PS_TransportCapability x) 1315 { 1316 uint16 i = 0; 1317 if (x->option_of_nonStandard) 1318 { 1319 Delete_NonStandardParameter(&x->nonStandard); 1320 } 1321 if (x->option_of_qOSCapabilities) 1322 { 1323 for (i = 0; i < x->size_of_qOSCapabilities; ++i) 1324 { 1325 Delete_QOSCapability(x->qOSCapabilities + i); 1326 } 1327 OSCL_DEFAULT_FREE(x->qOSCapabilities); 1328 } 1329 if (x->option_of_mediaChannelCapabilities) 1330 { 1331 for (i = 0; i < x->size_of_mediaChannelCapabilities; ++i) 1332 { 1333 Delete_MediaChannelCapability(x->mediaChannelCapabilities + i); 1334 } 1335 OSCL_DEFAULT_FREE(x->mediaChannelCapabilities); 1336 } 1337 /* ------------------------------- */ 1338 /* ---- Extension Begins Here ---- */ 1339 /* ------------------------------- */ 1340 } 1341 1342 /* <=======================================================> */ 1343 /* PER-Deleter for RedundancyEncodingCapability (SEQUENCE) */ 1344 /* <=======================================================> */ Delete_RedundancyEncodingCapability(PS_RedundancyEncodingCapability x)1345void Delete_RedundancyEncodingCapability(PS_RedundancyEncodingCapability x) 1346 { 1347 Delete_RedundancyEncodingMethod(&x->redundancyEncodingMethod); 1348 if (x->option_of_secondaryEncoding) 1349 { 1350 OSCL_DEFAULT_FREE(x->secondaryEncoding); 1351 } 1352 /* ------------------------------- */ 1353 /* ---- Extension Begins Here ---- */ 1354 /* ------------------------------- */ 1355 } 1356 1357 /* <=================================================> */ 1358 /* PER-Deleter for RedundancyEncodingMethod (CHOICE) */ 1359 /* <=================================================> */ Delete_RedundancyEncodingMethod(PS_RedundancyEncodingMethod x)1360void Delete_RedundancyEncodingMethod(PS_RedundancyEncodingMethod x) 1361 { 1362 switch (x->index) 1363 { 1364 case 0: 1365 Delete_NonStandardParameter(x->nonStandard); 1366 OSCL_DEFAULT_FREE(x->nonStandard); 1367 break; 1368 case 1: 1369 /* (rtpAudioRedundancyEncoding is NULL) */ 1370 break; 1371 /* ------------------------------- */ 1372 /* ---- Extension Begins Here ---- */ 1373 /* ------------------------------- */ 1374 case 2: 1375 Delete_RTPH263VideoRedundancyEncoding(x->rtpH263VideoRedundancyEncoding); 1376 OSCL_DEFAULT_FREE(x->rtpH263VideoRedundancyEncoding); 1377 break; 1378 default: 1379 ErrorMessage("Delete_RedundancyEncodingMethod: Illegal CHOICE index"); 1380 } 1381 } 1382 1383 /* <=========================================================> */ 1384 /* PER-Deleter for RTPH263VideoRedundancyEncoding (SEQUENCE) */ 1385 /* <=========================================================> */ Delete_RTPH263VideoRedundancyEncoding(PS_RTPH263VideoRedundancyEncoding x)1386void Delete_RTPH263VideoRedundancyEncoding(PS_RTPH263VideoRedundancyEncoding x) 1387 { 1388 Delete_FrameToThreadMapping(&x->frameToThreadMapping); 1389 if (x->option_of_containedThreads) 1390 { 1391 OSCL_DEFAULT_FREE(x->containedThreads); 1392 } 1393 /* ------------------------------- */ 1394 /* ---- Extension Begins Here ---- */ 1395 /* ------------------------------- */ 1396 } 1397 1398 /* <=============================================> */ 1399 /* PER-Deleter for FrameToThreadMapping (CHOICE) */ 1400 /* <=============================================> */ Delete_FrameToThreadMapping(PS_FrameToThreadMapping x)1401void Delete_FrameToThreadMapping(PS_FrameToThreadMapping x) 1402 { 1403 uint16 i; 1404 switch (x->index) 1405 { 1406 case 0: 1407 /* (roundrobin is NULL) */ 1408 break; 1409 case 1: 1410 for (i = 0; i < x->size; ++i) 1411 { 1412 Delete_RTPH263VideoRedundancyFrameMapping(x->custom + i); 1413 } 1414 OSCL_DEFAULT_FREE(x->custom); 1415 break; 1416 /* ------------------------------- */ 1417 /* ---- Extension Begins Here ---- */ 1418 /* ------------------------------- */ 1419 default: 1420 ErrorMessage("Delete_FrameToThreadMapping: Illegal CHOICE index"); 1421 } 1422 } 1423 1424 /* <=============================================================> */ 1425 /* PER-Deleter for RTPH263VideoRedundancyFrameMapping (SEQUENCE) */ 1426 /* <=============================================================> */ Delete_RTPH263VideoRedundancyFrameMapping(PS_RTPH263VideoRedundancyFrameMapping x)1427void Delete_RTPH263VideoRedundancyFrameMapping(PS_RTPH263VideoRedundancyFrameMapping x) 1428 { 1429 OSCL_DEFAULT_FREE(x->frameSequence); 1430 /* ------------------------------- */ 1431 /* ---- Extension Begins Here ---- */ 1432 /* ------------------------------- */ 1433 } 1434 1435 /* <===============================================> */ 1436 /* PER-Deleter for MultipointCapability (SEQUENCE) */ 1437 /* <===============================================> */ Delete_MultipointCapability(PS_MultipointCapability x)1438void Delete_MultipointCapability(PS_MultipointCapability x) 1439 { 1440 uint16 i = 0; 1441 for (i = 0; i < x->size_of_mediaDistributionCapability; ++i) 1442 { 1443 Delete_MediaDistributionCapability(x->mediaDistributionCapability + i); 1444 } 1445 OSCL_DEFAULT_FREE(x->mediaDistributionCapability); 1446 /* ------------------------------- */ 1447 /* ---- Extension Begins Here ---- */ 1448 /* ------------------------------- */ 1449 } 1450 1451 /* <======================================================> */ 1452 /* PER-Deleter for MediaDistributionCapability (SEQUENCE) */ 1453 /* <======================================================> */ Delete_MediaDistributionCapability(PS_MediaDistributionCapability x)1454void Delete_MediaDistributionCapability(PS_MediaDistributionCapability x) 1455 { 1456 uint16 i = 0; 1457 if (x->option_of_centralizedData) 1458 { 1459 for (i = 0; i < x->size_of_centralizedData; ++i) 1460 { 1461 Delete_DataApplicationCapability(x->centralizedData + i); 1462 } 1463 OSCL_DEFAULT_FREE(x->centralizedData); 1464 } 1465 if (x->option_of_distributedData) 1466 { 1467 for (i = 0; i < x->size_of_distributedData; ++i) 1468 { 1469 Delete_DataApplicationCapability(x->distributedData + i); 1470 } 1471 OSCL_DEFAULT_FREE(x->distributedData); 1472 } 1473 /* ------------------------------- */ 1474 /* ---- Extension Begins Here ---- */ 1475 /* ------------------------------- */ 1476 } 1477 1478 /* <========================================> */ 1479 /* PER-Deleter for VideoCapability (CHOICE) */ 1480 /* <========================================> */ Delete_VideoCapability(PS_VideoCapability x)1481void Delete_VideoCapability(PS_VideoCapability x) 1482 { 1483 switch (x->index) 1484 { 1485 case 0: 1486 Delete_NonStandardParameter(x->nonStandard); 1487 OSCL_DEFAULT_FREE(x->nonStandard); 1488 break; 1489 case 1: 1490 Delete_H261VideoCapability(x->h261VideoCapability); 1491 OSCL_DEFAULT_FREE(x->h261VideoCapability); 1492 break; 1493 case 2: 1494 Delete_H262VideoCapability(x->h262VideoCapability); 1495 OSCL_DEFAULT_FREE(x->h262VideoCapability); 1496 break; 1497 case 3: 1498 Delete_H263VideoCapability(x->h263VideoCapability); 1499 OSCL_DEFAULT_FREE(x->h263VideoCapability); 1500 break; 1501 case 4: 1502 Delete_IS11172VideoCapability(x->is11172VideoCapability); 1503 OSCL_DEFAULT_FREE(x->is11172VideoCapability); 1504 break; 1505 /* ------------------------------- */ 1506 /* ---- Extension Begins Here ---- */ 1507 /* ------------------------------- */ 1508 case 5: 1509 Delete_GenericCapability(x->genericVideoCapability); 1510 OSCL_DEFAULT_FREE(x->genericVideoCapability); 1511 break; 1512 default: 1513 ErrorMessage("Delete_VideoCapability: Illegal CHOICE index"); 1514 } 1515 } 1516 1517 /* <==============================================> */ 1518 /* PER-Deleter for H261VideoCapability (SEQUENCE) */ 1519 /* <==============================================> */ Delete_H261VideoCapability(PS_H261VideoCapability x)1520void Delete_H261VideoCapability(PS_H261VideoCapability x) 1521 { 1522 if (x->option_of_qcifMPI) 1523 { 1524 } 1525 if (x->option_of_cifMPI) 1526 { 1527 } 1528 /* ------------------------------- */ 1529 /* ---- Extension Begins Here ---- */ 1530 /* ------------------------------- */ 1531 } 1532 1533 /* <==============================================> */ 1534 /* PER-Deleter for H262VideoCapability (SEQUENCE) */ 1535 /* <==============================================> */ Delete_H262VideoCapability(PS_H262VideoCapability x)1536void Delete_H262VideoCapability(PS_H262VideoCapability x) 1537 { 1538 if (x->option_of_videoBitRate) 1539 { 1540 } 1541 if (x->option_of_vbvBufferSize) 1542 { 1543 } 1544 if (x->option_of_samplesPerLine) 1545 { 1546 } 1547 if (x->option_of_linesPerFrame) 1548 { 1549 } 1550 if (x->option_of_framesPerSecond) 1551 { 1552 } 1553 if (x->option_of_luminanceSampleRate) 1554 { 1555 } 1556 /* ------------------------------- */ 1557 /* ---- Extension Begins Here ---- */ 1558 /* ------------------------------- */ 1559 } 1560 1561 /* <==============================================> */ 1562 /* PER-Deleter for H263VideoCapability (SEQUENCE) */ 1563 /* <==============================================> */ Delete_H263VideoCapability(PS_H263VideoCapability x)1564void Delete_H263VideoCapability(PS_H263VideoCapability x) 1565 { 1566 uint32 extension; 1567 1568 extension = x->option_of_slowSqcifMPI | 1569 x->option_of_slowQcifMPI | 1570 x->option_of_slowCifMPI | 1571 x->option_of_slowCif4MPI | 1572 x->option_of_slowCif16MPI | 1573 x->option_of_errorCompensation | 1574 x->option_of_enhancementLayerInfo | 1575 x->option_of_h263Options; 1576 if (x->option_of_sqcifMPI) 1577 { 1578 } 1579 if (x->option_of_qcifMPI) 1580 { 1581 } 1582 if (x->option_of_cifMPI) 1583 { 1584 } 1585 if (x->option_of_cif4MPI) 1586 { 1587 } 1588 if (x->option_of_cif16MPI) 1589 { 1590 } 1591 if (x->option_of_hrd_B) 1592 { 1593 } 1594 if (x->option_of_bppMaxKb) 1595 { 1596 } 1597 /* ------------------------------- */ 1598 /* ---- Extension Begins Here ---- */ 1599 /* ------------------------------- */ 1600 if (!extension) return; /* (No items present?) */ 1601 if (x->option_of_slowSqcifMPI) 1602 { 1603 } 1604 if (x->option_of_slowQcifMPI) 1605 { 1606 } 1607 if (x->option_of_slowCifMPI) 1608 { 1609 } 1610 if (x->option_of_slowCif4MPI) 1611 { 1612 } 1613 if (x->option_of_slowCif16MPI) 1614 { 1615 } 1616 if (x->option_of_errorCompensation) 1617 { 1618 } 1619 if (x->option_of_enhancementLayerInfo) 1620 { 1621 Delete_EnhancementLayerInfo(&x->enhancementLayerInfo); 1622 } 1623 if (x->option_of_h263Options) 1624 { 1625 Delete_H263Options(&x->h263Options); 1626 } 1627 } 1628 1629 /* <===============================================> */ 1630 /* PER-Deleter for EnhancementLayerInfo (SEQUENCE) */ 1631 /* <===============================================> */ Delete_EnhancementLayerInfo(PS_EnhancementLayerInfo x)1632void Delete_EnhancementLayerInfo(PS_EnhancementLayerInfo x) 1633 { 1634 uint16 i = 0; 1635 if (x->option_of_snrEnhancement) 1636 { 1637 for (i = 0; i < x->size_of_snrEnhancement; ++i) 1638 { 1639 Delete_EnhancementOptions(x->snrEnhancement + i); 1640 } 1641 OSCL_DEFAULT_FREE(x->snrEnhancement); 1642 } 1643 if (x->option_of_spatialEnhancement) 1644 { 1645 for (i = 0; i < x->size_of_spatialEnhancement; ++i) 1646 { 1647 Delete_EnhancementOptions(x->spatialEnhancement + i); 1648 } 1649 OSCL_DEFAULT_FREE(x->spatialEnhancement); 1650 } 1651 if (x->option_of_bPictureEnhancement) 1652 { 1653 for (i = 0; i < x->size_of_bPictureEnhancement; ++i) 1654 { 1655 Delete_BEnhancementParameters(x->bPictureEnhancement + i); 1656 } 1657 OSCL_DEFAULT_FREE(x->bPictureEnhancement); 1658 } 1659 /* ------------------------------- */ 1660 /* ---- Extension Begins Here ---- */ 1661 /* ------------------------------- */ 1662 } 1663 1664 /* <=================================================> */ 1665 /* PER-Deleter for BEnhancementParameters (SEQUENCE) */ 1666 /* <=================================================> */ Delete_BEnhancementParameters(PS_BEnhancementParameters x)1667void Delete_BEnhancementParameters(PS_BEnhancementParameters x) 1668 { 1669 Delete_EnhancementOptions(&x->enhancementOptions); 1670 /* ------------------------------- */ 1671 /* ---- Extension Begins Here ---- */ 1672 /* ------------------------------- */ 1673 } 1674 1675 /* <=============================================> */ 1676 /* PER-Deleter for EnhancementOptions (SEQUENCE) */ 1677 /* <=============================================> */ Delete_EnhancementOptions(PS_EnhancementOptions x)1678void Delete_EnhancementOptions(PS_EnhancementOptions x) 1679 { 1680 if (x->option_of_sqcifMPI) 1681 { 1682 } 1683 if (x->option_of_qcifMPI) 1684 { 1685 } 1686 if (x->option_of_cifMPI) 1687 { 1688 } 1689 if (x->option_of_cif4MPI) 1690 { 1691 } 1692 if (x->option_of_cif16MPI) 1693 { 1694 } 1695 if (x->option_of_slowSqcifMPI) 1696 { 1697 } 1698 if (x->option_of_slowQcifMPI) 1699 { 1700 } 1701 if (x->option_of_slowCifMPI) 1702 { 1703 } 1704 if (x->option_of_slowCif4MPI) 1705 { 1706 } 1707 if (x->option_of_slowCif16MPI) 1708 { 1709 } 1710 if (x->option_of_h263Options) 1711 { 1712 Delete_H263Options(&x->h263Options); 1713 } 1714 /* ------------------------------- */ 1715 /* ---- Extension Begins Here ---- */ 1716 /* ------------------------------- */ 1717 } 1718 1719 /* <======================================> */ 1720 /* PER-Deleter for H263Options (SEQUENCE) */ 1721 /* <======================================> */ Delete_H263Options(PS_H263Options x)1722void Delete_H263Options(PS_H263Options x) 1723 { 1724 uint16 i = 0; 1725 if (x->option_of_transparencyParameters) 1726 { 1727 Delete_TransparencyParameters(&x->transparencyParameters); 1728 } 1729 if (x->option_of_refPictureSelection) 1730 { 1731 Delete_RefPictureSelection(&x->refPictureSelection); 1732 } 1733 if (x->option_of_customPictureClockFrequency) 1734 { 1735 for (i = 0; i < x->size_of_customPictureClockFrequency; ++i) 1736 { 1737 Delete_CustomPictureClockFrequency(x->customPictureClockFrequency + i); 1738 } 1739 OSCL_DEFAULT_FREE(x->customPictureClockFrequency); 1740 } 1741 if (x->option_of_customPictureFormat) 1742 { 1743 for (i = 0; i < x->size_of_customPictureFormat; ++i) 1744 { 1745 Delete_CustomPictureFormat(x->customPictureFormat + i); 1746 } 1747 OSCL_DEFAULT_FREE(x->customPictureFormat); 1748 } 1749 if (x->option_of_modeCombos) 1750 { 1751 for (i = 0; i < x->size_of_modeCombos; ++i) 1752 { 1753 Delete_H263VideoModeCombos(x->modeCombos + i); 1754 } 1755 OSCL_DEFAULT_FREE(x->modeCombos); 1756 } 1757 /* ------------------------------- */ 1758 /* ---- Extension Begins Here ---- */ 1759 /* ------------------------------- */ 1760 } 1761 1762 /* <=================================================> */ 1763 /* PER-Deleter for TransparencyParameters (SEQUENCE) */ 1764 /* <=================================================> */ Delete_TransparencyParameters(PS_TransparencyParameters x)1765void Delete_TransparencyParameters(PS_TransparencyParameters x) 1766 { 1767 OSCL_UNUSED_ARG(x); 1768 /* ------------------------------- */ 1769 /* ---- Extension Begins Here ---- */ 1770 /* ------------------------------- */ 1771 } 1772 1773 /* <==============================================> */ 1774 /* PER-Deleter for RefPictureSelection (SEQUENCE) */ 1775 /* <==============================================> */ Delete_RefPictureSelection(PS_RefPictureSelection x)1776void Delete_RefPictureSelection(PS_RefPictureSelection x) 1777 { 1778 if (x->option_of_additionalPictureMemory) 1779 { 1780 Delete_AdditionalPictureMemory(&x->additionalPictureMemory); 1781 } 1782 Delete_VideoBackChannelSend(&x->videoBackChannelSend); 1783 /* ------------------------------- */ 1784 /* ---- Extension Begins Here ---- */ 1785 /* ------------------------------- */ 1786 } 1787 1788 /* <=============================================> */ 1789 /* PER-Deleter for VideoBackChannelSend (CHOICE) */ 1790 /* <=============================================> */ Delete_VideoBackChannelSend(PS_VideoBackChannelSend x)1791void Delete_VideoBackChannelSend(PS_VideoBackChannelSend x) 1792 { 1793 switch (x->index) 1794 { 1795 case 0: 1796 /* (none is NULL) */ 1797 break; 1798 case 1: 1799 /* (ackMessageOnly is NULL) */ 1800 break; 1801 case 2: 1802 /* (nackMessageOnly is NULL) */ 1803 break; 1804 case 3: 1805 /* (ackOrNackMessageOnly is NULL) */ 1806 break; 1807 case 4: 1808 /* (ackAndNackMessage is NULL) */ 1809 break; 1810 /* ------------------------------- */ 1811 /* ---- Extension Begins Here ---- */ 1812 /* ------------------------------- */ 1813 default: 1814 ErrorMessage("Delete_VideoBackChannelSend: Illegal CHOICE index"); 1815 } 1816 } 1817 1818 /* <==================================================> */ 1819 /* PER-Deleter for AdditionalPictureMemory (SEQUENCE) */ 1820 /* <==================================================> */ Delete_AdditionalPictureMemory(PS_AdditionalPictureMemory x)1821void Delete_AdditionalPictureMemory(PS_AdditionalPictureMemory x) 1822 { 1823 if (x->option_of_sqcifAdditionalPictureMemory) 1824 { 1825 } 1826 if (x->option_of_qcifAdditionalPictureMemory) 1827 { 1828 } 1829 if (x->option_of_cifAdditionalPictureMemory) 1830 { 1831 } 1832 if (x->option_of_cif4AdditionalPictureMemory) 1833 { 1834 } 1835 if (x->option_of_cif16AdditionalPictureMemory) 1836 { 1837 } 1838 if (x->option_of_bigCpfAdditionalPictureMemory) 1839 { 1840 } 1841 /* ------------------------------- */ 1842 /* ---- Extension Begins Here ---- */ 1843 /* ------------------------------- */ 1844 } 1845 1846 /* <======================================================> */ 1847 /* PER-Deleter for CustomPictureClockFrequency (SEQUENCE) */ 1848 /* <======================================================> */ Delete_CustomPictureClockFrequency(PS_CustomPictureClockFrequency x)1849void Delete_CustomPictureClockFrequency(PS_CustomPictureClockFrequency x) 1850 { 1851 if (x->option_of_sqcifMPI) 1852 { 1853 } 1854 if (x->option_of_qcifMPI) 1855 { 1856 } 1857 if (x->option_of_cifMPI) 1858 { 1859 } 1860 if (x->option_of_cif4MPI) 1861 { 1862 } 1863 if (x->option_of_cif16MPI) 1864 { 1865 } 1866 /* ------------------------------- */ 1867 /* ---- Extension Begins Here ---- */ 1868 /* ------------------------------- */ 1869 } 1870 1871 /* <==============================================> */ 1872 /* PER-Deleter for CustomPictureFormat (SEQUENCE) */ 1873 /* <==============================================> */ Delete_CustomPictureFormat(PS_CustomPictureFormat x)1874void Delete_CustomPictureFormat(PS_CustomPictureFormat x) 1875 { 1876 Delete_MPI(&x->mPI); 1877 Delete_PixelAspectInformation(&x->pixelAspectInformation); 1878 /* ------------------------------- */ 1879 /* ---- Extension Begins Here ---- */ 1880 /* ------------------------------- */ 1881 } 1882 1883 /* <===============================================> */ 1884 /* PER-Deleter for PixelAspectInformation (CHOICE) */ 1885 /* <===============================================> */ Delete_PixelAspectInformation(PS_PixelAspectInformation x)1886void Delete_PixelAspectInformation(PS_PixelAspectInformation x) 1887 { 1888 uint16 i; 1889 switch (x->index) 1890 { 1891 case 0: 1892 break; 1893 case 1: 1894 OSCL_DEFAULT_FREE(x->pixelAspectCode); 1895 break; 1896 case 2: 1897 for (i = 0; i < x->size; ++i) 1898 { 1899 Delete_ExtendedPARItem(x->extendedPAR + i); 1900 } 1901 OSCL_DEFAULT_FREE(x->extendedPAR); 1902 break; 1903 /* ------------------------------- */ 1904 /* ---- Extension Begins Here ---- */ 1905 /* ------------------------------- */ 1906 default: 1907 ErrorMessage("Delete_PixelAspectInformation: Illegal CHOICE index"); 1908 } 1909 } 1910 1911 /* <==========================================> */ 1912 /* PER-Deleter for ExtendedPARItem (SEQUENCE) */ 1913 /* <==========================================> */ Delete_ExtendedPARItem(PS_ExtendedPARItem x)1914void Delete_ExtendedPARItem(PS_ExtendedPARItem x) 1915 { 1916 OSCL_UNUSED_ARG(x); 1917 /* ------------------------------- */ 1918 /* ---- Extension Begins Here ---- */ 1919 /* ------------------------------- */ 1920 } 1921 1922 /* <==============================> */ 1923 /* PER-Deleter for MPI (SEQUENCE) */ 1924 /* <==============================> */ Delete_MPI(PS_MPI x)1925void Delete_MPI(PS_MPI x) 1926 { 1927 uint16 i = 0; 1928 if (x->option_of_standardMPI) 1929 { 1930 } 1931 if (x->option_of_customPCF) 1932 { 1933 for (i = 0; i < x->size_of_customPCF; ++i) 1934 { 1935 Delete_CustomPCFItem(x->customPCF + i); 1936 } 1937 OSCL_DEFAULT_FREE(x->customPCF); 1938 } 1939 /* ------------------------------- */ 1940 /* ---- Extension Begins Here ---- */ 1941 /* ------------------------------- */ 1942 } 1943 1944 /* <========================================> */ 1945 /* PER-Deleter for CustomPCFItem (SEQUENCE) */ 1946 /* <========================================> */ Delete_CustomPCFItem(PS_CustomPCFItem x)1947void Delete_CustomPCFItem(PS_CustomPCFItem x) 1948 { 1949 OSCL_UNUSED_ARG(x); 1950 /* ------------------------------- */ 1951 /* ---- Extension Begins Here ---- */ 1952 /* ------------------------------- */ 1953 } 1954 1955 /* <==============================================> */ 1956 /* PER-Deleter for H263VideoModeCombos (SEQUENCE) */ 1957 /* <==============================================> */ Delete_H263VideoModeCombos(PS_H263VideoModeCombos x)1958void Delete_H263VideoModeCombos(PS_H263VideoModeCombos x) 1959 { 1960 uint16 i = 0; 1961 Delete_H263ModeComboFlags(&x->h263VideoUncoupledModes); 1962 for (i = 0; i < x->size_of_h263VideoCoupledModes; ++i) 1963 { 1964 Delete_H263ModeComboFlags(x->h263VideoCoupledModes + i); 1965 } 1966 OSCL_DEFAULT_FREE(x->h263VideoCoupledModes); 1967 /* ------------------------------- */ 1968 /* ---- Extension Begins Here ---- */ 1969 /* ------------------------------- */ 1970 } 1971 1972 /* <=============================================> */ 1973 /* PER-Deleter for H263ModeComboFlags (SEQUENCE) */ 1974 /* <=============================================> */ Delete_H263ModeComboFlags(PS_H263ModeComboFlags x)1975void Delete_H263ModeComboFlags(PS_H263ModeComboFlags x) 1976 { 1977 OSCL_UNUSED_ARG(x); 1978 /* ------------------------------- */ 1979 /* ---- Extension Begins Here ---- */ 1980 /* ------------------------------- */ 1981 } 1982 1983 /* <=================================================> */ 1984 /* PER-Deleter for IS11172VideoCapability (SEQUENCE) */ 1985 /* <=================================================> */ Delete_IS11172VideoCapability(PS_IS11172VideoCapability x)1986void Delete_IS11172VideoCapability(PS_IS11172VideoCapability x) 1987 { 1988 if (x->option_of_videoBitRate) 1989 { 1990 } 1991 if (x->option_of_vbvBufferSize) 1992 { 1993 } 1994 if (x->option_of_samplesPerLine) 1995 { 1996 } 1997 if (x->option_of_linesPerFrame) 1998 { 1999 } 2000 if (x->option_of_pictureRate) 2001 { 2002 } 2003 if (x->option_of_luminanceSampleRate) 2004 { 2005 } 2006 /* ------------------------------- */ 2007 /* ---- Extension Begins Here ---- */ 2008 /* ------------------------------- */ 2009 } 2010 2011 /* <========================================> */ 2012 /* PER-Deleter for AudioCapability (CHOICE) */ 2013 /* <========================================> */ Delete_AudioCapability(PS_AudioCapability x)2014void Delete_AudioCapability(PS_AudioCapability x) 2015 { 2016 switch (x->index) 2017 { 2018 case 0: 2019 Delete_NonStandardParameter(x->nonStandard); 2020 OSCL_DEFAULT_FREE(x->nonStandard); 2021 break; 2022 case 1: 2023 break; 2024 case 2: 2025 break; 2026 case 3: 2027 break; 2028 case 4: 2029 break; 2030 case 5: 2031 break; 2032 case 6: 2033 break; 2034 case 7: 2035 break; 2036 case 8: 2037 Delete_G7231(x->g7231); 2038 OSCL_DEFAULT_FREE(x->g7231); 2039 break; 2040 case 9: 2041 break; 2042 case 10: 2043 break; 2044 case 11: 2045 break; 2046 case 12: 2047 Delete_IS11172AudioCapability(x->is11172AudioCapability); 2048 OSCL_DEFAULT_FREE(x->is11172AudioCapability); 2049 break; 2050 case 13: 2051 Delete_IS13818AudioCapability(x->is13818AudioCapability); 2052 OSCL_DEFAULT_FREE(x->is13818AudioCapability); 2053 break; 2054 /* ------------------------------- */ 2055 /* ---- Extension Begins Here ---- */ 2056 /* ------------------------------- */ 2057 case 14: 2058 break; 2059 case 15: 2060 break; 2061 case 16: 2062 Delete_G7231AnnexCCapability(x->g7231AnnexCCapability); 2063 OSCL_DEFAULT_FREE(x->g7231AnnexCCapability); 2064 break; 2065 case 17: 2066 Delete_GSMAudioCapability(x->gsmFullRate); 2067 OSCL_DEFAULT_FREE(x->gsmFullRate); 2068 break; 2069 case 18: 2070 Delete_GSMAudioCapability(x->gsmHalfRate); 2071 OSCL_DEFAULT_FREE(x->gsmHalfRate); 2072 break; 2073 case 19: 2074 Delete_GSMAudioCapability(x->gsmEnhancedFullRate); 2075 OSCL_DEFAULT_FREE(x->gsmEnhancedFullRate); 2076 break; 2077 case 20: 2078 Delete_GenericCapability(x->genericAudioCapability); 2079 OSCL_DEFAULT_FREE(x->genericAudioCapability); 2080 break; 2081 case 21: 2082 Delete_G729Extensions(x->g729Extensions); 2083 OSCL_DEFAULT_FREE(x->g729Extensions); 2084 break; 2085 default: 2086 ErrorMessage("Delete_AudioCapability: Illegal CHOICE index"); 2087 } 2088 } 2089 2090 /* <================================> */ 2091 /* PER-Deleter for G7231 (SEQUENCE) */ 2092 /* <================================> */ Delete_G7231(PS_G7231 x)2093void Delete_G7231(PS_G7231 x) 2094 { 2095 OSCL_UNUSED_ARG(x); 2096 } 2097 2098 /* <=========================================> */ 2099 /* PER-Deleter for G729Extensions (SEQUENCE) */ 2100 /* <=========================================> */ Delete_G729Extensions(PS_G729Extensions x)2101void Delete_G729Extensions(PS_G729Extensions x) 2102 { 2103 if (x->option_of_audioUnit) 2104 { 2105 } 2106 /* ------------------------------- */ 2107 /* ---- Extension Begins Here ---- */ 2108 /* ------------------------------- */ 2109 } 2110 2111 /* <================================================> */ 2112 /* PER-Deleter for G7231AnnexCCapability (SEQUENCE) */ 2113 /* <================================================> */ Delete_G7231AnnexCCapability(PS_G7231AnnexCCapability x)2114void Delete_G7231AnnexCCapability(PS_G7231AnnexCCapability x) 2115 { 2116 if (x->option_of_g723AnnexCAudioMode) 2117 { 2118 Delete_G723AnnexCAudioMode(&x->g723AnnexCAudioMode); 2119 } 2120 /* ------------------------------- */ 2121 /* ---- Extension Begins Here ---- */ 2122 /* ------------------------------- */ 2123 } 2124 2125 /* <==============================================> */ 2126 /* PER-Deleter for G723AnnexCAudioMode (SEQUENCE) */ 2127 /* <==============================================> */ Delete_G723AnnexCAudioMode(PS_G723AnnexCAudioMode x)2128void Delete_G723AnnexCAudioMode(PS_G723AnnexCAudioMode x) 2129 { 2130 OSCL_UNUSED_ARG(x); 2131 /* ------------------------------- */ 2132 /* ---- Extension Begins Here ---- */ 2133 /* ------------------------------- */ 2134 } 2135 2136 /* <=================================================> */ 2137 /* PER-Deleter for IS11172AudioCapability (SEQUENCE) */ 2138 /* <=================================================> */ Delete_IS11172AudioCapability(PS_IS11172AudioCapability x)2139void Delete_IS11172AudioCapability(PS_IS11172AudioCapability x) 2140 { 2141 OSCL_UNUSED_ARG(x); 2142 /* ------------------------------- */ 2143 /* ---- Extension Begins Here ---- */ 2144 /* ------------------------------- */ 2145 } 2146 2147 /* <=================================================> */ 2148 /* PER-Deleter for IS13818AudioCapability (SEQUENCE) */ 2149 /* <=================================================> */ Delete_IS13818AudioCapability(PS_IS13818AudioCapability x)2150void Delete_IS13818AudioCapability(PS_IS13818AudioCapability x) 2151 { 2152 OSCL_UNUSED_ARG(x); 2153 /* ------------------------------- */ 2154 /* ---- Extension Begins Here ---- */ 2155 /* ------------------------------- */ 2156 } 2157 2158 /* <=============================================> */ 2159 /* PER-Deleter for GSMAudioCapability (SEQUENCE) */ 2160 /* <=============================================> */ Delete_GSMAudioCapability(PS_GSMAudioCapability x)2161void Delete_GSMAudioCapability(PS_GSMAudioCapability x) 2162 { 2163 OSCL_UNUSED_ARG(x); 2164 /* ------------------------------- */ 2165 /* ---- Extension Begins Here ---- */ 2166 /* ------------------------------- */ 2167 } 2168 2169 /* <====================================================> */ 2170 /* PER-Deleter for DataApplicationCapability (SEQUENCE) */ 2171 /* <====================================================> */ Delete_DataApplicationCapability(PS_DataApplicationCapability x)2172void Delete_DataApplicationCapability(PS_DataApplicationCapability x) 2173 { 2174 Delete_Application(&x->application); 2175 /* ------------------------------- */ 2176 /* ---- Extension Begins Here ---- */ 2177 /* ------------------------------- */ 2178 } 2179 2180 /* <====================================> */ 2181 /* PER-Deleter for Application (CHOICE) */ 2182 /* <====================================> */ Delete_Application(PS_Application x)2183void Delete_Application(PS_Application x) 2184 { 2185 switch (x->index) 2186 { 2187 case 0: 2188 Delete_NonStandardParameter(x->nonStandard); 2189 OSCL_DEFAULT_FREE(x->nonStandard); 2190 break; 2191 case 1: 2192 Delete_DataProtocolCapability(x->t120); 2193 OSCL_DEFAULT_FREE(x->t120); 2194 break; 2195 case 2: 2196 Delete_DataProtocolCapability(x->dsm_cc); 2197 OSCL_DEFAULT_FREE(x->dsm_cc); 2198 break; 2199 case 3: 2200 Delete_DataProtocolCapability(x->userData); 2201 OSCL_DEFAULT_FREE(x->userData); 2202 break; 2203 case 4: 2204 Delete_T84(x->t84); 2205 OSCL_DEFAULT_FREE(x->t84); 2206 break; 2207 case 5: 2208 Delete_DataProtocolCapability(x->t434); 2209 OSCL_DEFAULT_FREE(x->t434); 2210 break; 2211 case 6: 2212 Delete_DataProtocolCapability(x->h224); 2213 OSCL_DEFAULT_FREE(x->h224); 2214 break; 2215 case 7: 2216 Delete_Nlpid(x->nlpid); 2217 OSCL_DEFAULT_FREE(x->nlpid); 2218 break; 2219 case 8: 2220 /* (dsvdControl is NULL) */ 2221 break; 2222 case 9: 2223 Delete_DataProtocolCapability(x->h222DataPartitioning); 2224 OSCL_DEFAULT_FREE(x->h222DataPartitioning); 2225 break; 2226 /* ------------------------------- */ 2227 /* ---- Extension Begins Here ---- */ 2228 /* ------------------------------- */ 2229 case 10: 2230 Delete_DataProtocolCapability(x->t30fax); 2231 OSCL_DEFAULT_FREE(x->t30fax); 2232 break; 2233 case 11: 2234 Delete_DataProtocolCapability(x->t140); 2235 OSCL_DEFAULT_FREE(x->t140); 2236 break; 2237 case 12: 2238 Delete_T38fax(x->t38fax); 2239 OSCL_DEFAULT_FREE(x->t38fax); 2240 break; 2241 case 13: 2242 Delete_GenericCapability(x->genericDataCapability); 2243 OSCL_DEFAULT_FREE(x->genericDataCapability); 2244 break; 2245 default: 2246 ErrorMessage("Delete_Application: Illegal CHOICE index"); 2247 } 2248 } 2249 2250 /* <=================================> */ 2251 /* PER-Deleter for T38fax (SEQUENCE) */ 2252 /* <=================================> */ Delete_T38fax(PS_T38fax x)2253void Delete_T38fax(PS_T38fax x) 2254 { 2255 Delete_DataProtocolCapability(&x->t38FaxProtocol); 2256 Delete_T38FaxProfile(&x->t38FaxProfile); 2257 } 2258 2259 /* <================================> */ 2260 /* PER-Deleter for Nlpid (SEQUENCE) */ 2261 /* <================================> */ Delete_Nlpid(PS_Nlpid x)2262void Delete_Nlpid(PS_Nlpid x) 2263 { 2264 if (x->nlpidData.size > 0) OSCL_DEFAULT_FREE(x->nlpidData.data); 2265 Delete_DataProtocolCapability(&x->nlpidProtocol); 2266 } 2267 2268 /* <==============================> */ 2269 /* PER-Deleter for T84 (SEQUENCE) */ 2270 /* <==============================> */ Delete_T84(PS_T84 x)2271void Delete_T84(PS_T84 x) 2272 { 2273 Delete_DataProtocolCapability(&x->t84Protocol); 2274 Delete_T84Profile(&x->t84Profile); 2275 } 2276 2277 /* <===============================================> */ 2278 /* PER-Deleter for DataProtocolCapability (CHOICE) */ 2279 /* <===============================================> */ Delete_DataProtocolCapability(PS_DataProtocolCapability x)2280void Delete_DataProtocolCapability(PS_DataProtocolCapability x) 2281 { 2282 switch (x->index) 2283 { 2284 case 0: 2285 Delete_NonStandardParameter(x->nonStandard); 2286 OSCL_DEFAULT_FREE(x->nonStandard); 2287 break; 2288 case 1: 2289 /* (v14buffered is NULL) */ 2290 break; 2291 case 2: 2292 /* (v42lapm is NULL) */ 2293 break; 2294 case 3: 2295 /* (hdlcFrameTunnelling is NULL) */ 2296 break; 2297 case 4: 2298 /* (h310SeparateVCStack is NULL) */ 2299 break; 2300 case 5: 2301 /* (h310SingleVCStack is NULL) */ 2302 break; 2303 case 6: 2304 /* (transparent is NULL) */ 2305 break; 2306 /* ------------------------------- */ 2307 /* ---- Extension Begins Here ---- */ 2308 /* ------------------------------- */ 2309 case 7: 2310 break; 2311 case 8: 2312 break; 2313 case 9: 2314 break; 2315 case 10: 2316 break; 2317 case 11: 2318 Delete_V76wCompression(x->v76wCompression); 2319 OSCL_DEFAULT_FREE(x->v76wCompression); 2320 break; 2321 case 12: 2322 break; 2323 case 13: 2324 break; 2325 default: 2326 ErrorMessage("Delete_DataProtocolCapability: Illegal CHOICE index"); 2327 } 2328 } 2329 2330 /* <========================================> */ 2331 /* PER-Deleter for V76wCompression (CHOICE) */ 2332 /* <========================================> */ Delete_V76wCompression(PS_V76wCompression x)2333void Delete_V76wCompression(PS_V76wCompression x) 2334 { 2335 switch (x->index) 2336 { 2337 case 0: 2338 Delete_CompressionType(x->transmitCompression); 2339 OSCL_DEFAULT_FREE(x->transmitCompression); 2340 break; 2341 case 1: 2342 Delete_CompressionType(x->receiveCompression); 2343 OSCL_DEFAULT_FREE(x->receiveCompression); 2344 break; 2345 case 2: 2346 Delete_CompressionType(x->transmitAndReceiveCompression); 2347 OSCL_DEFAULT_FREE(x->transmitAndReceiveCompression); 2348 break; 2349 /* ------------------------------- */ 2350 /* ---- Extension Begins Here ---- */ 2351 /* ------------------------------- */ 2352 default: 2353 ErrorMessage("Delete_V76wCompression: Illegal CHOICE index"); 2354 } 2355 } 2356 2357 /* <========================================> */ 2358 /* PER-Deleter for CompressionType (CHOICE) */ 2359 /* <========================================> */ Delete_CompressionType(PS_CompressionType x)2360void Delete_CompressionType(PS_CompressionType x) 2361 { 2362 switch (x->index) 2363 { 2364 case 0: 2365 Delete_V42bis(x->v42bis); 2366 OSCL_DEFAULT_FREE(x->v42bis); 2367 break; 2368 /* ------------------------------- */ 2369 /* ---- Extension Begins Here ---- */ 2370 /* ------------------------------- */ 2371 default: 2372 ErrorMessage("Delete_CompressionType: Illegal CHOICE index"); 2373 } 2374 } 2375 2376 /* <=================================> */ 2377 /* PER-Deleter for V42bis (SEQUENCE) */ 2378 /* <=================================> */ Delete_V42bis(PS_V42bis x)2379void Delete_V42bis(PS_V42bis x) 2380 { 2381 OSCL_UNUSED_ARG(x); 2382 /* ------------------------------- */ 2383 /* ---- Extension Begins Here ---- */ 2384 /* ------------------------------- */ 2385 } 2386 2387 /* <===================================> */ 2388 /* PER-Deleter for T84Profile (CHOICE) */ 2389 /* <===================================> */ Delete_T84Profile(PS_T84Profile x)2390void Delete_T84Profile(PS_T84Profile x) 2391 { 2392 switch (x->index) 2393 { 2394 case 0: 2395 /* (t84Unrestricted is NULL) */ 2396 break; 2397 case 1: 2398 Delete_T84Restricted(x->t84Restricted); 2399 OSCL_DEFAULT_FREE(x->t84Restricted); 2400 break; 2401 default: 2402 ErrorMessage("Delete_T84Profile: Illegal CHOICE index"); 2403 } 2404 } 2405 2406 /* <========================================> */ 2407 /* PER-Deleter for T84Restricted (SEQUENCE) */ 2408 /* <========================================> */ Delete_T84Restricted(PS_T84Restricted x)2409void Delete_T84Restricted(PS_T84Restricted x) 2410 { 2411 OSCL_UNUSED_ARG(x); 2412 /* ------------------------------- */ 2413 /* ---- Extension Begins Here ---- */ 2414 /* ------------------------------- */ 2415 } 2416 2417 /* <========================================> */ 2418 /* PER-Deleter for T38FaxProfile (SEQUENCE) */ 2419 /* <========================================> */ Delete_T38FaxProfile(PS_T38FaxProfile x)2420void Delete_T38FaxProfile(PS_T38FaxProfile x) 2421 { 2422 uint32 extension; 2423 2424 extension = x->option_of_version | 2425 x->option_of_t38FaxRateManagement | 2426 x->option_of_t38FaxUdpOptions; 2427 /* ------------------------------- */ 2428 /* ---- Extension Begins Here ---- */ 2429 /* ------------------------------- */ 2430 if (!extension) return; /* (No items present?) */ 2431 if (x->option_of_version) 2432 { 2433 } 2434 if (x->option_of_t38FaxRateManagement) 2435 { 2436 Delete_T38FaxRateManagement(&x->t38FaxRateManagement); 2437 } 2438 if (x->option_of_t38FaxUdpOptions) 2439 { 2440 Delete_T38FaxUdpOptions(&x->t38FaxUdpOptions); 2441 } 2442 } 2443 2444 /* <=============================================> */ 2445 /* PER-Deleter for T38FaxRateManagement (CHOICE) */ 2446 /* <=============================================> */ Delete_T38FaxRateManagement(PS_T38FaxRateManagement x)2447void Delete_T38FaxRateManagement(PS_T38FaxRateManagement x) 2448 { 2449 switch (x->index) 2450 { 2451 case 0: 2452 /* (localTCF is NULL) */ 2453 break; 2454 case 1: 2455 /* (transferredTCF is NULL) */ 2456 break; 2457 /* ------------------------------- */ 2458 /* ---- Extension Begins Here ---- */ 2459 /* ------------------------------- */ 2460 default: 2461 ErrorMessage("Delete_T38FaxRateManagement: Illegal CHOICE index"); 2462 } 2463 } 2464 2465 /* <===========================================> */ 2466 /* PER-Deleter for T38FaxUdpOptions (SEQUENCE) */ 2467 /* <===========================================> */ Delete_T38FaxUdpOptions(PS_T38FaxUdpOptions x)2468void Delete_T38FaxUdpOptions(PS_T38FaxUdpOptions x) 2469 { 2470 if (x->option_of_t38FaxMaxBuffer) 2471 { 2472 } 2473 if (x->option_of_t38FaxMaxDatagram) 2474 { 2475 } 2476 Delete_T38FaxUdpEC(&x->t38FaxUdpEC); 2477 } 2478 2479 /* <====================================> */ 2480 /* PER-Deleter for T38FaxUdpEC (CHOICE) */ 2481 /* <====================================> */ Delete_T38FaxUdpEC(PS_T38FaxUdpEC x)2482void Delete_T38FaxUdpEC(PS_T38FaxUdpEC x) 2483 { 2484 switch (x->index) 2485 { 2486 case 0: 2487 /* (t38UDPFEC is NULL) */ 2488 break; 2489 case 1: 2490 /* (t38UDPRedundancy is NULL) */ 2491 break; 2492 /* ------------------------------- */ 2493 /* ---- Extension Begins Here ---- */ 2494 /* ------------------------------- */ 2495 default: 2496 ErrorMessage("Delete_T38FaxUdpEC: Illegal CHOICE index"); 2497 } 2498 } 2499 2500 /* <===============================================================> */ 2501 /* PER-Deleter for EncryptionAuthenticationAndIntegrity (SEQUENCE) */ 2502 /* <===============================================================> */ Delete_EncryptionAuthenticationAndIntegrity(PS_EncryptionAuthenticationAndIntegrity x)2503void Delete_EncryptionAuthenticationAndIntegrity(PS_EncryptionAuthenticationAndIntegrity x) 2504 { 2505 if (x->option_of_encryptionCapability) 2506 { 2507 Delete_EncryptionCapability(&x->encryptionCapability); 2508 } 2509 if (x->option_of_authenticationCapability) 2510 { 2511 Delete_AuthenticationCapability(&x->authenticationCapability); 2512 } 2513 if (x->option_of_integrityCapability) 2514 { 2515 Delete_IntegrityCapability(&x->integrityCapability); 2516 } 2517 /* ------------------------------- */ 2518 /* ---- Extension Begins Here ---- */ 2519 /* ------------------------------- */ 2520 } 2521 2522 /* <==================================================> */ 2523 /* PER-Deleter for EncryptionCapability (SEQUENCE-OF) */ 2524 /* <==================================================> */ Delete_EncryptionCapability(PS_EncryptionCapability x)2525void Delete_EncryptionCapability(PS_EncryptionCapability x) 2526 { 2527 uint16 i; 2528 for (i = 0; i < x->size; ++i) 2529 { 2530 Delete_MediaEncryptionAlgorithm(x->item + i); 2531 } 2532 OSCL_DEFAULT_FREE(x->item); 2533 } 2534 2535 /* <=================================================> */ 2536 /* PER-Deleter for MediaEncryptionAlgorithm (CHOICE) */ 2537 /* <=================================================> */ Delete_MediaEncryptionAlgorithm(PS_MediaEncryptionAlgorithm x)2538void Delete_MediaEncryptionAlgorithm(PS_MediaEncryptionAlgorithm x) 2539 { 2540 switch (x->index) 2541 { 2542 case 0: 2543 Delete_NonStandardParameter(x->nonStandard); 2544 OSCL_DEFAULT_FREE(x->nonStandard); 2545 break; 2546 case 1: 2547 FreeObjectID(x->algorithm); 2548 break; 2549 /* ------------------------------- */ 2550 /* ---- Extension Begins Here ---- */ 2551 /* ------------------------------- */ 2552 default: 2553 ErrorMessage("Delete_MediaEncryptionAlgorithm: Illegal CHOICE index"); 2554 } 2555 } 2556 2557 /* <===================================================> */ 2558 /* PER-Deleter for AuthenticationCapability (SEQUENCE) */ 2559 /* <===================================================> */ Delete_AuthenticationCapability(PS_AuthenticationCapability x)2560void Delete_AuthenticationCapability(PS_AuthenticationCapability x) 2561 { 2562 if (x->option_of_nonStandard) 2563 { 2564 Delete_NonStandardParameter(&x->nonStandard); 2565 } 2566 /* ------------------------------- */ 2567 /* ---- Extension Begins Here ---- */ 2568 /* ------------------------------- */ 2569 } 2570 2571 /* <==============================================> */ 2572 /* PER-Deleter for IntegrityCapability (SEQUENCE) */ 2573 /* <==============================================> */ Delete_IntegrityCapability(PS_IntegrityCapability x)2574void Delete_IntegrityCapability(PS_IntegrityCapability x) 2575 { 2576 if (x->option_of_nonStandard) 2577 { 2578 Delete_NonStandardParameter(&x->nonStandard); 2579 } 2580 /* ------------------------------- */ 2581 /* ---- Extension Begins Here ---- */ 2582 /* ------------------------------- */ 2583 } 2584 2585 /* <============================================> */ 2586 /* PER-Deleter for UserInputCapability (CHOICE) */ 2587 /* <============================================> */ Delete_UserInputCapability(PS_UserInputCapability x)2588void Delete_UserInputCapability(PS_UserInputCapability x) 2589 { 2590 uint16 i; 2591 switch (x->index) 2592 { 2593 case 0: 2594 for (i = 0; i < x->size; ++i) 2595 { 2596 Delete_NonStandardParameter(x->nonStandard + i); 2597 } 2598 OSCL_DEFAULT_FREE(x->nonStandard); 2599 break; 2600 case 1: 2601 /* (basicString is NULL) */ 2602 break; 2603 case 2: 2604 /* (iA5String is NULL) */ 2605 break; 2606 case 3: 2607 /* (generalString is NULL) */ 2608 break; 2609 case 4: 2610 /* (dtmf is NULL) */ 2611 break; 2612 case 5: 2613 /* (hookflash is NULL) */ 2614 break; 2615 /* ------------------------------- */ 2616 /* ---- Extension Begins Here ---- */ 2617 /* ------------------------------- */ 2618 default: 2619 ErrorMessage("Delete_UserInputCapability: Illegal CHOICE index"); 2620 } 2621 } 2622 2623 /* <===============================================> */ 2624 /* PER-Deleter for ConferenceCapability (SEQUENCE) */ 2625 /* <===============================================> */ Delete_ConferenceCapability(PS_ConferenceCapability x)2626void Delete_ConferenceCapability(PS_ConferenceCapability x) 2627 { 2628 uint16 i = 0; 2629 uint32 extension; 2630 2631 extension = x->option_of_VideoIndicateMixingCapability | 2632 x->option_of_multipointVisualizationCapability; 2633 if (x->option_of_nonStandardData) 2634 { 2635 for (i = 0; i < x->size_of_nonStandardData; ++i) 2636 { 2637 Delete_NonStandardParameter(x->nonStandardData + i); 2638 } 2639 OSCL_DEFAULT_FREE(x->nonStandardData); 2640 } 2641 /* ------------------------------- */ 2642 /* ---- Extension Begins Here ---- */ 2643 /* ------------------------------- */ 2644 if (!extension) return; /* (No items present?) */ 2645 if (x->option_of_VideoIndicateMixingCapability) 2646 { 2647 } 2648 if (x->option_of_multipointVisualizationCapability) 2649 { 2650 } 2651 } 2652 2653 /* <============================================> */ 2654 /* PER-Deleter for GenericCapability (SEQUENCE) */ 2655 /* <============================================> */ Delete_GenericCapability(PS_GenericCapability x)2656void Delete_GenericCapability(PS_GenericCapability x) 2657 { 2658 uint16 i = 0; 2659 Delete_CapabilityIdentifier(&x->capabilityIdentifier); 2660 if (x->option_of_maxBitRate) 2661 { 2662 } 2663 if (x->option_of_collapsing) 2664 { 2665 for (i = 0; i < x->size_of_collapsing; ++i) 2666 { 2667 Delete_GenericParameter(x->collapsing + i); 2668 } 2669 OSCL_DEFAULT_FREE(x->collapsing); 2670 } 2671 if (x->option_of_nonCollapsing) 2672 { 2673 for (i = 0; i < x->size_of_nonCollapsing; ++i) 2674 { 2675 Delete_GenericParameter(x->nonCollapsing + i); 2676 } 2677 OSCL_DEFAULT_FREE(x->nonCollapsing); 2678 } 2679 if (x->option_of_nonCollapsingRaw) 2680 { 2681 if (x->nonCollapsingRaw.size > 0) OSCL_DEFAULT_FREE(x->nonCollapsingRaw.data); 2682 } 2683 if (x->option_of_transport) 2684 { 2685 Delete_DataProtocolCapability(&x->transport); 2686 } 2687 /* ------------------------------- */ 2688 /* ---- Extension Begins Here ---- */ 2689 /* ------------------------------- */ 2690 } 2691 2692 /* <=============================================> */ 2693 /* PER-Deleter for CapabilityIdentifier (CHOICE) */ 2694 /* <=============================================> */ Delete_CapabilityIdentifier(PS_CapabilityIdentifier x)2695void Delete_CapabilityIdentifier(PS_CapabilityIdentifier x) 2696 { 2697 switch (x->index) 2698 { 2699 case 0: 2700 FreeObjectID(x->standard); 2701 break; 2702 case 1: 2703 Delete_NonStandardParameter(x->h221NonStandard); 2704 OSCL_DEFAULT_FREE(x->h221NonStandard); 2705 break; 2706 case 2: 2707 FreeOctetString(x->uuid); 2708 break; 2709 case 3: 2710 FreeCharString(x->domainBased); 2711 break; 2712 /* ------------------------------- */ 2713 /* ---- Extension Begins Here ---- */ 2714 /* ------------------------------- */ 2715 default: 2716 ErrorMessage("Delete_CapabilityIdentifier: Illegal CHOICE index"); 2717 } 2718 } 2719 2720 /* <===========================================> */ 2721 /* PER-Deleter for GenericParameter (SEQUENCE) */ 2722 /* <===========================================> */ Delete_GenericParameter(PS_GenericParameter x)2723void Delete_GenericParameter(PS_GenericParameter x) 2724 { 2725 uint16 i = 0; 2726 Delete_ParameterIdentifier(&x->parameterIdentifier); 2727 Delete_ParameterValue(&x->parameterValue); 2728 if (x->option_of_supersedes) 2729 { 2730 for (i = 0; i < x->size_of_supersedes; ++i) 2731 { 2732 Delete_ParameterIdentifier(x->supersedes + i); 2733 } 2734 OSCL_DEFAULT_FREE(x->supersedes); 2735 } 2736 /* ------------------------------- */ 2737 /* ---- Extension Begins Here ---- */ 2738 /* ------------------------------- */ 2739 } 2740 2741 /* <============================================> */ 2742 /* PER-Deleter for ParameterIdentifier (CHOICE) */ 2743 /* <============================================> */ Delete_ParameterIdentifier(PS_ParameterIdentifier x)2744void Delete_ParameterIdentifier(PS_ParameterIdentifier x) 2745 { 2746 switch (x->index) 2747 { 2748 case 0: 2749 break; 2750 case 1: 2751 Delete_NonStandardParameter(x->h221NonStandard); 2752 OSCL_DEFAULT_FREE(x->h221NonStandard); 2753 break; 2754 case 2: 2755 FreeOctetString(x->uuid); 2756 break; 2757 case 3: 2758 FreeCharString(x->domainBased); 2759 break; 2760 /* ------------------------------- */ 2761 /* ---- Extension Begins Here ---- */ 2762 /* ------------------------------- */ 2763 default: 2764 ErrorMessage("Delete_ParameterIdentifier: Illegal CHOICE index"); 2765 } 2766 } 2767 2768 /* <=======================================> */ 2769 /* PER-Deleter for ParameterValue (CHOICE) */ 2770 /* <=======================================> */ Delete_ParameterValue(PS_ParameterValue x)2771void Delete_ParameterValue(PS_ParameterValue x) 2772 { 2773 uint16 i; 2774 switch (x->index) 2775 { 2776 case 0: 2777 /* (logical is NULL) */ 2778 break; 2779 case 1: 2780 break; 2781 case 2: 2782 break; 2783 case 3: 2784 break; 2785 case 4: 2786 break; 2787 case 5: 2788 break; 2789 case 6: 2790 FreeOctetString(x->octetString); 2791 break; 2792 case 7: 2793 for (i = 0; i < x->size; ++i) 2794 { 2795 Delete_GenericParameter(x->genericParameter + i); 2796 } 2797 OSCL_DEFAULT_FREE(x->genericParameter); 2798 break; 2799 /* ------------------------------- */ 2800 /* ---- Extension Begins Here ---- */ 2801 /* ------------------------------- */ 2802 default: 2803 ErrorMessage("Delete_ParameterValue: Illegal CHOICE index"); 2804 } 2805 } 2806 2807 /* <=============================================> */ 2808 /* PER-Deleter for OpenLogicalChannel (SEQUENCE) */ 2809 /* <=============================================> */ Delete_OpenLogicalChannel(PS_OpenLogicalChannel x)2810void Delete_OpenLogicalChannel(PS_OpenLogicalChannel x) 2811 { 2812 uint32 extension; 2813 2814 extension = x->option_of_separateStack | 2815 x->option_of_encryptionSync; 2816 Delete_ForwardLogicalChannelParameters(&x->forwardLogicalChannelParameters); 2817 if (x->option_of_reverseLogicalChannelParameters) 2818 { 2819 Delete_ReverseLogicalChannelParameters(&x->reverseLogicalChannelParameters); 2820 } 2821 /* ------------------------------- */ 2822 /* ---- Extension Begins Here ---- */ 2823 /* ------------------------------- */ 2824 if (!extension) return; /* (No items present?) */ 2825 if (x->option_of_separateStack) 2826 { 2827 Delete_NetworkAccessParameters(&x->separateStack); 2828 } 2829 if (x->option_of_encryptionSync) 2830 { 2831 Delete_EncryptionSync(&x->encryptionSync); 2832 } 2833 } 2834 2835 /* <==========================================================> */ 2836 /* PER-Deleter for ReverseLogicalChannelParameters (SEQUENCE) */ 2837 /* <==========================================================> */ Delete_ReverseLogicalChannelParameters(PS_ReverseLogicalChannelParameters x)2838void Delete_ReverseLogicalChannelParameters(PS_ReverseLogicalChannelParameters x) 2839 { 2840 uint32 extension; 2841 2842 extension = x->option_of_reverseLogicalChannelDependency | 2843 x->option_of_replacementFor; 2844 Delete_DataType(&x->dataType); 2845 if (x->option_of_rlcMultiplexParameters) 2846 { 2847 Delete_RlcMultiplexParameters(&x->rlcMultiplexParameters); 2848 } 2849 /* ------------------------------- */ 2850 /* ---- Extension Begins Here ---- */ 2851 /* ------------------------------- */ 2852 if (!extension) return; /* (No items present?) */ 2853 if (x->option_of_reverseLogicalChannelDependency) 2854 { 2855 } 2856 if (x->option_of_replacementFor) 2857 { 2858 } 2859 } 2860 2861 /* <===============================================> */ 2862 /* PER-Deleter for RlcMultiplexParameters (CHOICE) */ 2863 /* <===============================================> */ Delete_RlcMultiplexParameters(PS_RlcMultiplexParameters x)2864void Delete_RlcMultiplexParameters(PS_RlcMultiplexParameters x) 2865 { 2866 switch (x->index) 2867 { 2868 case 0: 2869 Delete_H223LogicalChannelParameters(x->h223LogicalChannelParameters); 2870 OSCL_DEFAULT_FREE(x->h223LogicalChannelParameters); 2871 break; 2872 case 1: 2873 Delete_V76LogicalChannelParameters(x->v76LogicalChannelParameters); 2874 OSCL_DEFAULT_FREE(x->v76LogicalChannelParameters); 2875 break; 2876 /* ------------------------------- */ 2877 /* ---- Extension Begins Here ---- */ 2878 /* ------------------------------- */ 2879 case 2: 2880 Delete_H2250LogicalChannelParameters(x->h2250LogicalChannelParameters); 2881 OSCL_DEFAULT_FREE(x->h2250LogicalChannelParameters); 2882 break; 2883 default: 2884 ErrorMessage("Delete_RlcMultiplexParameters: Illegal CHOICE index"); 2885 } 2886 } 2887 2888 /* <==========================================================> */ 2889 /* PER-Deleter for ForwardLogicalChannelParameters (SEQUENCE) */ 2890 /* <==========================================================> */ Delete_ForwardLogicalChannelParameters(PS_ForwardLogicalChannelParameters x)2891void Delete_ForwardLogicalChannelParameters(PS_ForwardLogicalChannelParameters x) 2892 { 2893 uint32 extension; 2894 2895 extension = x->option_of_forwardLogicalChannelDependency | 2896 x->option_of_replacementFor; 2897 if (x->option_of_portNumber) 2898 { 2899 } 2900 Delete_DataType(&x->dataType); 2901 Delete_MultiplexParameters(&x->multiplexParameters); 2902 /* ------------------------------- */ 2903 /* ---- Extension Begins Here ---- */ 2904 /* ------------------------------- */ 2905 if (!extension) return; /* (No items present?) */ 2906 if (x->option_of_forwardLogicalChannelDependency) 2907 { 2908 } 2909 if (x->option_of_replacementFor) 2910 { 2911 } 2912 } 2913 2914 /* <============================================> */ 2915 /* PER-Deleter for MultiplexParameters (CHOICE) */ 2916 /* <============================================> */ Delete_MultiplexParameters(PS_MultiplexParameters x)2917void Delete_MultiplexParameters(PS_MultiplexParameters x) 2918 { 2919 switch (x->index) 2920 { 2921 case 0: 2922 Delete_H222LogicalChannelParameters(x->h222LogicalChannelParameters); 2923 OSCL_DEFAULT_FREE(x->h222LogicalChannelParameters); 2924 break; 2925 case 1: 2926 Delete_H223LogicalChannelParameters(x->h223LogicalChannelParameters); 2927 OSCL_DEFAULT_FREE(x->h223LogicalChannelParameters); 2928 break; 2929 case 2: 2930 Delete_V76LogicalChannelParameters(x->v76LogicalChannelParameters); 2931 OSCL_DEFAULT_FREE(x->v76LogicalChannelParameters); 2932 break; 2933 /* ------------------------------- */ 2934 /* ---- Extension Begins Here ---- */ 2935 /* ------------------------------- */ 2936 case 3: 2937 Delete_H2250LogicalChannelParameters(x->h2250LogicalChannelParameters); 2938 OSCL_DEFAULT_FREE(x->h2250LogicalChannelParameters); 2939 break; 2940 case 4: 2941 break; 2942 default: 2943 ErrorMessage("Delete_MultiplexParameters: Illegal CHOICE index"); 2944 } 2945 } 2946 2947 /* <==================================================> */ 2948 /* PER-Deleter for NetworkAccessParameters (SEQUENCE) */ 2949 /* <==================================================> */ Delete_NetworkAccessParameters(PS_NetworkAccessParameters x)2950void Delete_NetworkAccessParameters(PS_NetworkAccessParameters x) 2951 { 2952 uint32 extension; 2953 2954 extension = x->option_of_t120SetupProcedure; 2955 if (x->option_of_distribution) 2956 { 2957 Delete_Distribution(&x->distribution); 2958 } 2959 Delete_NetworkAddress(&x->networkAddress); 2960 if (x->option_of_externalReference) 2961 { 2962 } 2963 /* ------------------------------- */ 2964 /* ---- Extension Begins Here ---- */ 2965 /* ------------------------------- */ 2966 if (!extension) return; /* (No items present?) */ 2967 if (x->option_of_t120SetupProcedure) 2968 { 2969 Delete_T120SetupProcedure(&x->t120SetupProcedure); 2970 } 2971 } 2972 2973 /* <===========================================> */ 2974 /* PER-Deleter for T120SetupProcedure (CHOICE) */ 2975 /* <===========================================> */ Delete_T120SetupProcedure(PS_T120SetupProcedure x)2976void Delete_T120SetupProcedure(PS_T120SetupProcedure x) 2977 { 2978 switch (x->index) 2979 { 2980 case 0: 2981 /* (originateCall is NULL) */ 2982 break; 2983 case 1: 2984 /* (waitForCall is NULL) */ 2985 break; 2986 case 2: 2987 /* (issueQuery is NULL) */ 2988 break; 2989 /* ------------------------------- */ 2990 /* ---- Extension Begins Here ---- */ 2991 /* ------------------------------- */ 2992 default: 2993 ErrorMessage("Delete_T120SetupProcedure: Illegal CHOICE index"); 2994 } 2995 } 2996 2997 /* <=======================================> */ 2998 /* PER-Deleter for NetworkAddress (CHOICE) */ 2999 /* <=======================================> */ Delete_NetworkAddress(PS_NetworkAddress x)3000void Delete_NetworkAddress(PS_NetworkAddress x) 3001 { 3002 switch (x->index) 3003 { 3004 case 0: 3005 Delete_Q2931Address(x->q2931Address); 3006 OSCL_DEFAULT_FREE(x->q2931Address); 3007 break; 3008 case 1: 3009 FreeCharString(x->e164Address); 3010 break; 3011 case 2: 3012 Delete_TransportAddress(x->localAreaAddress); 3013 OSCL_DEFAULT_FREE(x->localAreaAddress); 3014 break; 3015 /* ------------------------------- */ 3016 /* ---- Extension Begins Here ---- */ 3017 /* ------------------------------- */ 3018 default: 3019 ErrorMessage("Delete_NetworkAddress: Illegal CHOICE index"); 3020 } 3021 } 3022 3023 /* <=====================================> */ 3024 /* PER-Deleter for Distribution (CHOICE) */ 3025 /* <=====================================> */ Delete_Distribution(PS_Distribution x)3026void Delete_Distribution(PS_Distribution x) 3027 { 3028 switch (x->index) 3029 { 3030 case 0: 3031 /* (unicast is NULL) */ 3032 break; 3033 case 1: 3034 /* (multicast is NULL) */ 3035 break; 3036 /* ------------------------------- */ 3037 /* ---- Extension Begins Here ---- */ 3038 /* ------------------------------- */ 3039 default: 3040 ErrorMessage("Delete_Distribution: Illegal CHOICE index"); 3041 } 3042 } 3043 3044 /* <=======================================> */ 3045 /* PER-Deleter for Q2931Address (SEQUENCE) */ 3046 /* <=======================================> */ Delete_Q2931Address(PS_Q2931Address x)3047void Delete_Q2931Address(PS_Q2931Address x) 3048 { 3049 Delete_Address(&x->address); 3050 if (x->option_of_subaddress) 3051 { 3052 } 3053 /* ------------------------------- */ 3054 /* ---- Extension Begins Here ---- */ 3055 /* ------------------------------- */ 3056 } 3057 3058 /* <================================> */ 3059 /* PER-Deleter for Address (CHOICE) */ 3060 /* <================================> */ Delete_Address(PS_Address x)3061void Delete_Address(PS_Address x) 3062 { 3063 switch (x->index) 3064 { 3065 case 0: 3066 FreeCharString(x->internationalNumber); 3067 break; 3068 case 1: 3069 FreeOctetString(x->nsapAddress); 3070 break; 3071 /* ------------------------------- */ 3072 /* ---- Extension Begins Here ---- */ 3073 /* ------------------------------- */ 3074 default: 3075 ErrorMessage("Delete_Address: Illegal CHOICE index"); 3076 } 3077 } 3078 3079 /* <========================================> */ 3080 /* PER-Deleter for V75Parameters (SEQUENCE) */ 3081 /* <========================================> */ Delete_V75Parameters(PS_V75Parameters x)3082void Delete_V75Parameters(PS_V75Parameters x) 3083 { 3084 OSCL_UNUSED_ARG(x); 3085 /* ------------------------------- */ 3086 /* ---- Extension Begins Here ---- */ 3087 /* ------------------------------- */ 3088 } 3089 3090 /* <=================================> */ 3091 /* PER-Deleter for DataType (CHOICE) */ 3092 /* <=================================> */ Delete_DataType(PS_DataType x)3093OSCL_EXPORT_REF void Delete_DataType(PS_DataType x) 3094 { 3095 switch (x->index) 3096 { 3097 case 0: 3098 if (x->nonStandard) 3099 { 3100 Delete_NonStandardParameter(x->nonStandard); 3101 OSCL_DEFAULT_FREE(x->nonStandard); 3102 } 3103 break; 3104 case 1: 3105 /* (nullData is NULL) */ 3106 break; 3107 case 2: 3108 Delete_VideoCapability(x->videoData); 3109 OSCL_DEFAULT_FREE(x->videoData); 3110 break; 3111 case 3: 3112 Delete_AudioCapability(x->audioData); 3113 OSCL_DEFAULT_FREE(x->audioData); 3114 break; 3115 case 4: 3116 Delete_DataApplicationCapability(x->data); 3117 OSCL_DEFAULT_FREE(x->data); 3118 break; 3119 case 5: 3120 Delete_EncryptionMode(x->encryptionData); 3121 OSCL_DEFAULT_FREE(x->encryptionData); 3122 break; 3123 /* ------------------------------- */ 3124 /* ---- Extension Begins Here ---- */ 3125 /* ------------------------------- */ 3126 case 6: 3127 Delete_NonStandardParameter(x->h235Control); 3128 OSCL_DEFAULT_FREE(x->h235Control); 3129 break; 3130 case 7: 3131 Delete_H235Media(x->h235Media); 3132 OSCL_DEFAULT_FREE(x->h235Media); 3133 break; 3134 default: 3135 ErrorMessage("Delete_DataType: Illegal CHOICE index"); 3136 } 3137 } 3138 3139 /* <====================================> */ 3140 /* PER-Deleter for H235Media (SEQUENCE) */ 3141 /* <====================================> */ Delete_H235Media(PS_H235Media x)3142void Delete_H235Media(PS_H235Media x) 3143 { 3144 Delete_EncryptionAuthenticationAndIntegrity(&x->encryptionAuthenticationAndIntegrity); 3145 Delete_MediaType(&x->mediaType); 3146 /* ------------------------------- */ 3147 /* ---- Extension Begins Here ---- */ 3148 /* ------------------------------- */ 3149 } 3150 3151 /* <==================================> */ 3152 /* PER-Deleter for MediaType (CHOICE) */ 3153 /* <==================================> */ Delete_MediaType(PS_MediaType x)3154void Delete_MediaType(PS_MediaType x) 3155 { 3156 switch (x->index) 3157 { 3158 case 0: 3159 Delete_NonStandardParameter(x->nonStandard); 3160 OSCL_DEFAULT_FREE(x->nonStandard); 3161 break; 3162 case 1: 3163 Delete_VideoCapability(x->videoData); 3164 OSCL_DEFAULT_FREE(x->videoData); 3165 break; 3166 case 2: 3167 Delete_AudioCapability(x->audioData); 3168 OSCL_DEFAULT_FREE(x->audioData); 3169 break; 3170 case 3: 3171 Delete_DataApplicationCapability(x->data); 3172 OSCL_DEFAULT_FREE(x->data); 3173 break; 3174 /* ------------------------------- */ 3175 /* ---- Extension Begins Here ---- */ 3176 /* ------------------------------- */ 3177 default: 3178 ErrorMessage("Delete_MediaType: Illegal CHOICE index"); 3179 } 3180 } 3181 3182 /* <=======================================================> */ 3183 /* PER-Deleter for H222LogicalChannelParameters (SEQUENCE) */ 3184 /* <=======================================================> */ Delete_H222LogicalChannelParameters(PS_H222LogicalChannelParameters x)3185void Delete_H222LogicalChannelParameters(PS_H222LogicalChannelParameters x) 3186 { 3187 if (x->option_of_pcr_pid) 3188 { 3189 } 3190 if (x->option_of_programDescriptors) 3191 { 3192 if (x->programDescriptors.size > 0) OSCL_DEFAULT_FREE(x->programDescriptors.data); 3193 } 3194 if (x->option_of_streamDescriptors) 3195 { 3196 if (x->streamDescriptors.size > 0) OSCL_DEFAULT_FREE(x->streamDescriptors.data); 3197 } 3198 /* ------------------------------- */ 3199 /* ---- Extension Begins Here ---- */ 3200 /* ------------------------------- */ 3201 } 3202 3203 /* <=======================================================> */ 3204 /* PER-Deleter for H223LogicalChannelParameters (SEQUENCE) */ 3205 /* <=======================================================> */ Delete_H223LogicalChannelParameters(PS_H223LogicalChannelParameters x)3206OSCL_EXPORT_REF void Delete_H223LogicalChannelParameters(PS_H223LogicalChannelParameters x) 3207 { 3208 Delete_AdaptationLayerType(&x->adaptationLayerType); 3209 /* ------------------------------- */ 3210 /* ---- Extension Begins Here ---- */ 3211 /* ------------------------------- */ 3212 } 3213 3214 /* <============================================> */ 3215 /* PER-Deleter for AdaptationLayerType (CHOICE) */ 3216 /* <============================================> */ Delete_AdaptationLayerType(PS_AdaptationLayerType x)3217void Delete_AdaptationLayerType(PS_AdaptationLayerType x) 3218 { 3219 switch (x->index) 3220 { 3221 case 0: 3222 Delete_NonStandardParameter(x->nonStandard); 3223 OSCL_DEFAULT_FREE(x->nonStandard); 3224 break; 3225 case 1: 3226 /* (al1Framed is NULL) */ 3227 break; 3228 case 2: 3229 /* (al1NotFramed is NULL) */ 3230 break; 3231 case 3: 3232 /* (al2WithoutSequenceNumbers is NULL) */ 3233 break; 3234 case 4: 3235 /* (al2WithSequenceNumbers is NULL) */ 3236 break; 3237 case 5: 3238 Delete_Al3(x->al3); 3239 OSCL_DEFAULT_FREE(x->al3); 3240 break; 3241 /* ------------------------------- */ 3242 /* ---- Extension Begins Here ---- */ 3243 /* ------------------------------- */ 3244 case 6: 3245 Delete_H223AL1MParameters(x->al1M); 3246 OSCL_DEFAULT_FREE(x->al1M); 3247 break; 3248 case 7: 3249 Delete_H223AL2MParameters(x->al2M); 3250 OSCL_DEFAULT_FREE(x->al2M); 3251 break; 3252 case 8: 3253 Delete_H223AL3MParameters(x->al3M); 3254 OSCL_DEFAULT_FREE(x->al3M); 3255 break; 3256 default: 3257 ErrorMessage("Delete_AdaptationLayerType: Illegal CHOICE index"); 3258 } 3259 } 3260 3261 /* <==============================> */ 3262 /* PER-Deleter for Al3 (SEQUENCE) */ 3263 /* <==============================> */ Delete_Al3(PS_Al3 x)3264void Delete_Al3(PS_Al3 x) 3265 { 3266 OSCL_UNUSED_ARG(x); 3267 } 3268 3269 /* <=============================================> */ 3270 /* PER-Deleter for H223AL1MParameters (SEQUENCE) */ 3271 /* <=============================================> */ Delete_H223AL1MParameters(PS_H223AL1MParameters x)3272void Delete_H223AL1MParameters(PS_H223AL1MParameters x) 3273 { 3274 uint32 extension; 3275 3276 extension = x->option_of_rsCodeCorrection; 3277 Delete_TransferMode(&x->transferMode); 3278 Delete_HeaderFEC(&x->headerFEC); 3279 Delete_CrcLength(&x->crcLength); 3280 Delete_ArqType(&x->arqType); 3281 /* ------------------------------- */ 3282 /* ---- Extension Begins Here ---- */ 3283 /* ------------------------------- */ 3284 if (!extension) return; /* (No items present?) */ 3285 if (x->option_of_rsCodeCorrection) 3286 { 3287 } 3288 } 3289 3290 /* <================================> */ 3291 /* PER-Deleter for ArqType (CHOICE) */ 3292 /* <================================> */ Delete_ArqType(PS_ArqType x)3293void Delete_ArqType(PS_ArqType x) 3294 { 3295 switch (x->index) 3296 { 3297 case 0: 3298 /* (noArq is NULL) */ 3299 break; 3300 case 1: 3301 Delete_H223AnnexCArqParameters(x->typeIArq); 3302 OSCL_DEFAULT_FREE(x->typeIArq); 3303 break; 3304 case 2: 3305 Delete_H223AnnexCArqParameters(x->typeIIArq); 3306 OSCL_DEFAULT_FREE(x->typeIIArq); 3307 break; 3308 /* ------------------------------- */ 3309 /* ---- Extension Begins Here ---- */ 3310 /* ------------------------------- */ 3311 default: 3312 ErrorMessage("Delete_ArqType: Illegal CHOICE index"); 3313 } 3314 } 3315 3316 /* <==================================> */ 3317 /* PER-Deleter for CrcLength (CHOICE) */ 3318 /* <==================================> */ Delete_CrcLength(PS_CrcLength x)3319void Delete_CrcLength(PS_CrcLength x) 3320 { 3321 switch (x->index) 3322 { 3323 case 0: 3324 /* (crc4bit is NULL) */ 3325 break; 3326 case 1: 3327 /* (crc12bit is NULL) */ 3328 break; 3329 case 2: 3330 /* (crc20bit is NULL) */ 3331 break; 3332 case 3: 3333 /* (crc28bit is NULL) */ 3334 break; 3335 /* ------------------------------- */ 3336 /* ---- Extension Begins Here ---- */ 3337 /* ------------------------------- */ 3338 case 4: 3339 break; 3340 case 5: 3341 break; 3342 case 6: 3343 break; 3344 case 7: 3345 break; 3346 default: 3347 ErrorMessage("Delete_CrcLength: Illegal CHOICE index"); 3348 } 3349 } 3350 3351 /* <==================================> */ 3352 /* PER-Deleter for HeaderFEC (CHOICE) */ 3353 /* <==================================> */ Delete_HeaderFEC(PS_HeaderFEC x)3354void Delete_HeaderFEC(PS_HeaderFEC x) 3355 { 3356 switch (x->index) 3357 { 3358 case 0: 3359 /* (sebch16_7 is NULL) */ 3360 break; 3361 case 1: 3362 /* (golay24_12 is NULL) */ 3363 break; 3364 /* ------------------------------- */ 3365 /* ---- Extension Begins Here ---- */ 3366 /* ------------------------------- */ 3367 default: 3368 ErrorMessage("Delete_HeaderFEC: Illegal CHOICE index"); 3369 } 3370 } 3371 3372 /* <=====================================> */ 3373 /* PER-Deleter for TransferMode (CHOICE) */ 3374 /* <=====================================> */ Delete_TransferMode(PS_TransferMode x)3375void Delete_TransferMode(PS_TransferMode x) 3376 { 3377 switch (x->index) 3378 { 3379 case 0: 3380 /* (framed is NULL) */ 3381 break; 3382 case 1: 3383 /* (unframed is NULL) */ 3384 break; 3385 /* ------------------------------- */ 3386 /* ---- Extension Begins Here ---- */ 3387 /* ------------------------------- */ 3388 default: 3389 ErrorMessage("Delete_TransferMode: Illegal CHOICE index"); 3390 } 3391 } 3392 3393 /* <=============================================> */ 3394 /* PER-Deleter for H223AL2MParameters (SEQUENCE) */ 3395 /* <=============================================> */ Delete_H223AL2MParameters(PS_H223AL2MParameters x)3396void Delete_H223AL2MParameters(PS_H223AL2MParameters x) 3397 { 3398 Delete_Al2HeaderFEC(&x->al2HeaderFEC); 3399 /* ------------------------------- */ 3400 /* ---- Extension Begins Here ---- */ 3401 /* ------------------------------- */ 3402 } 3403 3404 /* <=====================================> */ 3405 /* PER-Deleter for Al2HeaderFEC (CHOICE) */ 3406 /* <=====================================> */ Delete_Al2HeaderFEC(PS_Al2HeaderFEC x)3407void Delete_Al2HeaderFEC(PS_Al2HeaderFEC x) 3408 { 3409 switch (x->index) 3410 { 3411 case 0: 3412 /* (sebch16_5 is NULL) */ 3413 break; 3414 case 1: 3415 /* (golay24_12 is NULL) */ 3416 break; 3417 /* ------------------------------- */ 3418 /* ---- Extension Begins Here ---- */ 3419 /* ------------------------------- */ 3420 default: 3421 ErrorMessage("Delete_Al2HeaderFEC: Illegal CHOICE index"); 3422 } 3423 } 3424 3425 /* <=============================================> */ 3426 /* PER-Deleter for H223AL3MParameters (SEQUENCE) */ 3427 /* <=============================================> */ Delete_H223AL3MParameters(PS_H223AL3MParameters x)3428void Delete_H223AL3MParameters(PS_H223AL3MParameters x) 3429 { 3430 uint32 extension; 3431 3432 extension = x->option_of_rsCodeCorrection; 3433 Delete_HeaderFormat(&x->headerFormat); 3434 Delete_Al3CrcLength(&x->al3CrcLength); 3435 Delete_Al3ArqType(&x->al3ArqType); 3436 /* ------------------------------- */ 3437 /* ---- Extension Begins Here ---- */ 3438 /* ------------------------------- */ 3439 if (!extension) return; /* (No items present?) */ 3440 if (x->option_of_rsCodeCorrection) 3441 { 3442 } 3443 } 3444 3445 /* <===================================> */ 3446 /* PER-Deleter for Al3ArqType (CHOICE) */ 3447 /* <===================================> */ Delete_Al3ArqType(PS_Al3ArqType x)3448void Delete_Al3ArqType(PS_Al3ArqType x) 3449 { 3450 switch (x->index) 3451 { 3452 case 0: 3453 /* (noArq is NULL) */ 3454 break; 3455 case 1: 3456 Delete_H223AnnexCArqParameters(x->typeIArq); 3457 OSCL_DEFAULT_FREE(x->typeIArq); 3458 break; 3459 case 2: 3460 Delete_H223AnnexCArqParameters(x->typeIIArq); 3461 OSCL_DEFAULT_FREE(x->typeIIArq); 3462 break; 3463 /* ------------------------------- */ 3464 /* ---- Extension Begins Here ---- */ 3465 /* ------------------------------- */ 3466 default: 3467 ErrorMessage("Delete_Al3ArqType: Illegal CHOICE index"); 3468 } 3469 } 3470 3471 /* <=====================================> */ 3472 /* PER-Deleter for Al3CrcLength (CHOICE) */ 3473 /* <=====================================> */ Delete_Al3CrcLength(PS_Al3CrcLength x)3474void Delete_Al3CrcLength(PS_Al3CrcLength x) 3475 { 3476 switch (x->index) 3477 { 3478 case 0: 3479 /* (crc4bit is NULL) */ 3480 break; 3481 case 1: 3482 /* (crc12bit is NULL) */ 3483 break; 3484 case 2: 3485 /* (crc20bit is NULL) */ 3486 break; 3487 case 3: 3488 /* (crc28bit is NULL) */ 3489 break; 3490 /* ------------------------------- */ 3491 /* ---- Extension Begins Here ---- */ 3492 /* ------------------------------- */ 3493 case 4: 3494 break; 3495 case 5: 3496 break; 3497 case 6: 3498 break; 3499 case 7: 3500 break; 3501 default: 3502 ErrorMessage("Delete_Al3CrcLength: Illegal CHOICE index"); 3503 } 3504 } 3505 3506 /* <=====================================> */ 3507 /* PER-Deleter for HeaderFormat (CHOICE) */ 3508 /* <=====================================> */ Delete_HeaderFormat(PS_HeaderFormat x)3509void Delete_HeaderFormat(PS_HeaderFormat x) 3510 { 3511 switch (x->index) 3512 { 3513 case 0: 3514 /* (sebch16_7 is NULL) */ 3515 break; 3516 case 1: 3517 /* (golay24_12 is NULL) */ 3518 break; 3519 /* ------------------------------- */ 3520 /* ---- Extension Begins Here ---- */ 3521 /* ------------------------------- */ 3522 default: 3523 ErrorMessage("Delete_HeaderFormat: Illegal CHOICE index"); 3524 } 3525 } 3526 3527 /* <==================================================> */ 3528 /* PER-Deleter for H223AnnexCArqParameters (SEQUENCE) */ 3529 /* <==================================================> */ Delete_H223AnnexCArqParameters(PS_H223AnnexCArqParameters x)3530void Delete_H223AnnexCArqParameters(PS_H223AnnexCArqParameters x) 3531 { 3532 Delete_NumberOfRetransmissions(&x->numberOfRetransmissions); 3533 /* ------------------------------- */ 3534 /* ---- Extension Begins Here ---- */ 3535 /* ------------------------------- */ 3536 } 3537 3538 /* <================================================> */ 3539 /* PER-Deleter for NumberOfRetransmissions (CHOICE) */ 3540 /* <================================================> */ Delete_NumberOfRetransmissions(PS_NumberOfRetransmissions x)3541void Delete_NumberOfRetransmissions(PS_NumberOfRetransmissions x) 3542 { 3543 switch (x->index) 3544 { 3545 case 0: 3546 break; 3547 case 1: 3548 /* (infinite is NULL) */ 3549 break; 3550 /* ------------------------------- */ 3551 /* ---- Extension Begins Here ---- */ 3552 /* ------------------------------- */ 3553 default: 3554 ErrorMessage("Delete_NumberOfRetransmissions: Illegal CHOICE index"); 3555 } 3556 } 3557 3558 /* <======================================================> */ 3559 /* PER-Deleter for V76LogicalChannelParameters (SEQUENCE) */ 3560 /* <======================================================> */ Delete_V76LogicalChannelParameters(PS_V76LogicalChannelParameters x)3561void Delete_V76LogicalChannelParameters(PS_V76LogicalChannelParameters x) 3562 { 3563 Delete_V76HDLCParameters(&x->hdlcParameters); 3564 Delete_SuspendResume(&x->suspendResume); 3565 Delete_Mode(&x->mode); 3566 Delete_V75Parameters(&x->v75Parameters); 3567 /* ------------------------------- */ 3568 /* ---- Extension Begins Here ---- */ 3569 /* ------------------------------- */ 3570 } 3571 3572 /* <=============================> */ 3573 /* PER-Deleter for Mode (CHOICE) */ 3574 /* <=============================> */ Delete_Mode(PS_Mode x)3575void Delete_Mode(PS_Mode x) 3576 { 3577 switch (x->index) 3578 { 3579 case 0: 3580 Delete_ERM(x->eRM); 3581 OSCL_DEFAULT_FREE(x->eRM); 3582 break; 3583 case 1: 3584 /* (uNERM is NULL) */ 3585 break; 3586 /* ------------------------------- */ 3587 /* ---- Extension Begins Here ---- */ 3588 /* ------------------------------- */ 3589 default: 3590 ErrorMessage("Delete_Mode: Illegal CHOICE index"); 3591 } 3592 } 3593 3594 /* <==============================> */ 3595 /* PER-Deleter for ERM (SEQUENCE) */ 3596 /* <==============================> */ Delete_ERM(PS_ERM x)3597void Delete_ERM(PS_ERM x) 3598 { 3599 Delete_Recovery(&x->recovery); 3600 /* ------------------------------- */ 3601 /* ---- Extension Begins Here ---- */ 3602 /* ------------------------------- */ 3603 } 3604 3605 /* <=================================> */ 3606 /* PER-Deleter for Recovery (CHOICE) */ 3607 /* <=================================> */ Delete_Recovery(PS_Recovery x)3608void Delete_Recovery(PS_Recovery x) 3609 { 3610 switch (x->index) 3611 { 3612 case 0: 3613 /* (rej is NULL) */ 3614 break; 3615 case 1: 3616 /* (sREJ is NULL) */ 3617 break; 3618 case 2: 3619 /* (mSREJ is NULL) */ 3620 break; 3621 /* ------------------------------- */ 3622 /* ---- Extension Begins Here ---- */ 3623 /* ------------------------------- */ 3624 default: 3625 ErrorMessage("Delete_Recovery: Illegal CHOICE index"); 3626 } 3627 } 3628 3629 /* <======================================> */ 3630 /* PER-Deleter for SuspendResume (CHOICE) */ 3631 /* <======================================> */ Delete_SuspendResume(PS_SuspendResume x)3632void Delete_SuspendResume(PS_SuspendResume x) 3633 { 3634 switch (x->index) 3635 { 3636 case 0: 3637 /* (noSuspendResume is NULL) */ 3638 break; 3639 case 1: 3640 /* (suspendResumewAddress is NULL) */ 3641 break; 3642 case 2: 3643 /* (suspendResumewoAddress is NULL) */ 3644 break; 3645 /* ------------------------------- */ 3646 /* ---- Extension Begins Here ---- */ 3647 /* ------------------------------- */ 3648 default: 3649 ErrorMessage("Delete_SuspendResume: Illegal CHOICE index"); 3650 } 3651 } 3652 3653 /* <============================================> */ 3654 /* PER-Deleter for V76HDLCParameters (SEQUENCE) */ 3655 /* <============================================> */ Delete_V76HDLCParameters(PS_V76HDLCParameters x)3656void Delete_V76HDLCParameters(PS_V76HDLCParameters x) 3657 { 3658 Delete_CRCLength(&x->crcLength); 3659 /* ------------------------------- */ 3660 /* ---- Extension Begins Here ---- */ 3661 /* ------------------------------- */ 3662 } 3663 3664 /* <==================================> */ 3665 /* PER-Deleter for CRCLength (CHOICE) */ 3666 /* <==================================> */ Delete_CRCLength(PS_CRCLength x)3667void Delete_CRCLength(PS_CRCLength x) 3668 { 3669 switch (x->index) 3670 { 3671 case 0: 3672 /* (crc8bit is NULL) */ 3673 break; 3674 case 1: 3675 /* (crc16bit is NULL) */ 3676 break; 3677 case 2: 3678 /* (crc32bit is NULL) */ 3679 break; 3680 /* ------------------------------- */ 3681 /* ---- Extension Begins Here ---- */ 3682 /* ------------------------------- */ 3683 default: 3684 ErrorMessage("Delete_CRCLength: Illegal CHOICE index"); 3685 } 3686 } 3687 3688 /* <========================================================> */ 3689 /* PER-Deleter for H2250LogicalChannelParameters (SEQUENCE) */ 3690 /* <========================================================> */ Delete_H2250LogicalChannelParameters(PS_H2250LogicalChannelParameters x)3691void Delete_H2250LogicalChannelParameters(PS_H2250LogicalChannelParameters x) 3692 { 3693 uint16 i = 0; 3694 uint32 extension; 3695 3696 extension = x->option_of_transportCapability | 3697 x->option_of_redundancyEncoding | 3698 x->option_of_source | 3699 x->option_of_symmetricMediaAddress; 3700 if (x->option_of_nonStandard) 3701 { 3702 for (i = 0; i < x->size_of_nonStandard; ++i) 3703 { 3704 Delete_NonStandardParameter(x->nonStandard + i); 3705 } 3706 OSCL_DEFAULT_FREE(x->nonStandard); 3707 } 3708 if (x->option_of_associatedSessionID) 3709 { 3710 } 3711 if (x->option_of_mediaChannel) 3712 { 3713 Delete_TransportAddress(&x->mediaChannel); 3714 } 3715 if (x->option_of_mediaGuaranteedDelivery) 3716 { 3717 } 3718 if (x->option_of_mediaControlChannel) 3719 { 3720 Delete_TransportAddress(&x->mediaControlChannel); 3721 } 3722 if (x->option_of_mediaControlGuaranteedDelivery) 3723 { 3724 } 3725 if (x->option_of_silenceSuppression) 3726 { 3727 } 3728 if (x->option_of_destination) 3729 { 3730 Delete_TerminalLabel(&x->destination); 3731 } 3732 if (x->option_of_dynamicRTPPayloadType) 3733 { 3734 } 3735 if (x->option_of_mediaPacketization) 3736 { 3737 Delete_MediaPacketization(&x->mediaPacketization); 3738 } 3739 /* ------------------------------- */ 3740 /* ---- Extension Begins Here ---- */ 3741 /* ------------------------------- */ 3742 if (!extension) return; /* (No items present?) */ 3743 if (x->option_of_transportCapability) 3744 { 3745 Delete_TransportCapability(&x->transportCapability); 3746 } 3747 if (x->option_of_redundancyEncoding) 3748 { 3749 Delete_RedundancyEncoding(&x->redundancyEncoding); 3750 } 3751 if (x->option_of_source) 3752 { 3753 Delete_TerminalLabel(&x->source); 3754 } 3755 if (x->option_of_symmetricMediaAddress) 3756 { 3757 } 3758 } 3759 3760 /* <===========================================> */ 3761 /* PER-Deleter for MediaPacketization (CHOICE) */ 3762 /* <===========================================> */ Delete_MediaPacketization(PS_MediaPacketization x)3763void Delete_MediaPacketization(PS_MediaPacketization x) 3764 { 3765 switch (x->index) 3766 { 3767 case 0: 3768 /* (h261aVideoPacketization is NULL) */ 3769 break; 3770 /* ------------------------------- */ 3771 /* ---- Extension Begins Here ---- */ 3772 /* ------------------------------- */ 3773 case 1: 3774 Delete_RTPPayloadType(x->rtpPayloadType); 3775 OSCL_DEFAULT_FREE(x->rtpPayloadType); 3776 break; 3777 default: 3778 ErrorMessage("Delete_MediaPacketization: Illegal CHOICE index"); 3779 } 3780 } 3781 3782 /* <=========================================> */ 3783 /* PER-Deleter for RTPPayloadType (SEQUENCE) */ 3784 /* <=========================================> */ Delete_RTPPayloadType(PS_RTPPayloadType x)3785void Delete_RTPPayloadType(PS_RTPPayloadType x) 3786 { 3787 Delete_PayloadDescriptor(&x->payloadDescriptor); 3788 if (x->option_of_payloadType) 3789 { 3790 } 3791 /* ------------------------------- */ 3792 /* ---- Extension Begins Here ---- */ 3793 /* ------------------------------- */ 3794 } 3795 3796 /* <==========================================> */ 3797 /* PER-Deleter for PayloadDescriptor (CHOICE) */ 3798 /* <==========================================> */ Delete_PayloadDescriptor(PS_PayloadDescriptor x)3799void Delete_PayloadDescriptor(PS_PayloadDescriptor x) 3800 { 3801 switch (x->index) 3802 { 3803 case 0: 3804 Delete_NonStandardParameter(x->nonStandardIdentifier); 3805 OSCL_DEFAULT_FREE(x->nonStandardIdentifier); 3806 break; 3807 case 1: 3808 break; 3809 case 2: 3810 FreeObjectID(x->oid); 3811 break; 3812 /* ------------------------------- */ 3813 /* ---- Extension Begins Here ---- */ 3814 /* ------------------------------- */ 3815 default: 3816 ErrorMessage("Delete_PayloadDescriptor: Illegal CHOICE index"); 3817 } 3818 } 3819 3820 /* <=============================================> */ 3821 /* PER-Deleter for RedundancyEncoding (SEQUENCE) */ 3822 /* <=============================================> */ Delete_RedundancyEncoding(PS_RedundancyEncoding x)3823void Delete_RedundancyEncoding(PS_RedundancyEncoding x) 3824 { 3825 Delete_RedundancyEncodingMethod(&x->redundancyEncodingMethod); 3826 if (x->option_of_secondaryEncoding) 3827 { 3828 Delete_DataType(&x->secondaryEncoding); 3829 } 3830 /* ------------------------------- */ 3831 /* ---- Extension Begins Here ---- */ 3832 /* ------------------------------- */ 3833 } 3834 3835 /* <=========================================> */ 3836 /* PER-Deleter for TransportAddress (CHOICE) */ 3837 /* <=========================================> */ Delete_TransportAddress(PS_TransportAddress x)3838void Delete_TransportAddress(PS_TransportAddress x) 3839 { 3840 switch (x->index) 3841 { 3842 case 0: 3843 Delete_UnicastAddress(x->unicastAddress); 3844 OSCL_DEFAULT_FREE(x->unicastAddress); 3845 break; 3846 case 1: 3847 Delete_MulticastAddress(x->multicastAddress); 3848 OSCL_DEFAULT_FREE(x->multicastAddress); 3849 break; 3850 /* ------------------------------- */ 3851 /* ---- Extension Begins Here ---- */ 3852 /* ------------------------------- */ 3853 default: 3854 ErrorMessage("Delete_TransportAddress: Illegal CHOICE index"); 3855 } 3856 } 3857 3858 /* <=======================================> */ 3859 /* PER-Deleter for UnicastAddress (CHOICE) */ 3860 /* <=======================================> */ Delete_UnicastAddress(PS_UnicastAddress x)3861void Delete_UnicastAddress(PS_UnicastAddress x) 3862 { 3863 switch (x->index) 3864 { 3865 case 0: 3866 Delete_IPAddress(x->iPAddress); 3867 OSCL_DEFAULT_FREE(x->iPAddress); 3868 break; 3869 case 1: 3870 Delete_IPXAddress(x->iPXAddress); 3871 OSCL_DEFAULT_FREE(x->iPXAddress); 3872 break; 3873 case 2: 3874 Delete_IP6Address(x->iP6Address); 3875 OSCL_DEFAULT_FREE(x->iP6Address); 3876 break; 3877 case 3: 3878 FreeOctetString(x->netBios); 3879 break; 3880 case 4: 3881 Delete_IPSourceRouteAddress(x->iPSourceRouteAddress); 3882 OSCL_DEFAULT_FREE(x->iPSourceRouteAddress); 3883 break; 3884 /* ------------------------------- */ 3885 /* ---- Extension Begins Here ---- */ 3886 /* ------------------------------- */ 3887 case 5: 3888 FreeOctetString(x->nsap); 3889 break; 3890 case 6: 3891 Delete_NonStandardParameter(x->nonStandardAddress); 3892 OSCL_DEFAULT_FREE(x->nonStandardAddress); 3893 break; 3894 default: 3895 ErrorMessage("Delete_UnicastAddress: Illegal CHOICE index"); 3896 } 3897 } 3898 3899 /* <===============================================> */ 3900 /* PER-Deleter for IPSourceRouteAddress (SEQUENCE) */ 3901 /* <===============================================> */ Delete_IPSourceRouteAddress(PS_IPSourceRouteAddress x)3902void Delete_IPSourceRouteAddress(PS_IPSourceRouteAddress x) 3903 { 3904 Delete_Routing(&x->routing); 3905 OSCL_DEFAULT_FREE(x->route); 3906 /* ------------------------------- */ 3907 /* ---- Extension Begins Here ---- */ 3908 /* ------------------------------- */ 3909 } 3910 3911 /* <================================> */ 3912 /* PER-Deleter for Routing (CHOICE) */ 3913 /* <================================> */ Delete_Routing(PS_Routing x)3914void Delete_Routing(PS_Routing x) 3915 { 3916 switch (x->index) 3917 { 3918 case 0: 3919 /* (strict is NULL) */ 3920 break; 3921 case 1: 3922 /* (loose is NULL) */ 3923 break; 3924 default: 3925 ErrorMessage("Delete_Routing: Illegal CHOICE index"); 3926 } 3927 } 3928 3929 /* <=====================================> */ 3930 /* PER-Deleter for IP6Address (SEQUENCE) */ 3931 /* <=====================================> */ Delete_IP6Address(PS_IP6Address x)3932void Delete_IP6Address(PS_IP6Address x) 3933 { 3934 OSCL_UNUSED_ARG(x); 3935 /* ------------------------------- */ 3936 /* ---- Extension Begins Here ---- */ 3937 /* ------------------------------- */ 3938 } 3939 3940 /* <=====================================> */ 3941 /* PER-Deleter for IPXAddress (SEQUENCE) */ 3942 /* <=====================================> */ Delete_IPXAddress(PS_IPXAddress x)3943void Delete_IPXAddress(PS_IPXAddress x) 3944 { 3945 OSCL_UNUSED_ARG(x); 3946 /* ------------------------------- */ 3947 /* ---- Extension Begins Here ---- */ 3948 /* ------------------------------- */ 3949 } 3950 3951 /* <====================================> */ 3952 /* PER-Deleter for IPAddress (SEQUENCE) */ 3953 /* <====================================> */ Delete_IPAddress(PS_IPAddress x)3954void Delete_IPAddress(PS_IPAddress x) 3955 { 3956 OSCL_UNUSED_ARG(x); 3957 /* ------------------------------- */ 3958 /* ---- Extension Begins Here ---- */ 3959 /* ------------------------------- */ 3960 } 3961 3962 /* <=========================================> */ 3963 /* PER-Deleter for MulticastAddress (CHOICE) */ 3964 /* <=========================================> */ Delete_MulticastAddress(PS_MulticastAddress x)3965void Delete_MulticastAddress(PS_MulticastAddress x) 3966 { 3967 switch (x->index) 3968 { 3969 case 0: 3970 Delete_MaIpAddress(x->maIpAddress); 3971 OSCL_DEFAULT_FREE(x->maIpAddress); 3972 break; 3973 case 1: 3974 Delete_MaIp6Address(x->maIp6Address); 3975 OSCL_DEFAULT_FREE(x->maIp6Address); 3976 break; 3977 /* ------------------------------- */ 3978 /* ---- Extension Begins Here ---- */ 3979 /* ------------------------------- */ 3980 case 2: 3981 FreeOctetString(x->nsap); 3982 break; 3983 case 3: 3984 Delete_NonStandardParameter(x->nonStandardAddress); 3985 OSCL_DEFAULT_FREE(x->nonStandardAddress); 3986 break; 3987 default: 3988 ErrorMessage("Delete_MulticastAddress: Illegal CHOICE index"); 3989 } 3990 } 3991 3992 /* <=======================================> */ 3993 /* PER-Deleter for MaIp6Address (SEQUENCE) */ 3994 /* <=======================================> */ Delete_MaIp6Address(PS_MaIp6Address x)3995void Delete_MaIp6Address(PS_MaIp6Address x) 3996 { 3997 OSCL_UNUSED_ARG(x); 3998 /* ------------------------------- */ 3999 /* ---- Extension Begins Here ---- */ 4000 /* ------------------------------- */ 4001 } 4002 4003 /* <======================================> */ 4004 /* PER-Deleter for MaIpAddress (SEQUENCE) */ 4005 /* <======================================> */ Delete_MaIpAddress(PS_MaIpAddress x)4006void Delete_MaIpAddress(PS_MaIpAddress x) 4007 { 4008 OSCL_UNUSED_ARG(x); 4009 /* ------------------------------- */ 4010 /* ---- Extension Begins Here ---- */ 4011 /* ------------------------------- */ 4012 } 4013 4014 /* <=========================================> */ 4015 /* PER-Deleter for EncryptionSync (SEQUENCE) */ 4016 /* <=========================================> */ Delete_EncryptionSync(PS_EncryptionSync x)4017void Delete_EncryptionSync(PS_EncryptionSync x) 4018 { 4019 uint16 i = 0; 4020 if (x->option_of_nonStandard) 4021 { 4022 Delete_NonStandardParameter(&x->nonStandard); 4023 } 4024 if (x->option_of_escrowentry) 4025 { 4026 for (i = 0; i < x->size_of_escrowentry; ++i) 4027 { 4028 Delete_EscrowData(x->escrowentry + i); 4029 } 4030 OSCL_DEFAULT_FREE(x->escrowentry); 4031 } 4032 /* ------------------------------- */ 4033 /* ---- Extension Begins Here ---- */ 4034 /* ------------------------------- */ 4035 } 4036 4037 /* <=====================================> */ 4038 /* PER-Deleter for EscrowData (SEQUENCE) */ 4039 /* <=====================================> */ Delete_EscrowData(PS_EscrowData x)4040void Delete_EscrowData(PS_EscrowData x) 4041 { 4042 OSCL_DEFAULT_FREE(x->escrowID.data); 4043 /* ------------------------------- */ 4044 /* ---- Extension Begins Here ---- */ 4045 /* ------------------------------- */ 4046 } 4047 4048 /* <================================================> */ 4049 /* PER-Deleter for OpenLogicalChannelAck (SEQUENCE) */ 4050 /* <================================================> */ Delete_OpenLogicalChannelAck(PS_OpenLogicalChannelAck x)4051void Delete_OpenLogicalChannelAck(PS_OpenLogicalChannelAck x) 4052 { 4053 uint32 extension; 4054 4055 extension = x->option_of_separateStack | 4056 x->option_of_forwardMultiplexAckParameters | 4057 x->option_of_encryptionSync; 4058 if (x->option_of_ackReverseLogicalChannelParameters) 4059 { 4060 Delete_AckReverseLogicalChannelParameters(&x->ackReverseLogicalChannelParameters); 4061 } 4062 /* ------------------------------- */ 4063 /* ---- Extension Begins Here ---- */ 4064 /* ------------------------------- */ 4065 if (!extension) return; /* (No items present?) */ 4066 if (x->option_of_separateStack) 4067 { 4068 Delete_NetworkAccessParameters(&x->separateStack); 4069 } 4070 if (x->option_of_forwardMultiplexAckParameters) 4071 { 4072 Delete_ForwardMultiplexAckParameters(&x->forwardMultiplexAckParameters); 4073 } 4074 if (x->option_of_encryptionSync) 4075 { 4076 Delete_EncryptionSync(&x->encryptionSync); 4077 } 4078 } 4079 4080 /* <======================================================> */ 4081 /* PER-Deleter for ForwardMultiplexAckParameters (CHOICE) */ 4082 /* <======================================================> */ Delete_ForwardMultiplexAckParameters(PS_ForwardMultiplexAckParameters x)4083void Delete_ForwardMultiplexAckParameters(PS_ForwardMultiplexAckParameters x) 4084 { 4085 switch (x->index) 4086 { 4087 case 0: 4088 Delete_H2250LogicalChannelAckParameters(x->h2250LogicalChannelAckParameters); 4089 OSCL_DEFAULT_FREE(x->h2250LogicalChannelAckParameters); 4090 break; 4091 /* ------------------------------- */ 4092 /* ---- Extension Begins Here ---- */ 4093 /* ------------------------------- */ 4094 default: 4095 ErrorMessage("Delete_ForwardMultiplexAckParameters: Illegal CHOICE index"); 4096 } 4097 } 4098 4099 /* <=============================================================> */ 4100 /* PER-Deleter for AckReverseLogicalChannelParameters (SEQUENCE) */ 4101 /* <=============================================================> */ Delete_AckReverseLogicalChannelParameters(PS_AckReverseLogicalChannelParameters x)4102void Delete_AckReverseLogicalChannelParameters(PS_AckReverseLogicalChannelParameters x) 4103 { 4104 uint32 extension; 4105 4106 extension = x->option_of_replacementFor; 4107 if (x->option_of_portNumber) 4108 { 4109 } 4110 if (x->option_of_ackMultiplexParameters) 4111 { 4112 Delete_AckMultiplexParameters(&x->ackMultiplexParameters); 4113 } 4114 /* ------------------------------- */ 4115 /* ---- Extension Begins Here ---- */ 4116 /* ------------------------------- */ 4117 if (!extension) return; /* (No items present?) */ 4118 if (x->option_of_replacementFor) 4119 { 4120 } 4121 } 4122 4123 /* <===============================================> */ 4124 /* PER-Deleter for AckMultiplexParameters (CHOICE) */ 4125 /* <===============================================> */ Delete_AckMultiplexParameters(PS_AckMultiplexParameters x)4126void Delete_AckMultiplexParameters(PS_AckMultiplexParameters x) 4127 { 4128 switch (x->index) 4129 { 4130 case 0: 4131 Delete_H222LogicalChannelParameters(x->h222LogicalChannelParameters); 4132 OSCL_DEFAULT_FREE(x->h222LogicalChannelParameters); 4133 break; 4134 /* ------------------------------- */ 4135 /* ---- Extension Begins Here ---- */ 4136 /* ------------------------------- */ 4137 case 1: 4138 Delete_H2250LogicalChannelParameters(x->h2250LogicalChannelParameters); 4139 OSCL_DEFAULT_FREE(x->h2250LogicalChannelParameters); 4140 break; 4141 default: 4142 ErrorMessage("Delete_AckMultiplexParameters: Illegal CHOICE index"); 4143 } 4144 } 4145 4146 /* <===================================================> */ 4147 /* PER-Deleter for OpenLogicalChannelReject (SEQUENCE) */ 4148 /* <===================================================> */ Delete_OpenLogicalChannelReject(PS_OpenLogicalChannelReject x)4149void Delete_OpenLogicalChannelReject(PS_OpenLogicalChannelReject x) 4150 { 4151 Delete_OlcRejectCause(&x->olcRejectCause); 4152 /* ------------------------------- */ 4153 /* ---- Extension Begins Here ---- */ 4154 /* ------------------------------- */ 4155 } 4156 4157 /* <=======================================> */ 4158 /* PER-Deleter for OlcRejectCause (CHOICE) */ 4159 /* <=======================================> */ Delete_OlcRejectCause(PS_OlcRejectCause x)4160void Delete_OlcRejectCause(PS_OlcRejectCause x) 4161 { 4162 switch (x->index) 4163 { 4164 case 0: 4165 /* (unspecified is NULL) */ 4166 break; 4167 case 1: 4168 /* (unsuitableReverseParameters is NULL) */ 4169 break; 4170 case 2: 4171 /* (dataTypeNotSupported is NULL) */ 4172 break; 4173 case 3: 4174 /* (dataTypeNotAvailable is NULL) */ 4175 break; 4176 case 4: 4177 /* (unknownDataType is NULL) */ 4178 break; 4179 case 5: 4180 /* (dataTypeALCombinationNotSupported is NULL) */ 4181 break; 4182 /* ------------------------------- */ 4183 /* ---- Extension Begins Here ---- */ 4184 /* ------------------------------- */ 4185 case 6: 4186 break; 4187 case 7: 4188 break; 4189 case 8: 4190 break; 4191 case 9: 4192 break; 4193 case 10: 4194 break; 4195 case 11: 4196 break; 4197 case 12: 4198 break; 4199 case 13: 4200 break; 4201 default: 4202 ErrorMessage("Delete_OlcRejectCause: Illegal CHOICE index"); 4203 } 4204 } 4205 4206 /* <====================================================> */ 4207 /* PER-Deleter for OpenLogicalChannelConfirm (SEQUENCE) */ 4208 /* <====================================================> */ Delete_OpenLogicalChannelConfirm(PS_OpenLogicalChannelConfirm x)4209void Delete_OpenLogicalChannelConfirm(PS_OpenLogicalChannelConfirm x) 4210 { 4211 OSCL_UNUSED_ARG(x); 4212 /* ------------------------------- */ 4213 /* ---- Extension Begins Here ---- */ 4214 /* ------------------------------- */ 4215 } 4216 4217 /* <===========================================================> */ 4218 /* PER-Deleter for H2250LogicalChannelAckParameters (SEQUENCE) */ 4219 /* <===========================================================> */ Delete_H2250LogicalChannelAckParameters(PS_H2250LogicalChannelAckParameters x)4220void Delete_H2250LogicalChannelAckParameters(PS_H2250LogicalChannelAckParameters x) 4221 { 4222 uint16 i = 0; 4223 uint32 extension; 4224 4225 extension = x->option_of_flowControlToZero | 4226 x->option_of_portNumber; 4227 if (x->option_of_nonStandard) 4228 { 4229 for (i = 0; i < x->size_of_nonStandard; ++i) 4230 { 4231 Delete_NonStandardParameter(x->nonStandard + i); 4232 } 4233 OSCL_DEFAULT_FREE(x->nonStandard); 4234 } 4235 if (x->option_of_sessionID) 4236 { 4237 } 4238 if (x->option_of_mediaChannel) 4239 { 4240 Delete_TransportAddress(&x->mediaChannel); 4241 } 4242 if (x->option_of_mediaControlChannel) 4243 { 4244 Delete_TransportAddress(&x->mediaControlChannel); 4245 } 4246 if (x->option_of_dynamicRTPPayloadType) 4247 { 4248 } 4249 /* ------------------------------- */ 4250 /* ---- Extension Begins Here ---- */ 4251 /* ------------------------------- */ 4252 if (!extension) return; /* (No items present?) */ 4253 if (x->option_of_flowControlToZero) 4254 { 4255 } 4256 if (x->option_of_portNumber) 4257 { 4258 } 4259 } 4260 4261 /* <==============================================> */ 4262 /* PER-Deleter for CloseLogicalChannel (SEQUENCE) */ 4263 /* <==============================================> */ Delete_CloseLogicalChannel(PS_CloseLogicalChannel x)4264void Delete_CloseLogicalChannel(PS_CloseLogicalChannel x) 4265 { 4266 uint32 extension; 4267 4268 extension = x->option_of_reason; 4269 Delete_Source(&x->source); 4270 /* ------------------------------- */ 4271 /* ---- Extension Begins Here ---- */ 4272 /* ------------------------------- */ 4273 if (!extension) return; /* (No items present?) */ 4274 if (x->option_of_reason) 4275 { 4276 Delete_Reason(&x->reason); 4277 } 4278 } 4279 4280 /* <===============================> */ 4281 /* PER-Deleter for Reason (CHOICE) */ 4282 /* <===============================> */ Delete_Reason(PS_Reason x)4283void Delete_Reason(PS_Reason x) 4284 { 4285 switch (x->index) 4286 { 4287 case 0: 4288 /* (unknown is NULL) */ 4289 break; 4290 case 1: 4291 /* (reopen is NULL) */ 4292 break; 4293 case 2: 4294 /* (reservationFailure is NULL) */ 4295 break; 4296 /* ------------------------------- */ 4297 /* ---- Extension Begins Here ---- */ 4298 /* ------------------------------- */ 4299 default: 4300 ErrorMessage("Delete_Reason: Illegal CHOICE index"); 4301 } 4302 } 4303 4304 /* <===============================> */ 4305 /* PER-Deleter for Source (CHOICE) */ 4306 /* <===============================> */ Delete_Source(PS_Source x)4307void Delete_Source(PS_Source x) 4308 { 4309 switch (x->index) 4310 { 4311 case 0: 4312 /* (user is NULL) */ 4313 break; 4314 case 1: 4315 /* (lcse is NULL) */ 4316 break; 4317 default: 4318 ErrorMessage("Delete_Source: Illegal CHOICE index"); 4319 } 4320 } 4321 4322 /* <=================================================> */ 4323 /* PER-Deleter for CloseLogicalChannelAck (SEQUENCE) */ 4324 /* <=================================================> */ Delete_CloseLogicalChannelAck(PS_CloseLogicalChannelAck x)4325void Delete_CloseLogicalChannelAck(PS_CloseLogicalChannelAck x) 4326 { 4327 OSCL_UNUSED_ARG(x); 4328 /* ------------------------------- */ 4329 /* ---- Extension Begins Here ---- */ 4330 /* ------------------------------- */ 4331 } 4332 4333 /* <==============================================> */ 4334 /* PER-Deleter for RequestChannelClose (SEQUENCE) */ 4335 /* <==============================================> */ Delete_RequestChannelClose(PS_RequestChannelClose x)4336void Delete_RequestChannelClose(PS_RequestChannelClose x) 4337 { 4338 uint32 extension; 4339 4340 extension = x->option_of_qosCapability | 4341 x->option_of_rccReason; 4342 /* ------------------------------- */ 4343 /* ---- Extension Begins Here ---- */ 4344 /* ------------------------------- */ 4345 if (!extension) return; /* (No items present?) */ 4346 if (x->option_of_qosCapability) 4347 { 4348 Delete_QOSCapability(&x->qosCapability); 4349 } 4350 if (x->option_of_rccReason) 4351 { 4352 Delete_RccReason(&x->rccReason); 4353 } 4354 } 4355 4356 /* <==================================> */ 4357 /* PER-Deleter for RccReason (CHOICE) */ 4358 /* <==================================> */ Delete_RccReason(PS_RccReason x)4359void Delete_RccReason(PS_RccReason x) 4360 { 4361 switch (x->index) 4362 { 4363 case 0: 4364 /* (unknown is NULL) */ 4365 break; 4366 case 1: 4367 /* (normal is NULL) */ 4368 break; 4369 case 2: 4370 /* (reopen is NULL) */ 4371 break; 4372 case 3: 4373 /* (reservationFailure is NULL) */ 4374 break; 4375 /* ------------------------------- */ 4376 /* ---- Extension Begins Here ---- */ 4377 /* ------------------------------- */ 4378 default: 4379 ErrorMessage("Delete_RccReason: Illegal CHOICE index"); 4380 } 4381 } 4382 4383 /* <=================================================> */ 4384 /* PER-Deleter for RequestChannelCloseAck (SEQUENCE) */ 4385 /* <=================================================> */ Delete_RequestChannelCloseAck(PS_RequestChannelCloseAck x)4386void Delete_RequestChannelCloseAck(PS_RequestChannelCloseAck x) 4387 { 4388 OSCL_UNUSED_ARG(x); 4389 /* ------------------------------- */ 4390 /* ---- Extension Begins Here ---- */ 4391 /* ------------------------------- */ 4392 } 4393 4394 /* <====================================================> */ 4395 /* PER-Deleter for RequestChannelCloseReject (SEQUENCE) */ 4396 /* <====================================================> */ Delete_RequestChannelCloseReject(PS_RequestChannelCloseReject x)4397void Delete_RequestChannelCloseReject(PS_RequestChannelCloseReject x) 4398 { 4399 Delete_RccRejectCause(&x->rccRejectCause); 4400 /* ------------------------------- */ 4401 /* ---- Extension Begins Here ---- */ 4402 /* ------------------------------- */ 4403 } 4404 4405 /* <=======================================> */ 4406 /* PER-Deleter for RccRejectCause (CHOICE) */ 4407 /* <=======================================> */ Delete_RccRejectCause(PS_RccRejectCause x)4408void Delete_RccRejectCause(PS_RccRejectCause x) 4409 { 4410 switch (x->index) 4411 { 4412 case 0: 4413 /* (unspecified is NULL) */ 4414 break; 4415 /* ------------------------------- */ 4416 /* ---- Extension Begins Here ---- */ 4417 /* ------------------------------- */ 4418 default: 4419 ErrorMessage("Delete_RccRejectCause: Illegal CHOICE index"); 4420 } 4421 } 4422 4423 /* <=====================================================> */ 4424 /* PER-Deleter for RequestChannelCloseRelease (SEQUENCE) */ 4425 /* <=====================================================> */ Delete_RequestChannelCloseRelease(PS_RequestChannelCloseRelease x)4426void Delete_RequestChannelCloseRelease(PS_RequestChannelCloseRelease x) 4427 { 4428 OSCL_UNUSED_ARG(x); 4429 /* ------------------------------- */ 4430 /* ---- Extension Begins Here ---- */ 4431 /* ------------------------------- */ 4432 } 4433 4434 /* <=============================================> */ 4435 /* PER-Deleter for MultiplexEntrySend (SEQUENCE) */ 4436 /* <=============================================> */ Delete_MultiplexEntrySend(PS_MultiplexEntrySend x)4437void Delete_MultiplexEntrySend(PS_MultiplexEntrySend x) 4438 { 4439 uint16 i = 0; 4440 for (i = 0; i < x->size_of_multiplexEntryDescriptors; ++i) 4441 { 4442 Delete_MultiplexEntryDescriptor(x->multiplexEntryDescriptors + i); 4443 } 4444 OSCL_DEFAULT_FREE(x->multiplexEntryDescriptors); 4445 /* ------------------------------- */ 4446 /* ---- Extension Begins Here ---- */ 4447 /* ------------------------------- */ 4448 } 4449 4450 /* <===================================================> */ 4451 /* PER-Deleter for MultiplexEntryDescriptor (SEQUENCE) */ 4452 /* <===================================================> */ Delete_MultiplexEntryDescriptor(PS_MultiplexEntryDescriptor x)4453OSCL_EXPORT_REF void Delete_MultiplexEntryDescriptor(PS_MultiplexEntryDescriptor x) 4454 { 4455 uint16 i = 0; 4456 if (x->option_of_elementList) 4457 { 4458 for (i = 0; i < x->size_of_elementList; ++i) 4459 { 4460 Delete_MultiplexElement(x->elementList + i); 4461 } 4462 OSCL_DEFAULT_FREE(x->elementList); 4463 } 4464 } 4465 4466 /* <===========================================> */ 4467 /* PER-Deleter for MultiplexElement (SEQUENCE) */ 4468 /* <===========================================> */ Delete_MultiplexElement(PS_MultiplexElement x)4469void Delete_MultiplexElement(PS_MultiplexElement x) 4470 { 4471 Delete_MuxType(&x->muxType); 4472 Delete_RepeatCount(&x->repeatCount); 4473 } 4474 4475 /* <====================================> */ 4476 /* PER-Deleter for RepeatCount (CHOICE) */ 4477 /* <====================================> */ Delete_RepeatCount(PS_RepeatCount x)4478void Delete_RepeatCount(PS_RepeatCount x) 4479 { 4480 switch (x->index) 4481 { 4482 case 0: 4483 break; 4484 case 1: 4485 /* (untilClosingFlag is NULL) */ 4486 break; 4487 default: 4488 ErrorMessage("Delete_RepeatCount: Illegal CHOICE index"); 4489 } 4490 } 4491 4492 /* <================================> */ 4493 /* PER-Deleter for MuxType (CHOICE) */ 4494 /* <================================> */ Delete_MuxType(PS_MuxType x)4495void Delete_MuxType(PS_MuxType x) 4496 { 4497 uint16 i; 4498 switch (x->index) 4499 { 4500 case 0: 4501 break; 4502 case 1: 4503 for (i = 0; i < x->size; ++i) 4504 { 4505 Delete_MultiplexElement(x->subElementList + i); 4506 } 4507 OSCL_DEFAULT_FREE(x->subElementList); 4508 break; 4509 default: 4510 ErrorMessage("Delete_MuxType: Illegal CHOICE index"); 4511 } 4512 } 4513 4514 /* <================================================> */ 4515 /* PER-Deleter for MultiplexEntrySendAck (SEQUENCE) */ 4516 /* <================================================> */ Delete_MultiplexEntrySendAck(PS_MultiplexEntrySendAck x)4517void Delete_MultiplexEntrySendAck(PS_MultiplexEntrySendAck x) 4518 { 4519 OSCL_DEFAULT_FREE(x->multiplexTableEntryNumber); 4520 /* ------------------------------- */ 4521 /* ---- Extension Begins Here ---- */ 4522 /* ------------------------------- */ 4523 } 4524 4525 /* <===================================================> */ 4526 /* PER-Deleter for MultiplexEntrySendReject (SEQUENCE) */ 4527 /* <===================================================> */ Delete_MultiplexEntrySendReject(PS_MultiplexEntrySendReject x)4528void Delete_MultiplexEntrySendReject(PS_MultiplexEntrySendReject x) 4529 { 4530 uint16 i = 0; 4531 for (i = 0; i < x->size_of_rejectionDescriptions; ++i) 4532 { 4533 Delete_MultiplexEntryRejectionDescriptions(x->rejectionDescriptions + i); 4534 } 4535 OSCL_DEFAULT_FREE(x->rejectionDescriptions); 4536 /* ------------------------------- */ 4537 /* ---- Extension Begins Here ---- */ 4538 /* ------------------------------- */ 4539 } 4540 4541 /* <==============================================================> */ 4542 /* PER-Deleter for MultiplexEntryRejectionDescriptions (SEQUENCE) */ 4543 /* <==============================================================> */ Delete_MultiplexEntryRejectionDescriptions(PS_MultiplexEntryRejectionDescriptions x)4544void Delete_MultiplexEntryRejectionDescriptions(PS_MultiplexEntryRejectionDescriptions x) 4545 { 4546 Delete_MeRejectCause(&x->meRejectCause); 4547 /* ------------------------------- */ 4548 /* ---- Extension Begins Here ---- */ 4549 /* ------------------------------- */ 4550 } 4551 4552 /* <======================================> */ 4553 /* PER-Deleter for MeRejectCause (CHOICE) */ 4554 /* <======================================> */ Delete_MeRejectCause(PS_MeRejectCause x)4555void Delete_MeRejectCause(PS_MeRejectCause x) 4556 { 4557 switch (x->index) 4558 { 4559 case 0: 4560 /* (unspecifiedCause is NULL) */ 4561 break; 4562 case 1: 4563 /* (descriptorTooComplex is NULL) */ 4564 break; 4565 /* ------------------------------- */ 4566 /* ---- Extension Begins Here ---- */ 4567 /* ------------------------------- */ 4568 default: 4569 ErrorMessage("Delete_MeRejectCause: Illegal CHOICE index"); 4570 } 4571 } 4572 4573 /* <====================================================> */ 4574 /* PER-Deleter for MultiplexEntrySendRelease (SEQUENCE) */ 4575 /* <====================================================> */ Delete_MultiplexEntrySendRelease(PS_MultiplexEntrySendRelease x)4576void Delete_MultiplexEntrySendRelease(PS_MultiplexEntrySendRelease x) 4577 { 4578 OSCL_DEFAULT_FREE(x->multiplexTableEntryNumber); 4579 /* ------------------------------- */ 4580 /* ---- Extension Begins Here ---- */ 4581 /* ------------------------------- */ 4582 } 4583 4584 /* <================================================> */ 4585 /* PER-Deleter for RequestMultiplexEntry (SEQUENCE) */ 4586 /* <================================================> */ Delete_RequestMultiplexEntry(PS_RequestMultiplexEntry x)4587void Delete_RequestMultiplexEntry(PS_RequestMultiplexEntry x) 4588 { 4589 OSCL_DEFAULT_FREE(x->entryNumbers); 4590 /* ------------------------------- */ 4591 /* ---- Extension Begins Here ---- */ 4592 /* ------------------------------- */ 4593 } 4594 4595 /* <===================================================> */ 4596 /* PER-Deleter for RequestMultiplexEntryAck (SEQUENCE) */ 4597 /* <===================================================> */ Delete_RequestMultiplexEntryAck(PS_RequestMultiplexEntryAck x)4598void Delete_RequestMultiplexEntryAck(PS_RequestMultiplexEntryAck x) 4599 { 4600 OSCL_DEFAULT_FREE(x->entryNumbers); 4601 /* ------------------------------- */ 4602 /* ---- Extension Begins Here ---- */ 4603 /* ------------------------------- */ 4604 } 4605 4606 /* <======================================================> */ 4607 /* PER-Deleter for RequestMultiplexEntryReject (SEQUENCE) */ 4608 /* <======================================================> */ Delete_RequestMultiplexEntryReject(PS_RequestMultiplexEntryReject x)4609void Delete_RequestMultiplexEntryReject(PS_RequestMultiplexEntryReject x) 4610 { 4611 uint16 i = 0; 4612 OSCL_DEFAULT_FREE(x->entryNumbers); 4613 for (i = 0; i < x->size_of_rejectionDescriptions; ++i) 4614 { 4615 Delete_RequestMultiplexEntryRejectionDescriptions(x->rejectionDescriptions + i); 4616 } 4617 OSCL_DEFAULT_FREE(x->rejectionDescriptions); 4618 /* ------------------------------- */ 4619 /* ---- Extension Begins Here ---- */ 4620 /* ------------------------------- */ 4621 } 4622 4623 /* <=====================================================================> */ 4624 /* PER-Deleter for RequestMultiplexEntryRejectionDescriptions (SEQUENCE) */ 4625 /* <=====================================================================> */ Delete_RequestMultiplexEntryRejectionDescriptions(PS_RequestMultiplexEntryRejectionDescriptions x)4626void Delete_RequestMultiplexEntryRejectionDescriptions(PS_RequestMultiplexEntryRejectionDescriptions x) 4627 { 4628 Delete_RmeRejectCause(&x->rmeRejectCause); 4629 /* ------------------------------- */ 4630 /* ---- Extension Begins Here ---- */ 4631 /* ------------------------------- */ 4632 } 4633 4634 /* <=======================================> */ 4635 /* PER-Deleter for RmeRejectCause (CHOICE) */ 4636 /* <=======================================> */ Delete_RmeRejectCause(PS_RmeRejectCause x)4637void Delete_RmeRejectCause(PS_RmeRejectCause x) 4638 { 4639 switch (x->index) 4640 { 4641 case 0: 4642 /* (unspecifiedCause is NULL) */ 4643 break; 4644 /* ------------------------------- */ 4645 /* ---- Extension Begins Here ---- */ 4646 /* ------------------------------- */ 4647 default: 4648 ErrorMessage("Delete_RmeRejectCause: Illegal CHOICE index"); 4649 } 4650 } 4651 4652 /* <=======================================================> */ 4653 /* PER-Deleter for RequestMultiplexEntryRelease (SEQUENCE) */ 4654 /* <=======================================================> */ Delete_RequestMultiplexEntryRelease(PS_RequestMultiplexEntryRelease x)4655void Delete_RequestMultiplexEntryRelease(PS_RequestMultiplexEntryRelease x) 4656 { 4657 OSCL_DEFAULT_FREE(x->entryNumbers); 4658 /* ------------------------------- */ 4659 /* ---- Extension Begins Here ---- */ 4660 /* ------------------------------- */ 4661 } 4662 4663 /* <======================================> */ 4664 /* PER-Deleter for RequestMode (SEQUENCE) */ 4665 /* <======================================> */ Delete_RequestMode(PS_RequestMode x)4666void Delete_RequestMode(PS_RequestMode x) 4667 { 4668 uint16 i = 0; 4669 for (i = 0; i < x->size_of_requestedModes; ++i) 4670 { 4671 Delete_ModeDescription(x->requestedModes + i); 4672 } 4673 OSCL_DEFAULT_FREE(x->requestedModes); 4674 /* ------------------------------- */ 4675 /* ---- Extension Begins Here ---- */ 4676 /* ------------------------------- */ 4677 } 4678 4679 /* <=========================================> */ 4680 /* PER-Deleter for RequestModeAck (SEQUENCE) */ 4681 /* <=========================================> */ Delete_RequestModeAck(PS_RequestModeAck x)4682void Delete_RequestModeAck(PS_RequestModeAck x) 4683 { 4684 Delete_Response(&x->response); 4685 /* ------------------------------- */ 4686 /* ---- Extension Begins Here ---- */ 4687 /* ------------------------------- */ 4688 } 4689 4690 /* <=================================> */ 4691 /* PER-Deleter for Response (CHOICE) */ 4692 /* <=================================> */ Delete_Response(PS_Response x)4693void Delete_Response(PS_Response x) 4694 { 4695 switch (x->index) 4696 { 4697 case 0: 4698 /* (willTransmitMostPreferredMode is NULL) */ 4699 break; 4700 case 1: 4701 /* (willTransmitLessPreferredMode is NULL) */ 4702 break; 4703 /* ------------------------------- */ 4704 /* ---- Extension Begins Here ---- */ 4705 /* ------------------------------- */ 4706 default: 4707 ErrorMessage("Delete_Response: Illegal CHOICE index"); 4708 } 4709 } 4710 4711 /* <============================================> */ 4712 /* PER-Deleter for RequestModeReject (SEQUENCE) */ 4713 /* <============================================> */ Delete_RequestModeReject(PS_RequestModeReject x)4714void Delete_RequestModeReject(PS_RequestModeReject x) 4715 { 4716 Delete_RmRejectCause(&x->rmRejectCause); 4717 /* ------------------------------- */ 4718 /* ---- Extension Begins Here ---- */ 4719 /* ------------------------------- */ 4720 } 4721 4722 /* <======================================> */ 4723 /* PER-Deleter for RmRejectCause (CHOICE) */ 4724 /* <======================================> */ Delete_RmRejectCause(PS_RmRejectCause x)4725void Delete_RmRejectCause(PS_RmRejectCause x) 4726 { 4727 switch (x->index) 4728 { 4729 case 0: 4730 /* (modeUnavailable is NULL) */ 4731 break; 4732 case 1: 4733 /* (multipointConstraint is NULL) */ 4734 break; 4735 case 2: 4736 /* (requestDenied is NULL) */ 4737 break; 4738 /* ------------------------------- */ 4739 /* ---- Extension Begins Here ---- */ 4740 /* ------------------------------- */ 4741 default: 4742 ErrorMessage("Delete_RmRejectCause: Illegal CHOICE index"); 4743 } 4744 } 4745 4746 /* <=============================================> */ 4747 /* PER-Deleter for RequestModeRelease (SEQUENCE) */ 4748 /* <=============================================> */ Delete_RequestModeRelease(PS_RequestModeRelease x)4749void Delete_RequestModeRelease(PS_RequestModeRelease x) 4750 { 4751 OSCL_UNUSED_ARG(x); 4752 /* ------------------------------- */ 4753 /* ---- Extension Begins Here ---- */ 4754 /* ------------------------------- */ 4755 } 4756 4757 /* <========================================> */ 4758 /* PER-Deleter for ModeDescription (SET-OF) */ 4759 /* <========================================> */ Delete_ModeDescription(PS_ModeDescription x)4760void Delete_ModeDescription(PS_ModeDescription x) 4761 { 4762 uint16 i; 4763 for (i = 0; i < x->size; ++i) 4764 { 4765 Delete_ModeElement(x->item + i); 4766 } 4767 OSCL_DEFAULT_FREE(x->item); 4768 } 4769 4770 /* <======================================> */ 4771 /* PER-Deleter for ModeElement (SEQUENCE) */ 4772 /* <======================================> */ Delete_ModeElement(PS_ModeElement x)4773void Delete_ModeElement(PS_ModeElement x) 4774 { 4775 uint32 extension; 4776 4777 extension = x->option_of_v76ModeParameters | 4778 x->option_of_h2250ModeParameters | 4779 x->option_of_genericModeParameters; 4780 Delete_ModeType(&x->modeType); 4781 if (x->option_of_h223ModeParameters) 4782 { 4783 Delete_H223ModeParameters(&x->h223ModeParameters); 4784 } 4785 /* ------------------------------- */ 4786 /* ---- Extension Begins Here ---- */ 4787 /* ------------------------------- */ 4788 if (!extension) return; /* (No items present?) */ 4789 if (x->option_of_v76ModeParameters) 4790 { 4791 Delete_V76ModeParameters(&x->v76ModeParameters); 4792 } 4793 if (x->option_of_h2250ModeParameters) 4794 { 4795 Delete_H2250ModeParameters(&x->h2250ModeParameters); 4796 } 4797 if (x->option_of_genericModeParameters) 4798 { 4799 Delete_GenericCapability(&x->genericModeParameters); 4800 } 4801 } 4802 4803 /* <=================================> */ 4804 /* PER-Deleter for ModeType (CHOICE) */ 4805 /* <=================================> */ Delete_ModeType(PS_ModeType x)4806void Delete_ModeType(PS_ModeType x) 4807 { 4808 switch (x->index) 4809 { 4810 case 0: 4811 Delete_NonStandardParameter(x->nonStandard); 4812 OSCL_DEFAULT_FREE(x->nonStandard); 4813 break; 4814 case 1: 4815 Delete_VideoMode(x->videoMode); 4816 OSCL_DEFAULT_FREE(x->videoMode); 4817 break; 4818 case 2: 4819 Delete_AudioMode(x->audioMode); 4820 OSCL_DEFAULT_FREE(x->audioMode); 4821 break; 4822 case 3: 4823 Delete_DataMode(x->dataMode); 4824 OSCL_DEFAULT_FREE(x->dataMode); 4825 break; 4826 case 4: 4827 Delete_EncryptionMode(x->encryptionMode); 4828 OSCL_DEFAULT_FREE(x->encryptionMode); 4829 break; 4830 /* ------------------------------- */ 4831 /* ---- Extension Begins Here ---- */ 4832 /* ------------------------------- */ 4833 case 5: 4834 Delete_H235Mode(x->h235Mode); 4835 OSCL_DEFAULT_FREE(x->h235Mode); 4836 break; 4837 default: 4838 ErrorMessage("Delete_ModeType: Illegal CHOICE index"); 4839 } 4840 } 4841 4842 /* <===================================> */ 4843 /* PER-Deleter for H235Mode (SEQUENCE) */ 4844 /* <===================================> */ Delete_H235Mode(PS_H235Mode x)4845void Delete_H235Mode(PS_H235Mode x) 4846 { 4847 Delete_EncryptionAuthenticationAndIntegrity(&x->encryptionAuthenticationAndIntegrity); 4848 Delete_MediaMode(&x->mediaMode); 4849 /* ------------------------------- */ 4850 /* ---- Extension Begins Here ---- */ 4851 /* ------------------------------- */ 4852 } 4853 4854 /* <==================================> */ 4855 /* PER-Deleter for MediaMode (CHOICE) */ 4856 /* <==================================> */ Delete_MediaMode(PS_MediaMode x)4857void Delete_MediaMode(PS_MediaMode x) 4858 { 4859 switch (x->index) 4860 { 4861 case 0: 4862 Delete_NonStandardParameter(x->nonStandard); 4863 OSCL_DEFAULT_FREE(x->nonStandard); 4864 break; 4865 case 1: 4866 Delete_VideoMode(x->videoMode); 4867 OSCL_DEFAULT_FREE(x->videoMode); 4868 break; 4869 case 2: 4870 Delete_AudioMode(x->audioMode); 4871 OSCL_DEFAULT_FREE(x->audioMode); 4872 break; 4873 case 3: 4874 Delete_DataMode(x->dataMode); 4875 OSCL_DEFAULT_FREE(x->dataMode); 4876 break; 4877 /* ------------------------------- */ 4878 /* ---- Extension Begins Here ---- */ 4879 /* ------------------------------- */ 4880 default: 4881 ErrorMessage("Delete_MediaMode: Illegal CHOICE index"); 4882 } 4883 } 4884 4885 /* <=============================================> */ 4886 /* PER-Deleter for H223ModeParameters (SEQUENCE) */ 4887 /* <=============================================> */ Delete_H223ModeParameters(PS_H223ModeParameters x)4888void Delete_H223ModeParameters(PS_H223ModeParameters x) 4889 { 4890 Delete_ModeAdaptationLayerType(&x->modeAdaptationLayerType); 4891 /* ------------------------------- */ 4892 /* ---- Extension Begins Here ---- */ 4893 /* ------------------------------- */ 4894 } 4895 4896 /* <================================================> */ 4897 /* PER-Deleter for ModeAdaptationLayerType (CHOICE) */ 4898 /* <================================================> */ Delete_ModeAdaptationLayerType(PS_ModeAdaptationLayerType x)4899void Delete_ModeAdaptationLayerType(PS_ModeAdaptationLayerType x) 4900 { 4901 switch (x->index) 4902 { 4903 case 0: 4904 Delete_NonStandardParameter(x->nonStandard); 4905 OSCL_DEFAULT_FREE(x->nonStandard); 4906 break; 4907 case 1: 4908 /* (al1Framed is NULL) */ 4909 break; 4910 case 2: 4911 /* (al1NotFramed is NULL) */ 4912 break; 4913 case 3: 4914 /* (al2WithoutSequenceNumbers is NULL) */ 4915 break; 4916 case 4: 4917 /* (al2WithSequenceNumbers is NULL) */ 4918 break; 4919 case 5: 4920 Delete_ModeAl3(x->modeAl3); 4921 OSCL_DEFAULT_FREE(x->modeAl3); 4922 break; 4923 /* ------------------------------- */ 4924 /* ---- Extension Begins Here ---- */ 4925 /* ------------------------------- */ 4926 case 6: 4927 Delete_H223AL1MParameters(x->al1M); 4928 OSCL_DEFAULT_FREE(x->al1M); 4929 break; 4930 case 7: 4931 Delete_H223AL2MParameters(x->al2M); 4932 OSCL_DEFAULT_FREE(x->al2M); 4933 break; 4934 case 8: 4935 Delete_H223AL3MParameters(x->al3M); 4936 OSCL_DEFAULT_FREE(x->al3M); 4937 break; 4938 default: 4939 ErrorMessage("Delete_ModeAdaptationLayerType: Illegal CHOICE index"); 4940 } 4941 } 4942 4943 /* <==================================> */ 4944 /* PER-Deleter for ModeAl3 (SEQUENCE) */ 4945 /* <==================================> */ Delete_ModeAl3(PS_ModeAl3 x)4946void Delete_ModeAl3(PS_ModeAl3 x) 4947 { 4948 OSCL_UNUSED_ARG(x); 4949 } 4950 4951 /* <==========================================> */ 4952 /* PER-Deleter for V76ModeParameters (CHOICE) */ 4953 /* <==========================================> */ Delete_V76ModeParameters(PS_V76ModeParameters x)4954void Delete_V76ModeParameters(PS_V76ModeParameters x) 4955 { 4956 switch (x->index) 4957 { 4958 case 0: 4959 /* (suspendResumewAddress is NULL) */ 4960 break; 4961 case 1: 4962 /* (suspendResumewoAddress is NULL) */ 4963 break; 4964 /* ------------------------------- */ 4965 /* ---- Extension Begins Here ---- */ 4966 /* ------------------------------- */ 4967 default: 4968 ErrorMessage("Delete_V76ModeParameters: Illegal CHOICE index"); 4969 } 4970 } 4971 4972 /* <==============================================> */ 4973 /* PER-Deleter for H2250ModeParameters (SEQUENCE) */ 4974 /* <==============================================> */ Delete_H2250ModeParameters(PS_H2250ModeParameters x)4975void Delete_H2250ModeParameters(PS_H2250ModeParameters x) 4976 { 4977 if (x->option_of_redundancyEncodingMode) 4978 { 4979 Delete_RedundancyEncodingMode(&x->redundancyEncodingMode); 4980 } 4981 /* ------------------------------- */ 4982 /* ---- Extension Begins Here ---- */ 4983 /* ------------------------------- */ 4984 } 4985 4986 /* <=================================================> */ 4987 /* PER-Deleter for RedundancyEncodingMode (SEQUENCE) */ 4988 /* <=================================================> */ Delete_RedundancyEncodingMode(PS_RedundancyEncodingMode x)4989void Delete_RedundancyEncodingMode(PS_RedundancyEncodingMode x) 4990 { 4991 Delete_RedundancyEncodingMethod(&x->redundancyEncodingMethod); 4992 if (x->option_of_secondaryEncoding) 4993 { 4994 Delete_SecondaryEncoding(&x->secondaryEncoding); 4995 } 4996 /* ------------------------------- */ 4997 /* ---- Extension Begins Here ---- */ 4998 /* ------------------------------- */ 4999 } 5000 5001 /* <==========================================> */ 5002 /* PER-Deleter for SecondaryEncoding (CHOICE) */ 5003 /* <==========================================> */ Delete_SecondaryEncoding(PS_SecondaryEncoding x)5004void Delete_SecondaryEncoding(PS_SecondaryEncoding x) 5005 { 5006 switch (x->index) 5007 { 5008 case 0: 5009 Delete_NonStandardParameter(x->nonStandard); 5010 OSCL_DEFAULT_FREE(x->nonStandard); 5011 break; 5012 case 1: 5013 Delete_AudioMode(x->audioData); 5014 OSCL_DEFAULT_FREE(x->audioData); 5015 break; 5016 /* ------------------------------- */ 5017 /* ---- Extension Begins Here ---- */ 5018 /* ------------------------------- */ 5019 default: 5020 ErrorMessage("Delete_SecondaryEncoding: Illegal CHOICE index"); 5021 } 5022 } 5023 5024 /* <==================================> */ 5025 /* PER-Deleter for VideoMode (CHOICE) */ 5026 /* <==================================> */ Delete_VideoMode(PS_VideoMode x)5027void Delete_VideoMode(PS_VideoMode x) 5028 { 5029 switch (x->index) 5030 { 5031 case 0: 5032 Delete_NonStandardParameter(x->nonStandard); 5033 OSCL_DEFAULT_FREE(x->nonStandard); 5034 break; 5035 case 1: 5036 Delete_H261VideoMode(x->h261VideoMode); 5037 OSCL_DEFAULT_FREE(x->h261VideoMode); 5038 break; 5039 case 2: 5040 Delete_H262VideoMode(x->h262VideoMode); 5041 OSCL_DEFAULT_FREE(x->h262VideoMode); 5042 break; 5043 case 3: 5044 Delete_H263VideoMode(x->h263VideoMode); 5045 OSCL_DEFAULT_FREE(x->h263VideoMode); 5046 break; 5047 case 4: 5048 Delete_IS11172VideoMode(x->is11172VideoMode); 5049 OSCL_DEFAULT_FREE(x->is11172VideoMode); 5050 break; 5051 /* ------------------------------- */ 5052 /* ---- Extension Begins Here ---- */ 5053 /* ------------------------------- */ 5054 case 5: 5055 Delete_GenericCapability(x->genericVideoMode); 5056 OSCL_DEFAULT_FREE(x->genericVideoMode); 5057 break; 5058 default: 5059 ErrorMessage("Delete_VideoMode: Illegal CHOICE index"); 5060 } 5061 } 5062 5063 /* <========================================> */ 5064 /* PER-Deleter for H261VideoMode (SEQUENCE) */ 5065 /* <========================================> */ Delete_H261VideoMode(PS_H261VideoMode x)5066void Delete_H261VideoMode(PS_H261VideoMode x) 5067 { 5068 Delete_Resolution(&x->resolution); 5069 /* ------------------------------- */ 5070 /* ---- Extension Begins Here ---- */ 5071 /* ------------------------------- */ 5072 } 5073 5074 /* <===================================> */ 5075 /* PER-Deleter for Resolution (CHOICE) */ 5076 /* <===================================> */ Delete_Resolution(PS_Resolution x)5077void Delete_Resolution(PS_Resolution x) 5078 { 5079 switch (x->index) 5080 { 5081 case 0: 5082 /* (qcif is NULL) */ 5083 break; 5084 case 1: 5085 /* (cif is NULL) */ 5086 break; 5087 default: 5088 ErrorMessage("Delete_Resolution: Illegal CHOICE index"); 5089 } 5090 } 5091 5092 /* <========================================> */ 5093 /* PER-Deleter for H262VideoMode (SEQUENCE) */ 5094 /* <========================================> */ Delete_H262VideoMode(PS_H262VideoMode x)5095void Delete_H262VideoMode(PS_H262VideoMode x) 5096 { 5097 Delete_ProfileAndLevel(&x->profileAndLevel); 5098 if (x->option_of_videoBitRate) 5099 { 5100 } 5101 if (x->option_of_vbvBufferSize) 5102 { 5103 } 5104 if (x->option_of_samplesPerLine) 5105 { 5106 } 5107 if (x->option_of_linesPerFrame) 5108 { 5109 } 5110 if (x->option_of_framesPerSecond) 5111 { 5112 } 5113 if (x->option_of_luminanceSampleRate) 5114 { 5115 } 5116 /* ------------------------------- */ 5117 /* ---- Extension Begins Here ---- */ 5118 /* ------------------------------- */ 5119 } 5120 5121 /* <========================================> */ 5122 /* PER-Deleter for ProfileAndLevel (CHOICE) */ 5123 /* <========================================> */ Delete_ProfileAndLevel(PS_ProfileAndLevel x)5124void Delete_ProfileAndLevel(PS_ProfileAndLevel x) 5125 { 5126 switch (x->index) 5127 { 5128 case 0: 5129 /* (profileAndLevel_SPatML is NULL) */ 5130 break; 5131 case 1: 5132 /* (profileAndLevel_MPatLL is NULL) */ 5133 break; 5134 case 2: 5135 /* (profileAndLevel_MPatML is NULL) */ 5136 break; 5137 case 3: 5138 /* (profileAndLevel_MPatH_14 is NULL) */ 5139 break; 5140 case 4: 5141 /* (profileAndLevel_MPatHL is NULL) */ 5142 break; 5143 case 5: 5144 /* (profileAndLevel_SNRatLL is NULL) */ 5145 break; 5146 case 6: 5147 /* (profileAndLevel_SNRatML is NULL) */ 5148 break; 5149 case 7: 5150 /* (profileAndLevel_SpatialatH_14 is NULL) */ 5151 break; 5152 case 8: 5153 /* (profileAndLevel_HPatML is NULL) */ 5154 break; 5155 case 9: 5156 /* (profileAndLevel_HPatH_14 is NULL) */ 5157 break; 5158 case 10: 5159 /* (profileAndLevel_HPatHL is NULL) */ 5160 break; 5161 /* ------------------------------- */ 5162 /* ---- Extension Begins Here ---- */ 5163 /* ------------------------------- */ 5164 default: 5165 ErrorMessage("Delete_ProfileAndLevel: Illegal CHOICE index"); 5166 } 5167 } 5168 5169 /* <========================================> */ 5170 /* PER-Deleter for H263VideoMode (SEQUENCE) */ 5171 /* <========================================> */ Delete_H263VideoMode(PS_H263VideoMode x)5172void Delete_H263VideoMode(PS_H263VideoMode x) 5173 { 5174 uint32 extension; 5175 5176 extension = x->option_of_errorCompensation | 5177 x->option_of_enhancementLayerInfo | 5178 x->option_of_h263Options; 5179 Delete_H263Resolution(&x->h263Resolution); 5180 /* ------------------------------- */ 5181 /* ---- Extension Begins Here ---- */ 5182 /* ------------------------------- */ 5183 if (!extension) return; /* (No items present?) */ 5184 if (x->option_of_errorCompensation) 5185 { 5186 } 5187 if (x->option_of_enhancementLayerInfo) 5188 { 5189 Delete_EnhancementLayerInfo(&x->enhancementLayerInfo); 5190 } 5191 if (x->option_of_h263Options) 5192 { 5193 Delete_H263Options(&x->h263Options); 5194 } 5195 } 5196 5197 /* <=======================================> */ 5198 /* PER-Deleter for H263Resolution (CHOICE) */ 5199 /* <=======================================> */ Delete_H263Resolution(PS_H263Resolution x)5200void Delete_H263Resolution(PS_H263Resolution x) 5201 { 5202 switch (x->index) 5203 { 5204 case 0: 5205 /* (sqcif is NULL) */ 5206 break; 5207 case 1: 5208 /* (qcif is NULL) */ 5209 break; 5210 case 2: 5211 /* (cif is NULL) */ 5212 break; 5213 case 3: 5214 /* (cif4 is NULL) */ 5215 break; 5216 case 4: 5217 /* (cif16 is NULL) */ 5218 break; 5219 /* ------------------------------- */ 5220 /* ---- Extension Begins Here ---- */ 5221 /* ------------------------------- */ 5222 default: 5223 ErrorMessage("Delete_H263Resolution: Illegal CHOICE index"); 5224 } 5225 } 5226 5227 /* <===========================================> */ 5228 /* PER-Deleter for IS11172VideoMode (SEQUENCE) */ 5229 /* <===========================================> */ Delete_IS11172VideoMode(PS_IS11172VideoMode x)5230void Delete_IS11172VideoMode(PS_IS11172VideoMode x) 5231 { 5232 if (x->option_of_videoBitRate) 5233 { 5234 } 5235 if (x->option_of_vbvBufferSize) 5236 { 5237 } 5238 if (x->option_of_samplesPerLine) 5239 { 5240 } 5241 if (x->option_of_linesPerFrame) 5242 { 5243 } 5244 if (x->option_of_pictureRate) 5245 { 5246 } 5247 if (x->option_of_luminanceSampleRate) 5248 { 5249 } 5250 /* ------------------------------- */ 5251 /* ---- Extension Begins Here ---- */ 5252 /* ------------------------------- */ 5253 } 5254 5255 /* <==================================> */ 5256 /* PER-Deleter for AudioMode (CHOICE) */ 5257 /* <==================================> */ Delete_AudioMode(PS_AudioMode x)5258void Delete_AudioMode(PS_AudioMode x) 5259 { 5260 switch (x->index) 5261 { 5262 case 0: 5263 Delete_NonStandardParameter(x->nonStandard); 5264 OSCL_DEFAULT_FREE(x->nonStandard); 5265 break; 5266 case 1: 5267 /* (g711Alaw64k is NULL) */ 5268 break; 5269 case 2: 5270 /* (g711Alaw56k is NULL) */ 5271 break; 5272 case 3: 5273 /* (g711Ulaw64k is NULL) */ 5274 break; 5275 case 4: 5276 /* (g711Ulaw56k is NULL) */ 5277 break; 5278 case 5: 5279 /* (g722_64k is NULL) */ 5280 break; 5281 case 6: 5282 /* (g722_56k is NULL) */ 5283 break; 5284 case 7: 5285 /* (g722_48k is NULL) */ 5286 break; 5287 case 8: 5288 /* (g728 is NULL) */ 5289 break; 5290 case 9: 5291 /* (g729 is NULL) */ 5292 break; 5293 case 10: 5294 /* (g729AnnexA is NULL) */ 5295 break; 5296 case 11: 5297 Delete_ModeG7231(x->modeG7231); 5298 OSCL_DEFAULT_FREE(x->modeG7231); 5299 break; 5300 case 12: 5301 Delete_IS11172AudioMode(x->is11172AudioMode); 5302 OSCL_DEFAULT_FREE(x->is11172AudioMode); 5303 break; 5304 case 13: 5305 Delete_IS13818AudioMode(x->is13818AudioMode); 5306 OSCL_DEFAULT_FREE(x->is13818AudioMode); 5307 break; 5308 /* ------------------------------- */ 5309 /* ---- Extension Begins Here ---- */ 5310 /* ------------------------------- */ 5311 case 14: 5312 break; 5313 case 15: 5314 break; 5315 case 16: 5316 Delete_G7231AnnexCMode(x->g7231AnnexCMode); 5317 OSCL_DEFAULT_FREE(x->g7231AnnexCMode); 5318 break; 5319 case 17: 5320 Delete_GSMAudioCapability(x->gsmFullRate); 5321 OSCL_DEFAULT_FREE(x->gsmFullRate); 5322 break; 5323 case 18: 5324 Delete_GSMAudioCapability(x->gsmHalfRate); 5325 OSCL_DEFAULT_FREE(x->gsmHalfRate); 5326 break; 5327 case 19: 5328 Delete_GSMAudioCapability(x->gsmEnhancedFullRate); 5329 OSCL_DEFAULT_FREE(x->gsmEnhancedFullRate); 5330 break; 5331 case 20: 5332 Delete_GenericCapability(x->genericAudioMode); 5333 OSCL_DEFAULT_FREE(x->genericAudioMode); 5334 break; 5335 case 21: 5336 Delete_G729Extensions(x->g729Extensions); 5337 OSCL_DEFAULT_FREE(x->g729Extensions); 5338 break; 5339 default: 5340 ErrorMessage("Delete_AudioMode: Illegal CHOICE index"); 5341 } 5342 } 5343 5344 /* <==================================> */ 5345 /* PER-Deleter for ModeG7231 (CHOICE) */ 5346 /* <==================================> */ Delete_ModeG7231(PS_ModeG7231 x)5347void Delete_ModeG7231(PS_ModeG7231 x) 5348 { 5349 switch (x->index) 5350 { 5351 case 0: 5352 /* (noSilenceSuppressionLowRate is NULL) */ 5353 break; 5354 case 1: 5355 /* (noSilenceSuppressionHighRate is NULL) */ 5356 break; 5357 case 2: 5358 /* (silenceSuppressionLowRate is NULL) */ 5359 break; 5360 case 3: 5361 /* (silenceSuppressionHighRate is NULL) */ 5362 break; 5363 default: 5364 ErrorMessage("Delete_ModeG7231: Illegal CHOICE index"); 5365 } 5366 } 5367 5368 /* <===========================================> */ 5369 /* PER-Deleter for IS11172AudioMode (SEQUENCE) */ 5370 /* <===========================================> */ Delete_IS11172AudioMode(PS_IS11172AudioMode x)5371void Delete_IS11172AudioMode(PS_IS11172AudioMode x) 5372 { 5373 Delete_AudioLayer(&x->audioLayer); 5374 Delete_AudioSampling(&x->audioSampling); 5375 Delete_MultichannelType(&x->multichannelType); 5376 /* ------------------------------- */ 5377 /* ---- Extension Begins Here ---- */ 5378 /* ------------------------------- */ 5379 } 5380 5381 /* <=========================================> */ 5382 /* PER-Deleter for MultichannelType (CHOICE) */ 5383 /* <=========================================> */ Delete_MultichannelType(PS_MultichannelType x)5384void Delete_MultichannelType(PS_MultichannelType x) 5385 { 5386 switch (x->index) 5387 { 5388 case 0: 5389 /* (singleChannel is NULL) */ 5390 break; 5391 case 1: 5392 /* (twoChannelStereo is NULL) */ 5393 break; 5394 case 2: 5395 /* (twoChannelDual is NULL) */ 5396 break; 5397 default: 5398 ErrorMessage("Delete_MultichannelType: Illegal CHOICE index"); 5399 } 5400 } 5401 5402 /* <======================================> */ 5403 /* PER-Deleter for AudioSampling (CHOICE) */ 5404 /* <======================================> */ Delete_AudioSampling(PS_AudioSampling x)5405void Delete_AudioSampling(PS_AudioSampling x) 5406 { 5407 switch (x->index) 5408 { 5409 case 0: 5410 /* (audioSampling32k is NULL) */ 5411 break; 5412 case 1: 5413 /* (audioSampling44k1 is NULL) */ 5414 break; 5415 case 2: 5416 /* (audioSampling48k is NULL) */ 5417 break; 5418 default: 5419 ErrorMessage("Delete_AudioSampling: Illegal CHOICE index"); 5420 } 5421 } 5422 5423 /* <===================================> */ 5424 /* PER-Deleter for AudioLayer (CHOICE) */ 5425 /* <===================================> */ Delete_AudioLayer(PS_AudioLayer x)5426void Delete_AudioLayer(PS_AudioLayer x) 5427 { 5428 switch (x->index) 5429 { 5430 case 0: 5431 /* (audioLayer1 is NULL) */ 5432 break; 5433 case 1: 5434 /* (audioLayer2 is NULL) */ 5435 break; 5436 case 2: 5437 /* (audioLayer3 is NULL) */ 5438 break; 5439 default: 5440 ErrorMessage("Delete_AudioLayer: Illegal CHOICE index"); 5441 } 5442 } 5443 5444 /* <===========================================> */ 5445 /* PER-Deleter for IS13818AudioMode (SEQUENCE) */ 5446 /* <===========================================> */ Delete_IS13818AudioMode(PS_IS13818AudioMode x)5447void Delete_IS13818AudioMode(PS_IS13818AudioMode x) 5448 { 5449 Delete_Is13818AudioLayer(&x->is13818AudioLayer); 5450 Delete_Is13818AudioSampling(&x->is13818AudioSampling); 5451 Delete_Is13818MultichannelType(&x->is13818MultichannelType); 5452 /* ------------------------------- */ 5453 /* ---- Extension Begins Here ---- */ 5454 /* ------------------------------- */ 5455 } 5456 5457 /* <================================================> */ 5458 /* PER-Deleter for Is13818MultichannelType (CHOICE) */ 5459 /* <================================================> */ Delete_Is13818MultichannelType(PS_Is13818MultichannelType x)5460void Delete_Is13818MultichannelType(PS_Is13818MultichannelType x) 5461 { 5462 switch (x->index) 5463 { 5464 case 0: 5465 /* (singleChannel is NULL) */ 5466 break; 5467 case 1: 5468 /* (twoChannelStereo is NULL) */ 5469 break; 5470 case 2: 5471 /* (twoChannelDual is NULL) */ 5472 break; 5473 case 3: 5474 /* (threeChannels2_1 is NULL) */ 5475 break; 5476 case 4: 5477 /* (threeChannels3_0 is NULL) */ 5478 break; 5479 case 5: 5480 /* (fourChannels2_0_2_0 is NULL) */ 5481 break; 5482 case 6: 5483 /* (fourChannels2_2 is NULL) */ 5484 break; 5485 case 7: 5486 /* (fourChannels3_1 is NULL) */ 5487 break; 5488 case 8: 5489 /* (fiveChannels3_0_2_0 is NULL) */ 5490 break; 5491 case 9: 5492 /* (fiveChannels3_2 is NULL) */ 5493 break; 5494 default: 5495 ErrorMessage("Delete_Is13818MultichannelType: Illegal CHOICE index"); 5496 } 5497 } 5498 5499 /* <=============================================> */ 5500 /* PER-Deleter for Is13818AudioSampling (CHOICE) */ 5501 /* <=============================================> */ Delete_Is13818AudioSampling(PS_Is13818AudioSampling x)5502void Delete_Is13818AudioSampling(PS_Is13818AudioSampling x) 5503 { 5504 switch (x->index) 5505 { 5506 case 0: 5507 /* (audioSampling16k is NULL) */ 5508 break; 5509 case 1: 5510 /* (audioSampling22k05 is NULL) */ 5511 break; 5512 case 2: 5513 /* (audioSampling24k is NULL) */ 5514 break; 5515 case 3: 5516 /* (audioSampling32k is NULL) */ 5517 break; 5518 case 4: 5519 /* (audioSampling44k1 is NULL) */ 5520 break; 5521 case 5: 5522 /* (audioSampling48k is NULL) */ 5523 break; 5524 default: 5525 ErrorMessage("Delete_Is13818AudioSampling: Illegal CHOICE index"); 5526 } 5527 } 5528 5529 /* <==========================================> */ 5530 /* PER-Deleter for Is13818AudioLayer (CHOICE) */ 5531 /* <==========================================> */ Delete_Is13818AudioLayer(PS_Is13818AudioLayer x)5532void Delete_Is13818AudioLayer(PS_Is13818AudioLayer x) 5533 { 5534 switch (x->index) 5535 { 5536 case 0: 5537 /* (audioLayer1 is NULL) */ 5538 break; 5539 case 1: 5540 /* (audioLayer2 is NULL) */ 5541 break; 5542 case 2: 5543 /* (audioLayer3 is NULL) */ 5544 break; 5545 default: 5546 ErrorMessage("Delete_Is13818AudioLayer: Illegal CHOICE index"); 5547 } 5548 } 5549 5550 /* <==========================================> */ 5551 /* PER-Deleter for G7231AnnexCMode (SEQUENCE) */ 5552 /* <==========================================> */ Delete_G7231AnnexCMode(PS_G7231AnnexCMode x)5553void Delete_G7231AnnexCMode(PS_G7231AnnexCMode x) 5554 { 5555 Delete_ModeG723AnnexCAudioMode(&x->modeG723AnnexCAudioMode); 5556 /* ------------------------------- */ 5557 /* ---- Extension Begins Here ---- */ 5558 /* ------------------------------- */ 5559 } 5560 5561 /* <==================================================> */ 5562 /* PER-Deleter for ModeG723AnnexCAudioMode (SEQUENCE) */ 5563 /* <==================================================> */ Delete_ModeG723AnnexCAudioMode(PS_ModeG723AnnexCAudioMode x)5564void Delete_ModeG723AnnexCAudioMode(PS_ModeG723AnnexCAudioMode x) 5565 { 5566 OSCL_UNUSED_ARG(x); 5567 /* ------------------------------- */ 5568 /* ---- Extension Begins Here ---- */ 5569 /* ------------------------------- */ 5570 } 5571 5572 /* <===================================> */ 5573 /* PER-Deleter for DataMode (SEQUENCE) */ 5574 /* <===================================> */ Delete_DataMode(PS_DataMode x)5575void Delete_DataMode(PS_DataMode x) 5576 { 5577 Delete_DmApplication(&x->dmApplication); 5578 /* ------------------------------- */ 5579 /* ---- Extension Begins Here ---- */ 5580 /* ------------------------------- */ 5581 } 5582 5583 /* <======================================> */ 5584 /* PER-Deleter for DmApplication (CHOICE) */ 5585 /* <======================================> */ Delete_DmApplication(PS_DmApplication x)5586void Delete_DmApplication(PS_DmApplication x) 5587 { 5588 switch (x->index) 5589 { 5590 case 0: 5591 Delete_NonStandardParameter(x->nonStandard); 5592 OSCL_DEFAULT_FREE(x->nonStandard); 5593 break; 5594 case 1: 5595 Delete_DataProtocolCapability(x->t120); 5596 OSCL_DEFAULT_FREE(x->t120); 5597 break; 5598 case 2: 5599 Delete_DataProtocolCapability(x->dsm_cc); 5600 OSCL_DEFAULT_FREE(x->dsm_cc); 5601 break; 5602 case 3: 5603 Delete_DataProtocolCapability(x->userData); 5604 OSCL_DEFAULT_FREE(x->userData); 5605 break; 5606 case 4: 5607 Delete_DataProtocolCapability(x->t84); 5608 OSCL_DEFAULT_FREE(x->t84); 5609 break; 5610 case 5: 5611 Delete_DataProtocolCapability(x->t434); 5612 OSCL_DEFAULT_FREE(x->t434); 5613 break; 5614 case 6: 5615 Delete_DataProtocolCapability(x->h224); 5616 OSCL_DEFAULT_FREE(x->h224); 5617 break; 5618 case 7: 5619 Delete_DmNlpid(x->dmNlpid); 5620 OSCL_DEFAULT_FREE(x->dmNlpid); 5621 break; 5622 case 8: 5623 /* (dsvdControl is NULL) */ 5624 break; 5625 case 9: 5626 Delete_DataProtocolCapability(x->h222DataPartitioning); 5627 OSCL_DEFAULT_FREE(x->h222DataPartitioning); 5628 break; 5629 /* ------------------------------- */ 5630 /* ---- Extension Begins Here ---- */ 5631 /* ------------------------------- */ 5632 case 10: 5633 Delete_DataProtocolCapability(x->t30fax); 5634 OSCL_DEFAULT_FREE(x->t30fax); 5635 break; 5636 case 11: 5637 Delete_DataProtocolCapability(x->t140); 5638 OSCL_DEFAULT_FREE(x->t140); 5639 break; 5640 case 12: 5641 Delete_DmT38fax(x->dmT38fax); 5642 OSCL_DEFAULT_FREE(x->dmT38fax); 5643 break; 5644 case 13: 5645 Delete_GenericCapability(x->genericDataMode); 5646 OSCL_DEFAULT_FREE(x->genericDataMode); 5647 break; 5648 default: 5649 ErrorMessage("Delete_DmApplication: Illegal CHOICE index"); 5650 } 5651 } 5652 5653 /* <===================================> */ 5654 /* PER-Deleter for DmT38fax (SEQUENCE) */ 5655 /* <===================================> */ Delete_DmT38fax(PS_DmT38fax x)5656void Delete_DmT38fax(PS_DmT38fax x) 5657 { 5658 Delete_DataProtocolCapability(&x->t38FaxProtocol); 5659 Delete_T38FaxProfile(&x->t38FaxProfile); 5660 } 5661 5662 /* <==================================> */ 5663 /* PER-Deleter for DmNlpid (SEQUENCE) */ 5664 /* <==================================> */ Delete_DmNlpid(PS_DmNlpid x)5665void Delete_DmNlpid(PS_DmNlpid x) 5666 { 5667 if (x->nlpidData.size > 0) OSCL_DEFAULT_FREE(x->nlpidData.data); 5668 Delete_DataProtocolCapability(&x->nlpidProtocol); 5669 } 5670 5671 /* <=======================================> */ 5672 /* PER-Deleter for EncryptionMode (CHOICE) */ 5673 /* <=======================================> */ Delete_EncryptionMode(PS_EncryptionMode x)5674void Delete_EncryptionMode(PS_EncryptionMode x) 5675 { 5676 switch (x->index) 5677 { 5678 case 0: 5679 Delete_NonStandardParameter(x->nonStandard); 5680 OSCL_DEFAULT_FREE(x->nonStandard); 5681 break; 5682 case 1: 5683 /* (h233Encryption is NULL) */ 5684 break; 5685 /* ------------------------------- */ 5686 /* ---- Extension Begins Here ---- */ 5687 /* ------------------------------- */ 5688 default: 5689 ErrorMessage("Delete_EncryptionMode: Illegal CHOICE index"); 5690 } 5691 } 5692 5693 /* <================================================> */ 5694 /* PER-Deleter for RoundTripDelayRequest (SEQUENCE) */ 5695 /* <================================================> */ Delete_RoundTripDelayRequest(PS_RoundTripDelayRequest x)5696void Delete_RoundTripDelayRequest(PS_RoundTripDelayRequest x) 5697 { 5698 OSCL_UNUSED_ARG(x); 5699 /* ------------------------------- */ 5700 /* ---- Extension Begins Here ---- */ 5701 /* ------------------------------- */ 5702 } 5703 5704 /* <=================================================> */ 5705 /* PER-Deleter for RoundTripDelayResponse (SEQUENCE) */ 5706 /* <=================================================> */ Delete_RoundTripDelayResponse(PS_RoundTripDelayResponse x)5707void Delete_RoundTripDelayResponse(PS_RoundTripDelayResponse x) 5708 { 5709 OSCL_UNUSED_ARG(x); 5710 /* ------------------------------- */ 5711 /* ---- Extension Begins Here ---- */ 5712 /* ------------------------------- */ 5713 } 5714 5715 /* <=================================================> */ 5716 /* PER-Deleter for MaintenanceLoopRequest (SEQUENCE) */ 5717 /* <=================================================> */ Delete_MaintenanceLoopRequest(PS_MaintenanceLoopRequest x)5718void Delete_MaintenanceLoopRequest(PS_MaintenanceLoopRequest x) 5719 { 5720 Delete_MlRequestType(&x->mlRequestType); 5721 /* ------------------------------- */ 5722 /* ---- Extension Begins Here ---- */ 5723 /* ------------------------------- */ 5724 } 5725 5726 /* <======================================> */ 5727 /* PER-Deleter for MlRequestType (CHOICE) */ 5728 /* <======================================> */ Delete_MlRequestType(PS_MlRequestType x)5729void Delete_MlRequestType(PS_MlRequestType x) 5730 { 5731 switch (x->index) 5732 { 5733 case 0: 5734 /* (systemLoop is NULL) */ 5735 break; 5736 case 1: 5737 break; 5738 case 2: 5739 break; 5740 /* ------------------------------- */ 5741 /* ---- Extension Begins Here ---- */ 5742 /* ------------------------------- */ 5743 default: 5744 ErrorMessage("Delete_MlRequestType: Illegal CHOICE index"); 5745 } 5746 } 5747 5748 /* <=============================================> */ 5749 /* PER-Deleter for MaintenanceLoopAck (SEQUENCE) */ 5750 /* <=============================================> */ Delete_MaintenanceLoopAck(PS_MaintenanceLoopAck x)5751void Delete_MaintenanceLoopAck(PS_MaintenanceLoopAck x) 5752 { 5753 Delete_MlAckType(&x->mlAckType); 5754 /* ------------------------------- */ 5755 /* ---- Extension Begins Here ---- */ 5756 /* ------------------------------- */ 5757 } 5758 5759 /* <==================================> */ 5760 /* PER-Deleter for MlAckType (CHOICE) */ 5761 /* <==================================> */ Delete_MlAckType(PS_MlAckType x)5762void Delete_MlAckType(PS_MlAckType x) 5763 { 5764 switch (x->index) 5765 { 5766 case 0: 5767 /* (systemLoop is NULL) */ 5768 break; 5769 case 1: 5770 break; 5771 case 2: 5772 break; 5773 /* ------------------------------- */ 5774 /* ---- Extension Begins Here ---- */ 5775 /* ------------------------------- */ 5776 default: 5777 ErrorMessage("Delete_MlAckType: Illegal CHOICE index"); 5778 } 5779 } 5780 5781 /* <================================================> */ 5782 /* PER-Deleter for MaintenanceLoopReject (SEQUENCE) */ 5783 /* <================================================> */ Delete_MaintenanceLoopReject(PS_MaintenanceLoopReject x)5784void Delete_MaintenanceLoopReject(PS_MaintenanceLoopReject x) 5785 { 5786 Delete_MlRejectType(&x->mlRejectType); 5787 Delete_MlRejectCause(&x->mlRejectCause); 5788 /* ------------------------------- */ 5789 /* ---- Extension Begins Here ---- */ 5790 /* ------------------------------- */ 5791 } 5792 5793 /* <======================================> */ 5794 /* PER-Deleter for MlRejectCause (CHOICE) */ 5795 /* <======================================> */ Delete_MlRejectCause(PS_MlRejectCause x)5796void Delete_MlRejectCause(PS_MlRejectCause x) 5797 { 5798 switch (x->index) 5799 { 5800 case 0: 5801 /* (canNotPerformLoop is NULL) */ 5802 break; 5803 /* ------------------------------- */ 5804 /* ---- Extension Begins Here ---- */ 5805 /* ------------------------------- */ 5806 default: 5807 ErrorMessage("Delete_MlRejectCause: Illegal CHOICE index"); 5808 } 5809 } 5810 5811 /* <=====================================> */ 5812 /* PER-Deleter for MlRejectType (CHOICE) */ 5813 /* <=====================================> */ Delete_MlRejectType(PS_MlRejectType x)5814void Delete_MlRejectType(PS_MlRejectType x) 5815 { 5816 switch (x->index) 5817 { 5818 case 0: 5819 /* (systemLoop is NULL) */ 5820 break; 5821 case 1: 5822 break; 5823 case 2: 5824 break; 5825 /* ------------------------------- */ 5826 /* ---- Extension Begins Here ---- */ 5827 /* ------------------------------- */ 5828 default: 5829 ErrorMessage("Delete_MlRejectType: Illegal CHOICE index"); 5830 } 5831 } 5832 5833 /* <====================================================> */ 5834 /* PER-Deleter for MaintenanceLoopOffCommand (SEQUENCE) */ 5835 /* <====================================================> */ Delete_MaintenanceLoopOffCommand(PS_MaintenanceLoopOffCommand x)5836void Delete_MaintenanceLoopOffCommand(PS_MaintenanceLoopOffCommand x) 5837 { 5838 OSCL_UNUSED_ARG(x); 5839 /* ------------------------------- */ 5840 /* ---- Extension Begins Here ---- */ 5841 /* ------------------------------- */ 5842 } 5843 5844 /* <===================================================> */ 5845 /* PER-Deleter for CommunicationModeCommand (SEQUENCE) */ 5846 /* <===================================================> */ Delete_CommunicationModeCommand(PS_CommunicationModeCommand x)5847void Delete_CommunicationModeCommand(PS_CommunicationModeCommand x) 5848 { 5849 uint16 i = 0; 5850 for (i = 0; i < x->size_of_communicationModeTable; ++i) 5851 { 5852 Delete_CommunicationModeTableEntry(x->communicationModeTable + i); 5853 } 5854 OSCL_DEFAULT_FREE(x->communicationModeTable); 5855 /* ------------------------------- */ 5856 /* ---- Extension Begins Here ---- */ 5857 /* ------------------------------- */ 5858 } 5859 5860 /* <===================================================> */ 5861 /* PER-Deleter for CommunicationModeRequest (SEQUENCE) */ 5862 /* <===================================================> */ Delete_CommunicationModeRequest(PS_CommunicationModeRequest x)5863void Delete_CommunicationModeRequest(PS_CommunicationModeRequest x) 5864 { 5865 OSCL_UNUSED_ARG(x); 5866 /* ------------------------------- */ 5867 /* ---- Extension Begins Here ---- */ 5868 /* ------------------------------- */ 5869 } 5870 5871 /* <==================================================> */ 5872 /* PER-Deleter for CommunicationModeResponse (CHOICE) */ 5873 /* <==================================================> */ Delete_CommunicationModeResponse(PS_CommunicationModeResponse x)5874void Delete_CommunicationModeResponse(PS_CommunicationModeResponse x) 5875 { 5876 uint16 i; 5877 switch (x->index) 5878 { 5879 case 0: 5880 for (i = 0; i < x->size; ++i) 5881 { 5882 Delete_CommunicationModeTableEntry(x->communicationModeTable + i); 5883 } 5884 OSCL_DEFAULT_FREE(x->communicationModeTable); 5885 break; 5886 /* ------------------------------- */ 5887 /* ---- Extension Begins Here ---- */ 5888 /* ------------------------------- */ 5889 default: 5890 ErrorMessage("Delete_CommunicationModeResponse: Illegal CHOICE index"); 5891 } 5892 } 5893 5894 /* <======================================================> */ 5895 /* PER-Deleter for CommunicationModeTableEntry (SEQUENCE) */ 5896 /* <======================================================> */ Delete_CommunicationModeTableEntry(PS_CommunicationModeTableEntry x)5897void Delete_CommunicationModeTableEntry(PS_CommunicationModeTableEntry x) 5898 { 5899 uint16 i = 0; 5900 uint32 extension; 5901 5902 extension = x->option_of_redundancyEncoding | 5903 x->option_of_sessionDependency | 5904 x->option_of_destination; 5905 if (x->option_of_nonStandard) 5906 { 5907 for (i = 0; i < x->size_of_nonStandard; ++i) 5908 { 5909 Delete_NonStandardParameter(x->nonStandard + i); 5910 } 5911 OSCL_DEFAULT_FREE(x->nonStandard); 5912 } 5913 if (x->option_of_associatedSessionID) 5914 { 5915 } 5916 if (x->option_of_terminalLabel) 5917 { 5918 Delete_TerminalLabel(&x->terminalLabel); 5919 } 5920 Delete_CmtDataType(&x->cmtDataType); 5921 if (x->option_of_mediaChannel) 5922 { 5923 Delete_TransportAddress(&x->mediaChannel); 5924 } 5925 if (x->option_of_mediaGuaranteedDelivery) 5926 { 5927 } 5928 if (x->option_of_mediaControlChannel) 5929 { 5930 Delete_TransportAddress(&x->mediaControlChannel); 5931 } 5932 if (x->option_of_mediaControlGuaranteedDelivery) 5933 { 5934 } 5935 /* ------------------------------- */ 5936 /* ---- Extension Begins Here ---- */ 5937 /* ------------------------------- */ 5938 if (!extension) return; /* (No items present?) */ 5939 if (x->option_of_redundancyEncoding) 5940 { 5941 Delete_RedundancyEncoding(&x->redundancyEncoding); 5942 } 5943 if (x->option_of_sessionDependency) 5944 { 5945 } 5946 if (x->option_of_destination) 5947 { 5948 Delete_TerminalLabel(&x->destination); 5949 } 5950 } 5951 5952 /* <====================================> */ 5953 /* PER-Deleter for CmtDataType (CHOICE) */ 5954 /* <====================================> */ Delete_CmtDataType(PS_CmtDataType x)5955void Delete_CmtDataType(PS_CmtDataType x) 5956 { 5957 switch (x->index) 5958 { 5959 case 0: 5960 Delete_VideoCapability(x->videoData); 5961 OSCL_DEFAULT_FREE(x->videoData); 5962 break; 5963 case 1: 5964 Delete_AudioCapability(x->audioData); 5965 OSCL_DEFAULT_FREE(x->audioData); 5966 break; 5967 case 2: 5968 Delete_DataApplicationCapability(x->data); 5969 OSCL_DEFAULT_FREE(x->data); 5970 break; 5971 /* ------------------------------- */ 5972 /* ---- Extension Begins Here ---- */ 5973 /* ------------------------------- */ 5974 default: 5975 ErrorMessage("Delete_CmtDataType: Illegal CHOICE index"); 5976 } 5977 } 5978 5979 /* <==========================================> */ 5980 /* PER-Deleter for ConferenceRequest (CHOICE) */ 5981 /* <==========================================> */ Delete_ConferenceRequest(PS_ConferenceRequest x)5982void Delete_ConferenceRequest(PS_ConferenceRequest x) 5983 { 5984 switch (x->index) 5985 { 5986 case 0: 5987 /* (terminalListRequest is NULL) */ 5988 break; 5989 case 1: 5990 /* (makeMeChair is NULL) */ 5991 break; 5992 case 2: 5993 /* (cancelMakeMeChair is NULL) */ 5994 break; 5995 case 3: 5996 Delete_TerminalLabel(x->dropTerminal); 5997 OSCL_DEFAULT_FREE(x->dropTerminal); 5998 break; 5999 case 4: 6000 Delete_TerminalLabel(x->requestTerminalID); 6001 OSCL_DEFAULT_FREE(x->requestTerminalID); 6002 break; 6003 case 5: 6004 /* (enterH243Password is NULL) */ 6005 break; 6006 case 6: 6007 /* (enterH243TerminalID is NULL) */ 6008 break; 6009 case 7: 6010 /* (enterH243ConferenceID is NULL) */ 6011 break; 6012 /* ------------------------------- */ 6013 /* ---- Extension Begins Here ---- */ 6014 /* ------------------------------- */ 6015 case 8: 6016 break; 6017 case 9: 6018 break; 6019 case 10: 6020 Delete_RequestTerminalCertificate(x->requestTerminalCertificate); 6021 OSCL_DEFAULT_FREE(x->requestTerminalCertificate); 6022 break; 6023 case 11: 6024 break; 6025 case 12: 6026 Delete_TerminalLabel(x->makeTerminalBroadcaster); 6027 OSCL_DEFAULT_FREE(x->makeTerminalBroadcaster); 6028 break; 6029 case 13: 6030 Delete_TerminalLabel(x->sendThisSource); 6031 OSCL_DEFAULT_FREE(x->sendThisSource); 6032 break; 6033 case 14: 6034 break; 6035 case 15: 6036 Delete_RemoteMCRequest(x->remoteMCRequest); 6037 OSCL_DEFAULT_FREE(x->remoteMCRequest); 6038 break; 6039 default: 6040 ErrorMessage("Delete_ConferenceRequest: Illegal CHOICE index"); 6041 } 6042 } 6043 6044 /* <=====================================================> */ 6045 /* PER-Deleter for RequestTerminalCertificate (SEQUENCE) */ 6046 /* <=====================================================> */ Delete_RequestTerminalCertificate(PS_RequestTerminalCertificate x)6047void Delete_RequestTerminalCertificate(PS_RequestTerminalCertificate x) 6048 { 6049 if (x->option_of_terminalLabel) 6050 { 6051 Delete_TerminalLabel(&x->terminalLabel); 6052 } 6053 if (x->option_of_certSelectionCriteria) 6054 { 6055 Delete_CertSelectionCriteria(&x->certSelectionCriteria); 6056 } 6057 if (x->option_of_sRandom) 6058 { 6059 } 6060 /* ------------------------------- */ 6061 /* ---- Extension Begins Here ---- */ 6062 /* ------------------------------- */ 6063 } 6064 6065 /* <===================================================> */ 6066 /* PER-Deleter for CertSelectionCriteria (SEQUENCE-OF) */ 6067 /* <===================================================> */ Delete_CertSelectionCriteria(PS_CertSelectionCriteria x)6068void Delete_CertSelectionCriteria(PS_CertSelectionCriteria x) 6069 { 6070 uint16 i; 6071 for (i = 0; i < x->size; ++i) 6072 { 6073 Delete_Criteria(x->item + i); 6074 } 6075 OSCL_DEFAULT_FREE(x->item); 6076 } 6077 6078 /* <===================================> */ 6079 /* PER-Deleter for Criteria (SEQUENCE) */ 6080 /* <===================================> */ Delete_Criteria(PS_Criteria x)6081void Delete_Criteria(PS_Criteria x) 6082 { 6083 OSCL_DEFAULT_FREE(x->field.data); 6084 /* ------------------------------- */ 6085 /* ---- Extension Begins Here ---- */ 6086 /* ------------------------------- */ 6087 } 6088 6089 /* <========================================> */ 6090 /* PER-Deleter for TerminalLabel (SEQUENCE) */ 6091 /* <========================================> */ Delete_TerminalLabel(PS_TerminalLabel x)6092void Delete_TerminalLabel(PS_TerminalLabel x) 6093 { 6094 OSCL_UNUSED_ARG(x); 6095 /* ------------------------------- */ 6096 /* ---- Extension Begins Here ---- */ 6097 /* ------------------------------- */ 6098 } 6099 6100 /* <===========================================> */ 6101 /* PER-Deleter for ConferenceResponse (CHOICE) */ 6102 /* <===========================================> */ Delete_ConferenceResponse(PS_ConferenceResponse x)6103void Delete_ConferenceResponse(PS_ConferenceResponse x) 6104 { 6105 uint16 i; 6106 switch (x->index) 6107 { 6108 case 0: 6109 Delete_MCTerminalIDResponse(x->mCTerminalIDResponse); 6110 OSCL_DEFAULT_FREE(x->mCTerminalIDResponse); 6111 break; 6112 case 1: 6113 Delete_TerminalIDResponse(x->terminalIDResponse); 6114 OSCL_DEFAULT_FREE(x->terminalIDResponse); 6115 break; 6116 case 2: 6117 Delete_ConferenceIDResponse(x->conferenceIDResponse); 6118 OSCL_DEFAULT_FREE(x->conferenceIDResponse); 6119 break; 6120 case 3: 6121 Delete_PasswordResponse(x->passwordResponse); 6122 OSCL_DEFAULT_FREE(x->passwordResponse); 6123 break; 6124 case 4: 6125 for (i = 0; i < x->size; ++i) 6126 { 6127 Delete_TerminalLabel(x->terminalListResponse + i); 6128 } 6129 OSCL_DEFAULT_FREE(x->terminalListResponse); 6130 break; 6131 case 5: 6132 /* (videoCommandReject is NULL) */ 6133 break; 6134 case 6: 6135 /* (terminalDropReject is NULL) */ 6136 break; 6137 case 7: 6138 Delete_MakeMeChairResponse(x->makeMeChairResponse); 6139 OSCL_DEFAULT_FREE(x->makeMeChairResponse); 6140 break; 6141 /* ------------------------------- */ 6142 /* ---- Extension Begins Here ---- */ 6143 /* ------------------------------- */ 6144 case 8: 6145 Delete_ExtensionAddressResponse(x->extensionAddressResponse); 6146 OSCL_DEFAULT_FREE(x->extensionAddressResponse); 6147 break; 6148 case 9: 6149 Delete_ChairTokenOwnerResponse(x->chairTokenOwnerResponse); 6150 OSCL_DEFAULT_FREE(x->chairTokenOwnerResponse); 6151 break; 6152 case 10: 6153 Delete_TerminalCertificateResponse(x->terminalCertificateResponse); 6154 OSCL_DEFAULT_FREE(x->terminalCertificateResponse); 6155 break; 6156 case 11: 6157 Delete_BroadcastMyLogicalChannelResponse(x->broadcastMyLogicalChannelResponse); 6158 OSCL_DEFAULT_FREE(x->broadcastMyLogicalChannelResponse); 6159 break; 6160 case 12: 6161 Delete_MakeTerminalBroadcasterResponse(x->makeTerminalBroadcasterResponse); 6162 OSCL_DEFAULT_FREE(x->makeTerminalBroadcasterResponse); 6163 break; 6164 case 13: 6165 Delete_SendThisSourceResponse(x->sendThisSourceResponse); 6166 OSCL_DEFAULT_FREE(x->sendThisSourceResponse); 6167 break; 6168 case 14: 6169 Delete_RequestAllTerminalIDsResponse(x->requestAllTerminalIDsResponse); 6170 OSCL_DEFAULT_FREE(x->requestAllTerminalIDsResponse); 6171 break; 6172 case 15: 6173 Delete_RemoteMCResponse(x->remoteMCResponse); 6174 OSCL_DEFAULT_FREE(x->remoteMCResponse); 6175 break; 6176 default: 6177 ErrorMessage("Delete_ConferenceResponse: Illegal CHOICE index"); 6178 } 6179 } 6180 6181 /* <===============================================> */ 6182 /* PER-Deleter for SendThisSourceResponse (CHOICE) */ 6183 /* <===============================================> */ Delete_SendThisSourceResponse(PS_SendThisSourceResponse x)6184void Delete_SendThisSourceResponse(PS_SendThisSourceResponse x) 6185 { 6186 switch (x->index) 6187 { 6188 case 0: 6189 /* (grantedSendThisSource is NULL) */ 6190 break; 6191 case 1: 6192 /* (deniedSendThisSource is NULL) */ 6193 break; 6194 /* ------------------------------- */ 6195 /* ---- Extension Begins Here ---- */ 6196 /* ------------------------------- */ 6197 default: 6198 ErrorMessage("Delete_SendThisSourceResponse: Illegal CHOICE index"); 6199 } 6200 } 6201 6202 /* <========================================================> */ 6203 /* PER-Deleter for MakeTerminalBroadcasterResponse (CHOICE) */ 6204 /* <========================================================> */ Delete_MakeTerminalBroadcasterResponse(PS_MakeTerminalBroadcasterResponse x)6205void Delete_MakeTerminalBroadcasterResponse(PS_MakeTerminalBroadcasterResponse x) 6206 { 6207 switch (x->index) 6208 { 6209 case 0: 6210 /* (grantedMakeTerminalBroadcaster is NULL) */ 6211 break; 6212 case 1: 6213 /* (deniedMakeTerminalBroadcaster is NULL) */ 6214 break; 6215 /* ------------------------------- */ 6216 /* ---- Extension Begins Here ---- */ 6217 /* ------------------------------- */ 6218 default: 6219 ErrorMessage("Delete_MakeTerminalBroadcasterResponse: Illegal CHOICE index"); 6220 } 6221 } 6222 6223 /* <==========================================================> */ 6224 /* PER-Deleter for BroadcastMyLogicalChannelResponse (CHOICE) */ 6225 /* <==========================================================> */ Delete_BroadcastMyLogicalChannelResponse(PS_BroadcastMyLogicalChannelResponse x)6226void Delete_BroadcastMyLogicalChannelResponse(PS_BroadcastMyLogicalChannelResponse x) 6227 { 6228 switch (x->index) 6229 { 6230 case 0: 6231 /* (grantedBroadcastMyLogicalChannel is NULL) */ 6232 break; 6233 case 1: 6234 /* (deniedBroadcastMyLogicalChannel is NULL) */ 6235 break; 6236 /* ------------------------------- */ 6237 /* ---- Extension Begins Here ---- */ 6238 /* ------------------------------- */ 6239 default: 6240 ErrorMessage("Delete_BroadcastMyLogicalChannelResponse: Illegal CHOICE index"); 6241 } 6242 } 6243 6244 /* <======================================================> */ 6245 /* PER-Deleter for TerminalCertificateResponse (SEQUENCE) */ 6246 /* <======================================================> */ Delete_TerminalCertificateResponse(PS_TerminalCertificateResponse x)6247void Delete_TerminalCertificateResponse(PS_TerminalCertificateResponse x) 6248 { 6249 if (x->option_of_terminalLabel) 6250 { 6251 Delete_TerminalLabel(&x->terminalLabel); 6252 } 6253 if (x->option_of_certificateResponse) 6254 { 6255 } 6256 /* ------------------------------- */ 6257 /* ---- Extension Begins Here ---- */ 6258 /* ------------------------------- */ 6259 } 6260 6261 /* <==================================================> */ 6262 /* PER-Deleter for ChairTokenOwnerResponse (SEQUENCE) */ 6263 /* <==================================================> */ Delete_ChairTokenOwnerResponse(PS_ChairTokenOwnerResponse x)6264void Delete_ChairTokenOwnerResponse(PS_ChairTokenOwnerResponse x) 6265 { 6266 Delete_TerminalLabel(&x->terminalLabel); 6267 /* ------------------------------- */ 6268 /* ---- Extension Begins Here ---- */ 6269 /* ------------------------------- */ 6270 } 6271 6272 /* <===================================================> */ 6273 /* PER-Deleter for ExtensionAddressResponse (SEQUENCE) */ 6274 /* <===================================================> */ Delete_ExtensionAddressResponse(PS_ExtensionAddressResponse x)6275void Delete_ExtensionAddressResponse(PS_ExtensionAddressResponse x) 6276 { 6277 OSCL_UNUSED_ARG(x); 6278 /* ------------------------------- */ 6279 /* ---- Extension Begins Here ---- */ 6280 /* ------------------------------- */ 6281 } 6282 6283 /* <============================================> */ 6284 /* PER-Deleter for MakeMeChairResponse (CHOICE) */ 6285 /* <============================================> */ Delete_MakeMeChairResponse(PS_MakeMeChairResponse x)6286void Delete_MakeMeChairResponse(PS_MakeMeChairResponse x) 6287 { 6288 switch (x->index) 6289 { 6290 case 0: 6291 /* (grantedChairToken is NULL) */ 6292 break; 6293 case 1: 6294 /* (deniedChairToken is NULL) */ 6295 break; 6296 /* ------------------------------- */ 6297 /* ---- Extension Begins Here ---- */ 6298 /* ------------------------------- */ 6299 default: 6300 ErrorMessage("Delete_MakeMeChairResponse: Illegal CHOICE index"); 6301 } 6302 } 6303 6304 /* <===========================================> */ 6305 /* PER-Deleter for PasswordResponse (SEQUENCE) */ 6306 /* <===========================================> */ Delete_PasswordResponse(PS_PasswordResponse x)6307void Delete_PasswordResponse(PS_PasswordResponse x) 6308 { 6309 Delete_TerminalLabel(&x->terminalLabel); 6310 /* ------------------------------- */ 6311 /* ---- Extension Begins Here ---- */ 6312 /* ------------------------------- */ 6313 } 6314 6315 /* <===============================================> */ 6316 /* PER-Deleter for ConferenceIDResponse (SEQUENCE) */ 6317 /* <===============================================> */ Delete_ConferenceIDResponse(PS_ConferenceIDResponse x)6318void Delete_ConferenceIDResponse(PS_ConferenceIDResponse x) 6319 { 6320 Delete_TerminalLabel(&x->terminalLabel); 6321 /* ------------------------------- */ 6322 /* ---- Extension Begins Here ---- */ 6323 /* ------------------------------- */ 6324 } 6325 6326 /* <=============================================> */ 6327 /* PER-Deleter for TerminalIDResponse (SEQUENCE) */ 6328 /* <=============================================> */ Delete_TerminalIDResponse(PS_TerminalIDResponse x)6329void Delete_TerminalIDResponse(PS_TerminalIDResponse x) 6330 { 6331 Delete_TerminalLabel(&x->terminalLabel); 6332 /* ------------------------------- */ 6333 /* ---- Extension Begins Here ---- */ 6334 /* ------------------------------- */ 6335 } 6336 6337 /* <===============================================> */ 6338 /* PER-Deleter for MCTerminalIDResponse (SEQUENCE) */ 6339 /* <===============================================> */ Delete_MCTerminalIDResponse(PS_MCTerminalIDResponse x)6340void Delete_MCTerminalIDResponse(PS_MCTerminalIDResponse x) 6341 { 6342 Delete_TerminalLabel(&x->terminalLabel); 6343 /* ------------------------------- */ 6344 /* ---- Extension Begins Here ---- */ 6345 /* ------------------------------- */ 6346 } 6347 6348 /* <========================================================> */ 6349 /* PER-Deleter for RequestAllTerminalIDsResponse (SEQUENCE) */ 6350 /* <========================================================> */ Delete_RequestAllTerminalIDsResponse(PS_RequestAllTerminalIDsResponse x)6351void Delete_RequestAllTerminalIDsResponse(PS_RequestAllTerminalIDsResponse x) 6352 { 6353 uint16 i = 0; 6354 for (i = 0; i < x->size_of_terminalInformation; ++i) 6355 { 6356 Delete_TerminalInformation(x->terminalInformation + i); 6357 } 6358 OSCL_DEFAULT_FREE(x->terminalInformation); 6359 /* ------------------------------- */ 6360 /* ---- Extension Begins Here ---- */ 6361 /* ------------------------------- */ 6362 } 6363 6364 /* <==============================================> */ 6365 /* PER-Deleter for TerminalInformation (SEQUENCE) */ 6366 /* <==============================================> */ Delete_TerminalInformation(PS_TerminalInformation x)6367void Delete_TerminalInformation(PS_TerminalInformation x) 6368 { 6369 Delete_TerminalLabel(&x->terminalLabel); 6370 /* ------------------------------- */ 6371 /* ---- Extension Begins Here ---- */ 6372 /* ------------------------------- */ 6373 } 6374 6375 /* <========================================> */ 6376 /* PER-Deleter for RemoteMCRequest (CHOICE) */ 6377 /* <========================================> */ Delete_RemoteMCRequest(PS_RemoteMCRequest x)6378void Delete_RemoteMCRequest(PS_RemoteMCRequest x) 6379 { 6380 switch (x->index) 6381 { 6382 case 0: 6383 /* (masterActivate is NULL) */ 6384 break; 6385 case 1: 6386 /* (slaveActivate is NULL) */ 6387 break; 6388 case 2: 6389 /* (deActivate is NULL) */ 6390 break; 6391 /* ------------------------------- */ 6392 /* ---- Extension Begins Here ---- */ 6393 /* ------------------------------- */ 6394 default: 6395 ErrorMessage("Delete_RemoteMCRequest: Illegal CHOICE index"); 6396 } 6397 } 6398 6399 /* <=========================================> */ 6400 /* PER-Deleter for RemoteMCResponse (CHOICE) */ 6401 /* <=========================================> */ Delete_RemoteMCResponse(PS_RemoteMCResponse x)6402void Delete_RemoteMCResponse(PS_RemoteMCResponse x) 6403 { 6404 switch (x->index) 6405 { 6406 case 0: 6407 /* (accept is NULL) */ 6408 break; 6409 case 1: 6410 Delete_Reject(x->reject); 6411 OSCL_DEFAULT_FREE(x->reject); 6412 break; 6413 /* ------------------------------- */ 6414 /* ---- Extension Begins Here ---- */ 6415 /* ------------------------------- */ 6416 default: 6417 ErrorMessage("Delete_RemoteMCResponse: Illegal CHOICE index"); 6418 } 6419 } 6420 6421 /* <===============================> */ 6422 /* PER-Deleter for Reject (CHOICE) */ 6423 /* <===============================> */ Delete_Reject(PS_Reject x)6424void Delete_Reject(PS_Reject x) 6425 { 6426 switch (x->index) 6427 { 6428 case 0: 6429 /* (unspecified is NULL) */ 6430 break; 6431 case 1: 6432 /* (functionNotSupported is NULL) */ 6433 break; 6434 /* ------------------------------- */ 6435 /* ---- Extension Begins Here ---- */ 6436 /* ------------------------------- */ 6437 default: 6438 ErrorMessage("Delete_Reject: Illegal CHOICE index"); 6439 } 6440 } 6441 6442 /* <=========================================> */ 6443 /* PER-Deleter for MultilinkRequest (CHOICE) */ 6444 /* <=========================================> */ Delete_MultilinkRequest(PS_MultilinkRequest x)6445void Delete_MultilinkRequest(PS_MultilinkRequest x) 6446 { 6447 switch (x->index) 6448 { 6449 case 0: 6450 Delete_NonStandardMessage(x->nonStandard); 6451 OSCL_DEFAULT_FREE(x->nonStandard); 6452 break; 6453 case 1: 6454 Delete_CallInformation(x->callInformation); 6455 OSCL_DEFAULT_FREE(x->callInformation); 6456 break; 6457 case 2: 6458 Delete_AddConnection(x->addConnection); 6459 OSCL_DEFAULT_FREE(x->addConnection); 6460 break; 6461 case 3: 6462 Delete_RemoveConnection(x->removeConnection); 6463 OSCL_DEFAULT_FREE(x->removeConnection); 6464 break; 6465 case 4: 6466 Delete_MaximumHeaderInterval(x->maximumHeaderInterval); 6467 OSCL_DEFAULT_FREE(x->maximumHeaderInterval); 6468 break; 6469 /* ------------------------------- */ 6470 /* ---- Extension Begins Here ---- */ 6471 /* ------------------------------- */ 6472 default: 6473 ErrorMessage("Delete_MultilinkRequest: Illegal CHOICE index"); 6474 } 6475 } 6476 6477 /* <================================================> */ 6478 /* PER-Deleter for MaximumHeaderInterval (SEQUENCE) */ 6479 /* <================================================> */ Delete_MaximumHeaderInterval(PS_MaximumHeaderInterval x)6480void Delete_MaximumHeaderInterval(PS_MaximumHeaderInterval x) 6481 { 6482 Delete_RequestType(&x->requestType); 6483 /* ------------------------------- */ 6484 /* ---- Extension Begins Here ---- */ 6485 /* ------------------------------- */ 6486 } 6487 6488 /* <====================================> */ 6489 /* PER-Deleter for RequestType (CHOICE) */ 6490 /* <====================================> */ Delete_RequestType(PS_RequestType x)6491void Delete_RequestType(PS_RequestType x) 6492 { 6493 switch (x->index) 6494 { 6495 case 0: 6496 /* (currentIntervalInformation is NULL) */ 6497 break; 6498 case 1: 6499 break; 6500 /* ------------------------------- */ 6501 /* ---- Extension Begins Here ---- */ 6502 /* ------------------------------- */ 6503 default: 6504 ErrorMessage("Delete_RequestType: Illegal CHOICE index"); 6505 } 6506 } 6507 6508 /* <===========================================> */ 6509 /* PER-Deleter for RemoveConnection (SEQUENCE) */ 6510 /* <===========================================> */ Delete_RemoveConnection(PS_RemoveConnection x)6511void Delete_RemoveConnection(PS_RemoveConnection x) 6512 { 6513 Delete_ConnectionIdentifier(&x->connectionIdentifier); 6514 /* ------------------------------- */ 6515 /* ---- Extension Begins Here ---- */ 6516 /* ------------------------------- */ 6517 } 6518 6519 /* <========================================> */ 6520 /* PER-Deleter for AddConnection (SEQUENCE) */ 6521 /* <========================================> */ Delete_AddConnection(PS_AddConnection x)6522void Delete_AddConnection(PS_AddConnection x) 6523 { 6524 Delete_DialingInformation(&x->dialingInformation); 6525 /* ------------------------------- */ 6526 /* ---- Extension Begins Here ---- */ 6527 /* ------------------------------- */ 6528 } 6529 6530 /* <==========================================> */ 6531 /* PER-Deleter for CallInformation (SEQUENCE) */ 6532 /* <==========================================> */ Delete_CallInformation(PS_CallInformation x)6533void Delete_CallInformation(PS_CallInformation x) 6534 { 6535 OSCL_UNUSED_ARG(x); 6536 /* ------------------------------- */ 6537 /* ---- Extension Begins Here ---- */ 6538 /* ------------------------------- */ 6539 } 6540 6541 /* <==========================================> */ 6542 /* PER-Deleter for MultilinkResponse (CHOICE) */ 6543 /* <==========================================> */ Delete_MultilinkResponse(PS_MultilinkResponse x)6544void Delete_MultilinkResponse(PS_MultilinkResponse x) 6545 { 6546 switch (x->index) 6547 { 6548 case 0: 6549 Delete_NonStandardMessage(x->nonStandard); 6550 OSCL_DEFAULT_FREE(x->nonStandard); 6551 break; 6552 case 1: 6553 Delete_RespCallInformation(x->respCallInformation); 6554 OSCL_DEFAULT_FREE(x->respCallInformation); 6555 break; 6556 case 2: 6557 Delete_RespAddConnection(x->respAddConnection); 6558 OSCL_DEFAULT_FREE(x->respAddConnection); 6559 break; 6560 case 3: 6561 Delete_RespRemoveConnection(x->respRemoveConnection); 6562 OSCL_DEFAULT_FREE(x->respRemoveConnection); 6563 break; 6564 case 4: 6565 Delete_RespMaximumHeaderInterval(x->respMaximumHeaderInterval); 6566 OSCL_DEFAULT_FREE(x->respMaximumHeaderInterval); 6567 break; 6568 /* ------------------------------- */ 6569 /* ---- Extension Begins Here ---- */ 6570 /* ------------------------------- */ 6571 default: 6572 ErrorMessage("Delete_MultilinkResponse: Illegal CHOICE index"); 6573 } 6574 } 6575 6576 /* <====================================================> */ 6577 /* PER-Deleter for RespMaximumHeaderInterval (SEQUENCE) */ 6578 /* <====================================================> */ Delete_RespMaximumHeaderInterval(PS_RespMaximumHeaderInterval x)6579void Delete_RespMaximumHeaderInterval(PS_RespMaximumHeaderInterval x) 6580 { 6581 OSCL_UNUSED_ARG(x); 6582 /* ------------------------------- */ 6583 /* ---- Extension Begins Here ---- */ 6584 /* ------------------------------- */ 6585 } 6586 6587 /* <===============================================> */ 6588 /* PER-Deleter for RespRemoveConnection (SEQUENCE) */ 6589 /* <===============================================> */ Delete_RespRemoveConnection(PS_RespRemoveConnection x)6590void Delete_RespRemoveConnection(PS_RespRemoveConnection x) 6591 { 6592 Delete_ConnectionIdentifier(&x->connectionIdentifier); 6593 /* ------------------------------- */ 6594 /* ---- Extension Begins Here ---- */ 6595 /* ------------------------------- */ 6596 } 6597 6598 /* <============================================> */ 6599 /* PER-Deleter for RespAddConnection (SEQUENCE) */ 6600 /* <============================================> */ Delete_RespAddConnection(PS_RespAddConnection x)6601void Delete_RespAddConnection(PS_RespAddConnection x) 6602 { 6603 Delete_ResponseCode(&x->responseCode); 6604 /* ------------------------------- */ 6605 /* ---- Extension Begins Here ---- */ 6606 /* ------------------------------- */ 6607 } 6608 6609 /* <=====================================> */ 6610 /* PER-Deleter for ResponseCode (CHOICE) */ 6611 /* <=====================================> */ Delete_ResponseCode(PS_ResponseCode x)6612void Delete_ResponseCode(PS_ResponseCode x) 6613 { 6614 switch (x->index) 6615 { 6616 case 0: 6617 /* (accepted is NULL) */ 6618 break; 6619 case 1: 6620 Delete_Rejected(x->rejected); 6621 OSCL_DEFAULT_FREE(x->rejected); 6622 break; 6623 /* ------------------------------- */ 6624 /* ---- Extension Begins Here ---- */ 6625 /* ------------------------------- */ 6626 default: 6627 ErrorMessage("Delete_ResponseCode: Illegal CHOICE index"); 6628 } 6629 } 6630 6631 /* <=================================> */ 6632 /* PER-Deleter for Rejected (CHOICE) */ 6633 /* <=================================> */ Delete_Rejected(PS_Rejected x)6634void Delete_Rejected(PS_Rejected x) 6635 { 6636 switch (x->index) 6637 { 6638 case 0: 6639 /* (connectionsNotAvailable is NULL) */ 6640 break; 6641 case 1: 6642 /* (userRejected is NULL) */ 6643 break; 6644 /* ------------------------------- */ 6645 /* ---- Extension Begins Here ---- */ 6646 /* ------------------------------- */ 6647 default: 6648 ErrorMessage("Delete_Rejected: Illegal CHOICE index"); 6649 } 6650 } 6651 6652 /* <==============================================> */ 6653 /* PER-Deleter for RespCallInformation (SEQUENCE) */ 6654 /* <==============================================> */ Delete_RespCallInformation(PS_RespCallInformation x)6655void Delete_RespCallInformation(PS_RespCallInformation x) 6656 { 6657 Delete_DialingInformation(&x->dialingInformation); 6658 /* ------------------------------- */ 6659 /* ---- Extension Begins Here ---- */ 6660 /* ------------------------------- */ 6661 } 6662 6663 /* <============================================> */ 6664 /* PER-Deleter for MultilinkIndication (CHOICE) */ 6665 /* <============================================> */ Delete_MultilinkIndication(PS_MultilinkIndication x)6666void Delete_MultilinkIndication(PS_MultilinkIndication x) 6667 { 6668 switch (x->index) 6669 { 6670 case 0: 6671 Delete_NonStandardMessage(x->nonStandard); 6672 OSCL_DEFAULT_FREE(x->nonStandard); 6673 break; 6674 case 1: 6675 Delete_CrcDesired(x->crcDesired); 6676 OSCL_DEFAULT_FREE(x->crcDesired); 6677 break; 6678 case 2: 6679 Delete_ExcessiveError(x->excessiveError); 6680 OSCL_DEFAULT_FREE(x->excessiveError); 6681 break; 6682 /* ------------------------------- */ 6683 /* ---- Extension Begins Here ---- */ 6684 /* ------------------------------- */ 6685 default: 6686 ErrorMessage("Delete_MultilinkIndication: Illegal CHOICE index"); 6687 } 6688 } 6689 6690 /* <=========================================> */ 6691 /* PER-Deleter for ExcessiveError (SEQUENCE) */ 6692 /* <=========================================> */ Delete_ExcessiveError(PS_ExcessiveError x)6693void Delete_ExcessiveError(PS_ExcessiveError x) 6694 { 6695 Delete_ConnectionIdentifier(&x->connectionIdentifier); 6696 /* ------------------------------- */ 6697 /* ---- Extension Begins Here ---- */ 6698 /* ------------------------------- */ 6699 } 6700 6701 /* <=====================================> */ 6702 /* PER-Deleter for CrcDesired (SEQUENCE) */ 6703 /* <=====================================> */ Delete_CrcDesired(PS_CrcDesired x)6704void Delete_CrcDesired(PS_CrcDesired x) 6705 { 6706 OSCL_UNUSED_ARG(x); 6707 /* ------------------------------- */ 6708 /* ---- Extension Begins Here ---- */ 6709 /* ------------------------------- */ 6710 } 6711 6712 /* <===========================================> */ 6713 /* PER-Deleter for DialingInformation (CHOICE) */ 6714 /* <===========================================> */ Delete_DialingInformation(PS_DialingInformation x)6715void Delete_DialingInformation(PS_DialingInformation x) 6716 { 6717 uint16 i; 6718 switch (x->index) 6719 { 6720 case 0: 6721 Delete_NonStandardMessage(x->nonStandard); 6722 OSCL_DEFAULT_FREE(x->nonStandard); 6723 break; 6724 case 1: 6725 for (i = 0; i < x->size; ++i) 6726 { 6727 Delete_DialingInformationNumber(x->differential + i); 6728 } 6729 OSCL_DEFAULT_FREE(x->differential); 6730 break; 6731 case 2: 6732 break; 6733 /* ------------------------------- */ 6734 /* ---- Extension Begins Here ---- */ 6735 /* ------------------------------- */ 6736 default: 6737 ErrorMessage("Delete_DialingInformation: Illegal CHOICE index"); 6738 } 6739 } 6740 6741 /* <===================================================> */ 6742 /* PER-Deleter for DialingInformationNumber (SEQUENCE) */ 6743 /* <===================================================> */ Delete_DialingInformationNumber(PS_DialingInformationNumber x)6744void Delete_DialingInformationNumber(PS_DialingInformationNumber x) 6745 { 6746 uint16 i = 0; 6747 if (x->option_of_subAddress) 6748 { 6749 } 6750 for (i = 0; i < x->size_of_networkType; ++i) 6751 { 6752 Delete_DialingInformationNetworkType(x->networkType + i); 6753 } 6754 OSCL_DEFAULT_FREE(x->networkType); 6755 /* ------------------------------- */ 6756 /* ---- Extension Begins Here ---- */ 6757 /* ------------------------------- */ 6758 } 6759 6760 /* <======================================================> */ 6761 /* PER-Deleter for DialingInformationNetworkType (CHOICE) */ 6762 /* <======================================================> */ Delete_DialingInformationNetworkType(PS_DialingInformationNetworkType x)6763void Delete_DialingInformationNetworkType(PS_DialingInformationNetworkType x) 6764 { 6765 switch (x->index) 6766 { 6767 case 0: 6768 Delete_NonStandardMessage(x->nonStandard); 6769 OSCL_DEFAULT_FREE(x->nonStandard); 6770 break; 6771 case 1: 6772 /* (n_isdn is NULL) */ 6773 break; 6774 case 2: 6775 /* (gstn is NULL) */ 6776 break; 6777 /* ------------------------------- */ 6778 /* ---- Extension Begins Here ---- */ 6779 /* ------------------------------- */ 6780 default: 6781 ErrorMessage("Delete_DialingInformationNetworkType: Illegal CHOICE index"); 6782 } 6783 } 6784 6785 /* <===============================================> */ 6786 /* PER-Deleter for ConnectionIdentifier (SEQUENCE) */ 6787 /* <===============================================> */ Delete_ConnectionIdentifier(PS_ConnectionIdentifier x)6788void Delete_ConnectionIdentifier(PS_ConnectionIdentifier x) 6789 { 6790 OSCL_UNUSED_ARG(x); 6791 /* ------------------------------- */ 6792 /* ---- Extension Begins Here ---- */ 6793 /* ------------------------------- */ 6794 } 6795 6796 /* <====================================================> */ 6797 /* PER-Deleter for LogicalChannelRateRequest (SEQUENCE) */ 6798 /* <====================================================> */ Delete_LogicalChannelRateRequest(PS_LogicalChannelRateRequest x)6799void Delete_LogicalChannelRateRequest(PS_LogicalChannelRateRequest x) 6800 { 6801 OSCL_UNUSED_ARG(x); 6802 /* ------------------------------- */ 6803 /* ---- Extension Begins Here ---- */ 6804 /* ------------------------------- */ 6805 } 6806 6807 /* <========================================================> */ 6808 /* PER-Deleter for LogicalChannelRateAcknowledge (SEQUENCE) */ 6809 /* <========================================================> */ Delete_LogicalChannelRateAcknowledge(PS_LogicalChannelRateAcknowledge x)6810void Delete_LogicalChannelRateAcknowledge(PS_LogicalChannelRateAcknowledge x) 6811 { 6812 OSCL_UNUSED_ARG(x); 6813 /* ------------------------------- */ 6814 /* ---- Extension Begins Here ---- */ 6815 /* ------------------------------- */ 6816 } 6817 6818 /* <===================================================> */ 6819 /* PER-Deleter for LogicalChannelRateReject (SEQUENCE) */ 6820 /* <===================================================> */ Delete_LogicalChannelRateReject(PS_LogicalChannelRateReject x)6821void Delete_LogicalChannelRateReject(PS_LogicalChannelRateReject x) 6822 { 6823 Delete_LogicalChannelRateRejectReason(&x->rejectReason); 6824 if (x->option_of_currentMaximumBitRate) 6825 { 6826 } 6827 /* ------------------------------- */ 6828 /* ---- Extension Begins Here ---- */ 6829 /* ------------------------------- */ 6830 } 6831 6832 /* <=======================================================> */ 6833 /* PER-Deleter for LogicalChannelRateRejectReason (CHOICE) */ 6834 /* <=======================================================> */ Delete_LogicalChannelRateRejectReason(PS_LogicalChannelRateRejectReason x)6835void Delete_LogicalChannelRateRejectReason(PS_LogicalChannelRateRejectReason x) 6836 { 6837 switch (x->index) 6838 { 6839 case 0: 6840 /* (undefinedReason is NULL) */ 6841 break; 6842 case 1: 6843 /* (insufficientResources is NULL) */ 6844 break; 6845 /* ------------------------------- */ 6846 /* ---- Extension Begins Here ---- */ 6847 /* ------------------------------- */ 6848 default: 6849 ErrorMessage("Delete_LogicalChannelRateRejectReason: Illegal CHOICE index"); 6850 } 6851 } 6852 6853 /* <====================================================> */ 6854 /* PER-Deleter for LogicalChannelRateRelease (SEQUENCE) */ 6855 /* <====================================================> */ Delete_LogicalChannelRateRelease(PS_LogicalChannelRateRelease x)6856void Delete_LogicalChannelRateRelease(PS_LogicalChannelRateRelease x) 6857 { 6858 OSCL_UNUSED_ARG(x); 6859 /* ------------------------------- */ 6860 /* ---- Extension Begins Here ---- */ 6861 /* ------------------------------- */ 6862 } 6863 6864 /* <==================================================> */ 6865 /* PER-Deleter for SendTerminalCapabilitySet (CHOICE) */ 6866 /* <==================================================> */ Delete_SendTerminalCapabilitySet(PS_SendTerminalCapabilitySet x)6867void Delete_SendTerminalCapabilitySet(PS_SendTerminalCapabilitySet x) 6868 { 6869 switch (x->index) 6870 { 6871 case 0: 6872 Delete_SpecificRequest(x->specificRequest); 6873 OSCL_DEFAULT_FREE(x->specificRequest); 6874 break; 6875 case 1: 6876 /* (genericRequest is NULL) */ 6877 break; 6878 /* ------------------------------- */ 6879 /* ---- Extension Begins Here ---- */ 6880 /* ------------------------------- */ 6881 default: 6882 ErrorMessage("Delete_SendTerminalCapabilitySet: Illegal CHOICE index"); 6883 } 6884 } 6885 6886 /* <==========================================> */ 6887 /* PER-Deleter for SpecificRequest (SEQUENCE) */ 6888 /* <==========================================> */ Delete_SpecificRequest(PS_SpecificRequest x)6889void Delete_SpecificRequest(PS_SpecificRequest x) 6890 { 6891 if (x->option_of_capabilityTableEntryNumbers) 6892 { 6893 OSCL_DEFAULT_FREE(x->capabilityTableEntryNumbers); 6894 } 6895 if (x->option_of_capabilityDescriptorNumbers) 6896 { 6897 OSCL_DEFAULT_FREE(x->capabilityDescriptorNumbers); 6898 } 6899 /* ------------------------------- */ 6900 /* ---- Extension Begins Here ---- */ 6901 /* ------------------------------- */ 6902 } 6903 6904 /* <==========================================> */ 6905 /* PER-Deleter for EncryptionCommand (CHOICE) */ 6906 /* <==========================================> */ Delete_EncryptionCommand(PS_EncryptionCommand x)6907void Delete_EncryptionCommand(PS_EncryptionCommand x) 6908 { 6909 switch (x->index) 6910 { 6911 case 0: 6912 FreeOctetString(x->encryptionSE); 6913 break; 6914 case 1: 6915 /* (encryptionIVRequest is NULL) */ 6916 break; 6917 case 2: 6918 Delete_EncryptionAlgorithmID(x->encryptionAlgorithmID); 6919 OSCL_DEFAULT_FREE(x->encryptionAlgorithmID); 6920 break; 6921 /* ------------------------------- */ 6922 /* ---- Extension Begins Here ---- */ 6923 /* ------------------------------- */ 6924 default: 6925 ErrorMessage("Delete_EncryptionCommand: Illegal CHOICE index"); 6926 } 6927 } 6928 6929 /* <================================================> */ 6930 /* PER-Deleter for EncryptionAlgorithmID (SEQUENCE) */ 6931 /* <================================================> */ Delete_EncryptionAlgorithmID(PS_EncryptionAlgorithmID x)6932void Delete_EncryptionAlgorithmID(PS_EncryptionAlgorithmID x) 6933 { 6934 Delete_NonStandardParameter(&x->associatedAlgorithm); 6935 } 6936 6937 /* <=============================================> */ 6938 /* PER-Deleter for FlowControlCommand (SEQUENCE) */ 6939 /* <=============================================> */ Delete_FlowControlCommand(PS_FlowControlCommand x)6940void Delete_FlowControlCommand(PS_FlowControlCommand x) 6941 { 6942 Delete_FccScope(&x->fccScope); 6943 Delete_FccRestriction(&x->fccRestriction); 6944 /* ------------------------------- */ 6945 /* ---- Extension Begins Here ---- */ 6946 /* ------------------------------- */ 6947 } 6948 6949 /* <=======================================> */ 6950 /* PER-Deleter for FccRestriction (CHOICE) */ 6951 /* <=======================================> */ Delete_FccRestriction(PS_FccRestriction x)6952void Delete_FccRestriction(PS_FccRestriction x) 6953 { 6954 switch (x->index) 6955 { 6956 case 0: 6957 break; 6958 case 1: 6959 /* (noRestriction is NULL) */ 6960 break; 6961 default: 6962 ErrorMessage("Delete_FccRestriction: Illegal CHOICE index"); 6963 } 6964 } 6965 6966 /* <=================================> */ 6967 /* PER-Deleter for FccScope (CHOICE) */ 6968 /* <=================================> */ Delete_FccScope(PS_FccScope x)6969void Delete_FccScope(PS_FccScope x) 6970 { 6971 switch (x->index) 6972 { 6973 case 0: 6974 break; 6975 case 1: 6976 break; 6977 case 2: 6978 /* (wholeMultiplex is NULL) */ 6979 break; 6980 default: 6981 ErrorMessage("Delete_FccScope: Illegal CHOICE index"); 6982 } 6983 } 6984 6985 /* <==========================================> */ 6986 /* PER-Deleter for EndSessionCommand (CHOICE) */ 6987 /* <==========================================> */ Delete_EndSessionCommand(PS_EndSessionCommand x)6988void Delete_EndSessionCommand(PS_EndSessionCommand x) 6989 { 6990 switch (x->index) 6991 { 6992 case 0: 6993 Delete_NonStandardParameter(x->nonStandard); 6994 OSCL_DEFAULT_FREE(x->nonStandard); 6995 break; 6996 case 1: 6997 /* (disconnect is NULL) */ 6998 break; 6999 case 2: 7000 Delete_GstnOptions(x->gstnOptions); 7001 OSCL_DEFAULT_FREE(x->gstnOptions); 7002 break; 7003 /* ------------------------------- */ 7004 /* ---- Extension Begins Here ---- */ 7005 /* ------------------------------- */ 7006 case 3: 7007 Delete_IsdnOptions(x->isdnOptions); 7008 OSCL_DEFAULT_FREE(x->isdnOptions); 7009 break; 7010 default: 7011 ErrorMessage("Delete_EndSessionCommand: Illegal CHOICE index"); 7012 } 7013 } 7014 7015 /* <====================================> */ 7016 /* PER-Deleter for IsdnOptions (CHOICE) */ 7017 /* <====================================> */ Delete_IsdnOptions(PS_IsdnOptions x)7018void Delete_IsdnOptions(PS_IsdnOptions x) 7019 { 7020 switch (x->index) 7021 { 7022 case 0: 7023 /* (telephonyMode is NULL) */ 7024 break; 7025 case 1: 7026 /* (v140 is NULL) */ 7027 break; 7028 case 2: 7029 /* (terminalOnHold is NULL) */ 7030 break; 7031 /* ------------------------------- */ 7032 /* ---- Extension Begins Here ---- */ 7033 /* ------------------------------- */ 7034 default: 7035 ErrorMessage("Delete_IsdnOptions: Illegal CHOICE index"); 7036 } 7037 } 7038 7039 /* <====================================> */ 7040 /* PER-Deleter for GstnOptions (CHOICE) */ 7041 /* <====================================> */ Delete_GstnOptions(PS_GstnOptions x)7042void Delete_GstnOptions(PS_GstnOptions x) 7043 { 7044 switch (x->index) 7045 { 7046 case 0: 7047 /* (telephonyMode is NULL) */ 7048 break; 7049 case 1: 7050 /* (v8bis is NULL) */ 7051 break; 7052 case 2: 7053 /* (v34DSVD is NULL) */ 7054 break; 7055 case 3: 7056 /* (v34DuplexFAX is NULL) */ 7057 break; 7058 case 4: 7059 /* (v34H324 is NULL) */ 7060 break; 7061 /* ------------------------------- */ 7062 /* ---- Extension Begins Here ---- */ 7063 /* ------------------------------- */ 7064 default: 7065 ErrorMessage("Delete_GstnOptions: Illegal CHOICE index"); 7066 } 7067 } 7068 7069 /* <==========================================> */ 7070 /* PER-Deleter for ConferenceCommand (CHOICE) */ 7071 /* <==========================================> */ Delete_ConferenceCommand(PS_ConferenceCommand x)7072void Delete_ConferenceCommand(PS_ConferenceCommand x) 7073 { 7074 switch (x->index) 7075 { 7076 case 0: 7077 break; 7078 case 1: 7079 break; 7080 case 2: 7081 Delete_TerminalLabel(x->makeTerminalBroadcaster); 7082 OSCL_DEFAULT_FREE(x->makeTerminalBroadcaster); 7083 break; 7084 case 3: 7085 /* (cancelMakeTerminalBroadcaster is NULL) */ 7086 break; 7087 case 4: 7088 Delete_TerminalLabel(x->sendThisSource); 7089 OSCL_DEFAULT_FREE(x->sendThisSource); 7090 break; 7091 case 5: 7092 /* (cancelSendThisSource is NULL) */ 7093 break; 7094 case 6: 7095 /* (dropConference is NULL) */ 7096 break; 7097 /* ------------------------------- */ 7098 /* ---- Extension Begins Here ---- */ 7099 /* ------------------------------- */ 7100 case 7: 7101 Delete_SubstituteConferenceIDCommand(x->substituteConferenceIDCommand); 7102 OSCL_DEFAULT_FREE(x->substituteConferenceIDCommand); 7103 break; 7104 default: 7105 ErrorMessage("Delete_ConferenceCommand: Illegal CHOICE index"); 7106 } 7107 } 7108 7109 /* <========================================================> */ 7110 /* PER-Deleter for SubstituteConferenceIDCommand (SEQUENCE) */ 7111 /* <========================================================> */ Delete_SubstituteConferenceIDCommand(PS_SubstituteConferenceIDCommand x)7112void Delete_SubstituteConferenceIDCommand(PS_SubstituteConferenceIDCommand x) 7113 { 7114 OSCL_UNUSED_ARG(x); 7115 /* ------------------------------- */ 7116 /* ---- Extension Begins Here ---- */ 7117 /* ------------------------------- */ 7118 } 7119 7120 /* <===============================================> */ 7121 /* PER-Deleter for MiscellaneousCommand (SEQUENCE) */ 7122 /* <===============================================> */ Delete_MiscellaneousCommand(PS_MiscellaneousCommand x)7123void Delete_MiscellaneousCommand(PS_MiscellaneousCommand x) 7124 { 7125 Delete_McType(&x->mcType); 7126 /* ------------------------------- */ 7127 /* ---- Extension Begins Here ---- */ 7128 /* ------------------------------- */ 7129 } 7130 7131 /* <===============================> */ 7132 /* PER-Deleter for McType (CHOICE) */ 7133 /* <===============================> */ Delete_McType(PS_McType x)7134void Delete_McType(PS_McType x) 7135 { 7136 switch (x->index) 7137 { 7138 case 0: 7139 /* (equaliseDelay is NULL) */ 7140 break; 7141 case 1: 7142 /* (zeroDelay is NULL) */ 7143 break; 7144 case 2: 7145 /* (multipointModeCommand is NULL) */ 7146 break; 7147 case 3: 7148 /* (cancelMultipointModeCommand is NULL) */ 7149 break; 7150 case 4: 7151 /* (videoFreezePicture is NULL) */ 7152 break; 7153 case 5: 7154 /* (videoFastUpdatePicture is NULL) */ 7155 break; 7156 case 6: 7157 Delete_VideoFastUpdateGOB(x->videoFastUpdateGOB); 7158 OSCL_DEFAULT_FREE(x->videoFastUpdateGOB); 7159 break; 7160 case 7: 7161 break; 7162 case 8: 7163 /* (videoSendSyncEveryGOB is NULL) */ 7164 break; 7165 case 9: 7166 /* (videoSendSyncEveryGOBCancel is NULL) */ 7167 break; 7168 /* ------------------------------- */ 7169 /* ---- Extension Begins Here ---- */ 7170 /* ------------------------------- */ 7171 case 10: 7172 Delete_VideoFastUpdateMB(x->videoFastUpdateMB); 7173 OSCL_DEFAULT_FREE(x->videoFastUpdateMB); 7174 break; 7175 case 11: 7176 break; 7177 case 12: 7178 Delete_EncryptionSync(x->encryptionUpdate); 7179 OSCL_DEFAULT_FREE(x->encryptionUpdate); 7180 break; 7181 case 13: 7182 Delete_EncryptionUpdateRequest(x->encryptionUpdateRequest); 7183 OSCL_DEFAULT_FREE(x->encryptionUpdateRequest); 7184 break; 7185 case 14: 7186 break; 7187 case 15: 7188 break; 7189 case 16: 7190 Delete_ProgressiveRefinementStart(x->progressiveRefinementStart); 7191 OSCL_DEFAULT_FREE(x->progressiveRefinementStart); 7192 break; 7193 case 17: 7194 break; 7195 case 18: 7196 break; 7197 default: 7198 ErrorMessage("Delete_McType: Illegal CHOICE index"); 7199 } 7200 } 7201 7202 /* <=====================================================> */ 7203 /* PER-Deleter for ProgressiveRefinementStart (SEQUENCE) */ 7204 /* <=====================================================> */ Delete_ProgressiveRefinementStart(PS_ProgressiveRefinementStart x)7205void Delete_ProgressiveRefinementStart(PS_ProgressiveRefinementStart x) 7206 { 7207 Delete_PrsRepeatCount(&x->prsRepeatCount); 7208 /* ------------------------------- */ 7209 /* ---- Extension Begins Here ---- */ 7210 /* ------------------------------- */ 7211 } 7212 7213 /* <=======================================> */ 7214 /* PER-Deleter for PrsRepeatCount (CHOICE) */ 7215 /* <=======================================> */ Delete_PrsRepeatCount(PS_PrsRepeatCount x)7216void Delete_PrsRepeatCount(PS_PrsRepeatCount x) 7217 { 7218 switch (x->index) 7219 { 7220 case 0: 7221 /* (doOneProgression is NULL) */ 7222 break; 7223 case 1: 7224 /* (doContinuousProgressions is NULL) */ 7225 break; 7226 case 2: 7227 /* (doOneIndependentProgression is NULL) */ 7228 break; 7229 case 3: 7230 /* (doContinuousIndependentProgressions is NULL) */ 7231 break; 7232 /* ------------------------------- */ 7233 /* ---- Extension Begins Here ---- */ 7234 /* ------------------------------- */ 7235 default: 7236 ErrorMessage("Delete_PrsRepeatCount: Illegal CHOICE index"); 7237 } 7238 } 7239 7240 /* <============================================> */ 7241 /* PER-Deleter for VideoFastUpdateMB (SEQUENCE) */ 7242 /* <============================================> */ Delete_VideoFastUpdateMB(PS_VideoFastUpdateMB x)7243void Delete_VideoFastUpdateMB(PS_VideoFastUpdateMB x) 7244 { 7245 if (x->option_of_firstGOB) 7246 { 7247 } 7248 if (x->option_of_firstMB) 7249 { 7250 } 7251 /* ------------------------------- */ 7252 /* ---- Extension Begins Here ---- */ 7253 /* ------------------------------- */ 7254 } 7255 7256 /* <=============================================> */ 7257 /* PER-Deleter for VideoFastUpdateGOB (SEQUENCE) */ 7258 /* <=============================================> */ Delete_VideoFastUpdateGOB(PS_VideoFastUpdateGOB x)7259void Delete_VideoFastUpdateGOB(PS_VideoFastUpdateGOB x) 7260 { 7261 OSCL_UNUSED_ARG(x); 7262 } 7263 7264 /* <==============================================> */ 7265 /* PER-Deleter for KeyProtectionMethod (SEQUENCE) */ 7266 /* <==============================================> */ Delete_KeyProtectionMethod(PS_KeyProtectionMethod x)7267void Delete_KeyProtectionMethod(PS_KeyProtectionMethod x) 7268 { 7269 OSCL_UNUSED_ARG(x); 7270 /* ------------------------------- */ 7271 /* ---- Extension Begins Here ---- */ 7272 /* ------------------------------- */ 7273 } 7274 7275 /* <==================================================> */ 7276 /* PER-Deleter for EncryptionUpdateRequest (SEQUENCE) */ 7277 /* <==================================================> */ Delete_EncryptionUpdateRequest(PS_EncryptionUpdateRequest x)7278void Delete_EncryptionUpdateRequest(PS_EncryptionUpdateRequest x) 7279 { 7280 if (x->option_of_keyProtectionMethod) 7281 { 7282 Delete_KeyProtectionMethod(&x->keyProtectionMethod); 7283 } 7284 /* ------------------------------- */ 7285 /* ---- Extension Begins Here ---- */ 7286 /* ------------------------------- */ 7287 } 7288 7289 /* <=====================================================> */ 7290 /* PER-Deleter for H223MultiplexReconfiguration (CHOICE) */ 7291 /* <=====================================================> */ Delete_H223MultiplexReconfiguration(PS_H223MultiplexReconfiguration x)7292void Delete_H223MultiplexReconfiguration(PS_H223MultiplexReconfiguration x) 7293 { 7294 switch (x->index) 7295 { 7296 case 0: 7297 Delete_H223ModeChange(x->h223ModeChange); 7298 OSCL_DEFAULT_FREE(x->h223ModeChange); 7299 break; 7300 case 1: 7301 Delete_H223AnnexADoubleFlag(x->h223AnnexADoubleFlag); 7302 OSCL_DEFAULT_FREE(x->h223AnnexADoubleFlag); 7303 break; 7304 /* ------------------------------- */ 7305 /* ---- Extension Begins Here ---- */ 7306 /* ------------------------------- */ 7307 default: 7308 ErrorMessage("Delete_H223MultiplexReconfiguration: Illegal CHOICE index"); 7309 } 7310 } 7311 7312 /* <=============================================> */ 7313 /* PER-Deleter for H223AnnexADoubleFlag (CHOICE) */ 7314 /* <=============================================> */ Delete_H223AnnexADoubleFlag(PS_H223AnnexADoubleFlag x)7315void Delete_H223AnnexADoubleFlag(PS_H223AnnexADoubleFlag x) 7316 { 7317 switch (x->index) 7318 { 7319 case 0: 7320 /* (start is NULL) */ 7321 break; 7322 case 1: 7323 /* (stop is NULL) */ 7324 break; 7325 /* ------------------------------- */ 7326 /* ---- Extension Begins Here ---- */ 7327 /* ------------------------------- */ 7328 default: 7329 ErrorMessage("Delete_H223AnnexADoubleFlag: Illegal CHOICE index"); 7330 } 7331 } 7332 7333 /* <=======================================> */ 7334 /* PER-Deleter for H223ModeChange (CHOICE) */ 7335 /* <=======================================> */ Delete_H223ModeChange(PS_H223ModeChange x)7336void Delete_H223ModeChange(PS_H223ModeChange x) 7337 { 7338 switch (x->index) 7339 { 7340 case 0: 7341 /* (toLevel0 is NULL) */ 7342 break; 7343 case 1: 7344 /* (toLevel1 is NULL) */ 7345 break; 7346 case 2: 7347 /* (toLevel2 is NULL) */ 7348 break; 7349 case 3: 7350 /* (toLevel2withOptionalHeader is NULL) */ 7351 break; 7352 /* ------------------------------- */ 7353 /* ---- Extension Begins Here ---- */ 7354 /* ------------------------------- */ 7355 default: 7356 ErrorMessage("Delete_H223ModeChange: Illegal CHOICE index"); 7357 } 7358 } 7359 7360 /* <==========================================> */ 7361 /* PER-Deleter for NewATMVCCommand (SEQUENCE) */ 7362 /* <==========================================> */ Delete_NewATMVCCommand(PS_NewATMVCCommand x)7363void Delete_NewATMVCCommand(PS_NewATMVCCommand x) 7364 { 7365 Delete_CmdAal(&x->cmdAal); 7366 Delete_CmdMultiplex(&x->cmdMultiplex); 7367 Delete_CmdReverseParameters(&x->cmdReverseParameters); 7368 /* ------------------------------- */ 7369 /* ---- Extension Begins Here ---- */ 7370 /* ------------------------------- */ 7371 } 7372 7373 /* <===============================================> */ 7374 /* PER-Deleter for CmdReverseParameters (SEQUENCE) */ 7375 /* <===============================================> */ Delete_CmdReverseParameters(PS_CmdReverseParameters x)7376void Delete_CmdReverseParameters(PS_CmdReverseParameters x) 7377 { 7378 Delete_Multiplex(&x->multiplex); 7379 /* ------------------------------- */ 7380 /* ---- Extension Begins Here ---- */ 7381 /* ------------------------------- */ 7382 } 7383 7384 /* <==================================> */ 7385 /* PER-Deleter for Multiplex (CHOICE) */ 7386 /* <==================================> */ Delete_Multiplex(PS_Multiplex x)7387void Delete_Multiplex(PS_Multiplex x) 7388 { 7389 switch (x->index) 7390 { 7391 case 0: 7392 /* (noMultiplex is NULL) */ 7393 break; 7394 case 1: 7395 /* (transportStream is NULL) */ 7396 break; 7397 case 2: 7398 /* (programStream is NULL) */ 7399 break; 7400 /* ------------------------------- */ 7401 /* ---- Extension Begins Here ---- */ 7402 /* ------------------------------- */ 7403 default: 7404 ErrorMessage("Delete_Multiplex: Illegal CHOICE index"); 7405 } 7406 } 7407 7408 /* <=====================================> */ 7409 /* PER-Deleter for CmdMultiplex (CHOICE) */ 7410 /* <=====================================> */ Delete_CmdMultiplex(PS_CmdMultiplex x)7411void Delete_CmdMultiplex(PS_CmdMultiplex x) 7412 { 7413 switch (x->index) 7414 { 7415 case 0: 7416 /* (noMultiplex is NULL) */ 7417 break; 7418 case 1: 7419 /* (transportStream is NULL) */ 7420 break; 7421 case 2: 7422 /* (programStream is NULL) */ 7423 break; 7424 /* ------------------------------- */ 7425 /* ---- Extension Begins Here ---- */ 7426 /* ------------------------------- */ 7427 default: 7428 ErrorMessage("Delete_CmdMultiplex: Illegal CHOICE index"); 7429 } 7430 } 7431 7432 /* <===============================> */ 7433 /* PER-Deleter for CmdAal (CHOICE) */ 7434 /* <===============================> */ Delete_CmdAal(PS_CmdAal x)7435void Delete_CmdAal(PS_CmdAal x) 7436 { 7437 switch (x->index) 7438 { 7439 case 0: 7440 Delete_CmdAal1(x->cmdAal1); 7441 OSCL_DEFAULT_FREE(x->cmdAal1); 7442 break; 7443 case 1: 7444 Delete_CmdAal5(x->cmdAal5); 7445 OSCL_DEFAULT_FREE(x->cmdAal5); 7446 break; 7447 /* ------------------------------- */ 7448 /* ---- Extension Begins Here ---- */ 7449 /* ------------------------------- */ 7450 default: 7451 ErrorMessage("Delete_CmdAal: Illegal CHOICE index"); 7452 } 7453 } 7454 7455 /* <==================================> */ 7456 /* PER-Deleter for CmdAal5 (SEQUENCE) */ 7457 /* <==================================> */ Delete_CmdAal5(PS_CmdAal5 x)7458void Delete_CmdAal5(PS_CmdAal5 x) 7459 { 7460 OSCL_UNUSED_ARG(x); 7461 /* ------------------------------- */ 7462 /* ---- Extension Begins Here ---- */ 7463 /* ------------------------------- */ 7464 } 7465 7466 /* <==================================> */ 7467 /* PER-Deleter for CmdAal1 (SEQUENCE) */ 7468 /* <==================================> */ Delete_CmdAal1(PS_CmdAal1 x)7469void Delete_CmdAal1(PS_CmdAal1 x) 7470 { 7471 Delete_CmdClockRecovery(&x->cmdClockRecovery); 7472 Delete_CmdErrorCorrection(&x->cmdErrorCorrection); 7473 /* ------------------------------- */ 7474 /* ---- Extension Begins Here ---- */ 7475 /* ------------------------------- */ 7476 } 7477 7478 /* <===========================================> */ 7479 /* PER-Deleter for CmdErrorCorrection (CHOICE) */ 7480 /* <===========================================> */ Delete_CmdErrorCorrection(PS_CmdErrorCorrection x)7481void Delete_CmdErrorCorrection(PS_CmdErrorCorrection x) 7482 { 7483 switch (x->index) 7484 { 7485 case 0: 7486 /* (nullErrorCorrection is NULL) */ 7487 break; 7488 case 1: 7489 /* (longInterleaver is NULL) */ 7490 break; 7491 case 2: 7492 /* (shortInterleaver is NULL) */ 7493 break; 7494 case 3: 7495 /* (errorCorrectionOnly is NULL) */ 7496 break; 7497 /* ------------------------------- */ 7498 /* ---- Extension Begins Here ---- */ 7499 /* ------------------------------- */ 7500 default: 7501 ErrorMessage("Delete_CmdErrorCorrection: Illegal CHOICE index"); 7502 } 7503 } 7504 7505 /* <=========================================> */ 7506 /* PER-Deleter for CmdClockRecovery (CHOICE) */ 7507 /* <=========================================> */ Delete_CmdClockRecovery(PS_CmdClockRecovery x)7508void Delete_CmdClockRecovery(PS_CmdClockRecovery x) 7509 { 7510 switch (x->index) 7511 { 7512 case 0: 7513 /* (nullClockRecovery is NULL) */ 7514 break; 7515 case 1: 7516 /* (srtsClockRecovery is NULL) */ 7517 break; 7518 case 2: 7519 /* (adaptiveClockRecovery is NULL) */ 7520 break; 7521 /* ------------------------------- */ 7522 /* ---- Extension Begins Here ---- */ 7523 /* ------------------------------- */ 7524 default: 7525 ErrorMessage("Delete_CmdClockRecovery: Illegal CHOICE index"); 7526 } 7527 } 7528 7529 /* <==============================================> */ 7530 /* PER-Deleter for FunctionNotUnderstood (CHOICE) */ 7531 /* <==============================================> */ Delete_FunctionNotUnderstood(PS_FunctionNotUnderstood x)7532void Delete_FunctionNotUnderstood(PS_FunctionNotUnderstood x) 7533 { 7534 switch (x->index) 7535 { 7536 case 0: 7537 Delete_RequestMessage(x->request); 7538 OSCL_DEFAULT_FREE(x->request); 7539 break; 7540 case 1: 7541 Delete_ResponseMessage(x->response); 7542 OSCL_DEFAULT_FREE(x->response); 7543 break; 7544 case 2: 7545 Delete_CommandMessage(x->command); 7546 OSCL_DEFAULT_FREE(x->command); 7547 break; 7548 default: 7549 ErrorMessage("Delete_FunctionNotUnderstood: Illegal CHOICE index"); 7550 } 7551 } 7552 7553 /* <===============================================> */ 7554 /* PER-Deleter for FunctionNotSupported (SEQUENCE) */ 7555 /* <===============================================> */ Delete_FunctionNotSupported(PS_FunctionNotSupported x)7556void Delete_FunctionNotSupported(PS_FunctionNotSupported x) 7557 { 7558 Delete_FnsCause(&x->fnsCause); 7559 if (x->option_of_returnedFunction) 7560 { 7561 if (x->returnedFunction.size > 0) OSCL_DEFAULT_FREE(x->returnedFunction.data); 7562 } 7563 /* ------------------------------- */ 7564 /* ---- Extension Begins Here ---- */ 7565 /* ------------------------------- */ 7566 } 7567 7568 /* <=================================> */ 7569 /* PER-Deleter for FnsCause (CHOICE) */ 7570 /* <=================================> */ Delete_FnsCause(PS_FnsCause x)7571void Delete_FnsCause(PS_FnsCause x) 7572 { 7573 switch (x->index) 7574 { 7575 case 0: 7576 /* (syntaxError is NULL) */ 7577 break; 7578 case 1: 7579 /* (semanticError is NULL) */ 7580 break; 7581 case 2: 7582 /* (unknownFunction is NULL) */ 7583 break; 7584 /* ------------------------------- */ 7585 /* ---- Extension Begins Here ---- */ 7586 /* ------------------------------- */ 7587 default: 7588 ErrorMessage("Delete_FnsCause: Illegal CHOICE index"); 7589 } 7590 } 7591 7592 /* <=============================================> */ 7593 /* PER-Deleter for ConferenceIndication (CHOICE) */ 7594 /* <=============================================> */ Delete_ConferenceIndication(PS_ConferenceIndication x)7595void Delete_ConferenceIndication(PS_ConferenceIndication x) 7596 { 7597 switch (x->index) 7598 { 7599 case 0: 7600 break; 7601 case 1: 7602 Delete_TerminalLabel(x->terminalNumberAssign); 7603 OSCL_DEFAULT_FREE(x->terminalNumberAssign); 7604 break; 7605 case 2: 7606 Delete_TerminalLabel(x->terminalJoinedConference); 7607 OSCL_DEFAULT_FREE(x->terminalJoinedConference); 7608 break; 7609 case 3: 7610 Delete_TerminalLabel(x->terminalLeftConference); 7611 OSCL_DEFAULT_FREE(x->terminalLeftConference); 7612 break; 7613 case 4: 7614 /* (seenByAtLeastOneOther is NULL) */ 7615 break; 7616 case 5: 7617 /* (cancelSeenByAtLeastOneOther is NULL) */ 7618 break; 7619 case 6: 7620 /* (seenByAll is NULL) */ 7621 break; 7622 case 7: 7623 /* (cancelSeenByAll is NULL) */ 7624 break; 7625 case 8: 7626 Delete_TerminalLabel(x->terminalYouAreSeeing); 7627 OSCL_DEFAULT_FREE(x->terminalYouAreSeeing); 7628 break; 7629 case 9: 7630 /* (requestForFloor is NULL) */ 7631 break; 7632 /* ------------------------------- */ 7633 /* ---- Extension Begins Here ---- */ 7634 /* ------------------------------- */ 7635 case 10: 7636 break; 7637 case 11: 7638 Delete_TerminalLabel(x->floorRequested); 7639 OSCL_DEFAULT_FREE(x->floorRequested); 7640 break; 7641 case 12: 7642 Delete_TerminalYouAreSeeingInSubPictureNumber(x->terminalYouAreSeeingInSubPictureNumber); 7643 OSCL_DEFAULT_FREE(x->terminalYouAreSeeingInSubPictureNumber); 7644 break; 7645 case 13: 7646 Delete_VideoIndicateCompose(x->videoIndicateCompose); 7647 OSCL_DEFAULT_FREE(x->videoIndicateCompose); 7648 break; 7649 default: 7650 ErrorMessage("Delete_ConferenceIndication: Illegal CHOICE index"); 7651 } 7652 } 7653 7654 /* <=================================================================> */ 7655 /* PER-Deleter for TerminalYouAreSeeingInSubPictureNumber (SEQUENCE) */ 7656 /* <=================================================================> */ Delete_TerminalYouAreSeeingInSubPictureNumber(PS_TerminalYouAreSeeingInSubPictureNumber x)7657void Delete_TerminalYouAreSeeingInSubPictureNumber(PS_TerminalYouAreSeeingInSubPictureNumber x) 7658 { 7659 OSCL_UNUSED_ARG(x); 7660 /* ------------------------------- */ 7661 /* ---- Extension Begins Here ---- */ 7662 /* ------------------------------- */ 7663 } 7664 7665 /* <===============================================> */ 7666 /* PER-Deleter for VideoIndicateCompose (SEQUENCE) */ 7667 /* <===============================================> */ Delete_VideoIndicateCompose(PS_VideoIndicateCompose x)7668void Delete_VideoIndicateCompose(PS_VideoIndicateCompose x) 7669 { 7670 OSCL_UNUSED_ARG(x); 7671 /* ------------------------------- */ 7672 /* ---- Extension Begins Here ---- */ 7673 /* ------------------------------- */ 7674 } 7675 7676 /* <==================================================> */ 7677 /* PER-Deleter for MiscellaneousIndication (SEQUENCE) */ 7678 /* <==================================================> */ Delete_MiscellaneousIndication(PS_MiscellaneousIndication x)7679void Delete_MiscellaneousIndication(PS_MiscellaneousIndication x) 7680 { 7681 Delete_MiType(&x->miType); 7682 /* ------------------------------- */ 7683 /* ---- Extension Begins Here ---- */ 7684 /* ------------------------------- */ 7685 } 7686 7687 /* <===============================> */ 7688 /* PER-Deleter for MiType (CHOICE) */ 7689 /* <===============================> */ Delete_MiType(PS_MiType x)7690void Delete_MiType(PS_MiType x) 7691 { 7692 switch (x->index) 7693 { 7694 case 0: 7695 /* (logicalChannelActive is NULL) */ 7696 break; 7697 case 1: 7698 /* (logicalChannelInactive is NULL) */ 7699 break; 7700 case 2: 7701 /* (multipointConference is NULL) */ 7702 break; 7703 case 3: 7704 /* (cancelMultipointConference is NULL) */ 7705 break; 7706 case 4: 7707 /* (multipointZeroComm is NULL) */ 7708 break; 7709 case 5: 7710 /* (cancelMultipointZeroComm is NULL) */ 7711 break; 7712 case 6: 7713 /* (multipointSecondaryStatus is NULL) */ 7714 break; 7715 case 7: 7716 /* (cancelMultipointSecondaryStatus is NULL) */ 7717 break; 7718 case 8: 7719 /* (videoIndicateReadyToActivate is NULL) */ 7720 break; 7721 case 9: 7722 break; 7723 /* ------------------------------- */ 7724 /* ---- Extension Begins Here ---- */ 7725 /* ------------------------------- */ 7726 case 10: 7727 Delete_VideoNotDecodedMBs(x->videoNotDecodedMBs); 7728 OSCL_DEFAULT_FREE(x->videoNotDecodedMBs); 7729 break; 7730 case 11: 7731 Delete_TransportCapability(x->transportCapability); 7732 OSCL_DEFAULT_FREE(x->transportCapability); 7733 break; 7734 default: 7735 ErrorMessage("Delete_MiType: Illegal CHOICE index"); 7736 } 7737 } 7738 7739 /* <=============================================> */ 7740 /* PER-Deleter for VideoNotDecodedMBs (SEQUENCE) */ 7741 /* <=============================================> */ Delete_VideoNotDecodedMBs(PS_VideoNotDecodedMBs x)7742void Delete_VideoNotDecodedMBs(PS_VideoNotDecodedMBs x) 7743 { 7744 OSCL_UNUSED_ARG(x); 7745 /* ------------------------------- */ 7746 /* ---- Extension Begins Here ---- */ 7747 /* ------------------------------- */ 7748 } 7749 7750 /* <===========================================> */ 7751 /* PER-Deleter for JitterIndication (SEQUENCE) */ 7752 /* <===========================================> */ Delete_JitterIndication(PS_JitterIndication x)7753void Delete_JitterIndication(PS_JitterIndication x) 7754 { 7755 Delete_JiScope(&x->jiScope); 7756 if (x->option_of_skippedFrameCount) 7757 { 7758 } 7759 if (x->option_of_additionalDecoderBuffer) 7760 { 7761 } 7762 /* ------------------------------- */ 7763 /* ---- Extension Begins Here ---- */ 7764 /* ------------------------------- */ 7765 } 7766 7767 /* <================================> */ 7768 /* PER-Deleter for JiScope (CHOICE) */ 7769 /* <================================> */ Delete_JiScope(PS_JiScope x)7770void Delete_JiScope(PS_JiScope x) 7771 { 7772 switch (x->index) 7773 { 7774 case 0: 7775 break; 7776 case 1: 7777 break; 7778 case 2: 7779 /* (wholeMultiplex is NULL) */ 7780 break; 7781 default: 7782 ErrorMessage("Delete_JiScope: Illegal CHOICE index"); 7783 } 7784 } 7785 7786 /* <=============================================> */ 7787 /* PER-Deleter for H223SkewIndication (SEQUENCE) */ 7788 /* <=============================================> */ Delete_H223SkewIndication(PS_H223SkewIndication x)7789void Delete_H223SkewIndication(PS_H223SkewIndication x) 7790 { 7791 OSCL_UNUSED_ARG(x); 7792 /* ------------------------------- */ 7793 /* ---- Extension Begins Here ---- */ 7794 /* ------------------------------- */ 7795 } 7796 7797 /* <=====================================================> */ 7798 /* PER-Deleter for H2250MaximumSkewIndication (SEQUENCE) */ 7799 /* <=====================================================> */ Delete_H2250MaximumSkewIndication(PS_H2250MaximumSkewIndication x)7800void Delete_H2250MaximumSkewIndication(PS_H2250MaximumSkewIndication x) 7801 { 7802 OSCL_UNUSED_ARG(x); 7803 /* ------------------------------- */ 7804 /* ---- Extension Begins Here ---- */ 7805 /* ------------------------------- */ 7806 } 7807 7808 /* <===============================================> */ 7809 /* PER-Deleter for MCLocationIndication (SEQUENCE) */ 7810 /* <===============================================> */ Delete_MCLocationIndication(PS_MCLocationIndication x)7811void Delete_MCLocationIndication(PS_MCLocationIndication x) 7812 { 7813 Delete_TransportAddress(&x->signalAddress); 7814 /* ------------------------------- */ 7815 /* ---- Extension Begins Here ---- */ 7816 /* ------------------------------- */ 7817 } 7818 7819 /* <===============================================> */ 7820 /* PER-Deleter for VendorIdentification (SEQUENCE) */ 7821 /* <===============================================> */ Delete_VendorIdentification(PS_VendorIdentification x)7822void Delete_VendorIdentification(PS_VendorIdentification x) 7823 { 7824 Delete_NonStandardIdentifier(&x->vendor); 7825 if (x->option_of_productNumber) 7826 { 7827 OSCL_DEFAULT_FREE(x->productNumber.data); 7828 x->productNumber.data = NULL; 7829 } 7830 if (x->option_of_versionNumber) 7831 { 7832 OSCL_DEFAULT_FREE(x->versionNumber.data); 7833 x->versionNumber.data = NULL; 7834 } 7835 /* ------------------------------- */ 7836 /* ---- Extension Begins Here ---- */ 7837 /* ------------------------------- */ 7838 } 7839 7840 /* <=============================================> */ 7841 /* PER-Deleter for NewATMVCIndication (SEQUENCE) */ 7842 /* <=============================================> */ Delete_NewATMVCIndication(PS_NewATMVCIndication x)7843void Delete_NewATMVCIndication(PS_NewATMVCIndication x) 7844 { 7845 uint32 extension; 7846 7847 extension = x->option_of_indReverseParameters; 7848 Delete_IndAal(&x->indAal); 7849 Delete_IndMultiplex(&x->indMultiplex); 7850 /* ------------------------------- */ 7851 /* ---- Extension Begins Here ---- */ 7852 /* ------------------------------- */ 7853 if (!extension) return; /* (No items present?) */ 7854 if (x->option_of_indReverseParameters) 7855 { 7856 Delete_IndReverseParameters(&x->indReverseParameters); 7857 } 7858 } 7859 7860 /* <===============================================> */ 7861 /* PER-Deleter for IndReverseParameters (SEQUENCE) */ 7862 /* <===============================================> */ Delete_IndReverseParameters(PS_IndReverseParameters x)7863void Delete_IndReverseParameters(PS_IndReverseParameters x) 7864 { 7865 Delete_IrpMultiplex(&x->irpMultiplex); 7866 /* ------------------------------- */ 7867 /* ---- Extension Begins Here ---- */ 7868 /* ------------------------------- */ 7869 } 7870 7871 /* <=====================================> */ 7872 /* PER-Deleter for IrpMultiplex (CHOICE) */ 7873 /* <=====================================> */ Delete_IrpMultiplex(PS_IrpMultiplex x)7874void Delete_IrpMultiplex(PS_IrpMultiplex x) 7875 { 7876 switch (x->index) 7877 { 7878 case 0: 7879 /* (noMultiplex is NULL) */ 7880 break; 7881 case 1: 7882 /* (transportStream is NULL) */ 7883 break; 7884 case 2: 7885 /* (programStream is NULL) */ 7886 break; 7887 /* ------------------------------- */ 7888 /* ---- Extension Begins Here ---- */ 7889 /* ------------------------------- */ 7890 default: 7891 ErrorMessage("Delete_IrpMultiplex: Illegal CHOICE index"); 7892 } 7893 } 7894 7895 /* <=====================================> */ 7896 /* PER-Deleter for IndMultiplex (CHOICE) */ 7897 /* <=====================================> */ Delete_IndMultiplex(PS_IndMultiplex x)7898void Delete_IndMultiplex(PS_IndMultiplex x) 7899 { 7900 switch (x->index) 7901 { 7902 case 0: 7903 /* (noMultiplex is NULL) */ 7904 break; 7905 case 1: 7906 /* (transportStream is NULL) */ 7907 break; 7908 case 2: 7909 /* (programStream is NULL) */ 7910 break; 7911 /* ------------------------------- */ 7912 /* ---- Extension Begins Here ---- */ 7913 /* ------------------------------- */ 7914 default: 7915 ErrorMessage("Delete_IndMultiplex: Illegal CHOICE index"); 7916 } 7917 } 7918 7919 /* <===============================> */ 7920 /* PER-Deleter for IndAal (CHOICE) */ 7921 /* <===============================> */ Delete_IndAal(PS_IndAal x)7922void Delete_IndAal(PS_IndAal x) 7923 { 7924 switch (x->index) 7925 { 7926 case 0: 7927 Delete_IndAal1(x->indAal1); 7928 OSCL_DEFAULT_FREE(x->indAal1); 7929 break; 7930 case 1: 7931 Delete_IndAal5(x->indAal5); 7932 OSCL_DEFAULT_FREE(x->indAal5); 7933 break; 7934 /* ------------------------------- */ 7935 /* ---- Extension Begins Here ---- */ 7936 /* ------------------------------- */ 7937 default: 7938 ErrorMessage("Delete_IndAal: Illegal CHOICE index"); 7939 } 7940 } 7941 7942 /* <==================================> */ 7943 /* PER-Deleter for IndAal5 (SEQUENCE) */ 7944 /* <==================================> */ Delete_IndAal5(PS_IndAal5 x)7945void Delete_IndAal5(PS_IndAal5 x) 7946 { 7947 OSCL_UNUSED_ARG(x); 7948 /* ------------------------------- */ 7949 /* ---- Extension Begins Here ---- */ 7950 /* ------------------------------- */ 7951 } 7952 7953 /* <==================================> */ 7954 /* PER-Deleter for IndAal1 (SEQUENCE) */ 7955 /* <==================================> */ Delete_IndAal1(PS_IndAal1 x)7956void Delete_IndAal1(PS_IndAal1 x) 7957 { 7958 Delete_IndClockRecovery(&x->indClockRecovery); 7959 Delete_IndErrorCorrection(&x->indErrorCorrection); 7960 /* ------------------------------- */ 7961 /* ---- Extension Begins Here ---- */ 7962 /* ------------------------------- */ 7963 } 7964 7965 /* <===========================================> */ 7966 /* PER-Deleter for IndErrorCorrection (CHOICE) */ 7967 /* <===========================================> */ Delete_IndErrorCorrection(PS_IndErrorCorrection x)7968void Delete_IndErrorCorrection(PS_IndErrorCorrection x) 7969 { 7970 switch (x->index) 7971 { 7972 case 0: 7973 /* (nullErrorCorrection is NULL) */ 7974 break; 7975 case 1: 7976 /* (longInterleaver is NULL) */ 7977 break; 7978 case 2: 7979 /* (shortInterleaver is NULL) */ 7980 break; 7981 case 3: 7982 /* (errorCorrectionOnly is NULL) */ 7983 break; 7984 /* ------------------------------- */ 7985 /* ---- Extension Begins Here ---- */ 7986 /* ------------------------------- */ 7987 default: 7988 ErrorMessage("Delete_IndErrorCorrection: Illegal CHOICE index"); 7989 } 7990 } 7991 7992 /* <=========================================> */ 7993 /* PER-Deleter for IndClockRecovery (CHOICE) */ 7994 /* <=========================================> */ Delete_IndClockRecovery(PS_IndClockRecovery x)7995void Delete_IndClockRecovery(PS_IndClockRecovery x) 7996 { 7997 switch (x->index) 7998 { 7999 case 0: 8000 /* (nullClockRecovery is NULL) */ 8001 break; 8002 case 1: 8003 /* (srtsClockRecovery is NULL) */ 8004 break; 8005 case 2: 8006 /* (adaptiveClockRecovery is NULL) */ 8007 break; 8008 /* ------------------------------- */ 8009 /* ---- Extension Begins Here ---- */ 8010 /* ------------------------------- */ 8011 default: 8012 ErrorMessage("Delete_IndClockRecovery: Illegal CHOICE index"); 8013 } 8014 } 8015 8016 /* <============================================> */ 8017 /* PER-Deleter for UserInputIndication (CHOICE) */ 8018 /* <============================================> */ Delete_UserInputIndication(PS_UserInputIndication x)8019void Delete_UserInputIndication(PS_UserInputIndication x) 8020 { 8021 switch (x->index) 8022 { 8023 case 0: 8024 Delete_NonStandardParameter(x->nonStandard); 8025 OSCL_DEFAULT_FREE(x->nonStandard); 8026 break; 8027 case 1: 8028 FreeCharString(x->alphanumeric); 8029 break; 8030 /* ------------------------------- */ 8031 /* ---- Extension Begins Here ---- */ 8032 /* ------------------------------- */ 8033 case 2: 8034 Delete_UserInputSupportIndication(x->userInputSupportIndication); 8035 OSCL_DEFAULT_FREE(x->userInputSupportIndication); 8036 break; 8037 case 3: 8038 Delete_Signal(x->signal); 8039 OSCL_DEFAULT_FREE(x->signal); 8040 break; 8041 case 4: 8042 Delete_SignalUpdate(x->signalUpdate); 8043 OSCL_DEFAULT_FREE(x->signalUpdate); 8044 break; 8045 default: 8046 ErrorMessage("Delete_UserInputIndication: Illegal CHOICE index"); 8047 } 8048 } 8049 8050 /* <=======================================> */ 8051 /* PER-Deleter for SignalUpdate (SEQUENCE) */ 8052 /* <=======================================> */ Delete_SignalUpdate(PS_SignalUpdate x)8053void Delete_SignalUpdate(PS_SignalUpdate x) 8054 { 8055 if (x->option_of_rtp) 8056 { 8057 Delete_Rtp(&x->rtp); 8058 } 8059 /* ------------------------------- */ 8060 /* ---- Extension Begins Here ---- */ 8061 /* ------------------------------- */ 8062 } 8063 8064 /* <==============================> */ 8065 /* PER-Deleter for Rtp (SEQUENCE) */ 8066 /* <==============================> */ Delete_Rtp(PS_Rtp x)8067void Delete_Rtp(PS_Rtp x) 8068 { 8069 OSCL_UNUSED_ARG(x); 8070 /* ------------------------------- */ 8071 /* ---- Extension Begins Here ---- */ 8072 /* ------------------------------- */ 8073 } 8074 8075 /* <=================================> */ 8076 /* PER-Deleter for Signal (SEQUENCE) */ 8077 /* <=================================> */ Delete_Signal(PS_Signal x)8078void Delete_Signal(PS_Signal x) 8079 { 8080 if (x->signalType.data) 8081 { 8082 OSCL_DEFAULT_FREE(x->signalType.data); 8083 } 8084 if (x->option_of_duration) 8085 { 8086 } 8087 if (x->option_of_signalRtp) 8088 { 8089 Delete_SignalRtp(&x->signalRtp); 8090 } 8091 /* ------------------------------- */ 8092 /* ---- Extension Begins Here ---- */ 8093 /* ------------------------------- */ 8094 } 8095 8096 /* <====================================> */ 8097 /* PER-Deleter for SignalRtp (SEQUENCE) */ 8098 /* <====================================> */ Delete_SignalRtp(PS_SignalRtp x)8099void Delete_SignalRtp(PS_SignalRtp x) 8100 { 8101 if (x->option_of_timestamp) 8102 { 8103 } 8104 if (x->option_of_expirationTime) 8105 { 8106 } 8107 /* ------------------------------- */ 8108 /* ---- Extension Begins Here ---- */ 8109 /* ------------------------------- */ 8110 } 8111 8112 /* <===================================================> */ 8113 /* PER-Deleter for UserInputSupportIndication (CHOICE) */ 8114 /* <===================================================> */ Delete_UserInputSupportIndication(PS_UserInputSupportIndication x)8115void Delete_UserInputSupportIndication(PS_UserInputSupportIndication x) 8116 { 8117 switch (x->index) 8118 { 8119 case 0: 8120 Delete_NonStandardParameter(x->nonStandard); 8121 OSCL_DEFAULT_FREE(x->nonStandard); 8122 break; 8123 case 1: 8124 /* (basicString is NULL) */ 8125 break; 8126 case 2: 8127 /* (iA5String is NULL) */ 8128 break; 8129 case 3: 8130 /* (generalString is NULL) */ 8131 break; 8132 /* ------------------------------- */ 8133 /* ---- Extension Begins Here ---- */ 8134 /* ------------------------------- */ 8135 default: 8136 ErrorMessage("Delete_UserInputSupportIndication: Illegal CHOICE index"); 8137 } 8138 } 8139 8140 /* <================================================> */ 8141 /* PER-Deleter for FlowControlIndication (SEQUENCE) */ 8142 /* <================================================> */ Delete_FlowControlIndication(PS_FlowControlIndication x)8143void Delete_FlowControlIndication(PS_FlowControlIndication x) 8144 { 8145 Delete_FciScope(&x->fciScope); 8146 Delete_FciRestriction(&x->fciRestriction); 8147 /* ------------------------------- */ 8148 /* ---- Extension Begins Here ---- */ 8149 /* ------------------------------- */ 8150 } 8151 8152 /* <=======================================> */ 8153 /* PER-Deleter for FciRestriction (CHOICE) */ 8154 /* <=======================================> */ Delete_FciRestriction(PS_FciRestriction x)8155void Delete_FciRestriction(PS_FciRestriction x) 8156 { 8157 switch (x->index) 8158 { 8159 case 0: 8160 break; 8161 case 1: 8162 /* (noRestriction is NULL) */ 8163 break; 8164 default: 8165 ErrorMessage("Delete_FciRestriction: Illegal CHOICE index"); 8166 } 8167 } 8168 8169 /* <=================================> */ 8170 /* PER-Deleter for FciScope (CHOICE) */ 8171 /* <=================================> */ Delete_FciScope(PS_FciScope x)8172void Delete_FciScope(PS_FciScope x) 8173 { 8174 switch (x->index) 8175 { 8176 case 0: 8177 break; 8178 case 1: 8179 break; 8180 case 2: 8181 /* (wholeMultiplex is NULL) */ 8182 break; 8183 default: 8184 ErrorMessage("Delete_FciScope: Illegal CHOICE index"); 8185 } 8186 } 8187 8188