User guide

E-55
PLI Access Routines
acc_mod_lcb_fetch
Returns an array of breakable lines. See "acc_mod_lcb_fetch" on
page E-59 for details.
acc_mod_lcb_fetch2
Returns an array of breakable lines. See
"acc_mod_lcb_fetch2" on page E-60 for details.
acc_mod_sfi_fetch
Returns the source file composition for a module. See
"acc_mod_sfi_fetch" on page E-62 for details.
acc_mod_lcb_add
Syntax
void acc_mod_lcb_add(handle handleModule,
void (*consumer)(), char *user_data)
Synopsis
Registers a line callback routine with a module so that VCS calls the
routine whenever VCS executes the specified module.
The prototype for the callback routine is:
void consumer(char *filename, int lineno, char *user_data,
int tag)
The tag field is a unique identifier that you use to distinguish between
multiple ‘include files.
Protected modules cannot be registered for callback. This routine will
just ignore the request.