\doxysection{s\+Vio Struct Reference}
\label{a00074}\index{sVio@{sVio}}


Contains public data members for Vio class.  




{\ttfamily \#include $<$vio.\+h$>$}

\doxysubsubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\textbf{ VIOtype} \textbf{ type}
\item 
\textbf{ VIOfrmt} \textbf{ frmt}
\item 
\textbf{ VIOrwkey} \textbf{ rwkey}
\item 
char \textbf{ file} [\textbf{ VMAX\+\_\+\+ARGLEN}]
\item 
char \textbf{ lhost} [\textbf{ VMAX\+\_\+\+ARGLEN}]
\item 
char \textbf{ rhost} [\textbf{ VMAX\+\_\+\+ARGLEN}]
\item 
int \textbf{ error}
\item 
int \textbf{ dirty}
\item 
FILE $\ast$ \textbf{ fp}
\item 
int \textbf{ so}
\item 
int \textbf{ soc}
\item 
void $\ast$ \textbf{ name}
\item 
void $\ast$ \textbf{ axdr}
\item 
char \textbf{ white\+Chars} [\textbf{ VMAX\+\_\+\+ARGNUM}]
\item 
char \textbf{ comm\+Chars} [\textbf{ VMAX\+\_\+\+ARGNUM}]
\item 
char \textbf{ io\+Buffer} [\textbf{ VMAX\+\_\+\+BUFSIZE}]
\item 
int \textbf{ io\+Buffer\+Len}
\item 
char \textbf{ put\+Buffer} [\textbf{ VMAX\+\_\+\+BUFSIZE}]
\item 
int \textbf{ put\+Buffer\+Len}
\item 
char $\ast$ \textbf{ VIObuffer}
\item 
int \textbf{ VIObuffer\+Len}
\item 
int \textbf{ VIObuffer\+Ptr}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Contains public data members for Vio class. 

\begin{DoxyAuthor}{Author}
Michael Holst 
\end{DoxyAuthor}


\doxysubsection{Member Data Documentation}
\index{sVio@{sVio}!axdr@{axdr}}
\index{axdr@{axdr}!sVio@{sVio}}
\doxysubsubsection{axdr}
{\footnotesize\ttfamily \label{a00074_acdd32890033cf340b8749afe256647f9} 
void$\ast$ s\+Vio\+::axdr}

ASC/\+XDR structure pointer (ASC,XDR) ~\newline
 \index{sVio@{sVio}!commChars@{commChars}}
\index{commChars@{commChars}!sVio@{sVio}}
\doxysubsubsection{commChars}
{\footnotesize\ttfamily \label{a00074_a58c30e0df43f9853024a3d617f62ee33} 
char s\+Vio\+::comm\+Chars[\textbf{ VMAX\+\_\+\+ARGNUM}]}

comment character set (ASC,XDR) ~\newline
 \index{sVio@{sVio}!dirty@{dirty}}
\index{dirty@{dirty}!sVio@{sVio}}
\doxysubsubsection{dirty}
{\footnotesize\ttfamily \label{a00074_a72fb31f8402b0529548f19d2fef80dc6} 
int s\+Vio\+::dirty}

dirty read bit -- have we read file yet (FILE) ~\newline
 \index{sVio@{sVio}!error@{error}}
\index{error@{error}!sVio@{sVio}}
\doxysubsubsection{error}
{\footnotesize\ttfamily \label{a00074_af77cb7bb4dafab6b485a881732e7b8f9} 
int s\+Vio\+::error}

note if any error has occurred on this vio device \index{sVio@{sVio}!file@{file}}
\index{file@{file}!sVio@{sVio}}
\doxysubsubsection{file}
{\footnotesize\ttfamily \label{a00074_ab8b3817815f2c248fb0e781944a43b17} 
char s\+Vio\+::file[\textbf{ VMAX\+\_\+\+ARGLEN}]}

file or device name (FILE,BUFF,UNIX,INET) \index{sVio@{sVio}!fp@{fp}}
\index{fp@{fp}!sVio@{sVio}}
\doxysubsubsection{fp}
{\footnotesize\ttfamily \label{a00074_a6ac2f825edaf90c684faebbb17ad67d4} 
FILE$\ast$ s\+Vio\+::fp}

file pointer (SDIO,FILE) ~\newline
 \index{sVio@{sVio}!frmt@{frmt}}
\index{frmt@{frmt}!sVio@{sVio}}
\doxysubsubsection{frmt}
{\footnotesize\ttfamily \label{a00074_a6c29ebe4584937b74a3c0b449310f1ac} 
\textbf{ VIOfrmt} s\+Vio\+::frmt}

data format. VIO\+\_\+\+NO\+\_\+\+FRMT = not initialized. ~\newline
 VIO\+\_\+\+ASC = ASCII (FILE,BUFF,UNIX,INET). VIO\+\_\+\+XDR = BINARY (FILE,BUFF,UNIX,INET). ~\newline
 \index{sVio@{sVio}!ioBuffer@{ioBuffer}}
\index{ioBuffer@{ioBuffer}!sVio@{sVio}}
\doxysubsubsection{ioBuffer}
{\footnotesize\ttfamily \label{a00074_aa782f06576338c4bf32af13ffa76b455} 
char s\+Vio\+::io\+Buffer[\textbf{ VMAX\+\_\+\+BUFSIZE}]}

I/O buffer (ASC,XDR) ~\newline
 \index{sVio@{sVio}!ioBufferLen@{ioBufferLen}}
\index{ioBufferLen@{ioBufferLen}!sVio@{sVio}}
\doxysubsubsection{ioBufferLen}
{\footnotesize\ttfamily \label{a00074_a319b82ac4590beb7b7971822fc5ab471} 
int s\+Vio\+::io\+Buffer\+Len}

I/O buffer length (ASC,XDR) ~\newline
 \index{sVio@{sVio}!lhost@{lhost}}
\index{lhost@{lhost}!sVio@{sVio}}
\doxysubsubsection{lhost}
{\footnotesize\ttfamily \label{a00074_a8bb72a4f63380102527e19b592f70acc} 
char s\+Vio\+::lhost[\textbf{ VMAX\+\_\+\+ARGLEN}]}

local hostname (me) (UNIX,INET) ~\newline
 \index{sVio@{sVio}!name@{name}}
\index{name@{name}!sVio@{sVio}}
\doxysubsubsection{name}
{\footnotesize\ttfamily \label{a00074_ab949cc025dba7a425e9a483d7b9452be} 
void$\ast$ s\+Vio\+::name}

\&sockaddr\+\_\+un or \&sockaddr\+\_\+in (UNIX,INET) ~\newline
 \index{sVio@{sVio}!putBuffer@{putBuffer}}
\index{putBuffer@{putBuffer}!sVio@{sVio}}
\doxysubsubsection{putBuffer}
{\footnotesize\ttfamily \label{a00074_a026eee4ab9d1413ac7dec57bcba4cff9} 
char s\+Vio\+::put\+Buffer[\textbf{ VMAX\+\_\+\+BUFSIZE}]}

final write buffer (ASC,XDR) ~\newline
 \index{sVio@{sVio}!putBufferLen@{putBufferLen}}
\index{putBufferLen@{putBufferLen}!sVio@{sVio}}
\doxysubsubsection{putBufferLen}
{\footnotesize\ttfamily \label{a00074_ad68b54648906734b80b93205cfb22812} 
int s\+Vio\+::put\+Buffer\+Len}

final write buffer length (ASC,XDR) ~\newline
 \index{sVio@{sVio}!rhost@{rhost}}
\index{rhost@{rhost}!sVio@{sVio}}
\doxysubsubsection{rhost}
{\footnotesize\ttfamily \label{a00074_af3eaf81b391a451956735215da0f6b55} 
char s\+Vio\+::rhost[\textbf{ VMAX\+\_\+\+ARGLEN}]}

remote hostname (other guy) (UNIX,INET) ~\newline
 \index{sVio@{sVio}!rwkey@{rwkey}}
\index{rwkey@{rwkey}!sVio@{sVio}}
\doxysubsubsection{rwkey}
{\footnotesize\ttfamily \label{a00074_a46b6d2de5b885ef6850e74dbf69230c5} 
\textbf{ VIOrwkey} s\+Vio\+::rwkey}

r/w key. VIO\+\_\+\+NO\+\_\+R = not initialized. VIO\+\_\+R = read (FILE,BUFF,UNIX,INET) VIO\+\_\+W = write (FILE,BUFF,UNIX,INET) ~\newline
 \index{sVio@{sVio}!so@{so}}
\index{so@{so}!sVio@{sVio}}
\doxysubsubsection{so}
{\footnotesize\ttfamily \label{a00074_af100e7b153d174650215657e74e0360f} 
int s\+Vio\+::so}

primary unix domain or inet socket (UNIX,INET) ~\newline
 \index{sVio@{sVio}!soc@{soc}}
\index{soc@{soc}!sVio@{sVio}}
\doxysubsubsection{soc}
{\footnotesize\ttfamily \label{a00074_a846bff280f1fad2f64708f80dd824d72} 
int s\+Vio\+::soc}

subsocket created for socket reading (UNIX,INET) ~\newline
 \index{sVio@{sVio}!type@{type}}
\index{type@{type}!sVio@{sVio}}
\doxysubsubsection{type}
{\footnotesize\ttfamily \label{a00074_a10ff01c784656edf59de7290943d2bb8} 
\textbf{ VIOtype} s\+Vio\+::type}

file (or device) type. ~\newline
 VIO\+\_\+\+NO\+\_\+\+TYPE = not initialized. VIO\+\_\+\+SDIO = standard I/O. VIO\+\_\+\+FILE = file I/O. ~\newline
 VIO\+\_\+\+BUFF = buffer I/O. ~\newline
 VIO\+\_\+\+UNIX = UNIX (domain) socket I/O. VIO\+\_\+\+INET = INET (network) socket I/O. ~\newline
 \index{sVio@{sVio}!VIObuffer@{VIObuffer}}
\index{VIObuffer@{VIObuffer}!sVio@{sVio}}
\doxysubsubsection{VIObuffer}
{\footnotesize\ttfamily \label{a00074_ad05a71a18ce91d54c9e90f6f24a6e0d5} 
char$\ast$ s\+Vio\+::\+VIObuffer}

(BUFF) \index{sVio@{sVio}!VIObufferLen@{VIObufferLen}}
\index{VIObufferLen@{VIObufferLen}!sVio@{sVio}}
\doxysubsubsection{VIObufferLen}
{\footnotesize\ttfamily \label{a00074_aaa457bd84691d96861e3c7792006517c} 
int s\+Vio\+::\+VIObuffer\+Len}

(BUFF) \index{sVio@{sVio}!VIObufferPtr@{VIObufferPtr}}
\index{VIObufferPtr@{VIObufferPtr}!sVio@{sVio}}
\doxysubsubsection{VIObufferPtr}
{\footnotesize\ttfamily \label{a00074_a615098ef767bb9dd01bd2629b1b8d8be} 
int s\+Vio\+::\+VIObuffer\+Ptr}

(BUFF) \index{sVio@{sVio}!whiteChars@{whiteChars}}
\index{whiteChars@{whiteChars}!sVio@{sVio}}
\doxysubsubsection{whiteChars}
{\footnotesize\ttfamily \label{a00074_aa478abe4d4059c9b597ffc3181b9460e} 
char s\+Vio\+::white\+Chars[\textbf{ VMAX\+\_\+\+ARGNUM}]}

white space character set (ASC) ~\newline
 

The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\textbf{ vio.\+h}\end{DoxyCompactItemize}
