AmendHub

Download:

jcs

/

subtext

/

amendments

/

303

tcp: Move StrToAddrMarkDone prototype to tcp.h so dnr can find it


jcs made amendment 303 about 1 year ago
--- dnr.c Mon Jun 13 16:20:23 2022 +++ dnr.c Sat Feb 18 10:07:09 2023 @@ -13,6 +13,7 @@ #include <Traps.h> #include "AddressXlation.h" +#include "tcp.h" #define OPENRESOLVER 1 #define CLOSERESOLVER 2 --- tcp.c Sun Feb 5 10:44:47 2023 +++ tcp.c Sat Feb 18 10:08:02 2023 @@ -11,10 +11,6 @@ short gIPPDriverRefNum; -pascal void StrToAddrMarkDone(struct hostInfo *hi, char *data); - -unsigned long resolved_ip; - OSErr _TCPInit(void) { --- tcp.h Wed Jul 13 17:14:27 2022 +++ tcp.h Sat Feb 18 10:08:08 2023 @@ -60,6 +60,7 @@ OSErr _UDPRelease(UDPiopb *pb, StreamPtr stream, Ptr u UDPIOCompletionProc ioCompletion, Boolean async); OSErr TCPResolveName(char **name, unsigned long *ipAddress); +pascal void StrToAddrMarkDone(struct hostInfo *hi, char *data); unsigned long ip2long(char *ip); void long2ip(unsigned long num, char *ip);