diff options
-rw-r--r-- | tests/unittests/database/stub_database.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/unittests/database/stub_database.c b/tests/unittests/database/stub_database.c index d10ed87a..57ae408a 100644 --- a/tests/unittests/database/stub_database.c +++ b/tests/unittests/database/stub_database.c @@ -27,5 +27,10 @@ #include "database.h" gboolean log_database_init(ProfAccount *account) { return TRUE; } -void log_database_add(ProfMessage *message, gboolean is_muc) {} +void log_database_add_incoming_chat(ProfMessage *message) {} +void log_database_add_incoming_muc(ProfMessage *message) {} +void log_database_add_incoming_muc_pm(ProfMessage *message) {} +void log_database_add_outgoing_chat(const char * const id, const char * const barejid, const char * const message, const char *const replace_id, prof_enc_t enc) {} +void log_database_add_outgoing_muc(const char * const id, const char * const barejid, const char * const message, const char *const replace_id, prof_enc_t enc) {} +void log_database_add_outgoing_muc_pm(const char * const id, const char * const barejid, const char * const message, const char *const replace_id, prof_enc_t enc) {} void log_database_close(void) {} |