Generic Routines Header File

One or more source modules in an application may contain generic routines that are accessed from multiple source modules within the application. These source modules may possess their own local header files to define data and functions accessed only from within their own module. In addition, such source modules should possess a single generic routines header file per application, which should contain:

  • Prototypes for all generic functions and subroutines that will be accessed from other source modules within the application

  • Declarations for data types and constants necessary to the invocation of these generic routines.

    The generic routines header file should be referenced, via an appropriate #include statement, by its own source modules and by each source module within the application that requires access to generic routines.


    [Back: Global Header File]
    [Next: System-Supplied Header Files]