Main Page Data Structures File List Data Fields Globals Examples
module.h File ReferenceThe plugin interface of libnewmail.
Go to the source code of this file.
| ||A structure encapsulating information about a mail spool handle. More...|
|typedef int(* ||nm_init_t )(struct nm_spool *s)|
| ||The prototype of the only function which needs to be exported by a plugin. |
The plugin interface of libnewmail.
Mail checking modules should use these functions and those declared in config.h and util.h
Definition in file module.h.
| typedef int(* nm_init_t)(struct nm_spool *s)
The prototype of the only function which needs to be exported by a plugin.
It is called when new nm_spool of the plugin is instantiated.
The virgin nm_spool structure. The plugin should fill in the pointers to functions contained in the structure.\c dl, |
path are already filled in,
data may be used for arbitrary spool handle specific data,
zero on success, nonzero on failure.
Definition at line 68 of file module.h.
Generated on Thu Oct 23 01:52:10 2003 for libnewmail by