man aaScript () - We derive a Bayonne server version of ScriptCommand, aaScript, which holds most common elements of the script engine for Bayonne use. Bayonne script dialect.

NAME

aaScript - We derive a Bayonne server version of ScriptCommand, aaScript, which holds most common elements of the script engine for Bayonne use. Bayonne script dialect.

SYNOPSIS



#include <bayonne.h>

Inherited by Driver.

Public Member Functions

aaScript ()

Default scripting environment. void addModule (Module *module, const char *alias=NULL)

Used to bind 'generic' modules to aaScript. void addDummy (const char *names)

Add unused commands to aaScript for compiler clean-ness. int mapicmp (const char *s1, const char *s2)

int mapnicmp (const char *s1, const char *s2, size_t n)

Protected Member Functions

unsigned long getTrapMask (const char *trapname)

New GetTrapMask() used to set DTMF bit when dtmf digits are also requested in ^traps.

Detailed Description

We derive a Bayonne server version of ScriptCommand, aaScript, which holds most common elements of the script engine for Bayonne use. Bayonne script dialect.

Individual drivers may further derive sub-dialects.

Author: David Sugar <dyfet@ostel.com>

Constructor & Destructor Documentation

aaScript::aaScript ()

Default scripting environment.

Member Function Documentation

void aaScript::addDummy (const char * names)

Add unused commands to aaScript for compiler clean-ness.

Parameters: names of commands to add.

void aaScript::addModule (Module * module, const char * alias = NULL)

Used to bind 'generic' modules to aaScript.

Parameters: Module to bind.

unsigned long aaScript::getTrapMask (const char * trapname) [protected]

New GetTrapMask() used to set DTMF bit when dtmf digits are also requested in ^traps.

Returns: trap mask to apply.

Parameters: trap name being evaluated.

Author

Generated automatically by Doxygen for Bayonne from the source code.