diff options
author | xengineering <me@xengineering.eu> | 2022-08-21 10:51:25 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2022-08-21 10:51:25 +0200 |
commit | bd516ecdb218f4122acf077bef5a4dbde91653e5 (patch) | |
tree | c7698470ea9c945eb252e7abfeb46a021e852e8c /data.h | |
parent | effdc7d687caf331217b6fc20ba51cabf3c56f20 (diff) | |
download | limox-bd516ecdb218f4122acf077bef5a4dbde91653e5.tar limox-bd516ecdb218f4122acf077bef5a4dbde91653e5.tar.zst limox-bd516ecdb218f4122acf077bef5a4dbde91653e5.zip |
Implement GUI part of message sending
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 |