\doxysection{vsh.\+h}
\label{a00017_source}\index{vsh.h@{vsh.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{38 \textcolor{preprocessor}{\#ifndef \_VSH\_H\_}}
\DoxyCodeLine{39 \textcolor{preprocessor}{\#define \_VSH\_H\_}}
\DoxyCodeLine{40 }
\DoxyCodeLine{41 \textcolor{preprocessor}{\#include <maloc/maloc\_base.h>}}
\DoxyCodeLine{42 }
\DoxyCodeLine{43 \textcolor{preprocessor}{\#include <maloc/vsys.h>}}
\DoxyCodeLine{44 }
\DoxyCodeLine{45 \textcolor{comment}{/*}}
\DoxyCodeLine{46 \textcolor{comment}{ * ***************************************************************************}}
\DoxyCodeLine{47 \textcolor{comment}{ * Class Vsh: Parameters and datatypes}}
\DoxyCodeLine{48 \textcolor{comment}{ * ***************************************************************************}}
\DoxyCodeLine{49 \textcolor{comment}{ */}}
\DoxyCodeLine{50 }
\DoxyCodeLine{56 \textcolor{keyword}{struct }sVsh \{}
\DoxyCodeLine{57 }
\DoxyCodeLine{59     Vmem   *vmem;        }
\DoxyCodeLine{61     \textcolor{keywordtype}{int}    iMadeVmem;    }
\DoxyCodeLine{62 }
\DoxyCodeLine{64     \textcolor{keywordtype}{char} processArgs;  }
\DoxyCodeLine{65 }
\DoxyCodeLine{67     \textcolor{keywordtype}{int} envValuLen;}
\DoxyCodeLine{69     \textcolor{keywordtype}{int} envInfoLen;}
\DoxyCodeLine{71     \textcolor{keywordtype}{char} **envValu; }
\DoxyCodeLine{73     \textcolor{keywordtype}{char} **envInfo; }
\DoxyCodeLine{74 }
\DoxyCodeLine{76     FILE *inUnit;  }
\DoxyCodeLine{78     FILE *scUnit;}
\DoxyCodeLine{80     FILE *clUnit;}
\DoxyCodeLine{82     FILE *cinUnit; }
\DoxyCodeLine{84     \textcolor{keywordtype}{char} cinName[VMAX\_ARGLEN];}
\DoxyCodeLine{85 }
\DoxyCodeLine{87     \textcolor{keywordtype}{char} PR[VMAX\_ARGLEN];      }
\DoxyCodeLine{89     \textcolor{keywordtype}{char} PR\_PATH[VMAX\_ARGLEN]; }
\DoxyCodeLine{91     \textcolor{keywordtype}{char} PR\_EXIT[VMAX\_ARGLEN];  }
\DoxyCodeLine{92 }
\DoxyCodeLine{94     \textcolor{keywordtype}{int} cmdKey;       }
\DoxyCodeLine{96     \textcolor{keywordtype}{void} *Ext\_thee;   }
\DoxyCodeLine{97 }
\DoxyCodeLine{99     \textcolor{keywordtype}{char} *buf;}
\DoxyCodeLine{101     \textcolor{keywordtype}{int} bufsize;        }
\DoxyCodeLine{102 }
\DoxyCodeLine{104     int (*Ext\_builtin)(\textcolor{keywordtype}{void} *thee, \textcolor{keywordtype}{int} argc, \textcolor{keywordtype}{char} **argv);}
\DoxyCodeLine{105 }
\DoxyCodeLine{106 \};}
\DoxyCodeLine{107 }
\DoxyCodeLine{113 \textcolor{keyword}{typedef} \textcolor{keyword}{struct }sVsh Vsh;}
\DoxyCodeLine{114 }
\DoxyCodeLine{115 }
\DoxyCodeLine{116 \textcolor{comment}{/*}}
\DoxyCodeLine{117 \textcolor{comment}{ * ***************************************************************************}}
\DoxyCodeLine{118 \textcolor{comment}{ * Class Vsh: Inlineable methods (vsh.c)}}
\DoxyCodeLine{119 \textcolor{comment}{ * ***************************************************************************}}
\DoxyCodeLine{120 \textcolor{comment}{ */}}
\DoxyCodeLine{121 }
\DoxyCodeLine{122 \textcolor{preprocessor}{\#if !defined(VINLINE\_MALOC)}}
\DoxyCodeLine{123 \textcolor{preprocessor}{\#else }\textcolor{comment}{/* if defined(VINLINE\_MALOC) */}\textcolor{preprocessor}{}}
\DoxyCodeLine{124 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* if !defined(VINLINE\_MALOC) */}\textcolor{preprocessor}{}}
\DoxyCodeLine{125 }
\DoxyCodeLine{126 }
\DoxyCodeLine{137 Vsh* Vsh\_ctor(Vmem *vmem, \textcolor{keywordtype}{int} argc, \textcolor{keywordtype}{char} **argv);}
\DoxyCodeLine{138 }
\DoxyCodeLine{147 \textcolor{keywordtype}{void} Vsh\_dtor(Vsh **thee);}
\DoxyCodeLine{148 }
\DoxyCodeLine{160 \textcolor{keywordtype}{int} Vsh\_shell(Vsh *thee, \textcolor{keywordtype}{char} *pPR, \textcolor{keywordtype}{void} *pthee,}
\DoxyCodeLine{161     \textcolor{keywordtype}{int} (*builtin)(\textcolor{keywordtype}{void} *thee, \textcolor{keywordtype}{int} argc, \textcolor{keywordtype}{char} **argv));}
\DoxyCodeLine{162 }
\DoxyCodeLine{173 \textcolor{keywordtype}{int} Vsh\_putenv(Vsh *thee, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *envi, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *valu);}
\DoxyCodeLine{174 }
\DoxyCodeLine{185 \textcolor{keywordtype}{int} Vsh\_putenvInfo(Vsh *thee, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *envi, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *valu);}
\DoxyCodeLine{186 }
\DoxyCodeLine{197 \textcolor{keywordtype}{int} Vsh\_putenvInt(Vsh *thee, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *envi, \textcolor{keyword}{const} \textcolor{keywordtype}{int} valu);}
\DoxyCodeLine{198 }
\DoxyCodeLine{209 \textcolor{keywordtype}{int} Vsh\_putenvReal(Vsh *thee, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *envi, \textcolor{keyword}{const} \textcolor{keywordtype}{double} valu);}
\DoxyCodeLine{210 }
\DoxyCodeLine{220 \textcolor{keywordtype}{char} *Vsh\_getenv(Vsh *thee, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *envi);}
\DoxyCodeLine{221 }
\DoxyCodeLine{231 \textcolor{keywordtype}{char} *Vsh\_getenvInfo(Vsh *thee, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *envi);}
\DoxyCodeLine{232 }
\DoxyCodeLine{242 \textcolor{keywordtype}{int} Vsh\_getenvInt(Vsh *thee, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *envi);}
\DoxyCodeLine{243 }
\DoxyCodeLine{253 \textcolor{keywordtype}{double} Vsh\_getenvReal(Vsh *thee, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *envi);}
\DoxyCodeLine{254 }
\DoxyCodeLine{264 \textcolor{keywordtype}{void} Vsh\_remove(Vsh *thee, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *envi);}
\DoxyCodeLine{265 }
\DoxyCodeLine{274 \textcolor{keywordtype}{void} Vsh\_wipe(Vsh *thee);}
\DoxyCodeLine{275 }
\DoxyCodeLine{284 \textcolor{keywordtype}{void} Vsh\_memChk(Vsh *thee);}
\DoxyCodeLine{285 }
\DoxyCodeLine{295 Vio *Vsh\_ioSetup(Vsh *thee, \textcolor{keywordtype}{char} *key);}
\DoxyCodeLine{296 }
\DoxyCodeLine{306 \textcolor{keywordtype}{void} Vsh\_ioCleanup(Vsh *thee, Vio **sock);}
\DoxyCodeLine{307 }
\DoxyCodeLine{308 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* \_VSH\_H\_ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{309 }

\end{DoxyCode}
