summaryrefslogtreecommitdiff
path: root/data.h
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-08-21 10:51:25 +0200
committerxengineering <me@xengineering.eu>2022-08-21 10:51:25 +0200
commitbd516ecdb218f4122acf077bef5a4dbde91653e5 (patch)
treec7698470ea9c945eb252e7abfeb46a021e852e8c /data.h
parenteffdc7d687caf331217b6fc20ba51cabf3c56f20 (diff)
downloadlimox-bd516ecdb218f4122acf077bef5a4dbde91653e5.tar
limox-bd516ecdb218f4122acf077bef5a4dbde91653e5.tar.zst
limox-bd516ecdb218f4122acf077bef5a4dbde91653e5.zip
Implement GUI part of message sending
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