CM is made usable by applications via an an application programming interface (henceforth called the "CM API", or simply the "API") implemented in libcm. To use the CM API, applications need to include cmapp.h from cmlib. Below we describe the syntax and semantics of the CM API commands and new data structures supported by the CM in its alpha release.

API calls

Data structures of the CM API