ajcall.c


Function ajCallTableNew

Create new function hash table

Prototype

AjPTable ajCallTableNew (
      void
);

TypeNameRead/WriteDescription
AjPTable RETURNHash table with string keys

From EMBOSS 6.2.0


Function ajCallTableRegister

Create hash value pair using the name and function.

Prototype

void ajCallTableRegister (
      AjPTable table,
      const char* name,
      void* func
);

TypeNameRead/WriteDescription
AjPTabletableOutputname which is used later.
const char*nameInputname which is used later.
void*funcFunctionAccess structure for function to be invoked by name
void RETURN

From EMBOSS 6.2.0


Function ajCallRegister

Create hash value pair using the name and function.

Prototype

void ajCallRegister (
      const char* name,
      CallFunc func
);

TypeNameRead/WriteDescription
const char*nameInputname which is used later..
CallFuncfuncFunctionfunction to be called on name being called.
void RETURN

From EMBOSS 4.0.0


Function ajCallRegisterOld

Create hash value pair using an obsolete name and function.

Prototype

void ajCallRegisterOld (
      const char* name,
      CallFunc func
);

TypeNameRead/WriteDescription
const char*nameInputname which is used later.
CallFuncfuncFunctionfunction to be called on name being called.
void RETURN

From EMBOSS 6.2.0


Function ajCall

Call a function by its name. If it does not exist then give an error message saying so.

Prototype

void* ajCall (
      const char* name,
      ...
);

TypeNameRead/WriteDescription
const char*nameInputname of the function to call.
...varargVarargOptional arguments
void* RETURNNULL if function call not found.

From EMBOSS 4.0.0


Function ajCallTableGetC

Returns an access structure defining the named function. If it does not exist then gives an error message saying so.

Prototype

void* ajCallTableGetC (
      const AjPTable table,
      const char* name
);

TypeNameRead/WriteDescription
const AjPTabletableInputFunction hash table
const char*nameInputname of the function
void* RETURNAccess structure defining the named function. NULL if not found

From EMBOSS 6.2.0


Function ajCallTableGetS

Returns an access structure defining the named function. If it does not exist then gives an error message saying so.

Prototype

void* ajCallTableGetS (
      const AjPTable table,
      const AjPStr namestr
);

TypeNameRead/WriteDescription
const AjPTabletableInputFunction hash table
const AjPStrnamestrInputname of the function
void* RETURNAccess structure defining the named function. NULL if not found

From EMBOSS 6.2.0


Function ajCallExit

Cleans up calls register internal memory

Prototype

void ajCallExit (
      void
);

TypeNameRead/WriteDescription
void RETURN

From EMBOSS 4.0.0