1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Add log_database_add_*() test stubs

This commit is contained in:
Michael Vetter 2020-03-29 18:51:12 +02:00
parent 6803fb5c3a
commit 4cc8df5929

View File

@ -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) {}