Overview
Comment: | Add missing functions / classes to Amiga .library |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | amiga-library |
Files: | files | file ages | folders |
SHA3-256: |
cf20d02f7f4c534a0a66b38acb92f395 |
User & Date: | js on 2022-11-17 14:27:43 |
Other Links: | branch diff | manifest | tags |
Context
2022-11-17
| ||
15:59 | src/linklib: Fix priority on MorphOS check-in: 867d00992a user: js tags: amiga-library | |
14:27 | Add missing functions / classes to Amiga .library check-in: cf20d02f7f user: js tags: amiga-library | |
14:14 | Merge trunk into branch "amiga-library" check-in: 67e0064cb0 user: js tags: amiga-library | |
Changes
Modified src/Makefile from [61d343aa73] to [a0b03aee2a].
︙ | ︙ | |||
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | OFSHA384Or512Hash.m \ OFSHA512Hash.m \ OFScrypt.m \ OFSecureData.m \ OFSeekableStream.m \ OFSerialization.m \ OFSet.m \ OFSortedList.m \ OFStdIOStream.m \ OFStream.m \ OFString.m \ OFString+CryptographicHashing.m \ OFString+JSONParsing.m \ OFString+PercentEncoding.m \ OFString+PropertyListParsing.m \ OFString+Serialization.m \ OFString+XMLEscaping.m \ OFString+XMLUnescaping.m \ ${OF_SUBPROCESS_M} \ | > < | 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | OFSHA384Or512Hash.m \ OFSHA512Hash.m \ OFScrypt.m \ OFSecureData.m \ OFSeekableStream.m \ OFSerialization.m \ OFSet.m \ OFSettings.m \ OFSortedList.m \ OFStdIOStream.m \ OFStream.m \ OFString.m \ OFString+CryptographicHashing.m \ OFString+JSONParsing.m \ OFString+PercentEncoding.m \ OFString+PropertyListParsing.m \ OFString+Serialization.m \ OFString+XMLEscaping.m \ OFString+XMLUnescaping.m \ ${OF_SUBPROCESS_M} \ OFSystemInfo.m \ OFTarArchive.m \ OFTarArchiveEntry.m \ OFThread.m \ OFTimer.m \ OFTriple.m \ OFURI.m \ |
︙ | ︙ |
Modified src/amiga-funcarray.inc from [42941067b1] to [e79a4c7135].
︙ | ︙ | |||
32 33 34 35 36 37 38 39 40 41 42 43 44 45 | (CONST_APTR)glue_OFApplicationMain, (CONST_APTR)glue__Block_copy, (CONST_APTR)glue__Block_release, (CONST_APTR)glue_OFDNSClassName, (CONST_APTR)glue_OFDNSRecordTypeName, (CONST_APTR)glue_OFDNSClassParseName, (CONST_APTR)glue_OFDNSRecordTypeParseName, (CONST_APTR)glue_OFHTTPRequestMethodName, (CONST_APTR)glue_OFHTTPRequestMethodParseName, (CONST_APTR)glue_OFHTTPStatusCodeString, (CONST_APTR)glue_OFListItemNext, (CONST_APTR)glue_OFListItemPrevious, (CONST_APTR)glue_OFListItemObject, (CONST_APTR)glue_OFSizeOfTypeEncoding, | > | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | (CONST_APTR)glue_OFApplicationMain, (CONST_APTR)glue__Block_copy, (CONST_APTR)glue__Block_release, (CONST_APTR)glue_OFDNSClassName, (CONST_APTR)glue_OFDNSRecordTypeName, (CONST_APTR)glue_OFDNSClassParseName, (CONST_APTR)glue_OFDNSRecordTypeParseName, (CONST_APTR)glue_OFRegisterEmbeddedFile, (CONST_APTR)glue_OFHTTPRequestMethodName, (CONST_APTR)glue_OFHTTPRequestMethodParseName, (CONST_APTR)glue_OFHTTPStatusCodeString, (CONST_APTR)glue_OFListItemNext, (CONST_APTR)glue_OFListItemPrevious, (CONST_APTR)glue_OFListItemObject, (CONST_APTR)glue_OFSizeOfTypeEncoding, |
︙ | ︙ |
Modified src/amiga-glue.h from [6248efec7e] to [723d76fc10].
︙ | ︙ | |||
17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #import "amiga-library.h" #import "OFObject.h" #import "OFStdIOStream.h" #import "OFApplication.h" #import "OFBlock.h" #import "OFDNSResourceRecord.h" #import "OFHTTPRequest.h" #import "OFHTTPResponse.h" #import "OFList.h" #import "OFMethodSignature.h" #import "OFOnce.h" #import "OFPBKDF2.h" #import "OFScrypt.h" | > | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | #import "amiga-library.h" #import "OFObject.h" #import "OFStdIOStream.h" #import "OFApplication.h" #import "OFBlock.h" #import "OFDNSResourceRecord.h" #import "OFEmbeddedURIHandler.h" #import "OFHTTPRequest.h" #import "OFHTTPResponse.h" #import "OFList.h" #import "OFMethodSignature.h" #import "OFOnce.h" #import "OFPBKDF2.h" #import "OFScrypt.h" |
︙ | ︙ | |||
61 62 63 64 65 66 67 68 69 70 71 72 73 74 | extern int glue_OFApplicationMain PPC_PARAMS(int *_Nonnull argc, char *_Nullable *_Nonnull *_Nonnull argv, id <OFApplicationDelegate> delegate); extern void *_Nullable glue__Block_copy PPC_PARAMS(const void *_Nullable block); extern void glue__Block_release PPC_PARAMS(const void *_Nullable block); extern OFString *_Nonnull glue_OFDNSClassName PPC_PARAMS(OFDNSClass DNSClass); extern OFString *_Nonnull glue_OFDNSRecordTypeName PPC_PARAMS(OFDNSRecordType recordType); extern OFDNSClass glue_OFDNSClassParseName PPC_PARAMS(OFString *_Nonnull string); extern OFDNSRecordType glue_OFDNSRecordTypeParseName PPC_PARAMS(OFString *_Nonnull string); extern const char *_Nullable glue_OFHTTPRequestMethodName PPC_PARAMS(OFHTTPRequestMethod method); extern OFHTTPRequestMethod glue_OFHTTPRequestMethodParseName PPC_PARAMS(OFString *string); extern OFString *_Nonnull glue_OFHTTPStatusCodeString PPC_PARAMS(short code); extern OFListItem _Nullable glue_OFListItemNext PPC_PARAMS(OFListItem _Nonnull listItem); extern OFListItem _Nullable glue_OFListItemPrevious PPC_PARAMS(OFListItem _Nonnull listItem); extern id _Nonnull glue_OFListItemObject PPC_PARAMS(OFListItem _Nonnull listItem); extern size_t glue_OFSizeOfTypeEncoding PPC_PARAMS(const char *type); | > | 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | extern int glue_OFApplicationMain PPC_PARAMS(int *_Nonnull argc, char *_Nullable *_Nonnull *_Nonnull argv, id <OFApplicationDelegate> delegate); extern void *_Nullable glue__Block_copy PPC_PARAMS(const void *_Nullable block); extern void glue__Block_release PPC_PARAMS(const void *_Nullable block); extern OFString *_Nonnull glue_OFDNSClassName PPC_PARAMS(OFDNSClass DNSClass); extern OFString *_Nonnull glue_OFDNSRecordTypeName PPC_PARAMS(OFDNSRecordType recordType); extern OFDNSClass glue_OFDNSClassParseName PPC_PARAMS(OFString *_Nonnull string); extern OFDNSRecordType glue_OFDNSRecordTypeParseName PPC_PARAMS(OFString *_Nonnull string); extern void glue_OFRegisterEmbeddedFile PPC_PARAMS(OFString *_Nonnull name, const uint8_t *_Nonnull bytes, size_t size); extern const char *_Nullable glue_OFHTTPRequestMethodName PPC_PARAMS(OFHTTPRequestMethod method); extern OFHTTPRequestMethod glue_OFHTTPRequestMethodParseName PPC_PARAMS(OFString *string); extern OFString *_Nonnull glue_OFHTTPStatusCodeString PPC_PARAMS(short code); extern OFListItem _Nullable glue_OFListItemNext PPC_PARAMS(OFListItem _Nonnull listItem); extern OFListItem _Nullable glue_OFListItemPrevious PPC_PARAMS(OFListItem _Nonnull listItem); extern id _Nonnull glue_OFListItemObject PPC_PARAMS(OFListItem _Nonnull listItem); extern size_t glue_OFSizeOfTypeEncoding PPC_PARAMS(const char *type); |
︙ | ︙ |
Modified src/amiga-glue.m from [1e1ae95447] to [d370204911].
︙ | ︙ | |||
188 189 190 191 192 193 194 195 196 197 198 199 200 201 | OFDNSRecordType __saveds glue_OFDNSRecordTypeParseName PPC_PARAMS(OFString *_Nonnull string) { M68K_ARG(OFString *_Nonnull, string, a0) return OFDNSRecordTypeParseName(string); } const char *_Nullable __saveds glue_OFHTTPRequestMethodName PPC_PARAMS(OFHTTPRequestMethod method) { M68K_ARG(OFHTTPRequestMethod, method, d0) return OFHTTPRequestMethodName(method); | > > > > > > > > > > | 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 | OFDNSRecordType __saveds glue_OFDNSRecordTypeParseName PPC_PARAMS(OFString *_Nonnull string) { M68K_ARG(OFString *_Nonnull, string, a0) return OFDNSRecordTypeParseName(string); } void __saveds glue_OFRegisterEmbeddedFile PPC_PARAMS(OFString *_Nonnull name, const uint8_t *_Nonnull bytes, size_t size) { M68K_ARG(OFString *_Nonnull, name, a0) M68K_ARG(const uint8_t *_Nonnull, bytes, a1) M68K_ARG(size_t, size, d0) OFRegisterEmbeddedFile(name, bytes, size); } const char *_Nullable __saveds glue_OFHTTPRequestMethodName PPC_PARAMS(OFHTTPRequestMethod method) { M68K_ARG(OFHTTPRequestMethod, method, d0) return OFHTTPRequestMethodName(method); |
︙ | ︙ |
Modified src/amiga-library.xml from [4e245c2002] to [cb44fd46e9].
︙ | ︙ | |||
64 65 66 67 68 69 70 71 72 73 74 75 76 77 | </function> <function name='OFDNSClassParseName' return-type='OFDNSClass'> <argument name='string' type='OFString *_Nonnull' m68k-reg='a0'/> </function> <function name='OFDNSRecordTypeParseName' return-type='OFDNSRecordType'> <argument name='string' type='OFString *_Nonnull' m68k-reg='a0'/> </function> <include>OFHTTPRequest.h</include> <function name='OFHTTPRequestMethodName' return-type='const char *_Nullable'> <argument name='method' type='OFHTTPRequestMethod' m68k-reg='d0'/> </function> <function name='OFHTTPRequestMethodParseName' return-type='OFHTTPRequestMethod'> <argument name='string' type='OFString *' m68k-reg='a0'/> | > > > > > > | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | </function> <function name='OFDNSClassParseName' return-type='OFDNSClass'> <argument name='string' type='OFString *_Nonnull' m68k-reg='a0'/> </function> <function name='OFDNSRecordTypeParseName' return-type='OFDNSRecordType'> <argument name='string' type='OFString *_Nonnull' m68k-reg='a0'/> </function> <include>OFEmbeddedURIHandler.h</include> <function name='OFRegisterEmbeddedFile'> <argument name='name' type='OFString *_Nonnull' m68k-reg='a0'/> <argument name='bytes' type='const uint8_t *_Nonnull' m68k-reg='a1'/> <argument name='size' type='size_t' m68k-reg='d0'/> </function> <include>OFHTTPRequest.h</include> <function name='OFHTTPRequestMethodName' return-type='const char *_Nullable'> <argument name='method' type='OFHTTPRequestMethod' m68k-reg='d0'/> </function> <function name='OFHTTPRequestMethodParseName' return-type='OFHTTPRequestMethod'> <argument name='string' type='OFString *' m68k-reg='a0'/> |
︙ | ︙ |
Modified src/linklib/init.m from [13e4fd2318] to [f0ec5059f0].
︙ | ︙ | |||
21 22 23 24 25 26 27 28 29 30 31 32 33 34 | #include <stdlib.h> #include <stdarg.h> #include <signal.h> #import "OFFileManager.h" #import "OFRunLoop.h" #import "macros.h" #import "amiga-library.h" #define USE_INLINE_STDARG #include <proto/exec.h> #include <proto/intuition.h> | > | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | #include <stdlib.h> #include <stdarg.h> #include <signal.h> #import "OFFileManager.h" #import "OFRunLoop.h" #import "OFStdIOStream.h" #import "macros.h" #import "amiga-library.h" #define USE_INLINE_STDARG #include <proto/exec.h> #include <proto/intuition.h> |
︙ | ︙ | |||
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | void *__objc_class_name_OFData; void *__objc_class_name_OFDate; void *__objc_class_name_OFDictionary; void *__objc_class_name_OFEnumerator; void *__objc_class_name_OFFileManager; void *__objc_class_name_OFGZIPStream; void *__objc_class_name_OFHMAC; void *__objc_class_name_OFInflate64Stream; void *__objc_class_name_OFInflateStream; void *__objc_class_name_OFInvocation; void *__objc_class_name_OFLHAArchive; void *__objc_class_name_OFLHAArchiveEntry; void *__objc_class_name_OFList; void *__objc_class_name_OFLocale; void *__objc_class_name_OFMD5Hash; void *__objc_class_name_OFMapTable; void *__objc_class_name_OFMapTableEnumerator; void *__objc_class_name_OFMessagePackExtension; void *__objc_class_name_OFMethodSignature; void *__objc_class_name_OFMutableArray; void *__objc_class_name_OFMutableData; void *__objc_class_name_OFMutableDictionary; void *__objc_class_name_OFMutableLHAArchiveEntry; void *__objc_class_name_OFMutablePair; | > > > | 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | void *__objc_class_name_OFData; void *__objc_class_name_OFDate; void *__objc_class_name_OFDictionary; void *__objc_class_name_OFEnumerator; void *__objc_class_name_OFFileManager; void *__objc_class_name_OFGZIPStream; void *__objc_class_name_OFHMAC; void *__objc_class_name_OFINICategory; void *__objc_class_name_OFINIFile; void *__objc_class_name_OFInflate64Stream; void *__objc_class_name_OFInflateStream; void *__objc_class_name_OFInvocation; void *__objc_class_name_OFLHAArchive; void *__objc_class_name_OFLHAArchiveEntry; void *__objc_class_name_OFList; void *__objc_class_name_OFLocale; void *__objc_class_name_OFMD5Hash; void *__objc_class_name_OFMapTable; void *__objc_class_name_OFMapTableEnumerator; void *__objc_class_name_OFMemoryStream; void *__objc_class_name_OFMessagePackExtension; void *__objc_class_name_OFMethodSignature; void *__objc_class_name_OFMutableArray; void *__objc_class_name_OFMutableData; void *__objc_class_name_OFMutableDictionary; void *__objc_class_name_OFMutableLHAArchiveEntry; void *__objc_class_name_OFMutablePair; |
︙ | ︙ | |||
123 124 125 126 127 128 129 130 131 132 133 134 135 136 | void *__objc_class_name_OFSHA384Hash; void *__objc_class_name_OFSHA384Or512Hash; void *__objc_class_name_OFSHA512Hash; void *__objc_class_name_OFSandbox; void *__objc_class_name_OFSecureData; void *__objc_class_name_OFSeekableStream; void *__objc_class_name_OFSet; void *__objc_class_name_OFSortedList; void *__objc_class_name_OFStdIOStream; void *__objc_class_name_OFStream; void *__objc_class_name_OFString; void *__objc_class_name_OFSystemInfo; void *__objc_class_name_OFTarArchive; void *__objc_class_name_OFTarArchiveEntry; | > | 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | void *__objc_class_name_OFSHA384Hash; void *__objc_class_name_OFSHA384Or512Hash; void *__objc_class_name_OFSHA512Hash; void *__objc_class_name_OFSandbox; void *__objc_class_name_OFSecureData; void *__objc_class_name_OFSeekableStream; void *__objc_class_name_OFSet; void *__objc_class_name_OFSettings; void *__objc_class_name_OFSortedList; void *__objc_class_name_OFStdIOStream; void *__objc_class_name_OFStream; void *__objc_class_name_OFString; void *__objc_class_name_OFSystemInfo; void *__objc_class_name_OFTarArchive; void *__objc_class_name_OFTarArchiveEntry; |
︙ | ︙ | |||
150 151 152 153 154 155 156 | void *__objc_class_name_OFXMLNode; void *__objc_class_name_OFXMLParser; void *__objc_class_name_OFXMLProcessingInstructions; void *__objc_class_name_OFZIPArchive; void *__objc_class_name_OFZIPArchiveEntry; #ifdef OF_HAVE_FILES void *__objc_class_name_OFFile; | < < < | 155 156 157 158 159 160 161 162 163 164 165 166 167 168 | void *__objc_class_name_OFXMLNode; void *__objc_class_name_OFXMLParser; void *__objc_class_name_OFXMLProcessingInstructions; void *__objc_class_name_OFZIPArchive; void *__objc_class_name_OFZIPArchiveEntry; #ifdef OF_HAVE_FILES void *__objc_class_name_OFFile; #endif #ifdef OF_HAVE_SOCKETS void *__objc_class_name_OFAAAADNSResourceRecord; void *__objc_class_name_OFADNSResourceRecord; void *__objc_class_name_OFCNAMEDNSResourceRecord; void *__objc_class_name_OFDNSQuery; void *__objc_class_name_OFDNSResolver; |
︙ | ︙ | |||
395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 | { dtor(); } #endif extern void OFPBKDF2Wrapper(const OFPBKDF2Parameters *parameters); extern void OFScryptWrapper(const OFScryptParameters *parameters); void OFPBKDF2(OFPBKDF2Parameters parameters) { OFPBKDF2Wrapper(¶meters); } void OFScrypt(OFScryptParameters parameters) { OFScryptWrapper(¶meters); } | > > > > > > > > > > | 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 | { dtor(); } #endif extern void OFPBKDF2Wrapper(const OFPBKDF2Parameters *parameters); extern void OFScryptWrapper(const OFScryptParameters *parameters); void OFLog(OFConstantString *format, ...) { va_list arguments; va_start(arguments, format); OFLogV(format, arguments); va_end(arguments); } void OFPBKDF2(OFPBKDF2Parameters parameters) { OFPBKDF2Wrapper(¶meters); } void OFScrypt(OFScryptParameters parameters) { OFScryptWrapper(¶meters); } |
Modified src/linklib/linklib.m from [9e12386157] to [d936e8fe98].
︙ | ︙ | |||
19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #import "amiga-library.h" #import "OFObject.h" #import "OFStdIOStream.h" #import "OFApplication.h" #import "OFBlock.h" #import "OFDNSResourceRecord.h" #import "OFHTTPRequest.h" #import "OFHTTPResponse.h" #import "OFList.h" #import "OFMethodSignature.h" #import "OFOnce.h" #import "OFPBKDF2.h" #import "OFScrypt.h" | > | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #import "amiga-library.h" #import "OFObject.h" #import "OFStdIOStream.h" #import "OFApplication.h" #import "OFBlock.h" #import "OFDNSResourceRecord.h" #import "OFEmbeddedURIHandler.h" #import "OFHTTPRequest.h" #import "OFHTTPResponse.h" #import "OFList.h" #import "OFMethodSignature.h" #import "OFOnce.h" #import "OFPBKDF2.h" #import "OFScrypt.h" |
︙ | ︙ | |||
392 393 394 395 396 397 398 399 400 401 402 403 404 405 | "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((OFDNSRecordType (*)(OFString *_Nonnull))*(void **)(((uintptr_t)ObjFWBase) - 148))(string); #endif } const char *_Nullable OFHTTPRequestMethodName(OFHTTPRequestMethod method) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; | > > > > > > > > > > > > > > > > > | | | | | | < < < < < < < < < < < < < < < < < > > > > > > > > > > > > > > > > > | | < < < < < < < < < < < < < < < < < > > > > > > > > > > > > > > > > > | | | | | | | | | | | | < < < < < < < < < < < < < < < < < | > > > > > > > > > > > > > > > > > | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 | "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((OFDNSRecordType (*)(OFString *_Nonnull))*(void **)(((uintptr_t)ObjFWBase) - 148))(string); #endif } void OFRegisterEmbeddedFile(OFString *_Nonnull name, const uint8_t *_Nonnull bytes, size_t size) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; ((void (*)(OFString *_Nonnull __asm__("a0"), const uint8_t *_Nonnull __asm__("a1"), size_t __asm__("d0")))(((uintptr_t)ObjFWBase) - 156))(name, bytes, size); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); __extension__ ((void (*)(OFString *_Nonnull, const uint8_t *_Nonnull, size_t))*(void **)(((uintptr_t)ObjFWBase) - 154))(name, bytes, size); #endif } const char *_Nullable OFHTTPRequestMethodName(OFHTTPRequestMethod method) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((const char *_Nullable (*)(OFHTTPRequestMethod __asm__("d0")))(((uintptr_t)ObjFWBase) - 162))(method); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((const char *_Nullable (*)(OFHTTPRequestMethod))*(void **)(((uintptr_t)ObjFWBase) - 160))(method); #endif } OFHTTPRequestMethod OFHTTPRequestMethodParseName(OFString *string) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((OFHTTPRequestMethod (*)(OFString *__asm__("a0")))(((uintptr_t)ObjFWBase) - 168))(string); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((OFHTTPRequestMethod (*)(OFString *))*(void **)(((uintptr_t)ObjFWBase) - 166))(string); #endif } OFString *_Nonnull OFHTTPStatusCodeString(short code) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((OFString *_Nonnull (*)(short __asm__("d0")))(((uintptr_t)ObjFWBase) - 174))(code); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((OFString *_Nonnull (*)(short))*(void **)(((uintptr_t)ObjFWBase) - 172))(code); #endif } OFListItem _Nullable OFListItemNext(OFListItem _Nonnull listItem) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((OFListItem _Nullable (*)(OFListItem _Nonnull __asm__("a0")))(((uintptr_t)ObjFWBase) - 180))(listItem); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((OFListItem _Nullable (*)(OFListItem _Nonnull))*(void **)(((uintptr_t)ObjFWBase) - 178))(listItem); #endif } OFListItem _Nullable OFListItemPrevious(OFListItem _Nonnull listItem) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((OFListItem _Nullable (*)(OFListItem _Nonnull __asm__("a0")))(((uintptr_t)ObjFWBase) - 186))(listItem); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((OFListItem _Nullable (*)(OFListItem _Nonnull))*(void **)(((uintptr_t)ObjFWBase) - 184))(listItem); #endif } id _Nonnull OFListItemObject(OFListItem _Nonnull listItem) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((id _Nonnull (*)(OFListItem _Nonnull __asm__("a0")))(((uintptr_t)ObjFWBase) - 192))(listItem); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((id _Nonnull (*)(OFListItem _Nonnull))*(void **)(((uintptr_t)ObjFWBase) - 190))(listItem); #endif } size_t OFSizeOfTypeEncoding(const char *type) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((size_t (*)(const char *__asm__("a0")))(((uintptr_t)ObjFWBase) - 198))(type); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((size_t (*)(const char *))*(void **)(((uintptr_t)ObjFWBase) - 196))(type); #endif } size_t OFAlignmentOfTypeEncoding(const char *type) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((size_t (*)(const char *__asm__("a0")))(((uintptr_t)ObjFWBase) - 204))(type); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((size_t (*)(const char *))*(void **)(((uintptr_t)ObjFWBase) - 202))(type); #endif } void OFOnce(OFOnceControl *_Nonnull control, OFOnceFunction _Nonnull func) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; ((void (*)(OFOnceControl *_Nonnull __asm__("a0"), OFOnceFunction _Nonnull __asm__("a1")))(((uintptr_t)ObjFWBase) - 210))(control, func); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); __extension__ ((void (*)(OFOnceControl *_Nonnull, OFOnceFunction _Nonnull))*(void **)(((uintptr_t)ObjFWBase) - 208))(control, func); #endif } void OFPBKDF2Wrapper(const OFPBKDF2Parameters *_Nonnull parameters) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; ((void (*)(const OFPBKDF2Parameters *_Nonnull __asm__("a0")))(((uintptr_t)ObjFWBase) - 216))(parameters); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); __extension__ ((void (*)(const OFPBKDF2Parameters *_Nonnull))*(void **)(((uintptr_t)ObjFWBase) - 214))(parameters); #endif } void OFScryptWrapper(const OFScryptParameters *_Nonnull parameters) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; ((void (*)(const OFScryptParameters *_Nonnull __asm__("a0")))(((uintptr_t)ObjFWBase) - 222))(parameters); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); __extension__ ((void (*)(const OFScryptParameters *_Nonnull))*(void **)(((uintptr_t)ObjFWBase) - 220))(parameters); #endif } void OFSalsa20_8Core(uint32_t *_Nonnull buffer) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; ((void (*)(uint32_t *_Nonnull __asm__("a0")))(((uintptr_t)ObjFWBase) - 228))(buffer); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); __extension__ ((void (*)(uint32_t *_Nonnull))*(void **)(((uintptr_t)ObjFWBase) - 226))(buffer); #endif } void OFScryptBlockMix(uint32_t *_Nonnull output, const uint32_t *_Nonnull input, size_t blockSize) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; ((void (*)(uint32_t *_Nonnull __asm__("a0"), const uint32_t *_Nonnull __asm__("a1"), size_t __asm__("d0")))(((uintptr_t)ObjFWBase) - 234))(output, input, blockSize); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); __extension__ ((void (*)(uint32_t *_Nonnull, const uint32_t *_Nonnull, size_t))*(void **)(((uintptr_t)ObjFWBase) - 232))(output, input, blockSize); #endif } void OFScryptROMix(uint32_t *buffer, size_t blockSize, size_t costFactor, uint32_t *tmp) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; ((void (*)(uint32_t *__asm__("a0"), size_t __asm__("d0"), size_t __asm__("d1"), uint32_t *__asm__("a1")))(((uintptr_t)ObjFWBase) - 240))(buffer, blockSize, costFactor, tmp); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); __extension__ ((void (*)(uint32_t *, size_t, size_t, uint32_t *))*(void **)(((uintptr_t)ObjFWBase) - 238))(buffer, blockSize, costFactor, tmp); #endif } OFSocketAddress OFSocketAddressParseIP(OFString *IP, uint16_t port) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((OFSocketAddress (*)(OFString *__asm__("a0"), uint16_t __asm__("d0")))(((uintptr_t)ObjFWBase) - 246))(IP, port); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((OFSocketAddress (*)(OFString *, uint16_t))*(void **)(((uintptr_t)ObjFWBase) - 244))(IP, port); #endif } OFSocketAddress OFSocketAddressParseIPv4(OFString *IP, uint16_t port) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((OFSocketAddress (*)(OFString *__asm__("a0"), uint16_t __asm__("d0")))(((uintptr_t)ObjFWBase) - 252))(IP, port); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((OFSocketAddress (*)(OFString *, uint16_t))*(void **)(((uintptr_t)ObjFWBase) - 250))(IP, port); #endif } OFSocketAddress OFSocketAddressParseIPv6(OFString *IP, uint16_t port) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((OFSocketAddress (*)(OFString *__asm__("a0"), uint16_t __asm__("d0")))(((uintptr_t)ObjFWBase) - 258))(IP, port); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((OFSocketAddress (*)(OFString *, uint16_t))*(void **)(((uintptr_t)ObjFWBase) - 256))(IP, port); #endif } OFSocketAddress OFSocketAddressMakeUNIX(OFString *path) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((OFSocketAddress (*)(OFString *__asm__("a0")))(((uintptr_t)ObjFWBase) - 264))(path); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((OFSocketAddress (*)(OFString *))*(void **)(((uintptr_t)ObjFWBase) - 262))(path); #endif } OFSocketAddress OFSocketAddressMakeIPX(uint32_t network, const unsigned char *node, uint16_t port) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((OFSocketAddress (*)(uint32_t __asm__("d0"), const unsigned char *__asm__("a0"), uint16_t __asm__("d1")))(((uintptr_t)ObjFWBase) - 270))(network, node, port); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((OFSocketAddress (*)(uint32_t, const unsigned char *, uint16_t))*(void **)(((uintptr_t)ObjFWBase) - 268))(network, node, port); #endif } OFSocketAddress OFSocketAddressMakeAppleTalk(uint16_t network, uint8_t node, uint8_t port) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((OFSocketAddress (*)(uint16_t __asm__("d0"), uint8_t __asm__("d1"), uint8_t __asm__("d2")))(((uintptr_t)ObjFWBase) - 276))(network, node, port); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((OFSocketAddress (*)(uint16_t, uint8_t, uint8_t))*(void **)(((uintptr_t)ObjFWBase) - 274))(network, node, port); #endif } bool OFSocketAddressEqual(const OFSocketAddress *address1, const OFSocketAddress *address2) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((bool (*)(const OFSocketAddress *__asm__("a0"), const OFSocketAddress *__asm__("a1")))(((uintptr_t)ObjFWBase) - 282))(address1, address2); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((bool (*)(const OFSocketAddress *, const OFSocketAddress *))*(void **)(((uintptr_t)ObjFWBase) - 280))(address1, address2); #endif } unsigned long OFSocketAddressHash(const OFSocketAddress *address) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((unsigned long (*)(const OFSocketAddress *__asm__("a0")))(((uintptr_t)ObjFWBase) - 288))(address); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((unsigned long (*)(const OFSocketAddress *))*(void **)(((uintptr_t)ObjFWBase) - 286))(address); #endif } OFString *_Nonnull OFSocketAddressString(const OFSocketAddress *address) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((OFString *_Nonnull (*)(const OFSocketAddress *__asm__("a0")))(((uintptr_t)ObjFWBase) - 294))(address); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((OFString *_Nonnull (*)(const OFSocketAddress *))*(void **)(((uintptr_t)ObjFWBase) - 292))(address); #endif } void OFSocketAddressSetIPPort(OFSocketAddress *address, uint16_t port) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; ((void (*)(OFSocketAddress *__asm__("a0"), uint16_t __asm__("d0")))(((uintptr_t)ObjFWBase) - 300))(address, port); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); __extension__ ((void (*)(OFSocketAddress *, uint16_t))*(void **)(((uintptr_t)ObjFWBase) - 298))(address, port); #endif } uint16_t OFSocketAddressIPPort(const OFSocketAddress *address) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((uint16_t (*)(const OFSocketAddress *__asm__("a0")))(((uintptr_t)ObjFWBase) - 306))(address); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((uint16_t (*)(const OFSocketAddress *))*(void **)(((uintptr_t)ObjFWBase) - 304))(address); #endif } OFString * OFSocketAddressUNIXPath(const OFSocketAddress *address) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((OFString *(*)(const OFSocketAddress *__asm__("a0")))(((uintptr_t)ObjFWBase) - 312))(address); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((OFString *(*)(const OFSocketAddress *))*(void **)(((uintptr_t)ObjFWBase) - 310))(address); #endif } void OFSocketAddressSetIPXNetwork(OFSocketAddress *address, uint32_t network) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; ((void (*)(OFSocketAddress *__asm__("a0"), uint32_t __asm__("d0")))(((uintptr_t)ObjFWBase) - 318))(address, network); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); __extension__ ((void (*)(OFSocketAddress *, uint32_t))*(void **)(((uintptr_t)ObjFWBase) - 316))(address, network); #endif } uint32_t OFSocketAddressIPXNetwork(const OFSocketAddress *address) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((uint32_t (*)(const OFSocketAddress *__asm__("a0")))(((uintptr_t)ObjFWBase) - 324))(address); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((uint32_t (*)(const OFSocketAddress *))*(void **)(((uintptr_t)ObjFWBase) - 322))(address); #endif } void OFSocketAddressSetIPXNode(OFSocketAddress *address, const unsigned char *node) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; ((void (*)(OFSocketAddress *__asm__("a0"), const unsigned char *__asm__("a1")))(((uintptr_t)ObjFWBase) - 330))(address, node); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); __extension__ ((void (*)(OFSocketAddress *, const unsigned char *))*(void **)(((uintptr_t)ObjFWBase) - 328))(address, node); #endif } void OFSocketAddressGetIPXNode(const OFSocketAddress *address, unsigned char *_Nonnull node) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; ((void (*)(const OFSocketAddress *__asm__("a0"), unsigned char *_Nonnull __asm__("a1")))(((uintptr_t)ObjFWBase) - 336))(address, node); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); __extension__ ((void (*)(const OFSocketAddress *, unsigned char *_Nonnull))*(void **)(((uintptr_t)ObjFWBase) - 334))(address, node); #endif } void OFSocketAddressSetIPXPort(OFSocketAddress *address, uint16_t port) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; ((void (*)(OFSocketAddress *__asm__("a0"), uint16_t __asm__("d0")))(((uintptr_t)ObjFWBase) - 342))(address, port); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); __extension__ ((void (*)(OFSocketAddress *, uint16_t))*(void **)(((uintptr_t)ObjFWBase) - 340))(address, port); #endif } uint16_t OFSocketAddressIPXPort(const OFSocketAddress *address) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((uint16_t (*)(const OFSocketAddress *__asm__("a0")))(((uintptr_t)ObjFWBase) - 348))(address); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((uint16_t (*)(const OFSocketAddress *))*(void **)(((uintptr_t)ObjFWBase) - 346))(address); #endif } void OFSocketAddressSetAppleTalkNetwork(OFSocketAddress *address, uint16_t network) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; ((void (*)(OFSocketAddress *__asm__("a0"), uint16_t __asm__("d0")))(((uintptr_t)ObjFWBase) - 354))(address, network); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); __extension__ ((void (*)(OFSocketAddress *, uint16_t))*(void **)(((uintptr_t)ObjFWBase) - 352))(address, network); #endif } uint16_t OFSocketAddressAppleTalkNetwork(const OFSocketAddress *address) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((uint16_t (*)(const OFSocketAddress *__asm__("a0")))(((uintptr_t)ObjFWBase) - 360))(address); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((uint16_t (*)(const OFSocketAddress *))*(void **)(((uintptr_t)ObjFWBase) - 358))(address); #endif } void OFSocketAddressSetAppleTalkNode(OFSocketAddress *address, uint8_t node) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; ((void (*)(OFSocketAddress *__asm__("a0"), uint8_t __asm__("(nil)")))(((uintptr_t)ObjFWBase) - 366))(address, node); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); __extension__ ((void (*)(OFSocketAddress *, uint8_t))*(void **)(((uintptr_t)ObjFWBase) - 364))(address, node); #endif } uint8_t OFSocketAddressAppleTalkNode(const OFSocketAddress *address) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((uint8_t (*)(const OFSocketAddress *__asm__("a0")))(((uintptr_t)ObjFWBase) - 372))(address); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((uint8_t (*)(const OFSocketAddress *))*(void **)(((uintptr_t)ObjFWBase) - 370))(address); #endif } void OFSocketAddressSetAppleTalkPort(OFSocketAddress *address, uint8_t port) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; ((void (*)(OFSocketAddress *__asm__("a0"), uint8_t __asm__("(nil)")))(((uintptr_t)ObjFWBase) - 378))(address, port); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); __extension__ ((void (*)(OFSocketAddress *, uint8_t))*(void **)(((uintptr_t)ObjFWBase) - 376))(address, port); #endif } uint8_t OFSocketAddressAppleTalkPort(const OFSocketAddress *address) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((uint8_t (*)(const OFSocketAddress *__asm__("a0")))(((uintptr_t)ObjFWBase) - 384))(address); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((uint8_t (*)(const OFSocketAddress *))*(void **)(((uintptr_t)ObjFWBase) - 382))(address); #endif } OFString * OFTLSStreamErrorCodeDescription(OFTLSStreamErrorCode errorCode) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((OFString *(*)(OFTLSStreamErrorCode __asm__("d0")))(((uintptr_t)ObjFWBase) - 390))(errorCode); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((OFString *(*)(OFTLSStreamErrorCode))*(void **)(((uintptr_t)ObjFWBase) - 388))(errorCode); #endif } const char *_Nullable OFStrPTime(const char *buffer, const char *format, struct tm *tm, int16_t *_Nullable tz) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((const char *_Nullable (*)(const char *__asm__("a0"), const char *__asm__("a1"), struct tm *__asm__("a2"), int16_t *_Nullable __asm__("a3")))(((uintptr_t)ObjFWBase) - 396))(buffer, format, tm, tz); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((const char *_Nullable (*)(const char *, const char *, struct tm *, int16_t *_Nullable))*(void **)(((uintptr_t)ObjFWBase) - 394))(buffer, format, tm, tz); #endif } OFStringEncoding OFStringEncodingParseName(OFString *string) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((OFStringEncoding (*)(OFString *__asm__("a0")))(((uintptr_t)ObjFWBase) - 402))(string); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((OFStringEncoding (*)(OFString *))*(void **)(((uintptr_t)ObjFWBase) - 400))(string); #endif } OFString *_Nullable OFStringEncodingName(OFStringEncoding encoding) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((OFString *_Nullable (*)(OFStringEncoding __asm__("d0")))(((uintptr_t)ObjFWBase) - 408))(encoding); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((OFString *_Nullable (*)(OFStringEncoding))*(void **)(((uintptr_t)ObjFWBase) - 406))(encoding); #endif } size_t OFUTF16StringLength(const OFChar16 *string) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((size_t (*)(const OFChar16 *__asm__("a0")))(((uintptr_t)ObjFWBase) - 414))(string); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((size_t (*)(const OFChar16 *))*(void **)(((uintptr_t)ObjFWBase) - 412))(string); #endif } size_t OFUTF32StringLength(const OFChar32 *string) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((size_t (*)(const OFChar32 *__asm__("a0")))(((uintptr_t)ObjFWBase) - 420))(string); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((size_t (*)(const OFChar32 *))*(void **)(((uintptr_t)ObjFWBase) - 418))(string); #endif } OFString *_Nonnull OFZIPArchiveEntryVersionToString(uint16_t version) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((OFString *_Nonnull (*)(uint16_t __asm__("d0")))(((uintptr_t)ObjFWBase) - 426))(version); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((OFString *_Nonnull (*)(uint16_t))*(void **)(((uintptr_t)ObjFWBase) - 424))(version); #endif } OFString *_Nonnull OFZIPArchiveEntryCompressionMethodName(OFZIPArchiveEntryCompressionMethod compressionMethod) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((OFString *_Nonnull (*)(OFZIPArchiveEntryCompressionMethod __asm__("d0")))(((uintptr_t)ObjFWBase) - 432))(compressionMethod); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((OFString *_Nonnull (*)(OFZIPArchiveEntryCompressionMethod))*(void **)(((uintptr_t)ObjFWBase) - 430))(compressionMethod); #endif } size_t OFZIPArchiveEntryExtraFieldFind(OFData *extraField, OFZIPArchiveEntryExtraFieldTag tag, uint16_t *size) { #if defined(OF_AMIGAOS_M68K) register struct Library *a6 __asm__("a6") = ObjFWBase; (void)a6; return ((size_t (*)(OFData *__asm__("a0"), OFZIPArchiveEntryExtraFieldTag __asm__("d0"), uint16_t *__asm__("a1")))(((uintptr_t)ObjFWBase) - 438))(extraField, tag, size); #elif defined(OF_MORPHOS) __asm__ __volatile__ ( "mr %%r12, %0" :: "r"(ObjFWBase) : "r12" ); return __extension__ ((size_t (*)(OFData *, OFZIPArchiveEntryExtraFieldTag, uint16_t *))*(void **)(((uintptr_t)ObjFWBase) - 436))(extraField, tag, size); #endif } |