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

12 lines
328 B
C
Raw Normal View History

2014-02-01 16:18:15 -05:00
#include "glib.h"
2020-07-07 08:18:57 -04:00
void load_preferences(void** state);
void close_preferences(void** state);
2014-02-01 16:18:15 -05:00
2020-07-07 08:18:57 -04:00
void init_chat_sessions(void** state);
void close_chat_sessions(void** state);
2015-01-06 16:22:09 -05:00
2020-07-07 08:18:57 -04:00
int utf8_pos_to_col(char* str, int utf8_pos);
2015-01-27 17:13:09 -05:00
2014-02-01 16:18:15 -05:00
void glist_set_cmp(GCompareFunc func);
2020-07-07 08:18:57 -04:00
int glist_contents_equal(const void* actual, const void* expected);