diff options
Diffstat (limited to 'gtk.c')
-rw-r--r-- | gtk.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -268,3 +268,12 @@ void gui_add_message(const char* sender_jid, const char* content) { printf("Received from %s:\n%s\n", sender_jid, content); } + +void gui_add_roster_item(const char* jid, const char* sub, const char* name) { + + if (name) { + printf("roster item: %s, %s, sub:%s\n", name, jid, sub); + } else { + printf("roster item: (no name), %s, sub:%s\n", jid, sub); + } +} |