summaryrefslogtreecommitdiff
path: root/data.h
diff options
context:
space:
mode:
Diffstat (limited to 'data.h')
-rw-r--r--data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/data.h b/data.h
index 51d9b01..68a4b9b 100644
--- a/data.h
+++ b/data.h
@@ -12,6 +12,7 @@ typedef enum {
typedef struct _message_t {
char* content;
char* sender_jid;
+ char* recipient_jid;
struct _message_t* next;
void* widget;
} message_t;
@@ -34,4 +35,6 @@ typedef struct _roster_item_t {
void data_add_roster_item(const char* jid, const char* subscription,
const char* name);
void data_add_incoming_message(const char* sender_jid, const char* content);
+void data_add_outgoing_message(const char* sender_jid, const char* content,
+ chat_t* chat);
#endif