ftp.nice.ch/pub/next/unix/network/news/slrn0.9.0.0.s.tar.gz#/slrn/src/sltcp.h

This is sltcp.h in view mode; [Download] [Up]

#ifndef _SLTCP_H_LOADED_
#define _SLTCP_H_LOADED_

#include <stdarg.h>

typedef struct 
{
   FILE *fp_read;
   FILE *fp_write;
}
SLTCP_Type;

extern int sltcp_open_connection (SLTCP_Type *, char *, int);
extern void sltcp_close (SLTCP_Type *);
extern unsigned sltcp_fread (SLTCP_Type *, char *, unsigned int);
extern unsigned sltcp_fwrite (SLTCP_Type *, char *, unsigned int);
extern int sltcp_fputs (SLTCP_Type *, char *);
extern char *sltcp_fgets (SLTCP_Type *, char *, int);
extern int sltcp_fflush (SLTCP_Type *);
extern int sltcp_vfprintf (SLTCP_Type *, char *, va_list);
extern int sltcp_map_service_to_port (char *);
#endif

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.