diff options
Diffstat (limited to 'data.h')
-rw-r--r-- | data.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |