Global Header File

An application may contain a global header file, which itself should contain:

  • Declarations for all global constants used by the application; that is, those constants that are accessed from more than one source module within the application.

  • Declarations for all global variables used by the application; that is, those variables that are accessed from more than one source module within the application. Note that this does not include those variables that are used by multiple routines within the same source module.

    The global header file should be referenced, using an appropriate #include statement, by all source modules within the application, other than the module(s) containing generic routines.


    [Back: External Interface Header File]
    [Next: Generic Routines Header File]