sVio Struct Reference
[Vio class]

Contains public data members for Vio class. More...

#include <vio.h>

List of all members.

Public Attributes

VIOtype type
VIOfrmt frmt
VIOrwkey rwkey
char file [VMAX_ARGLEN]
char lhost [VMAX_ARGLEN]
char rhost [VMAX_ARGLEN]
int error
int dirty
FILE * fp
int so
int soc
void * name
void * axdr
char whiteChars [VMAX_ARGNUM]
char commChars [VMAX_ARGNUM]
char ioBuffer [VMAX_BUFSIZE]
int ioBufferLen
char putBuffer [VMAX_BUFSIZE]
int putBufferLen
char * VIObuffer
int VIObufferLen
int VIObufferPtr


Detailed Description

Contains public data members for Vio class.

Author:
Michael Holst

Member Data Documentation

file (or device) type. VIO_NO_TYPE = not initialized. VIO_SDIO = standard I/O. VIO_FILE = file I/O. VIO_BUFF = buffer I/O. VIO_UNIX = UNIX (domain) socket I/O. VIO_INET = INET (network) socket I/O.

data format. VIO_NO_FRMT = not initialized. VIO_ASC = ASCII (FILE,BUFF,UNIX,INET). VIO_XDR = BINARY (FILE,BUFF,UNIX,INET).

r/w key. VIO_NO_R = not initialized. VIO_R = read (FILE,BUFF,UNIX,INET) VIO_W = write (FILE,BUFF,UNIX,INET)

char sVio::file[VMAX_ARGLEN]

file or device name (FILE,BUFF,UNIX,INET)

char sVio::lhost[VMAX_ARGLEN]

local hostname (me) (UNIX,INET)

char sVio::rhost[VMAX_ARGLEN]

remote hostname (other guy) (UNIX,INET)

note if any error has occurred on this vio device

dirty read bit -- have we read file yet (FILE)

FILE* sVio::fp

file pointer (SDIO,FILE)

int sVio::so

primary unix domain or inet socket (UNIX,INET)

int sVio::soc

subsocket created for socket reading (UNIX,INET)

void* sVio::name

&sockaddr_un or &sockaddr_in (UNIX,INET)

void* sVio::axdr

ASC/XDR structure pointer (ASC,XDR)

char sVio::whiteChars[VMAX_ARGNUM]

white space character set (ASC)

char sVio::commChars[VMAX_ARGNUM]

comment character set (ASC,XDR)

char sVio::ioBuffer[VMAX_BUFSIZE]

I/O buffer (ASC,XDR)

I/O buffer length (ASC,XDR)

char sVio::putBuffer[VMAX_BUFSIZE]

final write buffer (ASC,XDR)

final write buffer length (ASC,XDR)

(BUFF)

(BUFF)

(BUFF)


The documentation for this struct was generated from the following file:

Generated on Mon Aug 9 11:08:04 2010 for MALOC by  doxygen 1.5.6