Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

Adding tokens

Every token type has a file that lists all the tokens for which to scan. The default token files delivered with the tool are:

To add a new token for which to scan:

  1. Add a new line with the new token to the end of the file corresponding to its type.

    For example, if IRAPI function irFPlay were found to have a problem, and needed to be flagged by scanit, you would update the tokens_c file (IRAPI calls are found in C programs). The format of tokens_c files is a simple three column file that has the following format:

    NAME: token weight

    where NAME is fixed text and token and weight are required variables.

  2. Update the token_information file (the file that contains a problem description for every token) for that file type.

Note:
When adding new tokens do not leave any blank lines at the bottom of the token_type file.

© 2006 Avaya Inc. All Rights Reserved.