Next: , Up: Naming Functions


5.5.1 Public functions in a module

All the public functions inside a module should use the following name convention:

     pdf_MODULE-NAME_...

where module-name is the canonical name of the module (e.g. alloc or text).

Some modules are composed by more than one compilation unit. In that case the public functions should follow the following name convention:

     pdf_MODULE-NAME_PART-NAME_...

where part-name is the canonical name of that part of the module implementation (e.g. pdf_stm_filter_... where filter is the part name.