Resources are used to pass data or flags to
libhelp. Libhelp provides the function help_set_resource
to set
a value for a libhelp resource.
This concept is similar to Xt Toolkit resources concept and can be thought of as a very small subset of it (of course, we should have used Xt Toolkits resources to be more flexible). The current implementation of libhelp resources is rather trivial.
Each resource value has its own type. Values of type string are '\0' terminated character strings. Values of type boolean are 0 for false and 1 for true.
help_class_name
help_standalone
help_index
help_set_resource
to
set a libhelp resource.
#include <help.h> void help_set_resource (/* i */ int symbol, /* i */ XtPointer value);
Setting undefined resources has no effect. Setting wrong types to resources can be somewhat unpredictable. Take a look at the standalone help browser example code.