Open topic with navigation
All custom readers use the reader interface defined in
kvcfsr.h. The members of this structure are:
fpAllocateContext() fpInitDoc() fpFillBuffer() fpFreeContext() fpHotSpothit() fpGetSummaryInfo() fpOpenStream() fpCloseStream() fpGetURL() fpGetCharSet()
fpGetURL() are currently reserved and must be
The structured access layer calls the functions as follows:
fpAllocateContext()is called and returns a pointer to the global context structure.
fpInitDoc()is called. This function performs all required initialization for the global context structure and then returns control to the structured access layer.
fpFillBuffer()function is called repeatedly until the document is completely parsed.
fpFreeContext()is called. This function frees all memory allocated within the custom reader and then returns control to the structured access layer.