#include <bayonne.h>
Public Methods | |
virtual void | Script (char *cmd, char **args) |
Check command for interpreter and, if is, execute it. More... | |
virtual int | Parse (int fd, int port, char *cmd) |
Execute a first stage interpreter, uses local functions. More... | |
Protected Methods | |
TGI () | |
virtual bool | getExtension (char *ext) |
Check a file extension to see if it belongs to a first stage tgi script interpreter (avoids second fork). More... | |
Friends | |
void | getInterp (char *cmd, char **args) |
TGI* | getInterp (char *cmd) |
|
|
|
Execute a first stage interpreter, uses local functions.
|
|
Check command for interpreter and, if is, execute it. If so it doesn't return but uses "exit". This is a "second" stage tgi mod interface and is effective for single session interpreter libraries.
|
|
Check a file extension to see if it belongs to a first stage tgi script interpreter (avoids second fork).
|
|
|
|
|