The anti-spam engine library contains the following externally visible entry points:
pmx_load()must be called to initialize the library. The
reservedparameter is only used on UNIX and must be
pmx_unload()should be called after all
PMX_ENGINEobjects have been destroyed to free up any remaining resources the library may be using.
pmx_create_engine()function creates an instance of the
PMX_ENGINEobject. It takes a
PMX_ERROR_CBcallback that will be invoked whenever the engine runs into problems. The
levelparameter should be one of the following strings:
errorparameter is a freeform text description of the error condition. It is not terminated by a newline character.
Whenever the engine throws an exception, the error callback is invoked with an
ALERTentry containing the exception message. The engine function then returns with an error (normally
pmx_append_to_message()function adds data to the default implementation of the
PMX_MESSAGEobject. It will not work with any other implementation of the
This function is not part of the
pmx_message_vtblbecause the engine does not modify the message object, and there is no specific paradigm that governs how the message objects should be created or updated.
pmx_append_to_message()should not be called after any member functions have been invoked on the