\doxysection{vsh.\+h File Reference}
\label{a00017}\index{vsh.h@{vsh.h}}


Header file for vsh, a bourne-\/compatible shell.  


{\ttfamily \#include $<$maloc/maloc\+\_\+base.\+h$>$}\newline
{\ttfamily \#include $<$maloc/vsys.\+h$>$}\newline
Include dependency graph for vsh.\+h\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{a00018}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=113pt]{a00019}
\end{center}
\end{figure}
\doxysubsubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \textbf{ s\+Vsh}
\begin{DoxyCompactList}\small\item\em Contains public data members for \doxyref{Vsh}{p.}{a00051_ga12e0c622051a2ba8ed3b0609a5ae71e3} class. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \textbf{ s\+Vsh} \textbf{ Vsh}
\begin{DoxyCompactList}\small\item\em Declaration of the \doxyref{Vsh}{p.}{a00051_ga12e0c622051a2ba8ed3b0609a5ae71e3} class as the \doxyref{Vsh}{p.}{a00051_ga12e0c622051a2ba8ed3b0609a5ae71e3} structure. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\textbf{ Vsh} $\ast$ \textbf{ Vsh\+\_\+ctor} (\textbf{ Vmem} $\ast$vmem, int argc, char $\ast$$\ast$argv)
\begin{DoxyCompactList}\small\item\em Create the shell. \end{DoxyCompactList}\item 
void \textbf{ Vsh\+\_\+dtor} (\textbf{ Vsh} $\ast$$\ast$thee)
\begin{DoxyCompactList}\small\item\em Destroy the shell. \end{DoxyCompactList}\item 
int \textbf{ Vsh\+\_\+shell} (\textbf{ Vsh} $\ast$thee, char $\ast$p\+PR, void $\ast$pthee, int($\ast$builtin)(void $\ast$thee, int argc, char $\ast$$\ast$argv))
\begin{DoxyCompactList}\small\item\em A bash-\/like shell with user-\/definable extensions. \end{DoxyCompactList}\item 
int \textbf{ Vsh\+\_\+putenv} (\textbf{ Vsh} $\ast$thee, const char $\ast$envi, const char $\ast$valu)
\begin{DoxyCompactList}\small\item\em Place a variable with a value in the environment. \end{DoxyCompactList}\item 
int \textbf{ Vsh\+\_\+putenv\+Info} (\textbf{ Vsh} $\ast$thee, const char $\ast$envi, const char $\ast$valu)
\begin{DoxyCompactList}\small\item\em Place a variable with an info string in the environment. \end{DoxyCompactList}\item 
int \textbf{ Vsh\+\_\+putenv\+Int} (\textbf{ Vsh} $\ast$thee, const char $\ast$envi, const int valu)
\begin{DoxyCompactList}\small\item\em Place a variable with a value (integer) in the environment. \end{DoxyCompactList}\item 
int \textbf{ Vsh\+\_\+putenv\+Real} (\textbf{ Vsh} $\ast$thee, const char $\ast$envi, const double valu)
\begin{DoxyCompactList}\small\item\em Place a variable with a value (real) in the environment. \end{DoxyCompactList}\item 
char $\ast$ \textbf{ Vsh\+\_\+getenv} (\textbf{ Vsh} $\ast$thee, const char $\ast$envi)
\begin{DoxyCompactList}\small\item\em Get a value of variable in the environment. \end{DoxyCompactList}\item 
char $\ast$ \textbf{ Vsh\+\_\+getenv\+Info} (\textbf{ Vsh} $\ast$thee, const char $\ast$envi)
\begin{DoxyCompactList}\small\item\em Get info associated with a variable in the environment. \end{DoxyCompactList}\item 
int \textbf{ Vsh\+\_\+getenv\+Int} (\textbf{ Vsh} $\ast$thee, const char $\ast$envi)
\begin{DoxyCompactList}\small\item\em Get a value of variable in the environment as an integer. \end{DoxyCompactList}\item 
double \textbf{ Vsh\+\_\+getenv\+Real} (\textbf{ Vsh} $\ast$thee, const char $\ast$envi)
\begin{DoxyCompactList}\small\item\em Get a value of variable in the environment as a real. \end{DoxyCompactList}\item 
void \textbf{ Vsh\+\_\+remove} (\textbf{ Vsh} $\ast$thee, const char $\ast$envi)
\begin{DoxyCompactList}\small\item\em Remove a variable from the environment. \end{DoxyCompactList}\item 
void \textbf{ Vsh\+\_\+wipe} (\textbf{ Vsh} $\ast$thee)
\begin{DoxyCompactList}\small\item\em Wipe the environment. \end{DoxyCompactList}\item 
void \textbf{ Vsh\+\_\+mem\+Chk} (\textbf{ Vsh} $\ast$thee)
\begin{DoxyCompactList}\small\item\em Print the exact current malloc usage. \end{DoxyCompactList}\item 
\textbf{ Vio} $\ast$ \textbf{ Vsh\+\_\+io\+Setup} (\textbf{ Vsh} $\ast$thee, char $\ast$key)
\begin{DoxyCompactList}\small\item\em Setup for an I/O command. \end{DoxyCompactList}\item 
void \textbf{ Vsh\+\_\+io\+Cleanup} (\textbf{ Vsh} $\ast$thee, \textbf{ Vio} $\ast$$\ast$sock)
\begin{DoxyCompactList}\small\item\em Cleanup an I/O command. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Header file for vsh, a bourne-\/compatible shell. 

\begin{DoxyAuthor}{Author}
Michael Holst 
\end{DoxyAuthor}
\begin{DoxyNote}{Note}
None 
\end{DoxyNote}
\begin{DoxyVersion}{Version}

\end{DoxyVersion}
\begin{DoxyParagraph}{Id}
\doxyref{vsh.\+h}{p.}{a00017},v 1.\+30 2010/08/12 05\+:40\+:29 fetk Exp 
\end{DoxyParagraph}


\begin{DoxyAttention}{Attention}
\begin{DoxyVerb}*
* MALOC = < Minimal Abstraction Layer for Object-oriented C >
* Copyright (C) 1994-- Michael Holst
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*  \end{DoxyVerb}
 
\end{DoxyAttention}
