Small. Fast. Reliable.
Choose any three.

SQLite C Interface

Список констант:

Также есть: список кодов ошибки