diff options
author | Klaas Freitag <freitag@owncloud.com> | 2014-08-15 20:33:04 +0400 |
---|---|---|
committer | Klaas Freitag <freitag@owncloud.com> | 2014-08-15 20:33:04 +0400 |
commit | 8d819956d348b91426bef3f5591af5d7170d17cf (patch) | |
tree | 3a37530a3304650c34187b4e0212e3daa17ad119 /test | |
parent | 4aec783362ec42a20cfe7952d09f736488e67957 (diff) |
Tests: Fixed the CSync statedb test defined in the mirall module.
Diffstat (limited to 'test')
-rw-r--r-- | test/testcsyncsqlite.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/testcsyncsqlite.h b/test/testcsyncsqlite.h index 92bdca2af..0765668e1 100644 --- a/test/testcsyncsqlite.h +++ b/test/testcsyncsqlite.h @@ -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; |