Tests: Fixed the CSync statedb test defined in the mirall module.

This commit is contained in:
Klaas Freitag 2014-08-15 18:33:04 +02:00
parent 4aec783362
commit 8d819956d3

View file

@ -16,10 +16,18 @@ class TestCSyncSqlite : public QObject
Q_OBJECT
private:
/* Attention !!!!!!!!!!!!!!!!!!!
* This struct MY_CSYNC has to be a copy of the CSYNC struct defined
* in csync_private.h until the end of struct statedb.
* Subsequent functions cast the struct to CSYNC. In order to get the
* same values as in the original struct, the start must be the same.
*/
typedef struct {
struct {
csync_auth_callback auth_function;
void *userdata;
csync_update_callback update_callback;
void *update_callback_userdata;
} callbacks;
c_strlist_t *excludes;