23 #ifndef GNC_BACKEND_DBI_PRIV_H
24 #define GNC_BACKEND_DBI_PRIV_H
60 const gchar* table_name,
61 const GList* col_info_list );
62 typedef GSList* (*GET_TABLE_LIST_FN) ( dbi_conn conn,
const gchar* dbname );
63 typedef void (*APPEND_COLUMN_DEF_FN) ( GString* ddl,
GncSqlColumnInfo* info );
64 typedef GSList* (*GET_INDEX_LIST_FN) ( dbi_conn conn );
65 typedef void (*DROP_INDEX_FN) ( dbi_conn conn,
const gchar* index );
68 CREATE_TABLE_DDL_FN create_table_ddl;
69 GET_TABLE_LIST_FN get_table_list;
70 APPEND_COLUMN_DEF_FN append_col_def;
71 GET_INDEX_LIST_FN get_index_list;
72 DROP_INDEX_FN drop_index;
86 gboolean supports_transactions;
87 gboolean is_pristine_db;
117 #endif //GNC_BACKEND_DBI_PRIV_H
load and save data to SQL