home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hacker Chronicles 2
/
HACKER2.BIN
/
542.TNL3E.H
< prev
next >
Wrap
Text File
|
1988-05-14
|
2KB
|
38 lines
/*** externe Definitionen fuer Level 3 ***/
extern char rxfhdr[]; /* empfangener Frameheader */
extern char rxfprt; /* Port, ueber den das Frame kam */
extern char txfhdr[]; /* zu sendender Frameheader */
extern char myid[]; /* Call des TNC */
extern char alias[]; /* Ident des TNC */
extern unsigned nmbfre; /* Zahl der freien Buffer */
extern l2ltyp lnktbl[]; /* Level2 Kontrollbloecke */
extern l2ltyp *lnkpoi; /* Pointer in l2lnk */
extern lhtyp l4rxfl; /* fuer Level4 eingegangene Frames */
extern unsigned ininat; /* no activity timeout */
extern mhtyp *allocb(); /* Buffer besorgen */
/*** im Level1 definierte Konstanten (im EPROM) ***/
extern unsigned DEFDES; /* Ziele maximal */
extern unsigned DEFBRI; /* Rundspruch Intervall */
extern unsigned DEFOBC; /* Abwesenheitszaehler */
extern unsigned DEFOBB; /* maximale Abwesenheit fuer Rundspruch */
extern unsigned DEFWQU; /* Qualitaet fuer Rundspruch minimal */
extern unsigned DEFTLI; /* Paketlebensdauer */
extern unsigned DEFCH0; /* Kanal 0 Qualitaet */
extern unsigned DEFCH1; /* Kanal 1 Qualitaet */
/*** nicht-integer zurueckgebende Funktionen des Level 3 */
mhtyp *brobuf();
BOOLEAN chgnod();
unsigned srtrou();
BOOLEAN isgood();
nbrtyp *updnbr();
nbrtyp *getnei();
BOOLEAN seades();
BOOLEAN isidnt();
BOOLEAN isrout();
BOOLEAN isneig();
BOOLEAN ge6chr();
BOOLEAN iscall();