From bd516ecdb218f4122acf077bef5a4dbde91653e5 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 21 Aug 2022 10:51:25 +0200 Subject: Implement GUI part of message sending --- data.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'data.h') 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 -- cgit v1.2.3-70-g09d2