KCMS CMM Developer's Guide

Optional

Runtime derivatives can supply the following external entry points:


Note -

It is highly recommended that you use the KcsInitXXXX() entry point to verify the version of the versions so that your CMM can use the profile data properly.


KcsInitXXXX()

KcsStatus KcsInitXXXX(long libMajor, long libMinor,
          long *myMajor, long *myMinor);

If you supply the KcsInitXXXX() entry point, the KCMS framework calls it when the shareable object is loaded for the first time. This initializes and derives private allocations before any creation method is called. KcsInitXXXX() checks for minor version numbering. See "Configuration Requirements" for more information.

KcsCleanupXXXX()

KcsStatus KcsCleanupXXXX();

If you supply the KcsCleanupXXXX() entry point, the KCMS framework calls it when the shareable object is unloaded for the last time (when KcsDLOpen XXXXCount = 0). This cleans up shareable objects when they are no longer needed.