sqlite c library on mac os?

c, macos, sqlite

Solution

There is no `sqlite.h`. The header is called `sqlite3.h`.

Problem

Does anyone know what is required to be able to read and write to a sqlite database from a c program on mac os x? I have found the sqlite3 commandline tool on os x, but there doesn't seem to be a sqlite.h file anywhere. It's my understanding that coreData can use the sqlite format, the whole thing is quite confusing. When I have looked for an embeded sql library for C, I never know if what I find is the command line tool or a c library or both.

Original source