DeviceLink.c
1 /* 2 This file is part of Darling. 3 4 Copyright (C) 2021 Lubos Dolezel 5 6 Darling is free software: you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation, either version 3 of the License, or 9 (at your option) any later version. 10 11 Darling is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with Darling. If not, see <http://www.gnu.org/licenses/>. 18 */ 19 20 21 #include <DeviceLink/DeviceLink.h> 22 #include <stdlib.h> 23 #include <stdio.h> 24 25 static int verbose = 0; 26 27 __attribute__((constructor)) 28 static void initme(void) { 29 verbose = getenv("STUB_VERBOSE") != NULL; 30 } 31 32 void* CFPrintf(void) 33 { 34 if (verbose) puts("STUB: CFPrintf called"); 35 return NULL; 36 } 37 38 void* DLConnect(void) 39 { 40 if (verbose) puts("STUB: DLConnect called"); 41 return NULL; 42 } 43 44 void* DLConnectToDeviceWithPort(void) 45 { 46 if (verbose) puts("STUB: DLConnectToDeviceWithPort called"); 47 return NULL; 48 } 49 50 void* DLConnectToServiceOnDevice(void) 51 { 52 if (verbose) puts("STUB: DLConnectToServiceOnDevice called"); 53 return NULL; 54 } 55 56 void* DLConnectToServiceOnDeviceWithOptions(void) 57 { 58 if (verbose) puts("STUB: DLConnectToServiceOnDeviceWithOptions called"); 59 return NULL; 60 } 61 62 void* DLConnectionInfoCreateForEndpoint(void) 63 { 64 if (verbose) puts("STUB: DLConnectionInfoCreateForEndpoint called"); 65 return NULL; 66 } 67 68 void* DLContentsOfDirectory(void) 69 { 70 if (verbose) puts("STUB: DLContentsOfDirectory called"); 71 return NULL; 72 } 73 74 void* DLCopyConnectedDeviceArray(void) 75 { 76 if (verbose) puts("STUB: DLCopyConnectedDeviceArray called"); 77 return NULL; 78 } 79 80 void* DLCopyFileAttributes(void) 81 { 82 if (verbose) puts("STUB: DLCopyFileAttributes called"); 83 return NULL; 84 } 85 86 void* DLCopyHomeDirPath(void) 87 { 88 if (verbose) puts("STUB: DLCopyHomeDirPath called"); 89 return NULL; 90 } 91 92 void* DLCopyItem(void) 93 { 94 if (verbose) puts("STUB: DLCopyItem called"); 95 return NULL; 96 } 97 98 void* DLCopyTempDir(void) 99 { 100 if (verbose) puts("STUB: DLCopyTempDir called"); 101 return NULL; 102 } 103 104 void* DLCreateCStringFromCFString(void) 105 { 106 if (verbose) puts("STUB: DLCreateCStringFromCFString called"); 107 return NULL; 108 } 109 110 void* DLCreateCondition(void) 111 { 112 if (verbose) puts("STUB: DLCreateCondition called"); 113 return NULL; 114 } 115 116 void* DLCreateDataFromString(void) 117 { 118 if (verbose) puts("STUB: DLCreateDataFromString called"); 119 return NULL; 120 } 121 122 void* DLCreateDeviceLinkConnectionForComputer(void) 123 { 124 if (verbose) puts("STUB: DLCreateDeviceLinkConnectionForComputer called"); 125 return NULL; 126 } 127 128 void* DLCreateDeviceLinkConnectionForDevice(void) 129 { 130 if (verbose) puts("STUB: DLCreateDeviceLinkConnectionForDevice called"); 131 return NULL; 132 } 133 134 void* DLCreateDirectory(void) 135 { 136 if (verbose) puts("STUB: DLCreateDirectory called"); 137 return NULL; 138 } 139 140 void* DLCreateMutex(void) 141 { 142 if (verbose) puts("STUB: DLCreateMutex called"); 143 return NULL; 144 } 145 146 void* DLCreatePropertyListFromFile(void) 147 { 148 if (verbose) puts("STUB: DLCreatePropertyListFromFile called"); 149 return NULL; 150 } 151 152 void* DLCreateStringFromData(void) 153 { 154 if (verbose) puts("STUB: DLCreateStringFromData called"); 155 return NULL; 156 } 157 158 void* DLCreateUUID(void) 159 { 160 if (verbose) puts("STUB: DLCreateUUID called"); 161 return NULL; 162 } 163 164 void* DLDataCreateWithMallocedBytesNoCopy(void) 165 { 166 if (verbose) puts("STUB: DLDataCreateWithMallocedBytesNoCopy called"); 167 return NULL; 168 } 169 170 void* DLDeleteCondition(void) 171 { 172 if (verbose) puts("STUB: DLDeleteCondition called"); 173 return NULL; 174 } 175 176 void* DLDeleteDeviceLinkConnection(void) 177 { 178 if (verbose) puts("STUB: DLDeleteDeviceLinkConnection called"); 179 return NULL; 180 } 181 182 void* DLDeleteMutex(void) 183 { 184 if (verbose) puts("STUB: DLDeleteMutex called"); 185 return NULL; 186 } 187 188 void* DLDeviceArrayCallbacks(void) 189 { 190 if (verbose) puts("STUB: DLDeviceArrayCallbacks called"); 191 return NULL; 192 } 193 194 void* DLDeviceCopyAMDValue(void) 195 { 196 if (verbose) puts("STUB: DLDeviceCopyAMDValue called"); 197 return NULL; 198 } 199 200 void* DLDeviceCreateDescription(void) 201 { 202 if (verbose) puts("STUB: DLDeviceCreateDescription called"); 203 return NULL; 204 } 205 206 void* DLDeviceGetAMDevice(void) 207 { 208 if (verbose) puts("STUB: DLDeviceGetAMDevice called"); 209 return NULL; 210 } 211 212 void* DLDeviceGetEndpointForType(void) 213 { 214 if (verbose) puts("STUB: DLDeviceGetEndpointForType called"); 215 return NULL; 216 } 217 218 void* DLDeviceGetEndpoints(void) 219 { 220 if (verbose) puts("STUB: DLDeviceGetEndpoints called"); 221 return NULL; 222 } 223 224 void* DLDeviceGetName(void) 225 { 226 if (verbose) puts("STUB: DLDeviceGetName called"); 227 return NULL; 228 } 229 230 void* DLDeviceGetUDID(void) 231 { 232 if (verbose) puts("STUB: DLDeviceGetUDID called"); 233 return NULL; 234 } 235 236 void* DLDeviceGetUID(void) 237 { 238 if (verbose) puts("STUB: DLDeviceGetUID called"); 239 return NULL; 240 } 241 242 void* DLDeviceGetWithName(void) 243 { 244 if (verbose) puts("STUB: DLDeviceGetWithName called"); 245 return NULL; 246 } 247 248 void* DLDeviceGetWithUDID(void) 249 { 250 if (verbose) puts("STUB: DLDeviceGetWithUDID called"); 251 return NULL; 252 } 253 254 void* DLDeviceGetWithUID(void) 255 { 256 if (verbose) puts("STUB: DLDeviceGetWithUID called"); 257 return NULL; 258 } 259 260 void* DLDeviceListenerCreate(void) 261 { 262 if (verbose) puts("STUB: DLDeviceListenerCreate called"); 263 return NULL; 264 } 265 266 void* DLDeviceListenerCreateWithCallbacks(void) 267 { 268 if (verbose) puts("STUB: DLDeviceListenerCreateWithCallbacks called"); 269 return NULL; 270 } 271 272 void* DLDeviceListenerDestroy(void) 273 { 274 if (verbose) puts("STUB: DLDeviceListenerDestroy called"); 275 return NULL; 276 } 277 278 void* DLDeviceListenerSetAttachedCallback(void) 279 { 280 if (verbose) puts("STUB: DLDeviceListenerSetAttachedCallback called"); 281 return NULL; 282 } 283 284 void* DLDeviceListenerSetContext(void) 285 { 286 if (verbose) puts("STUB: DLDeviceListenerSetContext called"); 287 return NULL; 288 } 289 290 void* DLDeviceListenerSetDetachedCallback(void) 291 { 292 if (verbose) puts("STUB: DLDeviceListenerSetDetachedCallback called"); 293 return NULL; 294 } 295 296 void* DLDeviceListenerSetStoppedCallback(void) 297 { 298 if (verbose) puts("STUB: DLDeviceListenerSetStoppedCallback called"); 299 return NULL; 300 } 301 302 void* DLDevicePair(void) 303 { 304 if (verbose) puts("STUB: DLDevicePair called"); 305 return NULL; 306 } 307 308 void* DLDeviceReady(void) 309 { 310 if (verbose) puts("STUB: DLDeviceReady called"); 311 return NULL; 312 } 313 314 void* DLDeviceRelease(void) 315 { 316 if (verbose) puts("STUB: DLDeviceRelease called"); 317 return NULL; 318 } 319 320 void* DLDeviceRetain(void) 321 { 322 if (verbose) puts("STUB: DLDeviceRetain called"); 323 return NULL; 324 } 325 326 void* DLDeviceSetAMDValue(void) 327 { 328 if (verbose) puts("STUB: DLDeviceSetAMDValue called"); 329 return NULL; 330 } 331 332 void* DLDeviceSetName(void) 333 { 334 if (verbose) puts("STUB: DLDeviceSetName called"); 335 return NULL; 336 } 337 338 void* DLDeviceValidatePairing(void) 339 { 340 if (verbose) puts("STUB: DLDeviceValidatePairing called"); 341 return NULL; 342 } 343 344 void* DLDeviceWaitForAttachedDevice(void) 345 { 346 if (verbose) puts("STUB: DLDeviceWaitForAttachedDevice called"); 347 return NULL; 348 } 349 350 void* DLDisconnect(void) 351 { 352 if (verbose) puts("STUB: DLDisconnect called"); 353 return NULL; 354 } 355 356 void* DLDownloadFile(void) 357 { 358 if (verbose) puts("STUB: DLDownloadFile called"); 359 return NULL; 360 } 361 362 void* DLDownloadFiles(void) 363 { 364 if (verbose) puts("STUB: DLDownloadFiles called"); 365 return NULL; 366 } 367 368 void* DLEndpointCreateDescription(void) 369 { 370 if (verbose) puts("STUB: DLEndpointCreateDescription called"); 371 return NULL; 372 } 373 374 void* DLEnsureDirectoryExists(void) 375 { 376 if (verbose) puts("STUB: DLEnsureDirectoryExists called"); 377 return NULL; 378 } 379 380 void* DLGetDeviceLinkConnectionContext(void) 381 { 382 if (verbose) puts("STUB: DLGetDeviceLinkConnectionContext called"); 383 return NULL; 384 } 385 386 void* DLGetDeviceLinkConnectionInfo(void) 387 { 388 if (verbose) puts("STUB: DLGetDeviceLinkConnectionInfo called"); 389 return NULL; 390 } 391 392 void* DLGetFileSystemRepresentation(void) 393 { 394 if (verbose) puts("STUB: DLGetFileSystemRepresentation called"); 395 return NULL; 396 } 397 398 void* DLGetFlockForFile(void) 399 { 400 if (verbose) puts("STUB: DLGetFlockForFile called"); 401 return NULL; 402 } 403 404 void* DLGetFlockForFileWithCancel(void) 405 { 406 if (verbose) puts("STUB: DLGetFlockForFileWithCancel called"); 407 return NULL; 408 } 409 410 void* DLGetFreeDiskSpace(void) 411 { 412 if (verbose) puts("STUB: DLGetFreeDiskSpace called"); 413 return NULL; 414 } 415 416 void* DLGetListenerSocketFromLaunchd(void) 417 { 418 if (verbose) puts("STUB: DLGetListenerSocketFromLaunchd called"); 419 return NULL; 420 } 421 422 void* DLGetProcessName(void) 423 { 424 if (verbose) puts("STUB: DLGetProcessName called"); 425 return NULL; 426 } 427 428 void* DLGetProgressPercentage(void) 429 { 430 if (verbose) puts("STUB: DLGetProgressPercentage called"); 431 return NULL; 432 } 433 434 void* DLGetProgressSize(void) 435 { 436 if (verbose) puts("STUB: DLGetProgressSize called"); 437 return NULL; 438 } 439 440 void* DLGetUniqueProcessName(void) 441 { 442 if (verbose) puts("STUB: DLGetUniqueProcessName called"); 443 return NULL; 444 } 445 446 void* DLHandleSentFilePiece(void) 447 { 448 if (verbose) puts("STUB: DLHandleSentFilePiece called"); 449 return NULL; 450 } 451 452 void* DLHandleSentFilePieceEncrypted(void) 453 { 454 if (verbose) puts("STUB: DLHandleSentFilePieceEncrypted called"); 455 return NULL; 456 } 457 458 void* DLIsBlock(void) 459 { 460 if (verbose) puts("STUB: DLIsBlock called"); 461 return NULL; 462 } 463 464 void* DLIsChar(void) 465 { 466 if (verbose) puts("STUB: DLIsChar called"); 467 return NULL; 468 } 469 470 void* DLIsDir(void) 471 { 472 if (verbose) puts("STUB: DLIsDir called"); 473 return NULL; 474 } 475 476 void* DLIsFIFO(void) 477 { 478 if (verbose) puts("STUB: DLIsFIFO called"); 479 return NULL; 480 } 481 482 void* DLIsRegular(void) 483 { 484 if (verbose) puts("STUB: DLIsRegular called"); 485 return NULL; 486 } 487 488 void* DLIsSocket(void) 489 { 490 if (verbose) puts("STUB: DLIsSocket called"); 491 return NULL; 492 } 493 494 void* DLIsSymlink(void) 495 { 496 if (verbose) puts("STUB: DLIsSymlink called"); 497 return NULL; 498 } 499 500 void* DLKillConnection(void) 501 { 502 if (verbose) puts("STUB: DLKillConnection called"); 503 return NULL; 504 } 505 506 void* DLListenerCopyErrorString(void) 507 { 508 if (verbose) puts("STUB: DLListenerCopyErrorString called"); 509 return NULL; 510 } 511 512 void* DLListenerGetErrorString(void) 513 { 514 if (verbose) puts("STUB: DLListenerGetErrorString called"); 515 return NULL; 516 } 517 518 void* DLLock(void) 519 { 520 if (verbose) puts("STUB: DLLock called"); 521 return NULL; 522 } 523 524 void* DLLoggingEnabled(void) 525 { 526 if (verbose) puts("STUB: DLLoggingEnabled called"); 527 return NULL; 528 } 529 530 void* DLMemoryPoolAddObject(void) 531 { 532 if (verbose) puts("STUB: DLMemoryPoolAddObject called"); 533 return NULL; 534 } 535 536 void* DLMemoryPoolCreate(void) 537 { 538 if (verbose) puts("STUB: DLMemoryPoolCreate called"); 539 return NULL; 540 } 541 542 void* DLMoveItem(void) 543 { 544 if (verbose) puts("STUB: DLMoveItem called"); 545 return NULL; 546 } 547 548 void* DLMoveItems(void) 549 { 550 if (verbose) puts("STUB: DLMoveItems called"); 551 return NULL; 552 } 553 554 void* DLOutputEnabled(void) 555 { 556 if (verbose) puts("STUB: DLOutputEnabled called"); 557 return NULL; 558 } 559 560 void* DLPing(void) 561 { 562 if (verbose) puts("STUB: DLPing called"); 563 return NULL; 564 } 565 566 void* DLProcessMessage(void) 567 { 568 if (verbose) puts("STUB: DLProcessMessage called"); 569 return NULL; 570 } 571 572 void* DLRegenerateUniqueProcessName(void) 573 { 574 if (verbose) puts("STUB: DLRegenerateUniqueProcessName called"); 575 return NULL; 576 } 577 578 void* DLReleaseArgsAndReturn(void) 579 { 580 if (verbose) puts("STUB: DLReleaseArgsAndReturn called"); 581 return NULL; 582 } 583 584 void* DLReleaseFlockForFile(void) 585 { 586 if (verbose) puts("STUB: DLReleaseFlockForFile called"); 587 return NULL; 588 } 589 590 void* DLRemoveItem(void) 591 { 592 if (verbose) puts("STUB: DLRemoveItem called"); 593 return NULL; 594 } 595 596 void* DLRemoveItems(void) 597 { 598 if (verbose) puts("STUB: DLRemoveItems called"); 599 return NULL; 600 } 601 602 void* DLRequestFile(void) 603 { 604 if (verbose) puts("STUB: DLRequestFile called"); 605 return NULL; 606 } 607 608 void* DLSendFile(void) 609 { 610 if (verbose) puts("STUB: DLSendFile called"); 611 return NULL; 612 } 613 614 void* DLSetLogDirectoryName(void) 615 { 616 if (verbose) puts("STUB: DLSetLogDirectoryName called"); 617 return NULL; 618 } 619 620 void* DLSetLogLevel(void) 621 { 622 if (verbose) puts("STUB: DLSetLogLevel called"); 623 return NULL; 624 } 625 626 void* DLSetOutputLevel(void) 627 { 628 if (verbose) puts("STUB: DLSetOutputLevel called"); 629 return NULL; 630 } 631 632 void* DLSetProcessName(void) 633 { 634 if (verbose) puts("STUB: DLSetProcessName called"); 635 return NULL; 636 } 637 638 void* DLSetProgress(void) 639 { 640 if (verbose) puts("STUB: DLSetProgress called"); 641 return NULL; 642 } 643 644 void* DLSetRootDirectory(void) 645 { 646 if (verbose) puts("STUB: DLSetRootDirectory called"); 647 return NULL; 648 } 649 650 void* DLSetStatus(void) 651 { 652 if (verbose) puts("STUB: DLSetStatus called"); 653 return NULL; 654 } 655 656 void* DLShouldLog(void) 657 { 658 if (verbose) puts("STUB: DLShouldLog called"); 659 return NULL; 660 } 661 662 void* DLSignal(void) 663 { 664 if (verbose) puts("STUB: DLSignal called"); 665 return NULL; 666 } 667 668 void* DLStatusFromOSStatus(void) 669 { 670 if (verbose) puts("STUB: DLStatusFromOSStatus called"); 671 return NULL; 672 } 673 674 void* DLStringByAppendingPathComponent(void) 675 { 676 if (verbose) puts("STUB: DLStringByAppendingPathComponent called"); 677 return NULL; 678 } 679 680 void* DLStringByRemovingLastPathComponent(void) 681 { 682 if (verbose) puts("STUB: DLStringByRemovingLastPathComponent called"); 683 return NULL; 684 } 685 686 void* DLThreadAddMessagePortToRunloop(void) 687 { 688 if (verbose) puts("STUB: DLThreadAddMessagePortToRunloop called"); 689 return NULL; 690 } 691 692 void* DLThreadCreateReceivePort(void) 693 { 694 if (verbose) puts("STUB: DLThreadCreateReceivePort called"); 695 return NULL; 696 } 697 698 void* DLThreadCreateSendPort(void) 699 { 700 if (verbose) puts("STUB: DLThreadCreateSendPort called"); 701 return NULL; 702 } 703 704 void* DLThreadCreateThread(void) 705 { 706 if (verbose) puts("STUB: DLThreadCreateThread called"); 707 return NULL; 708 } 709 710 void* DLThreadDeleteReceivePort(void) 711 { 712 if (verbose) puts("STUB: DLThreadDeleteReceivePort called"); 713 return NULL; 714 } 715 716 void* DLThreadDeleteSendPort(void) 717 { 718 if (verbose) puts("STUB: DLThreadDeleteSendPort called"); 719 return NULL; 720 } 721 722 void* DLThreadRun(void) 723 { 724 if (verbose) puts("STUB: DLThreadRun called"); 725 return NULL; 726 } 727 728 void* DLThreadSendMessage(void) 729 { 730 if (verbose) puts("STUB: DLThreadSendMessage called"); 731 return NULL; 732 } 733 734 void* DLThreadSendSyncMessage(void) 735 { 736 if (verbose) puts("STUB: DLThreadSendSyncMessage called"); 737 return NULL; 738 } 739 740 void* DLUnlock(void) 741 { 742 if (verbose) puts("STUB: DLUnlock called"); 743 return NULL; 744 } 745 746 void* DLUploadFile(void) 747 { 748 if (verbose) puts("STUB: DLUploadFile called"); 749 return NULL; 750 } 751 752 void* DLUploadFiles(void) 753 { 754 if (verbose) puts("STUB: DLUploadFiles called"); 755 return NULL; 756 } 757 758 void* DLWait(void) 759 { 760 if (verbose) puts("STUB: DLWait called"); 761 return NULL; 762 } 763 764 void* DLWaitForConnection(void) 765 { 766 if (verbose) puts("STUB: DLWaitForConnection called"); 767 return NULL; 768 } 769 770 void* DLWaitForMessage(void) 771 { 772 if (verbose) puts("STUB: DLWaitForMessage called"); 773 return NULL; 774 } 775 776 void* DLWritePropertyListToFile(void) 777 { 778 if (verbose) puts("STUB: DLWritePropertyListToFile called"); 779 return NULL; 780 } 781 782 void* DLWritePropertyListToFileWithFormat(void) 783 { 784 if (verbose) puts("STUB: DLWritePropertyListToFileWithFormat called"); 785 return NULL; 786 } 787 788 void* SetSocketLogCallback(void) 789 { 790 if (verbose) puts("STUB: SetSocketLogCallback called"); 791 return NULL; 792 } 793 794 void* SocketAccept(void) 795 { 796 if (verbose) puts("STUB: SocketAccept called"); 797 return NULL; 798 } 799 800 void* SocketConnect(void) 801 { 802 if (verbose) puts("STUB: SocketConnect called"); 803 return NULL; 804 } 805 806 void* SocketConnectLocal(void) 807 { 808 if (verbose) puts("STUB: SocketConnectLocal called"); 809 return NULL; 810 } 811 812 void* SocketConnectLockdownService(void) 813 { 814 if (verbose) puts("STUB: SocketConnectLockdownService called"); 815 return NULL; 816 } 817 818 void* SocketCreateLocalServer(void) 819 { 820 if (verbose) puts("STUB: SocketCreateLocalServer called"); 821 return NULL; 822 } 823 824 void* SocketCreateServer(void) 825 { 826 if (verbose) puts("STUB: SocketCreateServer called"); 827 return NULL; 828 } 829 830 void* SocketCreateServerWithSocket(void) 831 { 832 if (verbose) puts("STUB: SocketCreateServerWithSocket called"); 833 return NULL; 834 } 835 836 void* SocketDelete(void) 837 { 838 if (verbose) puts("STUB: SocketDelete called"); 839 return NULL; 840 } 841 842 void* SocketRecv(void) 843 { 844 if (verbose) puts("STUB: SocketRecv called"); 845 return NULL; 846 } 847 848 void* SocketSend(void) 849 { 850 if (verbose) puts("STUB: SocketSend called"); 851 return NULL; 852 } 853 854 void* SocketStreamHandlerRegisterCreator(void) 855 { 856 if (verbose) puts("STUB: SocketStreamHandlerRegisterCreator called"); 857 return NULL; 858 } 859 860 void* StreamHandlerAccept(void) 861 { 862 if (verbose) puts("STUB: StreamHandlerAccept called"); 863 return NULL; 864 } 865 866 void* StreamHandlerClose(void) 867 { 868 if (verbose) puts("STUB: StreamHandlerClose called"); 869 return NULL; 870 } 871 872 void* StreamHandlerConnect(void) 873 { 874 if (verbose) puts("STUB: StreamHandlerConnect called"); 875 return NULL; 876 } 877 878 void* StreamHandlerDeleteStreamHandler(void) 879 { 880 if (verbose) puts("STUB: StreamHandlerDeleteStreamHandler called"); 881 return NULL; 882 } 883 884 void* StreamHandlerForType(void) 885 { 886 if (verbose) puts("STUB: StreamHandlerForType called"); 887 return NULL; 888 } 889 890 void* StreamHandlerReceive(void) 891 { 892 if (verbose) puts("STUB: StreamHandlerReceive called"); 893 return NULL; 894 } 895 896 void* StreamHandlerRegisterCreatorForType(void) 897 { 898 if (verbose) puts("STUB: StreamHandlerRegisterCreatorForType called"); 899 return NULL; 900 } 901 902 void* StreamHandlerSend(void) 903 { 904 if (verbose) puts("STUB: StreamHandlerSend called"); 905 return NULL; 906 } 907 908 void* _DLBulkOperationContextAddResult(void) 909 { 910 if (verbose) puts("STUB: _DLBulkOperationContextAddResult called"); 911 return NULL; 912 } 913 914 void* _DLBulkOperationContextCreateResult(void) 915 { 916 if (verbose) puts("STUB: _DLBulkOperationContextCreateResult called"); 917 return NULL; 918 } 919 920 void* _DLBulkOperationContextDealloc(void) 921 { 922 if (verbose) puts("STUB: _DLBulkOperationContextDealloc called"); 923 return NULL; 924 } 925 926 void* _DLBulkOperationContextInit(void) 927 { 928 if (verbose) puts("STUB: _DLBulkOperationContextInit called"); 929 return NULL; 930 } 931 932 void* _DLBulkOperationContextMergeResults(void) 933 { 934 if (verbose) puts("STUB: _DLBulkOperationContextMergeResults called"); 935 return NULL; 936 } 937 938 void* _DLBulkOperationContextMergeResultsCallback(void) 939 { 940 if (verbose) puts("STUB: _DLBulkOperationContextMergeResultsCallback called"); 941 return NULL; 942 } 943 944 void* _DLBulkOperationContextSendStatusResponse(void) 945 { 946 if (verbose) puts("STUB: _DLBulkOperationContextSendStatusResponse called"); 947 return NULL; 948 } 949 950 void* _DLBulkOperationContextSetStatus(void) 951 { 952 if (verbose) puts("STUB: _DLBulkOperationContextSetStatus called"); 953 return NULL; 954 } 955 956 void* _DLBulkOperationContextShouldContinue(void) 957 { 958 if (verbose) puts("STUB: _DLBulkOperationContextShouldContinue called"); 959 return NULL; 960 } 961 962 void* _DLBulkOperationContextUpdate(void) 963 { 964 if (verbose) puts("STUB: _DLBulkOperationContextUpdate called"); 965 return NULL; 966 } 967 968 void* _DLBulkOperationSendChunk(void) 969 { 970 if (verbose) puts("STUB: _DLBulkOperationSendChunk called"); 971 return NULL; 972 } 973 974 void* _DLBulkOperationSendFinalChunk(void) 975 { 976 if (verbose) puts("STUB: _DLBulkOperationSendFinalChunk called"); 977 return NULL; 978 } 979 980 void* _DLCheckForDisconnect(void) 981 { 982 if (verbose) puts("STUB: _DLCheckForDisconnect called"); 983 return NULL; 984 } 985 986 void* _DLContentsOfDirectoryOnComputerCallback(void) 987 { 988 if (verbose) puts("STUB: _DLContentsOfDirectoryOnComputerCallback called"); 989 return NULL; 990 } 991 992 void* _DLCopyFileOnComputer(void) 993 { 994 if (verbose) puts("STUB: _DLCopyFileOnComputer called"); 995 return NULL; 996 } 997 998 void* _DLCopyItemOnComputerCallback(void) 999 { 1000 if (verbose) puts("STUB: _DLCopyItemOnComputerCallback called"); 1001 return NULL; 1002 } 1003 1004 void* _DLCreateBulkOperationContextStatusResponseData(void) 1005 { 1006 if (verbose) puts("STUB: _DLCreateBulkOperationContextStatusResponseData called"); 1007 return NULL; 1008 } 1009 1010 void* _DLCreateDeviceLinkConnectionForComputer(void) 1011 { 1012 if (verbose) puts("STUB: _DLCreateDeviceLinkConnectionForComputer called"); 1013 return NULL; 1014 } 1015 1016 void* _DLCreateDeviceLinkConnectionForDevice(void) 1017 { 1018 if (verbose) puts("STUB: _DLCreateDeviceLinkConnectionForDevice called"); 1019 return NULL; 1020 } 1021 1022 void* _DLCreateItemAttributes(void) 1023 { 1024 if (verbose) puts("STUB: _DLCreateItemAttributes called"); 1025 return NULL; 1026 } 1027 1028 void* _DLCreateStatusResponseData(void) 1029 { 1030 if (verbose) puts("STUB: _DLCreateStatusResponseData called"); 1031 return NULL; 1032 } 1033 1034 void* _DLDeviceCreateDescription(void) 1035 { 1036 if (verbose) puts("STUB: _DLDeviceCreateDescription called"); 1037 return NULL; 1038 } 1039 1040 void* _DLDeviceGetDeviceIdentifier(void) 1041 { 1042 if (verbose) puts("STUB: _DLDeviceGetDeviceIdentifier called"); 1043 return NULL; 1044 } 1045 1046 void* _DLDownloadFileFromComputer(void) 1047 { 1048 if (verbose) puts("STUB: _DLDownloadFileFromComputer called"); 1049 return NULL; 1050 } 1051 1052 void* _DLDownloadFileToDevice(void) 1053 { 1054 if (verbose) puts("STUB: _DLDownloadFileToDevice called"); 1055 return NULL; 1056 } 1057 1058 void* _DLEnumerateContentsOfDirectoryOnComputer(void) 1059 { 1060 if (verbose) puts("STUB: _DLEnumerateContentsOfDirectoryOnComputer called"); 1061 return NULL; 1062 } 1063 1064 void* _DLGetParameterAtIndex(void) 1065 { 1066 if (verbose) puts("STUB: _DLGetParameterAtIndex called"); 1067 return NULL; 1068 } 1069 1070 void* _DLGetParameterAtIndexWithDefaultValue(void) 1071 { 1072 if (verbose) puts("STUB: _DLGetParameterAtIndexWithDefaultValue called"); 1073 return NULL; 1074 } 1075 1076 void* _DLGetStatusResponseFromData(void) 1077 { 1078 if (verbose) puts("STUB: _DLGetStatusResponseFromData called"); 1079 return NULL; 1080 } 1081 1082 void* _DLHandlerThreadReadMessage(void) 1083 { 1084 if (verbose) puts("STUB: _DLHandlerThreadReadMessage called"); 1085 return NULL; 1086 } 1087 1088 void* _DLHandlerThreadWriteMessage(void) 1089 { 1090 if (verbose) puts("STUB: _DLHandlerThreadWriteMessage called"); 1091 return NULL; 1092 } 1093 1094 void* _DLLog(void) 1095 { 1096 if (verbose) puts("STUB: _DLLog called"); 1097 return NULL; 1098 } 1099 1100 void* _DLMoveItemsOnComputerCallback(void) 1101 { 1102 if (verbose) puts("STUB: _DLMoveItemsOnComputerCallback called"); 1103 return NULL; 1104 } 1105 1106 void* _DLOperationProgressContextInit(void) 1107 { 1108 if (verbose) puts("STUB: _DLOperationProgressContextInit called"); 1109 return NULL; 1110 } 1111 1112 void* _DLOperationProgressContextUpdate(void) 1113 { 1114 if (verbose) puts("STUB: _DLOperationProgressContextUpdate called"); 1115 return NULL; 1116 } 1117 1118 void* _DLProcessSyncMessageWithStatusResponse(void) 1119 { 1120 if (verbose) puts("STUB: _DLProcessSyncMessageWithStatusResponse called"); 1121 return NULL; 1122 } 1123 1124 void* _DLProcessSyncMessageWithStatusResponseV(void) 1125 { 1126 if (verbose) puts("STUB: _DLProcessSyncMessageWithStatusResponseV called"); 1127 return NULL; 1128 } 1129 1130 void* _DLReceiveFileForBulkOperation(void) 1131 { 1132 if (verbose) puts("STUB: _DLReceiveFileForBulkOperation called"); 1133 return NULL; 1134 } 1135 1136 void* _DLRemoveDirectory(void) 1137 { 1138 if (verbose) puts("STUB: _DLRemoveDirectory called"); 1139 return NULL; 1140 } 1141 1142 void* _DLRemoveItemOnComputerCallback(void) 1143 { 1144 if (verbose) puts("STUB: _DLRemoveItemOnComputerCallback called"); 1145 return NULL; 1146 } 1147 1148 void* _DLRemoveItemUsingOldProtocolCallback(void) 1149 { 1150 if (verbose) puts("STUB: _DLRemoveItemUsingOldProtocolCallback called"); 1151 return NULL; 1152 } 1153 1154 void* _DLRemoveItemsOnComputerCallback(void) 1155 { 1156 if (verbose) puts("STUB: _DLRemoveItemsOnComputerCallback called"); 1157 return NULL; 1158 } 1159 1160 void* _DLRemoveItemsUsingOldProtocol(void) 1161 { 1162 if (verbose) puts("STUB: _DLRemoveItemsUsingOldProtocol called"); 1163 return NULL; 1164 } 1165 1166 void* _DLRemoveItemsUsingOldProtocolCallback(void) 1167 { 1168 if (verbose) puts("STUB: _DLRemoveItemsUsingOldProtocolCallback called"); 1169 return NULL; 1170 } 1171 1172 void* _DLRequestRead(void) 1173 { 1174 if (verbose) puts("STUB: _DLRequestRead called"); 1175 return NULL; 1176 } 1177 1178 void* _DLRequestWrite(void) 1179 { 1180 if (verbose) puts("STUB: _DLRequestWrite called"); 1181 return NULL; 1182 } 1183 1184 void* _DLRequestWriteV(void) 1185 { 1186 if (verbose) puts("STUB: _DLRequestWriteV called"); 1187 return NULL; 1188 } 1189 1190 void* _DLResolveAndValidatePath(void) 1191 { 1192 if (verbose) puts("STUB: _DLResolveAndValidatePath called"); 1193 return NULL; 1194 } 1195 1196 void* _DLSendFileForBulkOperation(void) 1197 { 1198 if (verbose) puts("STUB: _DLSendFileForBulkOperation called"); 1199 return NULL; 1200 } 1201 1202 void* _DLSingleFromMultiError(void) 1203 { 1204 if (verbose) puts("STUB: _DLSingleFromMultiError called"); 1205 return NULL; 1206 } 1207 1208 void* _DLThreadSendMessage(void) 1209 { 1210 if (verbose) puts("STUB: _DLThreadSendMessage called"); 1211 return NULL; 1212 } 1213 1214 void* _DLUploadFileToComputer(void) 1215 { 1216 if (verbose) puts("STUB: _DLUploadFileToComputer called"); 1217 return NULL; 1218 } 1219 1220 void* _DLUploadFilesFromDeviceCallback(void) 1221 { 1222 if (verbose) puts("STUB: _DLUploadFilesFromDeviceCallback called"); 1223 return NULL; 1224 } 1225 1226 void* _DLWarnAboutUsingCopyHomeDirPathAndCallDLCopyHomeDirPath(void) 1227 { 1228 if (verbose) puts("STUB: _DLWarnAboutUsingCopyHomeDirPathAndCallDLCopyHomeDirPath called"); 1229 return NULL; 1230 } 1231 1232 void* _RunLoopReadSourceCallback(void) 1233 { 1234 if (verbose) puts("STUB: _RunLoopReadSourceCallback called"); 1235 return NULL; 1236 } 1237 1238 void* __DLCopyItemOnComputer(void) 1239 { 1240 if (verbose) puts("STUB: __DLCopyItemOnComputer called"); 1241 return NULL; 1242 } 1243 1244 void* __DLCreateDirectoryOnComputer(void) 1245 { 1246 if (verbose) puts("STUB: __DLCreateDirectoryOnComputer called"); 1247 return NULL; 1248 } 1249 1250 void* _deviceWithBetterEndpoint(void) 1251 { 1252 if (verbose) puts("STUB: _deviceWithBetterEndpoint called"); 1253 return NULL; 1254 } 1255 1256 void* copyHomeDirPath(void) 1257 { 1258 if (verbose) puts("STUB: copyHomeDirPath called"); 1259 return NULL; 1260 } 1261 1262 void* copyKeysAndValuesFromDictionary(void) 1263 { 1264 if (verbose) puts("STUB: copyKeysAndValuesFromDictionary called"); 1265 return NULL; 1266 } 1267 1268 void* copyKeysAndValuesFromDictionaryNoRetain(void) 1269 { 1270 if (verbose) puts("STUB: copyKeysAndValuesFromDictionaryNoRetain called"); 1271 return NULL; 1272 } 1273 1274 void* copyKeysFromDictionary(void) 1275 { 1276 if (verbose) puts("STUB: copyKeysFromDictionary called"); 1277 return NULL; 1278 } 1279 1280 void* copyKeysFromDictionaryNoRetain(void) 1281 { 1282 if (verbose) puts("STUB: copyKeysFromDictionaryNoRetain called"); 1283 return NULL; 1284 } 1285 1286 void* copyValuesFromDictionary(void) 1287 { 1288 if (verbose) puts("STUB: copyValuesFromDictionary called"); 1289 return NULL; 1290 } 1291 1292 void* copyValuesFromDictionaryNoRetain(void) 1293 { 1294 if (verbose) puts("STUB: copyValuesFromDictionaryNoRetain called"); 1295 return NULL; 1296 } 1297 1298 void* createDecryptedData(void) 1299 { 1300 if (verbose) puts("STUB: createDecryptedData called"); 1301 return NULL; 1302 } 1303 1304 void* createEncryptedData(void) 1305 { 1306 if (verbose) puts("STUB: createEncryptedData called"); 1307 return NULL; 1308 } 1309 1310 void* createFileAuthBlob(void) 1311 { 1312 if (verbose) puts("STUB: createFileAuthBlob called"); 1313 return NULL; 1314 } 1315 1316 void* createFileKeyFromAuthBlob(void) 1317 { 1318 if (verbose) puts("STUB: createFileKeyFromAuthBlob called"); 1319 return NULL; 1320 } 1321 1322 void* createRandomBytes(void) 1323 { 1324 if (verbose) puts("STUB: createRandomBytes called"); 1325 return NULL; 1326 } 1327 1328 void* genericAcceptFailedCallback(void) 1329 { 1330 if (verbose) puts("STUB: genericAcceptFailedCallback called"); 1331 return NULL; 1332 } 1333 1334 void* genericConnectionFailedCallback(void) 1335 { 1336 if (verbose) puts("STUB: genericConnectionFailedCallback called"); 1337 return NULL; 1338 } 1339 1340 void* genericConnectionLostCallback(void) 1341 { 1342 if (verbose) puts("STUB: genericConnectionLostCallback called"); 1343 return NULL; 1344 } 1345 1346 void* genericConnectionMadeCallback(void) 1347 { 1348 if (verbose) puts("STUB: genericConnectionMadeCallback called"); 1349 return NULL; 1350 } 1351 1352 void* genericDisconnectCallback(void) 1353 { 1354 if (verbose) puts("STUB: genericDisconnectCallback called"); 1355 return NULL; 1356 } 1357 1358 void* genericIncomingConnectionCallback(void) 1359 { 1360 if (verbose) puts("STUB: genericIncomingConnectionCallback called"); 1361 return NULL; 1362 } 1363 1364 void* genericPingCallback(void) 1365 { 1366 if (verbose) puts("STUB: genericPingCallback called"); 1367 return NULL; 1368 } 1369 1370 void* genericProcessMessageCallback(void) 1371 { 1372 if (verbose) puts("STUB: genericProcessMessageCallback called"); 1373 return NULL; 1374 } 1375 1376 void* genericProgressCallback(void) 1377 { 1378 if (verbose) puts("STUB: genericProgressCallback called"); 1379 return NULL; 1380 } 1381 1382 void* genericRequestFileCallback(void) 1383 { 1384 if (verbose) puts("STUB: genericRequestFileCallback called"); 1385 return NULL; 1386 } 1387 1388 void* genericSendFileCallback(void) 1389 { 1390 if (verbose) puts("STUB: genericSendFileCallback called"); 1391 return NULL; 1392 } 1393 1394 void* printFileTransferStatus(void) 1395 { 1396 if (verbose) puts("STUB: printFileTransferStatus called"); 1397 return NULL; 1398 }