home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GRIPS 2: Government Rast…rocessing Software & Data
/
GRIPS_2.cdr
/
dos
/
ncsa_tel
/
contribu
/
byu_tel2.hqx
/
tcpip
/
at.h
next >
Wrap
Text File
|
1988-07-15
|
3KB
|
119 lines
#ifndef lint
static char *SCCSid = "%W% (NCSA) %G%";
#endif
/*
* at.h
* by Gaige B. Paulsen
****************************************************************************
* *
* Uses : *
* TCP/IP kernel for NCSA Telnet *
* by Tim Krauskopf *
* with Macintosh code by Gaige B. Paulsen *
* *
* National Center for Supercomputing Applications *
* 152 Computing Applications Building *
* 605 E. Springfield Ave. *
* Champaign, IL 61820 *
* *
* *
****************************************************************************
*
* Appletalk header file.
*
*/
#ifndef _TOOLUTIL
#include <toolutil.h>
#endif
#ifndef _OSUTIL
#include <osutil.h>
#endif
union atParamType {
struct {
int socket;
void (*listener)();
} ddpOpen;
struct {
unsigned char
socket,
checksum;
char *wdsPointer;
} ddpWrite;
struct {
unsigned char
currBitMap,
atpFlags;
long addrBlock;
int reqLength;
char *reqPointer;
char *bdsPointer;
unsigned char
numOfBuffs,
timeOutVal,
numOfResps,
retryCount;
} atpSendRequest;
struct {
unsigned char
interval,
count;
char *entityPtr;
unsigned char
verifyFlag;
} nbpRegisterName;
struct {
unsigned char
interval,
count;
char *entityPtr,
*retBuffPtr;
int retBuffSize;
int maxToGet;
int numGotten;
} nbpLookupName;
};
typedef union atParamType atParamType;
typedef union atParamType * atParamPtr;
struct atPBRec {
struct ParamBlkRec * qLink;
short qType;
short ioTrap;
Ptr ioCmdAddr;
ProcPtr ioCompletion;
short ioResult;
char * ioNamePtr;
short ioVRefNum;
short csRefNum;
short csCode;
atParamType csParam;
};
typedef struct atPBRec atPBRec;
typedef struct atPBRec *atPBRecPtr;
struct wds {
char res1[8];
int aNet;
int res2;
unsigned char
aNode,res3,
aSocket,res4,
aType,res5;
};
typedef struct wds wds;
struct entity {
char *nextQueue;
long addrBlock;
unsigned char
res1;
char entityName[98];
}
typedef struct entity entity;