Naming Conventions

Use the following naming conventions for functions and files:

  • The initial letters of the custom reader file name should identify the file format being parsed. For example, pdf for Adobe PDF files, rtf for RTF files, and xls for Microsoft Excel files. In the examples in this appendix, this is represented by xxx.
  • The name of the shared library must end with the letters sr.
  • The name of the exported functions in the module definition file must be xxxGetReaderInterface and xxxsrAutoDet.

    NOTE: The letters sr are excluded from xxxGetReaderInterface, but are included in xxxsrAutoDet.