37 #include <maloc/maloc_base.h> 39 #include <maloc/vsys.h> 82 int (*Ext_builtin)(
void *thee,
int argc,
char **argv);
92 #if !defined(VINLINE_MALOC) 102 Vsh* Vsh_ctor(
Vmem *vmem,
int argc,
char **argv);
103 void Vsh_dtor(
Vsh **thee);
105 int Vsh_shell(
Vsh *thee,
char *pPR,
void *pthee,
106 int (*builtin)(
void *thee,
int argc,
char **argv));
108 int Vsh_putenv(
Vsh *thee,
const char *envi,
const char *valu);
109 int Vsh_putenvInfo(
Vsh *thee,
const char *envi,
const char *valu);
110 int Vsh_putenvInt(
Vsh *thee,
const char *envi,
const int valu);
111 int Vsh_putenvReal(
Vsh *thee,
const char *envi,
const double valu);
113 char *Vsh_getenv(
Vsh *thee,
const char *envi);
114 char *Vsh_getenvInfo(
Vsh *thee,
const char *envi);
115 int Vsh_getenvInt(
Vsh *thee,
const char *envi);
116 double Vsh_getenvReal(
Vsh *thee,
const char *envi);
118 void Vsh_remove(
Vsh *thee,
const char *envi);
119 void Vsh_wipe(
Vsh *thee);
121 void Vsh_memChk(
Vsh *thee);
123 Vio *Vsh_ioSetup(
Vsh *thee,
char *key);
124 void Vsh_ioCleanup(
Vsh *thee,
Vio **sock);