In file output.h:

struct substvar

Substitution variable record

[more]char* varname
Name of substitution variable (upper case)
[more]char* (*varcalc)(void)
Function that returns variable contents
[more]void* next
Next handler in linked list


Documentation

Substitution variable record

This is used in two ways. Internally, it represents one record in the substitution variable registry. Externally, i.e. within modules, it can be used to register new, local substitution variables. Most of the larger modules do this to provide extra flexibility for customisation. There are three fields here: varname is the string name of the variable (in upper case by convention); varcalc is the function executed to return the value of the variable; and next is only used internally to make a linked list of variables.

ochar* varname
Name of substitution variable (upper case)

ochar* (*varcalc)(void)
Function that returns variable contents

ovoid* next
Next handler in linked list

Alphabetic index



This page was generated with the help of DOC++.