
/*-------------------------------------------------------------------------
 Name......: netlib.h
 Purpose...: Use netlib.h to declare all network function prototypes.
 Comment...: Generated by NETLIB.MAK using /Zg compile option.
 Revison log
 Nbr   Date   Name Description
 --- -------- ---- --------------------------------------------------------
 001 09/01/89 HAL  Original.
-------------------------------------------------------------------------*/
/***** astest.c function declarations *****/ 
//extern  int main(int argc,char * *argv);
/***** callniu.c function declarations *****/ 
extern  int   callniu(char *name);
/***** checknet.c function declarations *****/ 
extern  int   checknet(void );
/***** cvttobin.c function declarations *****/ 
extern  unsigned int   cvttobin(char *c);
/***** getpass.c function declarations *****/ 
extern  char *   getpass(char *prompt);
extern  int   readchar(void );
/***** ndata.c function declarations *****/ 
/***** netaddnm.c function declarations *****/ 
extern  int   netaddname(char *lname,int format);
/***** netastat.c function declarations *****/ 
extern  int   netastat(void );
/***** netcall.c function declarations *****/ 
extern  int   netcall(char *lname,char *rname);
/***** netckst.c function declarations *****/ 
extern  int   netinittrans(void );
extern  void   netcktrans(void );
extern  int   netinitpkts(void );
extern  void   netprintpkts(void );
extern  int   netgettransinfo(struct transinfo *ti_p);
extern  int   netgetpkts(struct pkts *pk_p);
/***** netcnct.c function declarations *****/ 
extern  int   netconnect(char *rname,char *service);
/***** netcpnam.c function declarations *****/ 
extern  void   netcpnam(char *sname,char *tname);
/***** netdelnm.c function declarations *****/ 
extern  int   netdelname(char *lname,int format);
/***** neterrl.c function declarations *****/ 
/***** neterrno.c function declarations *****/ 
/***** netfrec.c function declarations *****/ 
extern  unsigned int   netfreceive(int lsn,char far *buf,unsigned int nbytes);
/***** netfsend.c function declarations *****/ 
extern  unsigned int   netfsend(int lsn,char far *buf,unsigned int nbytes);
/***** nethgup.c function declarations *****/ 
extern  int   nethangup(int lsn);
/***** netlis.c function declarations *****/ 
extern  int   netlisten(char *lname,int lformat,char *rname,int rformat);
/***** netlname.c function declarations *****/ 
extern  char *   netlname(int lsn);
/***** netncll.c function declarations *****/ 
extern  int   netnewcall(char *lname,int lformat,char *rname,int rformat);
/***** netncnct.c function declarations *****/ 
extern  int   netnewconnect(char *rname,char *service);
/***** netperr.c function declarations *****/ 
extern  void   netperror(char *s);
extern  char *   neterrstr(int eno);
/***** netpname.c function declarations *****/ 
extern  int   netpname(char *pname);
/***** netrdg.c function declarations *****/ 
extern  int   netrdg(int lname_num,char *buf,unsigned int nbytes);
/***** netread.c function declarations *****/ 
extern  long netread(int lsn,char *addr,unsigned int cnt);
/***** netrec.c function declarations *****/ 
extern  long netreceive(int lsn,char *buf,unsigned int nbytes);
/***** netreset.c function declarations *****/ 
extern  int   netreset(unsigned char sessions,unsigned char commands);
/***** netrname.c function declarations *****/ 
extern  char *   netrname(int lsn);
/***** netsdg.c function declarations *****/ 
extern  int   netsdg(int lname_num,char *rname,char *buf,int nbytes);
/***** netsend.c function declarations *****/ 
extern  long netsend(int lsn,char *buf,unsigned int nbytes);
/***** netsetto.c function declarations *****/ 
extern  void   netsetto(int rto,int sto);
/***** netsstat.c function declarations *****/ 
extern  int   netsstat(char *name);
/***** netwrite.c function declarations *****/ 
extern  long netwrite(int lsn,char *addr,unsigned int cnt);
/***** nfdopen.c function declarations *****/ 
extern  struct _niobuf *   nfdopen(int lsn,char *mode);
extern  struct _niobuf *   _nfindiop(void );
/***** nfgets.c function declarations *****/ 
extern  char *   nfgets(char *ptr,int size,struct _niobuf *iop);
/***** nfilbuf.c function declarations *****/ 
extern  int   _nfilbuf(struct _niobuf *iop);
/***** nflsbuf.c function declarations *****/ 
extern  void   _ncleanup(void );
extern  int   nfclose(struct _niobuf *iop);
extern  int   nfflush(struct _niobuf *iop);
extern  int   _nflsbuf(unsigned char c,struct _niobuf *iop);
extern  int   _nxflsbuf(struct _niobuf *iop);
extern  int   _nwrtchk(struct _niobuf *iop);
extern  void   _nfindbuf(struct _niobuf *iop);
extern  void   _nbufsync(struct _niobuf *iop);
/***** nfprintf.c function declarations *****/ 
extern  void   __cdecl nfprintf(NFILE *,char *, ...);
//extern  void   _ndoprnt(char *fmt,unsigned int *adx, NFILE *nfp);
extern  void   nfprintn(struct _niobuf *nfp,unsigned int n,unsigned int b);
extern  void   nfprintln(struct _niobuf *nfp,long l,unsigned int b);
extern  void   nfprintx(struct _niobuf *nfp,int x);
/***** nsetbuf.c function declarations *****/ 
extern  void   nsetbuf(struct _niobuf *iop,char *buf);
/***** passncb.c function declarations *****/ 
extern  int   passncb(PNCB);
/***** raw.c function declarations *****/ 
extern  int   goraw(void );
extern  int   unraw(void );
/***** whoami.c function declarations *****/ 
extern  char *   whoami(void );
