A C program that uses QSMM includes one or more its header files.
The main header file is qsmm.h.
The #include <qsmm/qsmm.h> directive includes that file in the C program.
The header file qsmm.h includes a number of other header files. The C program can include them individually. For example, the header file sig.h defines datatypes and macros for signals.
Object handles reference objects of various types.
For example, an object handle of qsmm_actor_t type references an adaptive probabilistic mapping.
All API functions report errors in a unified manner—via a result of int type, where negative results are error codes.
A multinode model supports assigning an error handler to it for simpler error checking.
The API has a function for retrieving the version of a QSMM library.