about summary refs log tree commit diff stats
path: root/src/profanity.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-10-02 01:04:53 +0100
committerJames Booth <boothj5@gmail.com>2012-10-02 01:04:53 +0100
commit28b172387605a4f2175898177334e6b8cc4c0db3 (patch)
tree0bf0d8304961fd610de58b85cbd9b09e0419fec6 /src/profanity.h
parent02224ea7bbb89b0cbebfe1fb645f7ff1ea8f9a52 (diff)
downloadprofani-tty-28b172387605a4f2175898177334e6b8cc4c0db3.tar.gz
Moved roster output handling to profanity module
Diffstat (limited to 'src/profanity.h')
-rw-r--r--src/profanity.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/profanity.h b/src/profanity.h
index af6b3e11..16fae9d0 100644
--- a/src/profanity.h
+++ b/src/profanity.h
@@ -32,7 +32,13 @@ void prof_handle_typing(char *from);
 void prof_handle_contact_online(char *contact, char *show, char *status);
 void prof_handle_contact_offline(char *contact, char *show, char *status);
 void prof_handle_incoming_message(char *from, char *message);
+void prof_handle_roster(GSList *roster);
 void profanity_shutdown_init(void);
 void profanity_shutdown(void);
 
+typedef struct roster_entry_t {
+    char *name;
+    char *jid;
+} jabber_roster_entry;
+
 #endif