Files | |
file | qof-sqlite.h |
Public interface of qof-backend-sqlite. | |
Functions | |
void | qof_sqlite_provider_init (void) |
Initialises the SQLite backend. |
void qof_sqlite_provider_init | ( | void | ) |
Initialises the SQLite backend.
Sets QOF SQLite Backend Version 0.1, access method = sqlite:
The ID in all SQLite tables created by QOF is the GUID of the entity, expressed as a hexadecimal string.
The version number only changes if:
Initialises the backend and provides access to the functions that will load and save the data. Initialises default values for the QofBackendOption KvpFrame.
At present, qof_sqlite has no QofBackendOption options and therefore no strings that are translatable.
Definition at line 864 of file qof-sqlite.c.
00865 { 00866 QofBackendProvider *prov; 00867 00868 ENTER (" "); 00869 prov = g_new0 (QofBackendProvider, 1); 00870 prov->provider_name = "QOF SQLite Backend Version 0.2"; 00871 prov->access_method = ACCESS_METHOD; 00872 prov->partial_book_supported = TRUE; 00873 prov->backend_new = qsql_backend_new; 00874 prov->check_data_type = qsql_determine_file_type; 00875 prov->provider_free = qsql_provider_free; 00876 qof_backend_register_provider (prov); 00877 LEAVE (" "); 00878 }