Files | |
file | qof-sqlite.h |
Public interface of qof-backend-sqlite. | |
Functions | |
void | qof_sqlite_provider_init (void) |
Describe this backend to the application. |
void qof_sqlite_provider_init | ( | void | ) |
Describe this backend to the application.
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 680 of file qof-sqlite.c.
00681 { 00682 QofBackendProvider *prov; 00683 00684 ENTER (" "); 00685 prov = g_new0 (QofBackendProvider, 1); 00686 prov->provider_name = "QOF SQLite Backend Version 0.1"; 00687 prov->access_method = ACCESS_METHOD; 00688 prov->partial_book_supported = TRUE; 00689 prov->backend_new = qsql_backend_new; 00690 prov->check_data_type = qsql_determine_file_type; 00691 prov->provider_free = qsql_provider_free; 00692 qof_backend_register_provider (prov); 00693 LEAVE (" "); 00694 }