Add function ag_db_save_identical()

It compares two AgDbSave structs and returns TRUE if they are equal or
identical.
This commit is contained in:
2014-07-31 18:11:32 +02:00
parent 1628a71f8b
commit 2e34b71f69
2 changed files with 90 additions and 0 deletions

View File

@@ -68,6 +68,8 @@ GList *ag_db_get_chart_list(AgDb *db, GError **err);
AgDbSave *ag_db_get_chart_data_by_id(AgDb *db, guint row_id, GError **err);
gboolean ag_db_save_identical(const AgDbSave *a, const AgDbSave *b);
#define AG_DB_ERROR (ag_db_error_quark())
GQuark ag_db_error_quark(void);