Main Page   Data Structures   File List   Data Fields   Globals   Examples  

nm_spool Struct Reference

A structure encapsulating information about a mail spool handle. More...

#include <module.h>


Data Fields

lt_dlhandle dl
 A libltdl handle to the plugin so.

char * data
 Some plugin specific data.

config_tconfig
 A configuration context for the mail spool.

char * path
 The path to the associated configuration file.

int(* query )(struct nm_spool *s, enum nm_query query, struct nm_status *status)
 A pointer to the real query() function wrapped by nm_query().

int(* query_submit )(struct nm_spool *s, enum nm_query query, oop_source *oop, nm_query_cb_t cb, void *user)
 A pointer to the real query_submit() function wrapped by nm_query_submit().

int(* configure )(struct nm_spool *s)
 A pointer to the real configure() function wrapped by nm_configuret().

int(* info )(struct nm_spool *s, struct nm_info *i)
 A pointer to the real query_info() function wrapped by nm_info().

void(* done )(struct nm_spool *s)
 A pointer to a function which will be called before this nm_spool is freed.


Detailed Description

A structure encapsulating information about a mail spool handle.

It is opaque to the application

Examples:

easy.c, nm-spoolhack.c, nmail-async.c, and nmail.c.

Definition at line 37 of file module.h.


Field Documentation

config_t* nm_spool::config
 

A configuration context for the mail spool.

Definition at line 40 of file module.h.

int(* nm_spool::configure)(struct nm_spool *s)
 

A pointer to the real configure() function wrapped by nm_configuret().

char* nm_spool::data
 

Some plugin specific data.

Definition at line 39 of file module.h.

lt_dlhandle nm_spool::dl
 

A libltdl handle to the plugin so.

Definition at line 38 of file module.h.

void(* nm_spool::done)(struct nm_spool *s)
 

A pointer to a function which will be called before this nm_spool is freed.

int(* nm_spool::info)(struct nm_spool *s, struct nm_info *i)
 

A pointer to the real query_info() function wrapped by nm_info().

char* nm_spool::path
 

The path to the associated configuration file.

Definition at line 41 of file module.h.

int(* nm_spool::query)(struct nm_spool *s, enum nm_query query, struct nm_status *status)
 

A pointer to the real query() function wrapped by nm_query().

int(* nm_spool::query_submit)(struct nm_spool *s, enum nm_query query, oop_source* oop, nm_query_cb_t cb, void *user)
 

A pointer to the real query_submit() function wrapped by nm_query_submit().


The documentation for this struct was generated from the following file:
Generated on Thu Oct 23 01:52:10 2003 for libnewmail by doxygen1.2.18