\doxysection{vsh.\+h}
\label{a00017_source}\index{vsh.h@{vsh.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00038\ \textcolor{preprocessor}{\#ifndef\ \_VSH\_H\_}}
\DoxyCodeLine{00039\ \textcolor{preprocessor}{\#define\ \_VSH\_H\_}}
\DoxyCodeLine{00040\ }
\DoxyCodeLine{00041\ \textcolor{preprocessor}{\#include\ <maloc/maloc\_base.h>}}
\DoxyCodeLine{00042\ }
\DoxyCodeLine{00043\ \textcolor{preprocessor}{\#include\ <maloc/vsys.h>}}
\DoxyCodeLine{00044\ }
\DoxyCodeLine{00045\ \textcolor{comment}{/*}}
\DoxyCodeLine{00046\ \textcolor{comment}{\ *\ ***************************************************************************}}
\DoxyCodeLine{00047\ \textcolor{comment}{\ *\ Class\ Vsh:\ Parameters\ and\ datatypes}}
\DoxyCodeLine{00048\ \textcolor{comment}{\ *\ ***************************************************************************}}
\DoxyCodeLine{00049\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00050\ }
\DoxyCodeLine{00056\ \textcolor{keyword}{struct\ }sVsh\ \{}
\DoxyCodeLine{00057\ }
\DoxyCodeLine{00059\ \ \ \ \ Vmem\ \ \ *vmem;\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00061\ \ \ \ \ \textcolor{keywordtype}{int}\ \ \ \ iMadeVmem;\ \ \ \ }
\DoxyCodeLine{00062\ }
\DoxyCodeLine{00064\ \ \ \ \ \textcolor{keywordtype}{char}\ processArgs;\ \ }
\DoxyCodeLine{00065\ }
\DoxyCodeLine{00067\ \ \ \ \ \textcolor{keywordtype}{int}\ envValuLen;}
\DoxyCodeLine{00069\ \ \ \ \ \textcolor{keywordtype}{int}\ envInfoLen;}
\DoxyCodeLine{00071\ \ \ \ \ \textcolor{keywordtype}{char}\ **envValu;\ }
\DoxyCodeLine{00073\ \ \ \ \ \textcolor{keywordtype}{char}\ **envInfo;\ }
\DoxyCodeLine{00074\ }
\DoxyCodeLine{00076\ \ \ \ \ FILE\ *inUnit;\ \ }
\DoxyCodeLine{00078\ \ \ \ \ FILE\ *scUnit;}
\DoxyCodeLine{00080\ \ \ \ \ FILE\ *clUnit;}
\DoxyCodeLine{00082\ \ \ \ \ FILE\ *cinUnit;\ }
\DoxyCodeLine{00084\ \ \ \ \ \textcolor{keywordtype}{char}\ cinName[VMAX\_ARGLEN];}
\DoxyCodeLine{00085\ }
\DoxyCodeLine{00087\ \ \ \ \ \textcolor{keywordtype}{char}\ PR[VMAX\_ARGLEN];\ \ \ \ \ \ }
\DoxyCodeLine{00089\ \ \ \ \ \textcolor{keywordtype}{char}\ PR\_PATH[VMAX\_ARGLEN];\ }
\DoxyCodeLine{00091\ \ \ \ \ \textcolor{keywordtype}{char}\ PR\_EXIT[VMAX\_ARGLEN];\ \ }
\DoxyCodeLine{00092\ }
\DoxyCodeLine{00094\ \ \ \ \ \textcolor{keywordtype}{int}\ cmdKey;\ \ \ \ \ \ \ }
\DoxyCodeLine{00096\ \ \ \ \ \textcolor{keywordtype}{void}\ *Ext\_thee;\ \ \ }
\DoxyCodeLine{00097\ }
\DoxyCodeLine{00099\ \ \ \ \ \textcolor{keywordtype}{char}\ *buf;}
\DoxyCodeLine{00101\ \ \ \ \ \textcolor{keywordtype}{int}\ bufsize;\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00102\ }
\DoxyCodeLine{00104\ \ \ \ \ int\ (*Ext\_builtin)(\textcolor{keywordtype}{void}\ *thee,\ \textcolor{keywordtype}{int}\ argc,\ \textcolor{keywordtype}{char}\ **argv);}
\DoxyCodeLine{00105\ }
\DoxyCodeLine{00106\ \};}
\DoxyCodeLine{00107\ }
\DoxyCodeLine{00113\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }sVsh\ Vsh;}
\DoxyCodeLine{00114\ }
\DoxyCodeLine{00115\ }
\DoxyCodeLine{00116\ \textcolor{comment}{/*}}
\DoxyCodeLine{00117\ \textcolor{comment}{\ *\ ***************************************************************************}}
\DoxyCodeLine{00118\ \textcolor{comment}{\ *\ Class\ Vsh:\ Inlineable\ methods\ (vsh.c)}}
\DoxyCodeLine{00119\ \textcolor{comment}{\ *\ ***************************************************************************}}
\DoxyCodeLine{00120\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00121\ }
\DoxyCodeLine{00122\ \textcolor{preprocessor}{\#if\ !defined(VINLINE\_MALOC)}}
\DoxyCodeLine{00123\ \textcolor{preprocessor}{\#else\ }\textcolor{comment}{/*\ if\ defined(VINLINE\_MALOC)\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00124\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ if\ !defined(VINLINE\_MALOC)\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00125\ }
\DoxyCodeLine{00126\ }
\DoxyCodeLine{00137\ Vsh*\ Vsh\_ctor(Vmem\ *vmem,\ \textcolor{keywordtype}{int}\ argc,\ \textcolor{keywordtype}{char}\ **argv);}
\DoxyCodeLine{00138\ }
\DoxyCodeLine{00147\ \textcolor{keywordtype}{void}\ Vsh\_dtor(Vsh\ **thee);}
\DoxyCodeLine{00148\ }
\DoxyCodeLine{00160\ \textcolor{keywordtype}{int}\ Vsh\_shell(Vsh\ *thee,\ \textcolor{keywordtype}{char}\ *pPR,\ \textcolor{keywordtype}{void}\ *pthee,}
\DoxyCodeLine{00161\ \ \ \ \ \textcolor{keywordtype}{int}\ (*builtin)(\textcolor{keywordtype}{void}\ *thee,\ \textcolor{keywordtype}{int}\ argc,\ \textcolor{keywordtype}{char}\ **argv));}
\DoxyCodeLine{00162\ }
\DoxyCodeLine{00173\ \textcolor{keywordtype}{int}\ Vsh\_putenv(Vsh\ *thee,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *envi,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *valu);}
\DoxyCodeLine{00174\ }
\DoxyCodeLine{00185\ \textcolor{keywordtype}{int}\ Vsh\_putenvInfo(Vsh\ *thee,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *envi,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *valu);}
\DoxyCodeLine{00186\ }
\DoxyCodeLine{00197\ \textcolor{keywordtype}{int}\ Vsh\_putenvInt(Vsh\ *thee,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *envi,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{int}\ valu);}
\DoxyCodeLine{00198\ }
\DoxyCodeLine{00209\ \textcolor{keywordtype}{int}\ Vsh\_putenvReal(Vsh\ *thee,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *envi,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{double}\ valu);}
\DoxyCodeLine{00210\ }
\DoxyCodeLine{00220\ \textcolor{keywordtype}{char}\ *Vsh\_getenv(Vsh\ *thee,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *envi);}
\DoxyCodeLine{00221\ }
\DoxyCodeLine{00231\ \textcolor{keywordtype}{char}\ *Vsh\_getenvInfo(Vsh\ *thee,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *envi);}
\DoxyCodeLine{00232\ }
\DoxyCodeLine{00242\ \textcolor{keywordtype}{int}\ Vsh\_getenvInt(Vsh\ *thee,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *envi);}
\DoxyCodeLine{00243\ }
\DoxyCodeLine{00253\ \textcolor{keywordtype}{double}\ Vsh\_getenvReal(Vsh\ *thee,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *envi);}
\DoxyCodeLine{00254\ }
\DoxyCodeLine{00264\ \textcolor{keywordtype}{void}\ Vsh\_remove(Vsh\ *thee,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *envi);}
\DoxyCodeLine{00265\ }
\DoxyCodeLine{00274\ \textcolor{keywordtype}{void}\ Vsh\_wipe(Vsh\ *thee);}
\DoxyCodeLine{00275\ }
\DoxyCodeLine{00284\ \textcolor{keywordtype}{void}\ Vsh\_memChk(Vsh\ *thee);}
\DoxyCodeLine{00285\ }
\DoxyCodeLine{00295\ Vio\ *Vsh\_ioSetup(Vsh\ *thee,\ \textcolor{keywordtype}{char}\ *key);}
\DoxyCodeLine{00296\ }
\DoxyCodeLine{00306\ \textcolor{keywordtype}{void}\ Vsh\_ioCleanup(Vsh\ *thee,\ Vio\ **sock);}
\DoxyCodeLine{00307\ }
\DoxyCodeLine{00308\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ \_VSH\_H\_\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00309\ }

\end{DoxyCode}
