- char *name; /* Name of record type */
- void (*init)(RecType recType); /* Init function - called once */
- void (*destroy)(RecType recType); /* Destroy function */
- int (*extract)(struct recExtractCtrl *ctrl); /* Extract proc */
- int (*retrieve)(struct recRetrieveCtrl *ctrl); /* Retrieve proc */
- void *clientData; /* data handle */
+ char *name; /* Name of record type */
+ void *(*init)(RecType recType); /* Init function - called once */
+ void (*destroy)(void *clientData); /* Destroy function */
+ int (*extract)(void *clientData,
+ struct recExtractCtrl *ctrl); /* Extract proc */
+ int (*retrieve)(void *clientData,
+ struct recRetrieveCtrl *ctrl); /* Retrieve proc */