Overview
Comment: | Add functions of OFDNSResourceRecord to Amiga lib |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | amiga-library |
Files: | files | file ages | folders |
SHA3-256: |
bb4994e5d206a6cb6e79f6be208f4cf0 |
User & Date: | js on 2020-12-14 18:48:44 |
Other Links: | branch diff | manifest | tags |
Context
2020-12-18
| ||
11:04 | Merge trunk into branch "amiga-library" check-in: 3fdb99cfd0 user: js tags: amiga-library | |
2020-12-14
| ||
18:48 | Add functions of OFDNSResourceRecord to Amiga lib check-in: bb4994e5d2 user: js tags: amiga-library | |
2020-12-13
| ||
14:49 | Don't mix .o and .amigalib.o files check-in: ce924f47f0 user: js tags: amiga-library | |
Changes
Modified src/amiga-glue.m from [fd6300fe11] to [212fc89c69].
︙ | ︙ | |||
14 15 16 17 18 19 20 21 22 23 24 25 26 27 | * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" #import "OFApplication.h" #import "OFHTTPRequest.h" #import "OFHTTPResponse.h" #import "OFMethodSignature.h" #import "OFObject.h" #import "OFStdIOStream.h" #import "OFString.h" #import "OFZIPArchiveEntry.h" | > | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include "config.h" #import "OFApplication.h" #import "OFDNSResourceRecord.h" #import "OFHTTPRequest.h" #import "OFHTTPResponse.h" #import "OFMethodSignature.h" #import "OFObject.h" #import "OFStdIOStream.h" #import "OFString.h" #import "OFZIPArchiveEntry.h" |
︙ | ︙ | |||
440 441 442 443 444 445 446 | const of_socket_address_t *address, unsigned char *node) { M68K_ARG(const of_socket_address_t *, address, a0) M68K_ARG(unsigned char *, node, a1) of_socket_address_get_ipx_node(address, node); } | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 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 | const of_socket_address_t *address, unsigned char *node) { M68K_ARG(const of_socket_address_t *, address, a0) M68K_ARG(unsigned char *, node, a1) of_socket_address_get_ipx_node(address, node); } OFString *__saveds glue_of_dns_class_to_string PPC_PARAMS(of_dns_class_t DNSClass) { M68K_ARG(of_dns_class_t, DNSClass, d0) return of_dns_class_to_string(DNSClass); } OFString *__saveds glue_of_dns_record_type_to_string PPC_PARAMS(of_dns_record_type_t recordType) { M68K_ARG(of_dns_record_type_t, recordType, d0) return of_dns_record_type_to_string(recordType); } of_dns_class_t __saveds glue_of_dns_class_parse PPC_PARAMS(OFString *string) { M68K_ARG(OFString *, string, a0) return of_dns_class_parse(string); } of_dns_record_type_t __saveds glue_of_dns_record_type_parse PPC_PARAMS(OFString *string) { M68K_ARG(OFString *, string, a0) return of_dns_record_type_parse(string); } |
Modified src/amiga-library.m from [4dda0ea7c2] to [eefdfde168].
︙ | ︙ | |||
18 19 20 21 22 23 24 25 26 27 28 29 30 31 | #include "config.h" #include <exec/libraries.h> #include <exec/nodes.h> #include <exec/resident.h> #include <proto/exec.h> #import "OFHTTPRequest.h" #import "OFStdIOStream.h" #import "OFString.h" #import "amiga-library.h" #import "macros.h" #import "socket.h" | > | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #include "config.h" #include <exec/libraries.h> #include <exec/nodes.h> #include <exec/resident.h> #include <proto/exec.h> #import "OFDNSResourceRecord.h" #import "OFHTTPRequest.h" #import "OFStdIOStream.h" #import "OFString.h" #import "amiga-library.h" #import "macros.h" #import "socket.h" |
︙ | ︙ | |||
108 109 110 111 112 113 114 115 116 117 118 119 120 121 | extern OFString *glue_of_socket_address_ip_string(void); extern void glue_of_socket_address_set_port(void); extern uint16_t glue_of_socket_address_get_port(void); extern void glue_of_socket_address_set_ipx_network(void); extern uint32_t glue_of_socket_address_get_ipx_network(void); extern void glue_of_socket_address_set_ipx_node(void); extern void glue_of_socket_address_get_ipx_node(void); #ifdef OF_AMIGAOS_M68K void __init_eh(void) { /* Taken care of by of_init() */ } | > > > > | 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | extern OFString *glue_of_socket_address_ip_string(void); extern void glue_of_socket_address_set_port(void); extern uint16_t glue_of_socket_address_get_port(void); extern void glue_of_socket_address_set_ipx_network(void); extern uint32_t glue_of_socket_address_get_ipx_network(void); extern void glue_of_socket_address_set_ipx_node(void); extern void glue_of_socket_address_get_ipx_node(void); extern OFString *glue_of_dns_class_to_string(void); extern OFString *glue_of_dns_record_type_to_string(void); extern of_dns_class_t glue_of_dns_class_parse(void); extern of_dns_record_type_t glue_of_dns_record_type_parse(void); #ifdef OF_AMIGAOS_M68K void __init_eh(void) { /* Taken care of by of_init() */ } |
︙ | ︙ | |||
691 692 693 694 695 696 697 698 699 700 701 702 703 704 | (CONST_APTR)glue_of_socket_address_ip_string, (CONST_APTR)glue_of_socket_address_set_port, (CONST_APTR)glue_of_socket_address_get_port, (CONST_APTR)glue_of_socket_address_set_ipx_network, (CONST_APTR)glue_of_socket_address_get_ipx_network, (CONST_APTR)glue_of_socket_address_set_ipx_node, (CONST_APTR)glue_of_socket_address_get_ipx_node, (CONST_APTR)-1, #ifdef OF_MORPHOS (CONST_APTR)FUNCARRAY_END #endif }; #pragma GCC diagnostic pop | > > > > | 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 | (CONST_APTR)glue_of_socket_address_ip_string, (CONST_APTR)glue_of_socket_address_set_port, (CONST_APTR)glue_of_socket_address_get_port, (CONST_APTR)glue_of_socket_address_set_ipx_network, (CONST_APTR)glue_of_socket_address_get_ipx_network, (CONST_APTR)glue_of_socket_address_set_ipx_node, (CONST_APTR)glue_of_socket_address_get_ipx_node, (CONST_APTR)glue_of_dns_class_to_string, (CONST_APTR)glue_of_dns_record_type_to_string, (CONST_APTR)glue_of_dns_class_parse, (CONST_APTR)glue_of_dns_record_type_parse, (CONST_APTR)-1, #ifdef OF_MORPHOS (CONST_APTR)FUNCARRAY_END #endif }; #pragma GCC diagnostic pop |
︙ | ︙ |
Modified src/amigaos3.sfd from [79d92f1a5f] to [cb0789f446].
︙ | ︙ | |||
43 44 45 46 47 48 49 | OFString *_Nonnull glue_of_socket_address_ip_string(const of_socket_address_t *_Nonnull address, uint16_t *_Nullable port)(a0,a1) void glue_of_socket_address_set_port(of_socket_address_t *_Nonnull address, uint16_t port)(a0,d0) uint16_t glue_of_socket_address_get_port(const of_socket_address_t *_Nonnull address)(a0) void glue_of_socket_address_set_ipx_network(of_socket_address_t *_Nonnull address, uint32_t network)(a0,d0) uint32_t glue_of_socket_address_get_ipx_network(const of_socket_address_t *_Nonnull address)(a0) void glue_of_socket_address_set_ipx_node(of_socket_address_t *_Nonnull address, const unsigned char *_Nonnull node)(a0,a1) void glue_of_socket_address_get_ipx_node(const of_socket_address_t *_Nonnull address, unsigned char *_Nonnull node)(a0,a1) | > > > > | 43 44 45 46 47 48 49 50 51 52 53 | OFString *_Nonnull glue_of_socket_address_ip_string(const of_socket_address_t *_Nonnull address, uint16_t *_Nullable port)(a0,a1) void glue_of_socket_address_set_port(of_socket_address_t *_Nonnull address, uint16_t port)(a0,d0) uint16_t glue_of_socket_address_get_port(const of_socket_address_t *_Nonnull address)(a0) void glue_of_socket_address_set_ipx_network(of_socket_address_t *_Nonnull address, uint32_t network)(a0,d0) uint32_t glue_of_socket_address_get_ipx_network(const of_socket_address_t *_Nonnull address)(a0) void glue_of_socket_address_set_ipx_node(of_socket_address_t *_Nonnull address, const unsigned char *_Nonnull node)(a0,a1) void glue_of_socket_address_get_ipx_node(const of_socket_address_t *_Nonnull address, unsigned char *_Nonnull node)(a0,a1) OFString *_Nonnull glue_of_dns_class_to_string(of_dns_class_t DNSClass)(d0) OFString *_Nonnull glue_of_dns_record_type_to_string(of_dns_record_type_t recordType)(d0) of_dns_class_t glue_of_dns_class_parse(OFString *_Nonnull string)(a0) of_dns_record_type_t glue_of_dns_record_type_parse(OFString *_Nonnull string)(a0) |
Modified src/linklib/linklib.m from [8f6a6724de] to [f3aac09e4e].
︙ | ︙ | |||
668 669 670 671 672 673 674 | void of_socket_address_get_ipx_node(const of_socket_address_t *address, unsigned char *node) { glue_of_socket_address_get_ipx_node(address, node); } | > > > > > > > > > > > > > > > > > > > > > > > > | 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 | void of_socket_address_get_ipx_node(const of_socket_address_t *address, unsigned char *node) { glue_of_socket_address_get_ipx_node(address, node); } OFString * of_dns_class_to_string(of_dns_class_t DNSClass) { return glue_of_dns_class_to_string(DNSClass); } OFString * of_dns_record_type_to_string(of_dns_record_type_t recordType) { return glue_of_dns_record_type_to_string(recordType); } of_dns_class_t of_dns_class_parse(OFString *string) { return glue_of_dns_class_parse(string); } of_dns_record_type_t of_dns_record_type_parse(OFString *string) { return glue_of_dns_record_type_parse(string); } |
Modified src/morphos-clib.h from [c358c9074e] to [26b7a0e0cb].
︙ | ︙ | |||
38 39 40 41 42 43 44 | OFString *glue_of_socket_address_ip_string(const of_socket_address_t *address, uint16_t *port); void glue_of_socket_address_set_port(of_socket_address_t *address, uint16_t port); uint16_t glue_of_socket_address_get_port(const of_socket_address_t *address); void glue_of_socket_address_set_ipx_network(of_socket_address_t *address, uint32_t network); uint32_t glue_of_socket_address_get_ipx_network(const of_socket_address_t *address); void glue_of_socket_address_set_ipx_node(of_socket_address_t *address, const unsigned char *node); void glue_of_socket_address_get_ipx_node(const of_socket_address_t *address, unsigned char *node); | > > > > | 38 39 40 41 42 43 44 45 46 47 48 | OFString *glue_of_socket_address_ip_string(const of_socket_address_t *address, uint16_t *port); void glue_of_socket_address_set_port(of_socket_address_t *address, uint16_t port); uint16_t glue_of_socket_address_get_port(const of_socket_address_t *address); void glue_of_socket_address_set_ipx_network(of_socket_address_t *address, uint32_t network); uint32_t glue_of_socket_address_get_ipx_network(const of_socket_address_t *address); void glue_of_socket_address_set_ipx_node(of_socket_address_t *address, const unsigned char *node); void glue_of_socket_address_get_ipx_node(const of_socket_address_t *address, unsigned char *node); OFString *glue_of_dns_class_to_string(of_dns_class_t DNSClass); OFString *glue_of_dns_record_type_to_string(of_dns_record_type_t recordType); of_dns_class_t glue_of_dns_class_parse(OFString *string); of_dns_record_type_t glue_of_dns_record_type_parse(OFString *string); |
Modified src/morphos.fd from [6351fa9dbc] to [a8f469aa2a].
︙ | ︙ | |||
41 42 43 44 45 46 47 | glue_of_socket_address_ip_string(address,port)(sysv,r12base) glue_of_socket_address_set_port(address,port)(sysv,r12base) glue_of_socket_address_get_port(address)(sysv,r12base) glue_of_socket_address_set_ipx_network(address,network)(sysv,r12base) glue_of_socket_address_get_ipx_network(address)(sysv,r12base) glue_of_socket_address_set_ipx_node(address,node)(sysv,r12base) glue_of_socket_address_get_ipx_node(address,node)(sysv,r12base) | > > > > | 41 42 43 44 45 46 47 48 49 50 51 | glue_of_socket_address_ip_string(address,port)(sysv,r12base) glue_of_socket_address_set_port(address,port)(sysv,r12base) glue_of_socket_address_get_port(address)(sysv,r12base) glue_of_socket_address_set_ipx_network(address,network)(sysv,r12base) glue_of_socket_address_get_ipx_network(address)(sysv,r12base) glue_of_socket_address_set_ipx_node(address,node)(sysv,r12base) glue_of_socket_address_get_ipx_node(address,node)(sysv,r12base) glue_of_dns_class_to_string(DNSClass)(sysv,r12base) glue_of_dns_record_type_to_string(recordType)(sysv,r12base) glue_of_dns_class_parse(string)(sysv,r12base) glue_of_dns_record_type_parse(string)(sysv,r12base) |