#include <bayonne.h>
Public Member Functions | |
| virtual void | script (char *cmd, char **args) |
| Check command for interpreter and, if is, execute it. | |
| virtual int | parse (int fd, char port[64], char *cmd) |
| Execute a first stage interpreter, uses local functions. | |
Protected Member Functions | |
| TGI () | |
| virtual bool | getExtension (const char *ext) |
| Check a file extension to see if it belongs to a first stage tgi script interpreter (avoids second fork). | |
Friends | |
| __EXPORT void | getInterp (char *cmd, char **args) |
| __EXPORT TGI * | getInterp (char *cmd) |
|
|
|
|
|
Check a file extension to see if it belongs to a first stage tgi script interpreter (avoids second fork).
|
|
||||||||||||||||
|
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.
|
|
|
|
|
||||||||||||
|
|
1.4.4