Next: Overview of the protocols Up: Documentation of the API Previous: Documentation of the API Contents

## Accessing the API

To use MoA put `#INCLUDE "mysql.inc"` and `#USE "mysql.lib"` in your file. The directives must come in this order, or linking will fail. In addition, when compiling, supply KRoC with the flag `-lmoa` for linking with MoA, and a flag for linking with MySQL, this will usually be `-lmysqlclient`.