Homer Library
What is Homer library for?
The Homer library is used by Homer, HomerEditor and Homer add-ons (both filters and commands). It is located in ~/config/lib. Note that any developer wishing to develop his/her own add-ons has to link against this library. It contains:
a regular expression class which is used for some of
the add-ons:
The code you will find is just a wrapper for GNU's regex library (regex.c and regex.h).
Note that this code doesn't exist on PPC. 3 classes are defined:
RegularExpression: it store the description of the regular expression itself
RegexMatch: this is the result of searching a RegularExpression match in a RegexString
RegexString: this is the string against which matches have to be found
the base class for Homer filters and commands.
You will find some code to help you with the development of your add-ons. This is
particularly useful for command add-ons which require a temporary file, or a line-by-line
processing.
HomerFilter: this is the base class for any Homer filter
HomerCommand: this is the base class for any Homer command
issuing formatted messages to Homer.
It shows how to generate a message, including multiple-lines and formatted messages. see HomerMessage.
This page was last updated on 12/12/99.