      REM PL.DEFS
*PIC-LAN
*INCLUDE
*
*
*Y
*
*
*
*
*
*
*
******************************************************************************
******************************************************************************
***                                                                        ***
*** (C) Copyright 1990-2005 Doug Dumitru, All Rights Reserved.             ***
***                                                                        ***
*** This program is licensed under the terms of the GNU General Public     ***
*** License, version 2.0 with attached notices.                            ***
***                                                                        ***
*** The full text can be found in the LICENSE.TXT file in the              ***
*** PLIP.BP database file (the /usr/qmweb/PLIP.BP/PLIP.BP directory).      ***
***                                                                        ***
******************************************************************************
******************************************************************************
*
*
*
*
*
*$PC OFF
*
      EQUATE FN.INIT                TO '0000'
      EQUATE FN.CONFIG              TO '0001'
      EQUATE FN.UNINIT              TO '0002'
      EQUATE FN.ALLOC.PLCB          TO '0003'
      EQUATE FN.DEALLOC.PLCB        TO '0004'
      EQUATE FN.FIND.SERVERS        TO '0005'
      EQUATE FN.GET.SERVER          TO '0006'
      EQUATE FN.PLCB.STATUS         TO '0007'
      EQUATE FN.OPEN                TO '0008'
      EQUATE FN.CLOSE               TO '0009'
      EQUATE FN.KILL.SESSION        TO '000A'
      EQUATE FN.READ.AVAIL          TO '000B'
      EQUATE FN.READ                TO '000C'
      EQUATE FN.WRITE.AVAIL         TO '000D'
      EQUATE FN.WRITE               TO '000E'
      EQUATE FN.SEND.BREAK          TO '000F'
      EQUATE FN.GET.CAP             TO '0010'
      EQUATE FN.PUT.CAP             TO '0011'
      EQUATE FN.SERVER.INIT         TO '0012'
      EQUATE FN.SERVER.GETQ         TO '0013'
      EQUATE FN.SERVER.KICK         TO '0014'
      EQUATE FN.INIT.1              TO '0015'
      EQUATE FN.INIT.2              TO '0016'
      EQUATE FN.INIT.3              TO '0017'
      EQUATE FN.ACTIVATE.PORT       TO '0018'
      EQUATE FN.SERVER.PORT.INIT    TO '0019'
      EQUATE FN.INIT.RANDOM.SN      TO '001A'
      EQUATE FN.LOGOFF.COMPLETE     TO '001D'
      EQUATE FN.PLTERM.KICK         TO '001E'
      EQUATE FN.LOG.READ            TO '001F'
      EQUATE FN.INIT.NEW.1          TO '0020'
      EQUATE FN.INIT.NEW.2          TO '0021'
      EQUATE FN.INIT.NEW.3          TO '0022'
*
      EQUATE FNR.INIT                TO '00000000'
      EQUATE FNR.CONFIG              TO '00010000'
      EQUATE FNR.UNINIT              TO '00020000'
      EQUATE FNR.ALLOC.PLCB          TO '00030000'
      EQUATE FNR.DEALLOC.PLCB        TO '00040000'
      EQUATE FNR.FIND.SERVERS        TO '00050000'
      EQUATE FNR.GET.SERVER          TO '00060000'
      EQUATE FNR.PLCB.STATUS         TO '00070000'
      EQUATE FNR.OPEN                TO '00080000'
      EQUATE FNR.CLOSE               TO '00090000'
      EQUATE FNR.KILL.SESSION        TO '000A0000'
      EQUATE FNR.READ.AVAIL          TO '000B0000'
      EQUATE FNR.READ                TO '000C0000'
      EQUATE FNR.WRITE.AVAIL         TO '000D0000'
      EQUATE FNR.WRITE               TO '000E0000'
      EQUATE FNR.SEND.BREAK          TO '000F0000'
      EQUATE FNR.GET.CAP             TO '00100000'
      EQUATE FNR.PUT.CAP             TO '00110000'
      EQUATE FNR.SERVER.INIT         TO '00120000'
      EQUATE FNR.SERVER.GETQ         TO '00130000'
      EQUATE FNR.SERVER.KICK         TO '00140000'
      EQUATE FNR.INIT.1              TO '00150000'
      EQUATE FNR.INIT.2              TO '00160000'
      EQUATE FNR.INIT.3              TO '00170000'
      EQUATE FNR.ACTIVATE.PORT       TO '00180000'
      EQUATE FNR.SERVER.PORT.INIT    TO '00190000'
      EQUATE FNR.INIT.RANDOM.SN      TO '001A0000'
      EQUATE FNR.LOGOFF.COMPLETE     TO '001D0000'
      EQUATE FNR.PLTERM.KICK         TO '001E0000'
      EQUATE FNR.LOG.READ            TO '001F0000'
      EQUATE FNR.INIT.NEW.1          TO '00200000'
      EQUATE FNR.INIT.NEW.2          TO '00210000'
      EQUATE FNR.INIT.NEW.3          TO '00220000'
*
*
*
*
      EQUATE TP.AVAIL               TO 0
      EQUATE TP.TERM.HOST           TO 1
      EQUATE TP.TERM.NODE           TO 2
      EQUATE TP.POLL                TO 7
      EQUATE TP.XFR.HOST            TO 10
      EQUATE TP.XFR.NODE            TO 11
*
      EQUATE TP.ARP                 TO 64
      EQUATE TP.IP.RECV.BUSY        TO 65
      EQUATE TP.IP.RECV             TO 66
      EQUATE TP.IP.XMIT             TO 67
      EQUATE TP.UDP                 TO 68
      EQUATE TP.TCP                 TO 69
*
      EQUATE TP.LOGOFF              TO 254
*
      EQUATE ERR.BAD.DRIVER.CALL    TO 1
*
      EQUATE IPX.SOCKET.NO          TO 'E943'
*
      EQUATE SIZEOF.VIR.BUF         TO 8192
*
      EQUATE PLCB.STATUS.KICK       TO 128
*
      EQUATE CAPABILITY.TERM        TO '01'
      EQUATE CAPABILITY.XFR         TO '02'
      EQUATE CAPABILITY.PRINT       TO '04'
      EQUATE CAPABILITY.XFR.PRINT   TO '06'
      EQUATE CAPABILITY.DOS.FILE    TO '20'
*
      EQUATE A.READ        TO 1
      EQUATE A.WRITE       TO 2
      EQUATE A.CONNECT     TO 4
      EQUATE A.CLOSED      TO 8
      EQUATE A.CLOSING     TO 16
*$PC ON
