int init(void)

    If this function exists, it will be run before any other processing.

    RETURN VALUES:

        0 success


int cleanup(void)

    If this function exists, it will be run immediately before the module 
    is unloaded. 

    RETURN VALUES:

        0 success


int foreachRecord(int type, int function(int type, int keysize, char *key, int datasize, char *data))

    runs function() on each record 


int foreachNewRecord(int type, int time, int function(int type, int keysize, char *key, int datasize, char *data))

    runs function() on each record updated since "time"


