Mac OS 9
AppleTalk.h
Go to the documentation of this file.
1 
19 #ifndef __APPLETALK__
20 #define __APPLETALK__
21 
22 #ifndef __MACTYPES__
23 #include <MacTypes.h>
24 #endif
25 
26 #ifndef __OSUTILS__
27 #include <OSUtils.h>
28 #endif
29 
30 #if PRAGMA_ONCE
31 #pragma once
32 #endif
33 
34 #ifdef __cplusplus
35 extern "C"
36 {
37 #endif
38 
39 #if PRAGMA_IMPORT
40 #pragma import on
41 #endif
42 
43 #if PRAGMA_STRUCT_ALIGN
44 #pragma options align = mac68k
45 #elif PRAGMA_STRUCT_PACKPUSH
46 #pragma pack(push, 2)
47 #elif PRAGMA_STRUCT_PACK
48 #pragma pack(2)
49 #endif
50 
51  enum
52  {
54  mppUnitNum = 9,
55  atpUnitNum = 10,
56  xppUnitNum = 40
57  };
58 
59  enum
60  {
62  mppRefNum = -10,
63  atpRefNum = -11,
64  xppRefNum = -41
65  };
66 
67  enum
68  {
70  lookupReply = 242,
71  writeLAP = 243,
72  detachPH = 244,
73  attachPH = 245,
74  writeDDP = 246,
75  closeSkt = 247,
76  openSkt = 248,
77  loadNBP = 249,
78  lastResident = 249,
79  confirmName = 250,
80  lookupName = 251,
81  removeName = 252,
82  registerName = 253,
83  killNBP = 254,
84  unloadNBP = 255,
85  setSelfSend = 256,
86  SetMyZone = 257,
87  GetATalkInfo = 258,
88  ATalkClosePrep = 259
89  };
90 
91  enum
92  {
94  nSendRequest = 248,
95  relRspCB = 249,
96  closeATPSkt = 250,
97  addResponse = 251,
98  sendResponse = 252,
99  getRequest = 253,
100  openATPSkt = 254,
101  sendRequest = 255,
102  relTCB = 256,
103  killGetReq = 257,
104  killSendReq = 258,
105  killAllGetReq = 259
106  };
107 
108  enum
109  {
111  openSess = 255,
112  closeSess = 254,
113  userCommand = 253,
114  userWrite = 252,
115  getStatus = 251,
116  afpCall = 250,
117  getParms = 249,
118  abortOS = 248,
119  closeAll = 247,
120  xCall = 246
121  };
122 
123  enum
124  {
129  ATTransCancelClose = 4
130  };
131 
132  enum
133  {
134  afpByteRangeLock = 1,
141  afpDelete = 8,
143  afpFlush = 10,
148  afpGetSInfo = 15,
151  afpLogin = 18,
153  afpLogout = 20,
154  afpMapID = 21,
155  afpMapName = 22,
156  afpMove = 23,
157  afpOpenVol = 24,
158  afpOpenDir = 25,
159  afpOpenFork = 26,
160  afpRead = 27,
161  afpRename = 28,
166  afpWrite = 33,
169  afpDTOpen = 48,
170  afpDTClose = 49,
171  afpGetIcon = 51,
173  afpAddAPPL = 53,
174  afpRmvAPPL = 54,
175  afpGetAPPL = 55,
176  afpAddCmt = 56,
177  afpRmvCmt = 57,
178  afpGetCmt = 58,
179  afpAddIcon = 192
180  };
181 
182  enum
183  {
184  xppLoadedBit = 5,
185  scbMemSize = 192,
186  xppFlagClr = 0
187  };
188 
189  enum
190  {
191  xppFlagSet = 128
192  };
193 
194  enum
195  {
196  lapSize = 20,
197  ddpSize = 26,
198  nbpSize = 26,
199  atpSize = 56
200  };
201 
202  enum
203  {
204  atpXOvalue = 32,
205  atpEOMvalue = 16,
208  atpSendChkvalue = 1
209  };
210 
211  enum
212  {
213  zipGetLocalZones = 5,
214  zipGetZoneList = 6,
215  zipGetMyZone = 7
216  };
217 
218  enum
219  {
220  LAPMgrPtr = 0x0B18
221  };
222 
223  enum
224  {
225  LAPMgrCall = 2,
226  LAddAEQ = 23,
227  LRmvAEQ = 24
228  };
229 
230 #define MPPioCompletion MPP.ioCompletion
231 #define MPPioResult MPP.ioResult
232 #define MPPioRefNum MPP.ioRefNum
233 #define MPPcsCode MPP.csCode
234 #define LAPprotType LAP.protType
235 #define LAPwdsPointer LAP.u.wdsPointer
236 #define LAPhandler LAP.u.handler
237 #define DDPsocket DDP.socket
238 #define DDPchecksumFlag DDP.checksumFlag
239 #define DDPwdsPointer DDP.u.wdsPointer
240 #define DDPlistener DDP.u.listener
241 #define NBPinterval NBP.interval
242 #define NBPcount NBP.count
243 #define NBPntQElPtr NBP.nbpPtrs.ntQElPtr
244 #define NBPentityPtr NBP.nbpPtrs.entityPtr
245 #define NBPverifyFlag NBP.parm.verifyFlag
246 #define NBPretBuffPtr NBP.parm.Lookup.retBuffPtr
247 #define NBPretBuffSize NBP.parm.Lookup.retBuffSize
248 #define NBPmaxToGet NBP.parm.Lookup.maxToGet
249 #define NBPnumGotten NBP.parm.Lookup.numGotten
250 #define NBPconfirmAddr NBP.parm.Confirm.confirmAddr
251 #define NBPnKillQEl NBPKILL.nKillQEl
252 #define NBPnewSocket NBP.parm.Confirm.newSocket
253 #define ATPioCompletion ATP.ioCompletion
254 #define ATPioResult ATP.ioResult
255 #define ATPuserData ATP.userData
256 #define ATPreqTID ATP.reqTID
257 #define ATPioRefNum ATP.ioRefNum
258 #define ATPcsCode ATP.csCode
259 #define ATPatpSocket ATP.atpSocket
260 #define ATPatpFlags ATP.atpFlags
261 #define ATPaddrBlock ATP.addrBlock
262 #define ATPreqLength ATP.reqLength
263 #define ATPreqPointer ATP.reqPointer
264 #define ATPbdsPointer ATP.bdsPointer
265 #define ATPtimeOutVal SREQ.timeOutVal
266 #define ATPnumOfResps SREQ.numOfResps
267 #define ATPretryCount SREQ.retryCount
268 #define ATPnumOfBuffs OTH1.u.numOfBuffs
269 #define ATPbitMap OTH1.u.bitMap
270 #define ATPrspNum OTH1.u.rspNum
271 #define ATPbdsSize OTH2.bdsSize
272 #define ATPtransID OTH2.transID
273 #define ATPaKillQEl KILL.aKillQEl
274  enum
275  {
276  tLAPRead = 0,
277  tLAPWrite = 1,
278  tDDPRead = 2,
279  tDDPWrite = 3,
280  tNBPLookup = 4,
281  tNBPConfirm = 5,
282  tNBPRegister = 6,
283  tATPSndRequest = 7,
284  tATPGetRequest = 8,
285  tATPSdRsp = 9,
286  tATPAddRsp = 10,
287  tATPRequest = 11,
288  tATPResponse = 12
289  };
290 
291  typedef SInt8 ABCallType;
292  enum
293  {
294  lapProto = 0,
295  ddpProto = 1,
296  nbpProto = 2,
297  atpProto = 3
298  };
299 
300  typedef UInt8 ABProtoType;
301  typedef Byte ABByte;
302  struct LAPAdrBlock
303  {
304  UInt8 dstNodeID;
305  UInt8 srcNodeID;
306  ABByte lapProtType;
307  UInt8 filler;
308  };
309  typedef struct LAPAdrBlock LAPAdrBlock;
310  typedef struct ATQEntry ATQEntry;
311 
312  typedef ATQEntry *ATQEntryPtr;
313  typedef CALLBACK_API_C(long, ATalkTransitionEventProcPtr)(long eventCode,
315  void *eventParameter);
316  typedef STACK_UPP_TYPE(ATalkTransitionEventProcPtr) ATalkTransitionEventUPP;
317  typedef ATalkTransitionEventUPP ATalkTransitionEvent;
318  struct ATQEntry
319  {
320  struct ATQEntry *qLink;
321  short qType;
322  ATalkTransitionEventUPP CallAddr;
323  };
324 
333  struct EntityName
334  {
335  Str32Field objStr;
336  Str32Field typeStr;
337  Str32Field zoneStr;
338  };
339  typedef struct EntityName EntityName;
340  typedef EntityName *EntityPtr;
341  struct AddrBlock
342  {
343  UInt16 aNet;
344  UInt8 aNode;
345  UInt8 aSocket;
346  };
347  typedef struct AddrBlock AddrBlock;
348  struct RetransType
349  {
350  UInt8 retransInterval;
351  UInt8 retransCount;
352  };
353  typedef struct RetransType RetransType;
354  struct BDSElement
355  {
356  short buffSize;
357  void *buffPtr;
358  short dataSize;
359  long userBytes;
360  };
361  typedef struct BDSElement BDSElement;
362  typedef BDSElement BDSType[8];
363  typedef BDSElement *BDSPtr;
364  typedef char BitMapType;
365  struct ATLAPRec
366  {
367  ABCallType abOpcode;
368  SInt8 filler;
369  short abResult;
370  long abUserReference;
371  LAPAdrBlock lapAddress;
372  short lapReqCount;
373  short lapActCount;
374  void *lapDataPtr;
375  };
376  typedef struct ATLAPRec ATLAPRec;
377  typedef ATLAPRec *ATLAPRecPtr;
378  typedef ATLAPRecPtr *ATLAPRecHandle;
379  struct ATDDPRec
380  {
381  ABCallType abOpcode;
382  SInt8 filler;
383  short abResult;
384  long abUserReference;
385  short ddpType;
386  short ddpSocket;
387  AddrBlock ddpAddress;
388  short ddpReqCount;
389  short ddpActCount;
390  void *ddpDataPtr;
391  short ddpNodeID;
392  };
393  typedef struct ATDDPRec ATDDPRec;
394  typedef ATDDPRec *ATDDPRecPtr;
395  typedef ATDDPRecPtr *ATDDPRecHandle;
396  struct ATNBPRec
397  {
398  ABCallType abOpcode;
399  SInt8 filler;
400  short abResult;
401  long abUserReference;
402  EntityPtr nbpEntityPtr;
403  void *nbpBufPtr;
404  short nbpBufSize;
405  short nbpDataField;
406  AddrBlock nbpAddress;
407  RetransType nbpRetransmitInfo;
408  };
409  typedef struct ATNBPRec ATNBPRec;
410  typedef ATNBPRec *ATNBPRecPtr;
411  typedef ATNBPRecPtr *ATNBPRecHandle;
412  struct ATATPRec
413  {
414  ABCallType abOpcode;
415  SInt8 filler1;
416  short abResult;
417  long abUserReference;
418  short atpSocket;
419  AddrBlock atpAddress;
420  short atpReqCount;
421  void *atpDataPtr;
422  BDSPtr atpRspBDSPtr;
423  BitMapType atpBitMap;
424  SInt8 filler2;
425  short atpTransID;
426  short atpActCount;
427  long atpUserData;
428  Boolean atpXO;
429  Boolean atpEOM;
430  short atpTimeOut;
431  short atpRetries;
432  short atpNumBufs;
433  short atpNumRsp;
434  short atpBDSSize;
435  long atpRspUData;
436  void *atpRspBuf;
437  short atpRspSize;
438  };
439  typedef struct ATATPRec ATATPRec;
440  typedef ATATPRec *ATATPRecPtr;
441  typedef ATATPRecPtr *ATATPRecHandle;
443  {
444  UInt8 cmdByte;
445  UInt8 startEndFlag;
446  short forkRefNum;
447  long rwOffset;
448  long reqCount;
449  UInt8 newLineFlag;
450  char newLineChar;
451  };
452  typedef struct AFPCommandBlock AFPCommandBlock;
453  typedef union MPPParamBlock MPPParamBlock;
454  typedef union ATPParamBlock ATPParamBlock;
455  typedef union XPPParamBlock XPPParamBlock;
456 
457  typedef MPPParamBlock *MPPPBPtr;
458  typedef ATPParamBlock *ATPPBPtr;
459  typedef XPPParamBlock *XPPParmBlkPtr;
460  typedef CALLBACK_API_REGISTER68K(void, MPPCompletionProcPtr,
461  (MPPPBPtr thePBptr));
462  typedef CALLBACK_API_REGISTER68K(void, ATPCompletionProcPtr,
463  (ATPPBPtr thePBptr));
464  typedef CALLBACK_API_REGISTER68K(void, XPPCompletionProcPtr,
465  (XPPParmBlkPtr thePBptr));
466  typedef CALLBACK_API_REGISTER68K(void, AttnRoutineProcPtr,
467  (short sessRefnum, short attnBytes));
468  typedef REGISTER_UPP_TYPE(MPPCompletionProcPtr) MPPCompletionUPP;
469  typedef REGISTER_UPP_TYPE(ATPCompletionProcPtr) ATPCompletionUPP;
470  typedef REGISTER_UPP_TYPE(XPPCompletionProcPtr) XPPCompletionUPP;
471  typedef REGISTER_UPP_TYPE(AttnRoutineProcPtr) AttnRoutineUPP;
472 
473  struct WDSElement
474  {
475  short entryLength;
476  Ptr entryPtr;
477  };
478  typedef struct WDSElement WDSElement;
479  struct NTElement
480  {
481  AddrBlock nteAddress;
482  SInt8 filler;
483  SInt8 entityData[99];
484  };
485  typedef struct NTElement NTElement;
487  {
488  Ptr qNext;
490  };
491  typedef struct NamesTableEntry NamesTableEntry;
492  typedef CALLBACK_API_REGISTER68K(Boolean, MPPProtocolHandlerProcPtr,
493  (Ptr SCCAddr1, Ptr SCCAddr2, Ptr MPPLocalVars,
494  Ptr nextFreeByteInRHA,
495  Ptr ReadPacketAndReadRestPtr,
496  short numBytesLeftToReadInPacket));
497  typedef CALLBACK_API_REGISTER68K(Boolean, DDPSocketListenerProcPtr,
498  (Ptr SCCAddr1, Ptr SCCAddr2, Ptr MPPLocalVars,
499  Ptr nextFreeByteInRHA,
500  Ptr ReadPacketAndReadRestPtr,
501  UInt8 packetDestinationNumber,
502  short numBytesLeftToReadInPacket));
503  typedef REGISTER_UPP_TYPE(MPPProtocolHandlerProcPtr) MPPProtocolHandlerUPP;
504  typedef REGISTER_UPP_TYPE(DDPSocketListenerProcPtr) DDPSocketListenerUPP;
542  struct MPPparms
543  {
544  QElem *qLink;
545  short qType;
546  short ioTrap;
547  Ptr ioCmdAddr;
548  ATPCompletionUPP ioCompletion;
549  OSErr ioResult;
550  long userData;
551  short reqTID;
552  short ioRefNum;
553  short csCode;
554  };
555  typedef struct MPPparms MPPparms;
556  struct LAPparms
557  {
558  QElem *qLink;
559  short qType;
560  short ioTrap;
561  Ptr ioCmdAddr;
562  ATPCompletionUPP ioCompletion;
563  OSErr ioResult;
564  long userData;
565  short reqTID;
566  short ioRefNum;
567  short csCode;
568  UInt8 protType;
569  UInt8 filler;
570  union
571  {
572  void *wdsPointer;
573  MPPProtocolHandlerUPP handler;
574  } u;
575  };
576  typedef struct LAPparms LAPparms;
577  struct DDPparms
578  {
579  QElem *qLink;
580  short qType;
581  short ioTrap;
582  Ptr ioCmdAddr;
583  ATPCompletionUPP ioCompletion;
584  OSErr ioResult;
585  long userData;
586  short reqTID;
587  short ioRefNum;
588  short csCode;
589  UInt8 socket;
590  UInt8 checksumFlag;
591  union
592  {
593  void *wdsPointer;
594  DDPSocketListenerUPP listener;
595  } u;
596  };
597  typedef struct DDPparms DDPparms;
598  union NBPPtrs
599  {
600  Ptr ntQElPtr;
601  Ptr entityPtr;
602  };
603  typedef union NBPPtrs NBPPtrs;
605  {
606  UInt8 verifyFlag;
607  struct
608  {
609  void *retBuffPtr;
610  short retBuffSize;
611  short maxToGet;
612  short numGotten;
613  } Lookup;
614  struct
615  {
616  AddrBlock confirmAddr;
617  UInt8 newSocket;
618  SInt8 filler;
619  } Confirm;
620  };
622  struct NBPparms
623  {
624  QElem *qLink;
625  short qType;
626  short ioTrap;
627  Ptr ioCmdAddr;
628  ATPCompletionUPP ioCompletion;
629  OSErr ioResult;
630  long userData;
631  short reqTID;
632  short ioRefNum;
633  short csCode;
634  UInt8 interval;
635  UInt8 count;
637  LookupConfirmParams parm;
638  };
639  typedef struct NBPparms NBPparms;
641  {
642  QElem *qLink;
643  short qType;
644  short ioTrap;
645  Ptr ioCmdAddr;
646  ATPCompletionUPP ioCompletion;
647  OSErr ioResult;
648  long userData;
649  short reqTID;
650  short ioRefNum;
651  short csCode;
652  UInt8 newSelfFlag;
653  UInt8 oldSelfFlag;
654  };
655  typedef struct SetSelfparms SetSelfparms;
657  {
658  QElem *qLink;
659  short qType;
660  short ioTrap;
661  Ptr ioCmdAddr;
662  ATPCompletionUPP ioCompletion;
663  OSErr ioResult;
664  long userData;
665  short reqTID;
666  short ioRefNum;
667  short csCode;
668  void *nKillQEl;
669  };
670  typedef struct NBPKillparms NBPKillparms;
671 
673  {
674  QElem *qLink;
675  short qType;
676  short ioTrap;
677  Ptr ioCmdAddr;
678  ATPCompletionUPP ioCompletion;
679  OSErr ioResult;
680  long userData;
681  short reqTID;
682  short ioRefNum;
683  short csCode;
685  short version;
686  void *varsPtr;
687  void *DCEPtr;
688  short portID;
690  short selfSend;
691  short netLo;
692  short netHi;
693  long ourAdd;
694  long routerAddr;
695  short numOfPHs;
696  short numOfSkts;
697  short numNBPEs;
698  void *nTQueue;
699  short LAlength;
700  void *linkAddr;
701  Ptr zoneName;
702  };
705  {
706  QElem *qLink;
707  short qType;
708  short ioTrap;
709  Ptr ioCmdAddr;
710  ATPCompletionUPP ioCompletion;
711  OSErr ioResult;
712  long userData;
713  short reqTID;
714  short ioRefNum;
715  short csCode;
716  Ptr appName;
717  };
718  typedef struct ATalkClosePrepParm ATalkClosePrepParm;
720  {
721  MPPparms MPP;
726  NBPKillparms NBPKILL;
727  GetAppleTalkInfoParm GAIINFO;
728  ATalkClosePrepParm ATALKCLOSE;
729  };
730 
731  struct XPPPrmBlk
732  {
733  QElem *qLink;
734  short qType;
735  short ioTrap;
736  Ptr ioCmdAddr;
737  XPPCompletionUPP ioCompletion;
738  OSErr ioResult;
739  long cmdResult;
740  short ioVRefNum;
741  short ioRefNum;
742  short csCode;
743  short sessRefnum;
744  UInt8 aspTimeout;
745  UInt8 aspRetry;
746  short cbSize;
747  Ptr cbPtr;
748  short rbSize;
749  Ptr rbPtr;
750  short wdSize;
751  Ptr wdPtr;
752  UInt8 ccbStart[296];
754  };
755  typedef struct XPPPrmBlk XPPPrmBlk;
757  {
758  QElem *qLink;
759  short qType;
760  short ioTrap;
761  Ptr ioCmdAddr;
762  XPPCompletionUPP ioCompletion;
763  OSErr ioResult;
764  long cmdResult;
765  short ioVRefNum;
766  short ioRefNum;
767  short csCode;
768  short aspMaxCmdSize;
770  short numSesss;
771  };
772  typedef struct ASPGetparmsBlk ASPGetparmsBlk;
773  struct ASPAbortPrm
774  {
775  QElem *qLink;
776  short qType;
777  short ioTrap;
778  Ptr ioCmdAddr;
779  XPPCompletionUPP ioCompletion;
780  OSErr ioResult;
781  long cmdResult;
782  short ioVRefNum;
783  short ioRefNum;
784  short csCode;
785  Ptr abortSCBPtr;
786  };
787  typedef struct ASPAbortPrm ASPAbortPrm;
788  struct ASPOpenPrm
789  {
790  QElem *qLink;
791  short qType;
792  short ioTrap;
793  Ptr ioCmdAddr;
794  XPPCompletionUPP ioCompletion;
795  OSErr ioResult;
796  long cmdResult;
797  short ioVRefNum;
798  short ioRefNum;
799  short csCode;
800  short sessRefnum;
801  UInt8 aspTimeout;
802  UInt8 aspRetry;
805  AttnRoutineUPP attnRoutine;
806  };
807  typedef struct ASPOpenPrm ASPOpenPrm;
808  typedef ASPOpenPrm *ASPOpenPrmPtr;
809  struct AFPLoginPrm
810  {
811  QElem *qLink;
812  short qType;
813  short ioTrap;
814  Ptr ioCmdAddr;
815  XPPCompletionUPP ioCompletion;
816  OSErr ioResult;
817  long cmdResult;
818  short ioVRefNum;
819  short ioRefNum;
820  short csCode;
821  short sessRefnum;
822  UInt8 aspTimeout;
823  UInt8 aspRetry;
824  short cbSize;
825  void *cbPtr;
826  short rbSize;
827  void *rbPtr;
829  void *afpSCBPtr;
830  AttnRoutineUPP afpAttnRoutine;
831  UInt8 ccbFill[144];
834  };
835  typedef struct AFPLoginPrm AFPLoginPrm;
836  struct XCallParam
837  {
838  QElem *qLink;
839  short qType;
840  short ioTrap;
841  Ptr ioCmdAddr;
842  XPPCompletionUPP ioCompletion;
843  OSErr ioResult;
844  long cmdResult;
845  short ioVRefNum;
846  short ioRefNum;
847  short csCode;
848  short xppSubCode;
849  UInt8 xppTimeout;
850  UInt8 xppRetry;
851  short filler1;
852  void *zipBuffPtr;
853  short zipNumZones;
854  UInt8 zipLastFlag;
855  UInt8 filler2;
856  UInt8 zipInfoField[70];
857  };
858  typedef struct XCallParam XCallParam;
901  {
902  XPPPrmBlk XPP;
903  ASPGetparmsBlk GETPARM;
904  ASPAbortPrm ABORT;
905  ASPOpenPrm OPEN;
906  AFPLoginPrm LOGIN;
907  XCallParam XCALL;
908  } XPPParamBlock;
910  struct ATPparms
911  {
912  QElem *qLink;
913  short qType;
914  short ioTrap;
915  Ptr ioCmdAddr;
916  ATPCompletionUPP ioCompletion;
917  OSErr ioResult;
918  long userData;
919  short reqTID;
920  short ioRefNum;
921  short csCode;
922  UInt8 atpSocket;
923  UInt8 atpFlags;
925  short reqLength;
926  void *reqPointer;
927  void *bdsPointer;
928  };
929  typedef struct ATPparms ATPparms;
931  {
932  QElem *qLink;
933  short qType;
934  short ioTrap;
935  Ptr ioCmdAddr;
936  ATPCompletionUPP ioCompletion;
937  OSErr ioResult;
938  long userData;
939  short reqTID;
940  short ioRefNum;
941  short csCode;
942  UInt8 atpSocket;
943  UInt8 atpFlags;
945  short reqLength;
946  void *reqPointer;
947  void *bdsPointer;
948  UInt8 numOfBuffs;
949  UInt8 timeOutVal;
950  UInt8 numOfResps;
951  UInt8 retryCount;
952  short intBuff;
953  UInt8 TRelTime;
954  SInt8 filler0;
955  };
956  typedef struct SendReqparms SendReqparms;
957 
958  struct ATPmisc1
959  {
960  QElem *qLink;
961  short qType;
962  short ioTrap;
963  Ptr ioCmdAddr;
964  ATPCompletionUPP ioCompletion;
965  OSErr ioResult;
966  long userData;
967  short reqTID;
968  short ioRefNum;
969  short csCode;
970  UInt8 atpSocket;
971  UInt8 atpFlags;
973  short reqLength;
974  void *reqPointer;
975  void *bdsPointer;
976  union
977  {
978  UInt8 bitMap;
979  UInt8 numOfBuffs;
980  UInt8 rspNum;
981  } u;
982  };
983  typedef struct ATPmisc1 ATPmisc1;
984  struct ATPmisc2
985  {
986  QElem *qLink;
987  short qType;
988  short ioTrap;
989  Ptr ioCmdAddr;
990  ATPCompletionUPP ioCompletion;
991  OSErr ioResult;
992  long userData;
993  short reqTID;
994  short ioRefNum;
995  short csCode;
996  UInt8 atpSocket;
997  UInt8 atpFlags;
999  short reqLength;
1000  void *reqPointer;
1001  void *bdsPointer;
1002  UInt8 filler;
1003  UInt8 bdsSize;
1004  short transID;
1005  };
1006  typedef struct ATPmisc2 ATPmisc2;
1007  struct Killparms
1008  {
1009  QElem *qLink;
1010  short qType;
1011  short ioTrap;
1013  ATPCompletionUPP ioCompletion;
1014  OSErr ioResult;
1015  long userData;
1016  short reqTID;
1017  short ioRefNum;
1018  short csCode;
1019  UInt8 atpSocket;
1020  UInt8 atpFlags;
1022  short reqLength;
1023  void *reqPointer;
1024  void *bdsPointer;
1025  void *aKillQEl;
1026  };
1027  typedef struct Killparms Killparms;
1056  {
1057  ATPParms ATP;
1058  SendReqParms SREQ;
1059  ATPmisc OTH;
1060  ATPmisc OTH;
1062  } ATPParamBlock;
1064 #if CALL_NOT_IN_CARBON
1073  ATalkTransitionEventUPP
1074  NewATalkTransitionEventUPP(ATalkTransitionEventProcPtr userRoutine);
1075 #if !OPAQUE_UPP_TYPES
1076  enum
1077  {
1078  uppATalkTransitionEventProcInfo = 0x00000FF1
1079  };
1080 #ifdef __cplusplus
1081  inline ATalkTransitionEventUPP
1082  NewATalkTransitionEventUPP(ATalkTransitionEventProcPtr userRoutine)
1083  {
1084  return (ATalkTransitionEventUPP)NewRoutineDescriptor(
1085  (ProcPtr)(userRoutine), uppATalkTransitionEventProcInfo,
1086  GetCurrentArchitecture());
1087  }
1088 #else
1089 #define NewATalkTransitionEventUPP(userRoutine) \
1090  (ATalkTransitionEventUPP) NewRoutineDescriptor( \
1091  (ProcPtr)(userRoutine), uppATalkTransitionEventProcInfo, \
1092  GetCurrentArchitecture())
1093 #endif
1094 #endif
1095 
1104  MPPCompletionUPP
1105  NewMPPCompletionUPP(MPPCompletionProcPtr userRoutine);
1106 #if !OPAQUE_UPP_TYPES
1107  enum
1108  {
1109  uppMPPCompletionProcInfo = 0x00009802
1110  };
1111 #ifdef __cplusplus
1112  inline MPPCompletionUPP NewMPPCompletionUPP(MPPCompletionProcPtr userRoutine)
1113  {
1114  return (MPPCompletionUPP)NewRoutineDescriptor((ProcPtr)(userRoutine),
1115  uppMPPCompletionProcInfo,
1116  GetCurrentArchitecture());
1117  }
1118 #else
1119 #define NewMPPCompletionUPP(userRoutine) \
1120  (MPPCompletionUPP) \
1121  NewRoutineDescriptor((ProcPtr)(userRoutine), uppMPPCompletionProcInfo, \
1122  GetCurrentArchitecture())
1123 #endif
1124 #endif
1125 
1134  ATPCompletionUPP
1135  NewATPCompletionUPP(ATPCompletionProcPtr userRoutine);
1136 #if !OPAQUE_UPP_TYPES
1137  enum
1138  {
1139  uppATPCompletionProcInfo = 0x00009802
1140  };
1141 #ifdef __cplusplus
1142  inline ATPCompletionUPP NewATPCompletionUPP(ATPCompletionProcPtr userRoutine)
1143  {
1144  return (ATPCompletionUPP)NewRoutineDescriptor((ProcPtr)(userRoutine),
1145  uppATPCompletionProcInfo,
1146  GetCurrentArchitecture());
1147  }
1148 #else
1149 #define NewATPCompletionUPP(userRoutine) \
1150  (ATPCompletionUPP) \
1151  NewRoutineDescriptor((ProcPtr)(userRoutine), uppATPCompletionProcInfo, \
1152  GetCurrentArchitecture())
1153 #endif
1154 #endif
1155 
1164  XPPCompletionUPP
1165  NewXPPCompletionUPP(XPPCompletionProcPtr userRoutine);
1166 #if !OPAQUE_UPP_TYPES
1167  enum
1168  {
1169  uppXPPCompletionProcInfo = 0x00009802
1170  };
1171 #ifdef __cplusplus
1172  inline XPPCompletionUPP NewXPPCompletionUPP(XPPCompletionProcPtr userRoutine)
1173  {
1174  return (XPPCompletionUPP)NewRoutineDescriptor((ProcPtr)(userRoutine),
1175  uppXPPCompletionProcInfo,
1176  GetCurrentArchitecture());
1177  }
1178 #else
1179 #define NewXPPCompletionUPP(userRoutine) \
1180  (XPPCompletionUPP) \
1181  NewRoutineDescriptor((ProcPtr)(userRoutine), uppXPPCompletionProcInfo, \
1182  GetCurrentArchitecture())
1183 #endif
1184 #endif
1185 
1194  AttnRoutineUPP
1195  NewAttnRoutineUPP(AttnRoutineProcPtr userRoutine);
1196 #if !OPAQUE_UPP_TYPES
1197  enum
1198  {
1199  uppAttnRoutineProcInfo = 0x00061002
1200  };
1201 #ifdef __cplusplus
1202  inline AttnRoutineUPP NewAttnRoutineUPP(AttnRoutineProcPtr userRoutine)
1203  {
1204  return (AttnRoutineUPP)NewRoutineDescriptor(
1205  (ProcPtr)(userRoutine), uppAttnRoutineProcInfo, GetCurrentArchitecture());
1206  }
1207 #else
1208 #define NewAttnRoutineUPP(userRoutine) \
1209  (AttnRoutineUPP) \
1210  NewRoutineDescriptor((ProcPtr)(userRoutine), uppAttnRoutineProcInfo, \
1211  GetCurrentArchitecture())
1212 #endif
1213 #endif
1214 
1223  MPPProtocolHandlerUPP
1224  NewMPPProtocolHandlerUPP(MPPProtocolHandlerProcPtr userRoutine);
1225 #if !OPAQUE_UPP_TYPES
1226  enum
1227  {
1228  uppMPPProtocolHandlerProcInfo = 0x0000007F
1229  };
1230 #ifdef __cplusplus
1231  inline MPPProtocolHandlerUPP
1232  NewMPPProtocolHandlerUPP(MPPProtocolHandlerProcPtr userRoutine)
1233  {
1234  return (MPPProtocolHandlerUPP)NewRoutineDescriptor(
1235  (ProcPtr)(userRoutine), uppMPPProtocolHandlerProcInfo,
1236  GetCurrentArchitecture());
1237  }
1238 #else
1239 #define NewMPPProtocolHandlerUPP(userRoutine) \
1240  (MPPProtocolHandlerUPP) NewRoutineDescriptor((ProcPtr)(userRoutine), \
1241  uppMPPProtocolHandlerProcInfo, \
1242  GetCurrentArchitecture())
1243 #endif
1244 #endif
1245 
1254  DDPSocketListenerUPP
1255  NewDDPSocketListenerUPP(DDPSocketListenerProcPtr userRoutine);
1256 #if !OPAQUE_UPP_TYPES
1257  enum
1258  {
1259  uppDDPSocketListenerProcInfo = 0x0000008F
1260  };
1261 #ifdef __cplusplus
1262  inline DDPSocketListenerUPP
1263  NewDDPSocketListenerUPP(DDPSocketListenerProcPtr userRoutine)
1264  {
1265  return (DDPSocketListenerUPP)NewRoutineDescriptor(
1266  (ProcPtr)(userRoutine), uppDDPSocketListenerProcInfo,
1267  GetCurrentArchitecture());
1268  }
1269 #else
1270 #define NewDDPSocketListenerUPP(userRoutine) \
1271  (DDPSocketListenerUPP) NewRoutineDescriptor((ProcPtr)(userRoutine), \
1272  uppDDPSocketListenerProcInfo, \
1273  GetCurrentArchitecture())
1274 #endif
1275 #endif
1276 
1285  void
1286  DisposeATalkTransitionEventUPP(ATalkTransitionEventUPP userUPP);
1287 #if !OPAQUE_UPP_TYPES
1288 #ifdef __cplusplus
1289  inline void DisposeATalkTransitionEventUPP(ATalkTransitionEventUPP userUPP)
1290  {
1291  DisposeRoutineDescriptor((UniversalProcPtr)userUPP);
1292  }
1293 #else
1294 #define DisposeATalkTransitionEventUPP(userUPP) \
1295  DisposeRoutineDescriptor(userUPP)
1296 #endif
1297 #endif
1298 
1307  void
1308  DisposeMPPCompletionUPP(MPPCompletionUPP userUPP);
1309 #if !OPAQUE_UPP_TYPES
1310 #ifdef __cplusplus
1311  inline void DisposeMPPCompletionUPP(MPPCompletionUPP userUPP)
1312  {
1313  DisposeRoutineDescriptor((UniversalProcPtr)userUPP);
1314  }
1315 #else
1316 #define DisposeMPPCompletionUPP(userUPP) DisposeRoutineDescriptor(userUPP)
1317 #endif
1318 #endif
1319 
1328  void
1329  DisposeATPCompletionUPP(ATPCompletionUPP userUPP);
1330 #if !OPAQUE_UPP_TYPES
1331 #ifdef __cplusplus
1332  inline void DisposeATPCompletionUPP(ATPCompletionUPP userUPP)
1333  {
1334  DisposeRoutineDescriptor((UniversalProcPtr)userUPP);
1335  }
1336 #else
1337 #define DisposeATPCompletionUPP(userUPP) DisposeRoutineDescriptor(userUPP)
1338 #endif
1339 #endif
1340 
1349  void
1350  DisposeXPPCompletionUPP(XPPCompletionUPP userUPP);
1351 #if !OPAQUE_UPP_TYPES
1352 #ifdef __cplusplus
1353  inline void DisposeXPPCompletionUPP(XPPCompletionUPP userUPP)
1354  {
1355  DisposeRoutineDescriptor((UniversalProcPtr)userUPP);
1356  }
1357 #else
1358 #define DisposeXPPCompletionUPP(userUPP) DisposeRoutineDescriptor(userUPP)
1359 #endif
1360 #endif
1361 
1370  void
1371  DisposeAttnRoutineUPP(AttnRoutineUPP userUPP);
1372 #if !OPAQUE_UPP_TYPES
1373 #ifdef __cplusplus
1374  inline void DisposeAttnRoutineUPP(AttnRoutineUPP userUPP)
1375  {
1376  DisposeRoutineDescriptor((UniversalProcPtr)userUPP);
1377  }
1378 #else
1379 #define DisposeAttnRoutineUPP(userUPP) DisposeRoutineDescriptor(userUPP)
1380 #endif
1381 #endif
1382 
1391  void
1392  DisposeMPPProtocolHandlerUPP(MPPProtocolHandlerUPP userUPP);
1393 #if !OPAQUE_UPP_TYPES
1394 #ifdef __cplusplus
1395  inline void DisposeMPPProtocolHandlerUPP(MPPProtocolHandlerUPP userUPP)
1396  {
1397  DisposeRoutineDescriptor((UniversalProcPtr)userUPP);
1398  }
1399 #else
1400 #define DisposeMPPProtocolHandlerUPP(userUPP) DisposeRoutineDescriptor(userUPP)
1401 #endif
1402 #endif
1403 
1412  void
1413  DisposeDDPSocketListenerUPP(DDPSocketListenerUPP userUPP);
1414 #if !OPAQUE_UPP_TYPES
1415 #ifdef __cplusplus
1416  inline void DisposeDDPSocketListenerUPP(DDPSocketListenerUPP userUPP)
1417  {
1418  DisposeRoutineDescriptor((UniversalProcPtr)userUPP);
1419  }
1420 #else
1421 #define DisposeDDPSocketListenerUPP(userUPP) DisposeRoutineDescriptor(userUPP)
1422 #endif
1423 #endif
1424 
1433  long
1435  void *eventParameter,
1436  ATalkTransitionEventUPP userUPP);
1437 #if !OPAQUE_UPP_TYPES
1438 #ifdef __cplusplus
1439  inline long InvokeATalkTransitionEventUPP(long eventCode, ATQEntryPtr qElem,
1440  void *eventParameter,
1441  ATalkTransitionEventUPP userUPP)
1442  {
1443  return (long)CALL_THREE_PARAMETER_UPP(userUPP,
1444  uppATalkTransitionEventProcInfo,
1445  eventCode, qElem, eventParameter);
1446  }
1447 #else
1448 #define InvokeATalkTransitionEventUPP(eventCode, qElem, eventParameter, \
1449  userUPP) \
1450  (long)CALL_THREE_PARAMETER_UPP((userUPP), uppATalkTransitionEventProcInfo, \
1451  (eventCode), (qElem), (eventParameter))
1452 #endif
1453 #endif
1454 
1463 #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
1464 #pragma parameter InvokeMPPCompletionUPP(__A0, __A1)
1465 #endif
1466  void
1467  InvokeMPPCompletionUPP(MPPPBPtr thePBptr, MPPCompletionUPP userUPP);
1468 #if !OPAQUE_UPP_TYPES && \
1469  (!TARGET_OS_MAC || !TARGET_CPU_68K || TARGET_RT_MAC_CFM)
1470 #ifdef __cplusplus
1471  inline void InvokeMPPCompletionUPP(MPPPBPtr thePBptr,
1472  MPPCompletionUPP userUPP)
1473  {
1474  CALL_ONE_PARAMETER_UPP(userUPP, uppMPPCompletionProcInfo, thePBptr);
1475  }
1476 #else
1477 #define InvokeMPPCompletionUPP(thePBptr, userUPP) \
1478  CALL_ONE_PARAMETER_UPP((userUPP), uppMPPCompletionProcInfo, (thePBptr))
1479 #endif
1480 #endif
1481 
1490 #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
1491 #pragma parameter InvokeATPCompletionUPP(__A0, __A1)
1492 #endif
1493  void
1494  InvokeATPCompletionUPP(ATPPBPtr thePBptr, ATPCompletionUPP userUPP);
1495 #if !OPAQUE_UPP_TYPES && \
1496  (!TARGET_OS_MAC || !TARGET_CPU_68K || TARGET_RT_MAC_CFM)
1497 #ifdef __cplusplus
1498  inline void InvokeATPCompletionUPP(ATPPBPtr thePBptr,
1499  ATPCompletionUPP userUPP)
1500  {
1501  CALL_ONE_PARAMETER_UPP(userUPP, uppATPCompletionProcInfo, thePBptr);
1502  }
1503 #else
1504 #define InvokeATPCompletionUPP(thePBptr, userUPP) \
1505  CALL_ONE_PARAMETER_UPP((userUPP), uppATPCompletionProcInfo, (thePBptr))
1506 #endif
1507 #endif
1508 
1517 #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
1518 #pragma parameter InvokeXPPCompletionUPP(__A0, __A1)
1519 #endif
1520  void
1521  InvokeXPPCompletionUPP(XPPParmBlkPtr thePBptr, XPPCompletionUPP userUPP);
1522 #if !OPAQUE_UPP_TYPES && \
1523  (!TARGET_OS_MAC || !TARGET_CPU_68K || TARGET_RT_MAC_CFM)
1524 #ifdef __cplusplus
1525  inline void InvokeXPPCompletionUPP(XPPParmBlkPtr thePBptr,
1526  XPPCompletionUPP userUPP)
1527  {
1528  CALL_ONE_PARAMETER_UPP(userUPP, uppXPPCompletionProcInfo, thePBptr);
1529  }
1530 #else
1531 #define InvokeXPPCompletionUPP(thePBptr, userUPP) \
1532  CALL_ONE_PARAMETER_UPP((userUPP), uppXPPCompletionProcInfo, (thePBptr))
1533 #endif
1534 #endif
1535 
1544 #if TARGET_OS_MAC && TARGET_CPU_68K && !TARGET_RT_MAC_CFM
1545 #pragma parameter InvokeAttnRoutineUPP(__D0, __D1, __A0)
1546 #endif
1547  void
1548  InvokeAttnRoutineUPP(short sessRefnum, short attnBytes, AttnRoutineUPP userUPP);
1549 #if !OPAQUE_UPP_TYPES && \
1550  (!TARGET_OS_MAC || !TARGET_CPU_68K || TARGET_RT_MAC_CFM)
1551 #ifdef __cplusplus
1552  inline void InvokeAttnRoutineUPP(short sessRefnum, short attnBytes,
1553  AttnRoutineUPP userUPP)
1554  {
1555  CALL_TWO_PARAMETER_UPP(userUPP, uppAttnRoutineProcInfo, sessRefnum,
1556  attnBytes);
1557  }
1558 #else
1559 #define InvokeAttnRoutineUPP(sessRefnum, attnBytes, userUPP) \
1560  CALL_TWO_PARAMETER_UPP((userUPP), uppAttnRoutineProcInfo, (sessRefnum), \
1561  (attnBytes))
1562 #endif
1563 #endif
1564 
1573  Boolean
1574  InvokeMPPProtocolHandlerUPP(Ptr SCCAddr1, Ptr SCCAddr2, Ptr MPPLocalVars,
1575  Ptr nextFreeByteInRHA, Ptr ReadPacketAndReadRestPtr,
1576  short numBytesLeftToReadInPacket,
1577  MPPProtocolHandlerUPP userUPP);
1578 #if !OPAQUE_UPP_TYPES && \
1579  (!TARGET_OS_MAC || !TARGET_CPU_68K || TARGET_RT_MAC_CFM)
1580 #ifdef __cplusplus
1581  inline Boolean InvokeMPPProtocolHandlerUPP(Ptr SCCAddr1, Ptr SCCAddr2,
1582  Ptr MPPLocalVars,
1583  Ptr nextFreeByteInRHA,
1584  Ptr ReadPacketAndReadRestPtr,
1585  short numBytesLeftToReadInPacket,
1586  MPPProtocolHandlerUPP userUPP)
1587  {
1588  return (Boolean)CALL_SIX_PARAMETER_UPP(
1589  userUPP, uppMPPProtocolHandlerProcInfo, SCCAddr1, SCCAddr2, MPPLocalVars,
1590  nextFreeByteInRHA, ReadPacketAndReadRestPtr, numBytesLeftToReadInPacket);
1591  }
1592 #else
1593 #define InvokeMPPProtocolHandlerUPP( \
1594  SCCAddr1, SCCAddr2, MPPLocalVars, nextFreeByteInRHA, \
1595  ReadPacketAndReadRestPtr, numBytesLeftToReadInPacket, userUPP) \
1596  (Boolean) CALL_SIX_PARAMETER_UPP( \
1597  (userUPP), uppMPPProtocolHandlerProcInfo, (SCCAddr1), (SCCAddr2), \
1598  (MPPLocalVars), (nextFreeByteInRHA), (ReadPacketAndReadRestPtr), \
1599  (numBytesLeftToReadInPacket))
1600 #endif
1601 #endif
1602 
1611  Boolean
1612  InvokeDDPSocketListenerUPP(Ptr SCCAddr1, Ptr SCCAddr2, Ptr MPPLocalVars,
1613  Ptr nextFreeByteInRHA, Ptr ReadPacketAndReadRestPtr,
1614  UInt8 packetDestinationNumber,
1615  short numBytesLeftToReadInPacket,
1616  DDPSocketListenerUPP userUPP);
1617 #if !OPAQUE_UPP_TYPES && \
1618  (!TARGET_OS_MAC || !TARGET_CPU_68K || TARGET_RT_MAC_CFM)
1619 #ifdef __cplusplus
1621  Ptr SCCAddr1, Ptr SCCAddr2, Ptr MPPLocalVars, Ptr nextFreeByteInRHA,
1622  Ptr ReadPacketAndReadRestPtr, UInt8 packetDestinationNumber,
1623  short numBytesLeftToReadInPacket, DDPSocketListenerUPP userUPP)
1624  {
1625  return (Boolean)CALL_SEVEN_PARAMETER_UPP(
1626  userUPP, uppDDPSocketListenerProcInfo, SCCAddr1, SCCAddr2, MPPLocalVars,
1627  nextFreeByteInRHA, ReadPacketAndReadRestPtr, packetDestinationNumber,
1628  numBytesLeftToReadInPacket);
1629  }
1630 #else
1631 #define InvokeDDPSocketListenerUPP( \
1632  SCCAddr1, SCCAddr2, MPPLocalVars, nextFreeByteInRHA, \
1633  ReadPacketAndReadRestPtr, packetDestinationNumber, \
1634  numBytesLeftToReadInPacket, userUPP) \
1635  (Boolean) CALL_SEVEN_PARAMETER_UPP( \
1636  (userUPP), uppDDPSocketListenerProcInfo, (SCCAddr1), (SCCAddr2), \
1637  (MPPLocalVars), (nextFreeByteInRHA), (ReadPacketAndReadRestPtr), \
1638  (packetDestinationNumber), (numBytesLeftToReadInPacket))
1639 #endif
1640 #endif
1641 
1642 #endif
1644 #if CALL_NOT_IN_CARBON || OLDROUTINENAMES
1646 #define NewATalkTransitionEventProc(userRoutine) \
1647  NewATalkTransitionEventUPP(userRoutine)
1648 #define NewMPPCompletionProc(userRoutine) NewMPPCompletionUPP(userRoutine)
1649 #define NewATPCompletionProc(userRoutine) NewATPCompletionUPP(userRoutine)
1650 #define NewXPPCompletionProc(userRoutine) NewXPPCompletionUPP(userRoutine)
1651 #define NewAttnRoutineProc(userRoutine) NewAttnRoutineUPP(userRoutine)
1652 #define NewMPPProtocolHandlerProc(userRoutine) \
1653  NewMPPProtocolHandlerUPP(userRoutine)
1654 #define NewDDPSocketListenerProc(userRoutine) \
1655  NewDDPSocketListenerUPP(userRoutine)
1656 #define CallATalkTransitionEventProc(userRoutine, eventCode, qElem, \
1657  eventParameter) \
1658  InvokeATalkTransitionEventUPP(eventCode, qElem, eventParameter, userRoutine)
1659 #define CallMPPCompletionProc(userRoutine, thePBptr) \
1660  InvokeMPPCompletionUPP(thePBptr, userRoutine)
1661 #define CallATPCompletionProc(userRoutine, thePBptr) \
1662  InvokeATPCompletionUPP(thePBptr, userRoutine)
1663 #define CallXPPCompletionProc(userRoutine, thePBptr) \
1664  InvokeXPPCompletionUPP(thePBptr, userRoutine)
1665 #define CallAttnRoutineProc(userRoutine, sessRefnum, attnBytes) \
1666  InvokeAttnRoutineUPP(sessRefnum, attnBytes, userRoutine)
1667 #define CallMPPProtocolHandlerProc( \
1668  userRoutine, SCCAddr1, SCCAddr2, MPPLocalVars, nextFreeByteInRHA, \
1669  ReadPacketAndReadRestPtr, numBytesLeftToReadInPacket) \
1670  InvokeMPPProtocolHandlerUPP(SCCAddr1, SCCAddr2, MPPLocalVars, \
1671  nextFreeByteInRHA, ReadPacketAndReadRestPtr, \
1672  numBytesLeftToReadInPacket, userRoutine)
1673 #define CallDDPSocketListenerProc( \
1674  userRoutine, SCCAddr1, SCCAddr2, MPPLocalVars, nextFreeByteInRHA, \
1675  ReadPacketAndReadRestPtr, packetDestinationNumber, \
1676  numBytesLeftToReadInPacket) \
1677  InvokeDDPSocketListenerUPP(SCCAddr1, SCCAddr2, MPPLocalVars, \
1678  nextFreeByteInRHA, ReadPacketAndReadRestPtr, \
1679  packetDestinationNumber, \
1680  numBytesLeftToReadInPacket, userRoutine)
1681 #endif
1683 #if CALL_NOT_IN_CARBON
1684 
1699  OSErr
1700  OpenXPP(short *xppRefnum);
1701 
1751  OSErr
1753 
1780  OSErr
1782 
1809  OSErr
1811 
1841  OSErr
1843 
1868  OSErr
1870 
1921  OSErr
1923 
1972  OSErr
1974 
2018  OSErr
2020 
2021 #define ASPGetStatusSync(paramBlock) ASPGetStatus((paramBlock), false)
2022 
2068  OSErr
2070 
2122  OSErr
2124 
2176  OSErr
2178 
2231  OSErr
2232  GetMyZone(XPPParmBlkPtr thePBptr, Boolean async);
2233 
2272  OSErr
2273  PAttachPH(MPPPBPtr thePBptr, Boolean async);
2274 
2309  OSErr
2310  PDetachPH(MPPPBPtr thePBptr, Boolean async);
2311 
2351  OSErr
2352  PWriteLAP(MPPPBPtr thePBptr, Boolean async);
2353 
2390  OSErr
2391  POpenSkt(MPPPBPtr thePBptr, Boolean async);
2392 
2423  OSErr
2424  PCloseSkt(MPPPBPtr thePBptr, Boolean async);
2425 
2462  OSErr
2463  PWriteDDP(MPPPBPtr thePBptr, Boolean async);
2464 
2514  OSErr
2515  PRegisterName(MPPPBPtr thePBptr, Boolean async);
2516 
2567  OSErr
2568  PLookupName(MPPPBPtr thePBptr, Boolean async);
2569 
2570 #define PLookupNameSync(paramBlock) PLookupName((paramBlock), false)
2571 
2613  OSErr
2614  PConfirmName(MPPPBPtr thePBptr, Boolean async);
2615 
2647  OSErr
2648  PRemoveName(MPPPBPtr thePBptr, Boolean async);
2649 
2676  OSErr
2677  PSetSelfSend(MPPPBPtr thePBptr, Boolean async);
2678 
2707  OSErr
2708  PKillNBP(MPPPBPtr thePBptr, Boolean async);
2709 
2763  OSErr
2765 
2804  OSErr
2806 
2848  OSErr
2849  POpenATPSkt(ATPPBPtr thePBptr, Boolean async);
2850 
2885  OSErr
2886  PCloseATPSkt(ATPPBPtr thePBPtr, Boolean async);
2887 
2939  OSErr
2940  PSendRequest(ATPPBPtr thePBPtr, Boolean async);
2941 
2991  OSErr
2992  PGetRequest(ATPPBPtr thePBPtr, Boolean async);
2993 
3045  OSErr
3046  PSendResponse(ATPPBPtr thePBPtr, Boolean async);
3047 
3099  OSErr
3100  PAddResponse(ATPPBPtr thePBPtr, Boolean async);
3101 
3139  OSErr
3140  PRelTCB(ATPPBPtr thePBPtr, Boolean async);
3141 
3184  OSErr
3185  PRelRspCB(ATPPBPtr thePBPtr, Boolean async);
3186 
3240  OSErr
3241  PNSendRequest(ATPPBPtr thePBPtr, Boolean async);
3242 
3271  OSErr
3272  PKillSendReq(ATPPBPtr thePBPtr, Boolean async);
3273 
3302  OSErr
3303  PKillGetReq(ATPPBPtr thePBPtr, Boolean async);
3304 
3340  OSErr
3342 
3351  void
3352  BuildLAPwds(Ptr wdsPtr, Ptr dataPtr, short destHost, short prototype,
3353  short frameLen);
3354 
3363  void
3364  BuildDDPwds(Ptr wdsPtr, Ptr headerPtr, Ptr dataPtr, AddrBlock netAddr,
3365  short ddpType, short dataLen);
3366 
3375  void
3376  NBPSetEntity(Ptr buffer, ConstStr32Param nbpObject, ConstStr32Param nbpType,
3377  ConstStr32Param nbpZone);
3378 
3398  void
3399  NBPSetNTE(Ptr ntePtr, ConstStr32Param nbpObject, ConstStr32Param nbpType,
3400  ConstStr32Param nbpZone, short socket);
3401 
3416  short
3418 
3439  short
3440  BuildBDS(Ptr buffPtr, Ptr bdsPtr, short buffSize);
3441 
3450  OSErr
3451  MPPOpen(void);
3452 
3489  OSErr
3490  LAPAddATQ(ATQEntryPtr theATQEntry);
3491 
3512  OSErr
3513  LAPRmvATQ(ATQEntryPtr theATQEntry);
3514 
3523  OSErr
3524  ATPLoad(void);
3525 
3534  OSErr
3535  ATPUnload(void);
3536 
3545  OSErr
3546  NBPExtract(Ptr theBuffer, short numInBuf, short whichOne, EntityName *abEntity,
3547  AddrBlock *address);
3548 
3568  OSErr
3569  GetNodeAddress(short *myNode, short *myNet);
3570 
3581  Boolean
3582  IsMPPOpen(void);
3583 
3594  Boolean
3595  IsATPOpen(void);
3596 
3622  void
3623  ATEvent(long event, Ptr infoPtr);
3624 
3633  OSErr
3634  ATPreFlightEvent(long event, long cancel, Ptr infoPtr);
3635 
3641 #endif
3643 #if TARGET_CPU_68K
3644 #if CALL_NOT_IN_CARBON
3653  OSErr
3654  MPPClose(void);
3655 
3664  OSErr
3665  LAPOpenProtocol(ABByte theLAPType, Ptr protoPtr);
3666 
3675  OSErr
3676  LAPCloseProtocol(ABByte theLAPType);
3677 
3686  OSErr
3687  LAPWrite(ATLAPRecHandle abRecord, Boolean async);
3688 
3697  OSErr
3698  LAPRead(ATLAPRecHandle abRecord, Boolean async);
3699 
3708  OSErr
3709  LAPRdCancel(ATLAPRecHandle abRecord);
3710 
3719  OSErr
3720  DDPOpenSocket(short *theSocket, Ptr sktListener);
3721 
3730  OSErr
3731  DDPCloseSocket(short theSocket);
3732 
3741  OSErr
3742  DDPRead(ATDDPRecHandle abRecord, Boolean retCksumErrs, Boolean async);
3743 
3752  OSErr
3753  DDPWrite(ATDDPRecHandle abRecord, Boolean doChecksum, Boolean async);
3754 
3763  OSErr
3764  DDPRdCancel(ATDDPRecHandle abRecord);
3765 
3774  OSErr
3775  ATPOpenSocket(AddrBlock addrRcvd, short *atpSocket);
3776 
3785  OSErr
3786  ATPCloseSocket(short atpSocket);
3787 
3796  OSErr
3797  ATPSndRequest(ATATPRecHandle abRecord, Boolean async);
3798 
3807  OSErr
3808  ATPRequest(ATATPRecHandle abRecord, Boolean async);
3809 
3818  OSErr
3819  ATPReqCancel(ATATPRecHandle abRecord, Boolean async);
3820 
3829  OSErr
3830  ATPGetRequest(ATATPRecHandle abRecord, Boolean async);
3831 
3840  OSErr
3841  ATPSndRsp(ATATPRecHandle abRecord, Boolean async);
3842 
3851  OSErr
3852  ATPAddRsp(ATATPRecHandle abRecord);
3853 
3862  OSErr
3863  ATPResponse(ATATPRecHandle abRecord, Boolean async);
3864 
3873  OSErr
3874  ATPRspCancel(ATATPRecHandle abRecord, Boolean async);
3875 
3884  OSErr
3885  NBPRegister(ATNBPRecHandle abRecord, Boolean async);
3886 
3895  OSErr
3896  NBPLookup(ATNBPRecHandle abRecord, Boolean async);
3897 
3906  OSErr
3907  NBPConfirm(ATNBPRecHandle abRecord, Boolean async);
3908 
3917  OSErr
3918  NBPRemove(EntityPtr abEntity);
3919 
3928  OSErr
3929  NBPLoad(void);
3930 
3939  OSErr
3940  NBPUnload(void);
3941 
3942 #endif
3944 #endif
3946 #if PRAGMA_STRUCT_ALIGN
3947 #pragma options align = reset
3948 #elif PRAGMA_STRUCT_PACKPUSH
3949 #pragma pack(pop)
3950 #elif PRAGMA_STRUCT_PACK
3951 #pragma pack()
3952 #endif
3953 
3954 #ifdef PRAGMA_IMPORT_OFF
3955 #pragma import off
3956 #elif PRAGMA_IMPORT
3957 #pragma import reset
3958 #endif
3959 
3960 #ifdef __cplusplus
3961 }
3962 #endif
3963 
3964 #endif
Boolean IsATPOpen(void)
Is the .ATP driver loaded and running?
Boolean InvokeDDPSocketListenerUPP(Ptr SCCAddr1, Ptr SCCAddr2, Ptr MPPLocalVars, Ptr nextFreeByteInRHA, Ptr ReadPacketAndReadRestPtr, UInt8 packetDestinationNumber, short numBytesLeftToReadInPacket, DDPSocketListenerUPP userUPP)
OSErr PGetAppleTalkInfo(MPPPBPtr thePBptr, Boolean async)
PGetAppleTalkInfo Obtain information about The .MPP Driver.
void DisposeMPPCompletionUPP(MPPCompletionUPP userUPP)
OSErr MPPOpen(void)
#define NewMPPCompletionUPP(userRoutine)
Definition: AppleTalk.h:1119
OSErr POpenATPSkt(ATPPBPtr thePBptr, Boolean async)
Open a socket for the purpose of receiving requests.
OSErr PNSendRequest(ATPPBPtr thePBPtr, Boolean async)
Send an ATP request to another socket.
OSErr PKillGetReq(ATPPBPtr thePBPtr, Boolean async)
Kill a PGetRequest.
@ scbMemSize
Definition: AppleTalk.h:185
@ xppFlagClr
Definition: AppleTalk.h:186
#define NewATalkTransitionEventUPP(userRoutine)
Definition: AppleTalk.h:1089
OSErr AFPCommand(XPPParmBlkPtr thePBptr, Boolean async)
Pass an AFP command to the server.
void DisposeDDPSocketListenerUPP(DDPSocketListenerUPP userUPP)
@ getRequest
Definition: AppleTalk.h:99
@ relTCB
Definition: AppleTalk.h:102
@ killGetReq
Definition: AppleTalk.h:103
@ addResponse
Definition: AppleTalk.h:97
@ closeATPSkt
Definition: AppleTalk.h:96
@ openATPSkt
Definition: AppleTalk.h:100
@ killAllGetReq
Definition: AppleTalk.h:105
@ killSendReq
Definition: AppleTalk.h:104
@ relRspCB
Definition: AppleTalk.h:95
@ sendRequest
Definition: AppleTalk.h:101
@ nSendRequest
Definition: AppleTalk.h:94
@ sendResponse
Definition: AppleTalk.h:98
OSErr PSetSelfSend(MPPPBPtr thePBptr, Boolean async)
Enable or disable intranode delivery.
OSErr PWriteDDP(MPPPBPtr thePBptr, Boolean async)
Send a datagram to another socket.
OSErr PRemoveName(MPPPBPtr thePBptr, Boolean async)
Remove an entity name for the names table.
void InvokeAttnRoutineUPP(short sessRefnum, short attnBytes, AttnRoutineUPP userUPP)
@ getParms
Definition: AppleTalk.h:117
@ userCommand
Definition: AppleTalk.h:113
@ closeSess
Definition: AppleTalk.h:112
@ getStatus
Definition: AppleTalk.h:115
@ afpCall
Definition: AppleTalk.h:116
@ abortOS
Definition: AppleTalk.h:118
@ closeAll
Definition: AppleTalk.h:119
@ userWrite
Definition: AppleTalk.h:114
@ xCall
Definition: AppleTalk.h:120
@ openSess
Definition: AppleTalk.h:111
@ xppUnitNum
Definition: AppleTalk.h:56
@ mppUnitNum
Definition: AppleTalk.h:54
@ atpUnitNum
Definition: AppleTalk.h:55
#define NewDDPSocketListenerUPP(userRoutine)
Definition: AppleTalk.h:1270
@ lastResident
Definition: AppleTalk.h:78
@ removeName
Definition: AppleTalk.h:81
@ writeLAP
Definition: AppleTalk.h:71
@ closeSkt
Definition: AppleTalk.h:75
@ writeDDP
Definition: AppleTalk.h:74
@ attachPH
Definition: AppleTalk.h:73
@ detachPH
Definition: AppleTalk.h:72
@ ATalkClosePrep
Definition: AppleTalk.h:88
@ killNBP
Definition: AppleTalk.h:83
@ lookupReply
Definition: AppleTalk.h:70
@ lookupName
Definition: AppleTalk.h:80
@ setSelfSend
Definition: AppleTalk.h:85
@ confirmName
Definition: AppleTalk.h:79
@ GetATalkInfo
Definition: AppleTalk.h:87
@ registerName
Definition: AppleTalk.h:82
@ SetMyZone
Definition: AppleTalk.h:86
@ unloadNBP
Definition: AppleTalk.h:84
@ openSkt
Definition: AppleTalk.h:76
@ loadNBP
Definition: AppleTalk.h:77
void DisposeMPPProtocolHandlerUPP(MPPProtocolHandlerUPP userUPP)
OSErr ASPGetParms(XPPParmBlkPtr thePBptr, Boolean async)
Get three ASP parameters.
@ mppRefNum
Definition: AppleTalk.h:62
@ xppRefNum
Definition: AppleTalk.h:64
@ atpRefNum
Definition: AppleTalk.h:63
#define NewATPCompletionUPP(userRoutine)
Definition: AppleTalk.h:1149
void InvokeMPPCompletionUPP(MPPPBPtr thePBptr, MPPCompletionUPP userUPP)
OSErr ASPUserCommand(XPPParmBlkPtr thePBptr, Boolean async)
Send a command to the server.
void DisposeXPPCompletionUPP(XPPCompletionUPP userUPP)
OSErr PWriteLAP(MPPPBPtr thePBptr, Boolean async)
Send a frame to another node.
void DisposeATalkTransitionEventUPP(ATalkTransitionEventUPP userUPP)
OSErr ATPreFlightEvent(long event, long cancel, Ptr infoPtr)
OSErr PCloseATPSkt(ATPPBPtr thePBPtr, Boolean async)
Close a specified socket.
OSErr PKillNBP(MPPPBPtr thePBptr, Boolean async)
Kill a PLookUpName , PRegisterName , or PConfirmName.
OSErr POpenSkt(MPPPBPtr thePBptr, Boolean async)
Add a socket and listener to the socket table.
@ afpMapName
Definition: AppleTalk.h:155
@ afpRmvAPPL
Definition: AppleTalk.h:174
@ afpCopyFile
Definition: AppleTalk.h:138
@ afpGetSInfo
Definition: AppleTalk.h:148
@ afpContLogin
Definition: AppleTalk.h:152
@ afpMove
Definition: AppleTalk.h:156
@ afpForkFlush
Definition: AppleTalk.h:144
@ afpVolClose
Definition: AppleTalk.h:135
@ afpRename
Definition: AppleTalk.h:161
@ afpDirCreate
Definition: AppleTalk.h:139
@ afpDelete
Definition: AppleTalk.h:141
@ afpGetForkParms
Definition: AppleTalk.h:147
@ afpFlush
Definition: AppleTalk.h:143
@ afpDTClose
Definition: AppleTalk.h:170
@ afpEnumerate
Definition: AppleTalk.h:142
@ afpSetFlDrParms
Definition: AppleTalk.h:168
@ afpOpenFork
Definition: AppleTalk.h:159
@ afpAddIcon
Definition: AppleTalk.h:179
@ afpForkClose
Definition: AppleTalk.h:137
@ afpDTOpen
Definition: AppleTalk.h:169
@ afpFileCreate
Definition: AppleTalk.h:140
@ afpGetDirParms
Definition: AppleTalk.h:145
@ afpGetCmt
Definition: AppleTalk.h:178
@ afpLogin
Definition: AppleTalk.h:151
@ afpSetFileParms
Definition: AppleTalk.h:163
@ afpLogout
Definition: AppleTalk.h:153
@ afpMapID
Definition: AppleTalk.h:154
@ afpOpenVol
Definition: AppleTalk.h:157
@ afpOpenDir
Definition: AppleTalk.h:158
@ afpGetFileParms
Definition: AppleTalk.h:146
@ afpGetFlDrParms
Definition: AppleTalk.h:167
@ afpSetVolParms
Definition: AppleTalk.h:165
@ afpDirClose
Definition: AppleTalk.h:136
@ afpWrite
Definition: AppleTalk.h:166
@ afpGetAPPL
Definition: AppleTalk.h:175
@ afpGetSParms
Definition: AppleTalk.h:149
@ afpRmvCmt
Definition: AppleTalk.h:177
@ afpRead
Definition: AppleTalk.h:160
@ afpGetVolParms
Definition: AppleTalk.h:150
@ afpSetForkParms
Definition: AppleTalk.h:164
@ afpGtIcnInfo
Definition: AppleTalk.h:172
@ afpSetDirParms
Definition: AppleTalk.h:162
@ afpGetIcon
Definition: AppleTalk.h:171
@ afpAddCmt
Definition: AppleTalk.h:176
@ afpAddAPPL
Definition: AppleTalk.h:173
@ LRmvAEQ
Definition: AppleTalk.h:227
@ LAddAEQ
Definition: AppleTalk.h:226
@ ATTransOpen
Definition: AppleTalk.h:126
@ ATTransClose
Definition: AppleTalk.h:127
@ ATTransCancelClose
Definition: AppleTalk.h:129
@ ATTransClosePrep
Definition: AppleTalk.h:128
OSErr PRegisterName(MPPPBPtr thePBptr, Boolean async)
Add the name and address of an entity to names table.
OSErr LAPRmvATQ(ATQEntryPtr theATQEntry)
Remove entry from AppleTalk Transition Queue.
short GetBridgeAddress(void)
GetBridgeAddress Get bridge's current address.
OSErr ASPOpenSession(XPPParmBlkPtr thePBptr, Boolean async)
Initiate a workstation/server session.
OSErr PGetRequest(ATPPBPtr thePBPtr, Boolean async)
Receive a request sent by a PSendRequest call.
OSErr ASPCloseSession(XPPParmBlkPtr thePBptr, Boolean async)
Close a workstation/server session.
Boolean InvokeMPPProtocolHandlerUPP(Ptr SCCAddr1, Ptr SCCAddr2, Ptr MPPLocalVars, Ptr nextFreeByteInRHA, Ptr ReadPacketAndReadRestPtr, short numBytesLeftToReadInPacket, MPPProtocolHandlerUPP userUPP)
OSErr ATPUnload(void)
OSErr GetLocalZones(XPPParmBlkPtr thePBptr, Boolean async)
Get AppleTalk zone names on the local network.
short BuildBDS(Ptr buffPtr, Ptr bdsPtr, short buffSize)
Build a BDS.
OSErr LAPAddATQ(ATQEntryPtr theATQEntry)
Add an entry to the queue.
OSErr PATalkClosePrep(MPPPBPtr thePBptr, Boolean async)
Request permission to close The .MPP Driver.
void DisposeATPCompletionUPP(ATPCompletionUPP userUPP)
#define NewMPPProtocolHandlerUPP(userRoutine)
Definition: AppleTalk.h:1239
OSErr ASPCloseAll(XPPParmBlkPtr thePBptr, Boolean async)
Close every active session.
void InvokeATPCompletionUPP(ATPPBPtr thePBptr, ATPCompletionUPP userUPP)
OSErr GetMyZone(XPPParmBlkPtr thePBptr, Boolean async)
Get AppleTalk zone name.
void BuildDDPwds(Ptr wdsPtr, Ptr headerPtr, Ptr dataPtr, AddrBlock netAddr, short ddpType, short dataLen)
#define NewXPPCompletionUPP(userRoutine)
Definition: AppleTalk.h:1179
OSErr PKillSendReq(ATPPBPtr thePBPtr, Boolean async)
Abort a PNSendRequest or PSendRequest.
void NBPSetEntity(Ptr buffer, ConstStr32Param nbpObject, ConstStr32Param nbpType, ConstStr32Param nbpZone)
void BuildLAPwds(Ptr wdsPtr, Ptr dataPtr, short destHost, short prototype, short frameLen)
OSErr PRelTCB(ATPPBPtr thePBPtr, Boolean async)
Dequeue a PSendRequest call.
OSErr PAttachPH(MPPPBPtr thePBptr, Boolean async)
Add a protocol handler to the protocol table.
#define NewAttnRoutineUPP(userRoutine)
Definition: AppleTalk.h:1208
OSErr PAddResponse(ATPPBPtr thePBPtr, Boolean async)
Send an additional response packet.
OSErr ASPAbortOS(XPPParmBlkPtr thePBptr, Boolean async)
Abort a pending ASPOpenSession call.
@ atpSendChkvalue
Definition: AppleTalk.h:208
@ atpTIDValidvalue
Definition: AppleTalk.h:207
@ atpSTSvalue
Definition: AppleTalk.h:206
@ atpEOMvalue
Definition: AppleTalk.h:205
OSErr ASPUserWrite(XPPParmBlkPtr thePBptr, Boolean async)
Transfer data on a session.
OSErr ASPGetStatus(XPPParmBlkPtr thePBptr, Boolean async)
Get server status.
void ATEvent(long event, Ptr infoPtr)
Call all routines with specified event code.
OSErr PDetachPH(MPPPBPtr thePBptr, Boolean async)
Remove protocol type and handler from protocol table.
OSErr PSendResponse(ATPPBPtr thePBPtr, Boolean async)
Send a response to a socket.
OSErr PRelRspCB(ATPPBPtr thePBPtr, Boolean async)
Cancel a PSendResponse call.
OSErr ATPKillAllGetReq(ATPPBPtr thePBPtr, Boolean async)
ATPKillAllGetReq Cancel all calls to ATPGetRequest.
OSErr PConfirmName(MPPPBPtr thePBptr, Boolean async)
Confirm that an entity still exists.
Boolean IsMPPOpen(void)
Is the .MPP driver loaded and running?
void NBPSetNTE(Ptr ntePtr, ConstStr32Param nbpObject, ConstStr32Param nbpType, ConstStr32Param nbpZone, short socket)
Build a Names Table Entry.
void InvokeXPPCompletionUPP(XPPParmBlkPtr thePBptr, XPPCompletionUPP userUPP)
void DisposeAttnRoutineUPP(AttnRoutineUPP userUPP)
OSErr ATPLoad(void)
OSErr OpenXPP(short *xppRefnum)
Open XPP driver.
OSErr PCloseSkt(MPPPBPtr thePBptr, Boolean async)
Remove specified socket from the socket table.
OSErr GetNodeAddress(short *myNode, short *myNet)
Get caller's node ID and network number.
OSErr PLookupName(MPPPBPtr thePBptr, Boolean async)
Return the addresses of all entities with a specified name.
long InvokeATalkTransitionEventUPP(long eventCode, ATQEntryPtr qElem, void *eventParameter, ATalkTransitionEventUPP userUPP)
OSErr NBPExtract(Ptr theBuffer, short numInBuf, short whichOne, EntityName *abEntity, AddrBlock *address)
OSErr PSendRequest(ATPPBPtr thePBPtr, Boolean async)
Send a request to another socket and wait for response.
OSErr GetZoneList(XPPParmBlkPtr thePBptr, Boolean async)
Returns a list of all the zone names on the internet.
Basic Macintosh data types.
unsigned char Str32Field[34]
Definition: MacTypes.h:461
unsigned char Boolean
Definition: MacTypes.h:318
void DisposeRoutineDescriptor(UniversalProcPtr theUPP)
#define STACK_UPP_TYPE(name)
Definition: MixedMode.h:734
UniversalProcPtr NewRoutineDescriptor(ProcPtr theProc, ProcInfoType theProcInfo, ISAType theISA)
OS Utilities Interfaces.
typedef CALLBACK_API_REGISTER68K(void, SIInterruptProcPtr,(SPBPtr inParamPtr, Ptr dataBuffer, short peakAmplitude, long sampleSize))
typedef REGISTER_UPP_TYPE(HighHookProcPtr) HighHookUPP
Definition: AppleTalk.h:443
Definition: AppleTalk.h:810
UInt8 ccbFill[144]
Definition: AppleTalk.h:831
AddrBlock afpAddrBlock
Definition: AppleTalk.h:828
void * rbPtr
Definition: AppleTalk.h:827
AttnRoutineUPP afpAttnRoutine
Definition: AppleTalk.h:830
void * cbPtr
Definition: AppleTalk.h:825
short rbSize
Definition: AppleTalk.h:826
UInt8 aspRetry
Definition: AppleTalk.h:823
void * afpSCBPtr
Definition: AppleTalk.h:829
UInt8 aspTimeout
Definition: AppleTalk.h:822
short cbSize
Definition: AppleTalk.h:824
Definition: AppleTalk.h:774
Definition: AppleTalk.h:757
short aspQuantumSize
Definition: AppleTalk.h:769
Definition: AppleTalk.h:789
AddrBlock serverAddr
Definition: AppleTalk.h:803
UInt8 aspTimeout
Definition: AppleTalk.h:801
AttnRoutineUPP attnRoutine
Definition: AppleTalk.h:805
UInt8 aspRetry
Definition: AppleTalk.h:802
Ptr scbPointer
Definition: AppleTalk.h:804
Definition: AppleTalk.h:413
short atpTransID
Definition: AppleTalk.h:425
short abResult
Definition: AppleTalk.h:416
Definition: AppleTalk.h:380
short abResult
Definition: AppleTalk.h:383
Definition: AppleTalk.h:366
short abResult
Definition: AppleTalk.h:369
Definition: AppleTalk.h:397
short abResult
Definition: AppleTalk.h:400
Definition: AppleTalk.h:959
void * bdsPointer
Definition: AppleTalk.h:975
ATPCompletionUPP ioCompletion
Definition: AppleTalk.h:964
long userData
Definition: AppleTalk.h:966
Ptr ioCmdAddr
Definition: AppleTalk.h:963
short reqTID
Definition: AppleTalk.h:967
short csCode
Definition: AppleTalk.h:969
UInt8 atpSocket
Definition: AppleTalk.h:970
AddrBlock addrBlock
Definition: AppleTalk.h:972
short reqLength
Definition: AppleTalk.h:973
OSErr ioResult
Definition: AppleTalk.h:965
short ioTrap
Definition: AppleTalk.h:962
UInt8 rspNum
Definition: AppleTalk.h:980
short qType
Definition: AppleTalk.h:961
short ioRefNum
Definition: AppleTalk.h:968
UInt8 numOfBuffs
Definition: AppleTalk.h:979
union ATPmisc1::@224 u
UInt8 atpFlags
Definition: AppleTalk.h:971
void * reqPointer
Definition: AppleTalk.h:974
Definition: AppleTalk.h:985
long userData
Definition: AppleTalk.h:992
UInt8 atpSocket
Definition: AppleTalk.h:996
short ioRefNum
Definition: AppleTalk.h:994
short ioTrap
Definition: AppleTalk.h:988
short csCode
Definition: AppleTalk.h:995
UInt8 atpFlags
Definition: AppleTalk.h:997
void * reqPointer
Definition: AppleTalk.h:1000
short transID
Definition: AppleTalk.h:1004
UInt8 filler
Definition: AppleTalk.h:1002
OSErr ioResult
Definition: AppleTalk.h:991
short reqLength
Definition: AppleTalk.h:999
ATPCompletionUPP ioCompletion
Definition: AppleTalk.h:990
AddrBlock addrBlock
Definition: AppleTalk.h:998
Ptr ioCmdAddr
Definition: AppleTalk.h:989
void * bdsPointer
Definition: AppleTalk.h:1001
short reqTID
Definition: AppleTalk.h:993
short qType
Definition: AppleTalk.h:987
Definition: AppleTalk.h:911
short csCode
Definition: AppleTalk.h:921
short reqTID
Definition: AppleTalk.h:919
AddrBlock addrBlock
Definition: AppleTalk.h:924
void * bdsPointer
Definition: AppleTalk.h:927
ATPCompletionUPP ioCompletion
Definition: AppleTalk.h:916
short ioTrap
Definition: AppleTalk.h:914
OSErr ioResult
Definition: AppleTalk.h:917
UInt8 atpSocket
Definition: AppleTalk.h:922
short ioRefNum
Definition: AppleTalk.h:920
short qType
Definition: AppleTalk.h:913
void * reqPointer
Definition: AppleTalk.h:926
Ptr ioCmdAddr
Definition: AppleTalk.h:915
short reqLength
Definition: AppleTalk.h:925
UInt8 atpFlags
Definition: AppleTalk.h:923
long userData
Definition: AppleTalk.h:918
Definition: AppleTalk.h:319
ATalkTransitionEventUPP CallAddr
Definition: AppleTalk.h:322
short qType
Definition: AppleTalk.h:321
Definition: AppleTalk.h:705
short ioRefNum
Definition: AppleTalk.h:714
short ioTrap
Definition: AppleTalk.h:708
short reqTID
Definition: AppleTalk.h:713
Ptr ioCmdAddr
Definition: AppleTalk.h:709
ATPCompletionUPP ioCompletion
Definition: AppleTalk.h:710
OSErr ioResult
Definition: AppleTalk.h:711
long userData
Definition: AppleTalk.h:712
Ptr appName
Definition: AppleTalk.h:716
short csCode
Definition: AppleTalk.h:715
short qType
Definition: AppleTalk.h:707
Definition: AppleTalk.h:342
Definition: AppleTalk.h:355
Definition: AppleTalk.h:578
long userData
Definition: AppleTalk.h:585
short reqTID
Definition: AppleTalk.h:586
short csCode
Definition: AppleTalk.h:588
UInt8 checksumFlag
Definition: AppleTalk.h:590
short ioRefNum
Definition: AppleTalk.h:587
Ptr ioCmdAddr
Definition: AppleTalk.h:582
ATPCompletionUPP ioCompletion
Definition: AppleTalk.h:583
OSErr ioResult
Definition: AppleTalk.h:584
short qType
Definition: AppleTalk.h:580
short ioTrap
Definition: AppleTalk.h:581
UInt8 socket
Definition: AppleTalk.h:589
DDPSocketListenerUPP listener
Definition: AppleTalk.h:594
union DDPparms::@221 u
Definition: AppleTalk.h:334
Definition: Events.h:224
Definition: AppleTalk.h:673
short version
Definition: AppleTalk.h:685
short netHi
Definition: AppleTalk.h:692
short numOfPHs
Definition: AppleTalk.h:695
short LAlength
Definition: AppleTalk.h:699
Ptr zoneName
Definition: AppleTalk.h:701
short numOfSkts
Definition: AppleTalk.h:696
short csCode
Definition: AppleTalk.h:683
long configuration
Definition: AppleTalk.h:689
OSErr ioResult
Definition: AppleTalk.h:679
long routerAddr
Definition: AppleTalk.h:694
short reqTID
Definition: AppleTalk.h:681
void * varsPtr
Definition: AppleTalk.h:686
short ioTrap
Definition: AppleTalk.h:676
ATPCompletionUPP ioCompletion
Definition: AppleTalk.h:678
short netLo
Definition: AppleTalk.h:691
short qType
Definition: AppleTalk.h:675
short selfSend
Definition: AppleTalk.h:690
short numNBPEs
Definition: AppleTalk.h:697
void * DCEPtr
Definition: AppleTalk.h:687
long userData
Definition: AppleTalk.h:680
short portID
Definition: AppleTalk.h:688
short ioRefNum
Definition: AppleTalk.h:682
long ourAdd
Definition: AppleTalk.h:693
void * linkAddr
Definition: AppleTalk.h:700
Ptr ioCmdAddr
Definition: AppleTalk.h:677
void * nTQueue
Definition: AppleTalk.h:698
Definition: AppleTalk.h:1008
short ioTrap
Definition: AppleTalk.h:1011
short qType
Definition: AppleTalk.h:1010
void * reqPointer
Definition: AppleTalk.h:1023
short reqTID
Definition: AppleTalk.h:1016
void * bdsPointer
Definition: AppleTalk.h:1024
long userData
Definition: AppleTalk.h:1015
short reqLength
Definition: AppleTalk.h:1022
UInt8 atpSocket
Definition: AppleTalk.h:1019
AddrBlock addrBlock
Definition: AppleTalk.h:1021
short ioRefNum
Definition: AppleTalk.h:1017
UInt8 atpFlags
Definition: AppleTalk.h:1020
ATPCompletionUPP ioCompletion
Definition: AppleTalk.h:1013
OSErr ioResult
Definition: AppleTalk.h:1014
void * aKillQEl
Definition: AppleTalk.h:1025
short csCode
Definition: AppleTalk.h:1018
Ptr ioCmdAddr
Definition: AppleTalk.h:1012
Definition: AppleTalk.h:303
Definition: AppleTalk.h:557
OSErr ioResult
Definition: AppleTalk.h:563
long userData
Definition: AppleTalk.h:564
short csCode
Definition: AppleTalk.h:567
MPPProtocolHandlerUPP handler
Definition: AppleTalk.h:573
ATPCompletionUPP ioCompletion
Definition: AppleTalk.h:562
UInt8 filler
Definition: AppleTalk.h:569
short reqTID
Definition: AppleTalk.h:565
short qType
Definition: AppleTalk.h:559
UInt8 protType
Definition: AppleTalk.h:568
Ptr ioCmdAddr
Definition: AppleTalk.h:561
short ioTrap
Definition: AppleTalk.h:560
short ioRefNum
Definition: AppleTalk.h:566
Definition: AppleTalk.h:543
short reqTID
Definition: AppleTalk.h:551
OSErr ioResult
Definition: AppleTalk.h:549
Ptr ioCmdAddr
Definition: AppleTalk.h:547
short qType
Definition: AppleTalk.h:545
long userData
Definition: AppleTalk.h:550
short csCode
Definition: AppleTalk.h:553
short ioTrap
Definition: AppleTalk.h:546
ATPCompletionUPP ioCompletion
Definition: AppleTalk.h:548
short ioRefNum
Definition: AppleTalk.h:552
Definition: AppleTalk.h:657
short ioRefNum
Definition: AppleTalk.h:666
short qType
Definition: AppleTalk.h:659
long userData
Definition: AppleTalk.h:664
OSErr ioResult
Definition: AppleTalk.h:663
Ptr ioCmdAddr
Definition: AppleTalk.h:661
short ioTrap
Definition: AppleTalk.h:660
short csCode
Definition: AppleTalk.h:667
short reqTID
Definition: AppleTalk.h:665
void * nKillQEl
Definition: AppleTalk.h:668
ATPCompletionUPP ioCompletion
Definition: AppleTalk.h:662
Definition: AppleTalk.h:623
OSErr ioResult
Definition: AppleTalk.h:629
UInt8 interval
Definition: AppleTalk.h:634
short ioTrap
Definition: AppleTalk.h:626
long userData
Definition: AppleTalk.h:630
short qType
Definition: AppleTalk.h:625
short ioRefNum
Definition: AppleTalk.h:632
NBPPtrs nbpPtrs
Definition: AppleTalk.h:636
short reqTID
Definition: AppleTalk.h:631
ATPCompletionUPP ioCompletion
Definition: AppleTalk.h:628
short csCode
Definition: AppleTalk.h:633
UInt8 count
Definition: AppleTalk.h:635
Ptr ioCmdAddr
Definition: AppleTalk.h:627
Definition: AppleTalk.h:480
SInt8 filler
Definition: AppleTalk.h:482
Definition: AppleTalk.h:487
NTElement nt
Definition: AppleTalk.h:489
Definition: OSUtils.h:131
Definition: AppleTalk.h:349
Definition: AppleTalk.h:931
UInt8 retryCount
Definition: AppleTalk.h:951
void * reqPointer
Definition: AppleTalk.h:946
void * bdsPointer
Definition: AppleTalk.h:947
ATPCompletionUPP ioCompletion
Definition: AppleTalk.h:936
long userData
Definition: AppleTalk.h:938
short ioTrap
Definition: AppleTalk.h:934
AddrBlock addrBlock
Definition: AppleTalk.h:944
UInt8 numOfBuffs
Definition: AppleTalk.h:948
OSErr ioResult
Definition: AppleTalk.h:937
Ptr ioCmdAddr
Definition: AppleTalk.h:935
UInt8 TRelTime
Definition: AppleTalk.h:953
UInt8 timeOutVal
Definition: AppleTalk.h:949
short reqTID
Definition: AppleTalk.h:939
SInt8 filler0
Definition: AppleTalk.h:954
UInt8 atpSocket
Definition: AppleTalk.h:942
short ioRefNum
Definition: AppleTalk.h:940
short qType
Definition: AppleTalk.h:933
short csCode
Definition: AppleTalk.h:941
UInt8 atpFlags
Definition: AppleTalk.h:943
short reqLength
Definition: AppleTalk.h:945
short intBuff
Definition: AppleTalk.h:952
UInt8 numOfResps
Definition: AppleTalk.h:950
Definition: AppleTalk.h:641
short csCode
Definition: AppleTalk.h:651
UInt8 oldSelfFlag
Definition: AppleTalk.h:653
UInt8 newSelfFlag
Definition: AppleTalk.h:652
OSErr ioResult
Definition: AppleTalk.h:647
Ptr ioCmdAddr
Definition: AppleTalk.h:645
short ioTrap
Definition: AppleTalk.h:644
short ioRefNum
Definition: AppleTalk.h:650
long userData
Definition: AppleTalk.h:648
short qType
Definition: AppleTalk.h:643
ATPCompletionUPP ioCompletion
Definition: AppleTalk.h:646
short reqTID
Definition: AppleTalk.h:649
Definition: AppleTalk.h:474
Definition: AppleTalk.h:837
short filler1
Definition: AppleTalk.h:851
UInt8 zipLastFlag
Definition: AppleTalk.h:854
UInt8 filler2
Definition: AppleTalk.h:855
UInt8 zipInfoField[70]
Definition: AppleTalk.h:856
UInt8 xppRetry
Definition: AppleTalk.h:850
short zipNumZones
Definition: AppleTalk.h:853
Definition: AppleTalk.h:732
short wdSize
Definition: AppleTalk.h:750
Ptr wdPtr
Definition: AppleTalk.h:751
short cbSize
Definition: AppleTalk.h:746
UInt8 aspTimeout
Definition: AppleTalk.h:744
UInt8 aspRetry
Definition: AppleTalk.h:745
short rbSize
Definition: AppleTalk.h:748
Ptr cbPtr
Definition: AppleTalk.h:747
UInt8 ccbStart[296]
Definition: AppleTalk.h:752
Ptr rbPtr
Definition: AppleTalk.h:749
Definition: AppleTalk.h:1056
ATPParms ATP
Definition: AppleTalk.h:1057
ATPmisc OTH
Definition: AppleTalk.h:1059
Killparms KILL
Definition: AppleTalk.h:1061
SendReqParms SREQ
Definition: AppleTalk.h:1058
Definition: AppleTalk.h:605
Definition: AppleTalk.h:720
SetSelfparms SETSELF
Definition: AppleTalk.h:725
NBPparms NBP
Definition: AppleTalk.h:724
LAPparms LAP
Definition: AppleTalk.h:722
DDPparms DDP
Definition: AppleTalk.h:723
Definition: AppleTalk.h:599
Definition: AppleTalk.h:901