<!-- Generated by tools/generate_docs.py. Do not edit. -->

# Database (`MC_DB`)

Fixed-record database lifecycle, CRUD, enumeration, sorting, and persistence.

This WIPI-C 1.2.1 family contains **13** cataloged APIs; **1** currently have reviewed or draft semantic notes.

| Symbol                                                                   | Prototype                                                                                                                                            | Documentation   |
|--------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|
| [`MC_dbOpenDataBase`](https://mirusu400.github.io/libwipi/latest/generated/api/1.2.1/symbols/MC_dbOpenDataBase.md)       | `M_Int32 MC_dbOpenDataBase(M_Char *dataBaseName, M_Int32 recordSize, M_Boolean create, M_Int32 mode)`                                                | `draft`         |
| [`MC_dbCloseDataBase`](https://mirusu400.github.io/libwipi/latest/generated/api/1.2.1/symbols/MC_dbCloseDataBase.md)      | `M_Int32 MC_dbCloseDataBase(M_Int32 dbId)`                                                                                                           | `cataloged`     |
| [`MC_dbDeleteDataBase`](https://mirusu400.github.io/libwipi/latest/generated/api/1.2.1/symbols/MC_dbDeleteDataBase.md)     | `M_Int32 MC_dbDeleteDataBase(M_Char *dataBaseName, M_Int32 mode)`                                                                                    | `cataloged`     |
| [`MC_dbInsertRecord`](https://mirusu400.github.io/libwipi/latest/generated/api/1.2.1/symbols/MC_dbInsertRecord.md)       | `M_Int32 MC_dbInsertRecord(M_Int32 dbId, M_Byte *buf, M_Int32 len)`                                                                                  | `cataloged`     |
| [`MC_dbSelectRecord`](https://mirusu400.github.io/libwipi/latest/generated/api/1.2.1/symbols/MC_dbSelectRecord.md)       | `M_Int32 MC_dbSelectRecord(M_Int32 dbId, M_Int32 recId, M_Byte *buf, M_Int32 len)`                                                                   | `cataloged`     |
| [`MC_dbUpdateRecord`](https://mirusu400.github.io/libwipi/latest/generated/api/1.2.1/symbols/MC_dbUpdateRecord.md)       | `M_Int32 MC_dbUpdateRecord(M_Int32 dbId, M_Int32 recId, M_Byte *buf, M_Int32 len)`                                                                   | `cataloged`     |
| [`MC_dbDeleteRecord`](https://mirusu400.github.io/libwipi/latest/generated/api/1.2.1/symbols/MC_dbDeleteRecord.md)       | `M_Int32 MC_dbDeleteRecord(M_Int32 dbId, M_Int32 recId)`                                                                                             | `cataloged`     |
| [`MC_dbListRecords`](https://mirusu400.github.io/libwipi/latest/generated/api/1.2.1/symbols/MC_dbListRecords.md)        | `M_Int32 MC_dbListRecords(M_Int32 dbId, M_Int32 *buf, M_Int32 len)`                                                                                  | `cataloged`     |
| [`MC_dbSortRecords`](https://mirusu400.github.io/libwipi/latest/generated/api/1.2.1/symbols/MC_dbSortRecords.md)        | `M_Int32 MC_dbSortRecords(M_Int32 dbId, M_Int32 *buf, M_Int32 len, M_Int32 (*compare)(const void *, const void *), M_Int32 (*filter)(const void *))` | `cataloged`     |
| [`MC_dbGetAccessMode`](https://mirusu400.github.io/libwipi/latest/generated/api/1.2.1/symbols/MC_dbGetAccessMode.md)      | `M_Int32 MC_dbGetAccessMode(M_Char *dataBaseName)`                                                                                                   | `cataloged`     |
| [`MC_dbGetNumberOfRecords`](https://mirusu400.github.io/libwipi/latest/generated/api/1.2.1/symbols/MC_dbGetNumberOfRecords.md) | `M_Int32 MC_dbGetNumberOfRecords(M_Int32 dbId)`                                                                                                      | `cataloged`     |
| [`MC_dbGetRecordSize`](https://mirusu400.github.io/libwipi/latest/generated/api/1.2.1/symbols/MC_dbGetRecordSize.md)      | `M_Int32 MC_dbGetRecordSize(M_Int32 dbId)`                                                                                                           | `cataloged`     |
| [`MC_dbListDataBases`](https://mirusu400.github.io/libwipi/latest/generated/api/1.2.1/symbols/MC_dbListDataBases.md)      | `M_Int32 MC_dbListDataBases(M_Byte *buf, M_Int32 len)`                                                                                               | `cataloged`     |
