aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJacki <jacki@thejackimonster.de>2024-02-10 04:39:25 +0100
committerJacki <jacki@thejackimonster.de>2024-02-10 04:39:25 +0100
commit8842c8b412921fe9318d2caf0a418257b72cf31d (patch)
tree793dd65369c1b5b9c06df852562147d3e23f9e85 /include
parent1b50f47306d56da32daab8bfa72cf994dece043b (diff)
downloadlibgnunetchat-8842c8b412921fe9318d2caf0a418257b72cf31d.tar.gz
libgnunetchat-8842c8b412921fe9318d2caf0a418257b72cf31d.zip
Add internal logout message to free resources on application level
Signed-off-by: Jacki <jacki@thejackimonster.de>
Diffstat (limited to 'include')
-rw-r--r--include/gnunet/gnunet_chat_lib.h24
1 files changed, 15 insertions, 9 deletions
diff --git a/include/gnunet/gnunet_chat_lib.h b/include/gnunet/gnunet_chat_lib.h
index a22d6d2..0348579 100644
--- a/include/gnunet/gnunet_chat_lib.h
+++ b/include/gnunet/gnunet_chat_lib.h
@@ -72,49 +72,55 @@ enum GNUNET_CHAT_MessageKind
72 GNUNET_CHAT_KIND_LOGIN = 3, /**< GNUNET_CHAT_KIND_LOGIN */ 72 GNUNET_CHAT_KIND_LOGIN = 3, /**< GNUNET_CHAT_KIND_LOGIN */
73 73
74 /** 74 /**
75 * The kind to inform that the application needs to cleanup
76 * resources related to the currently connected account.
77 */
78 GNUNET_CHAT_KIND_LOGOUT = 4, /**< GNUNET_CHAT_KIND_LOGOUT */
79
80 /**
75 * The kind to inform that a context was updated. 81 * The kind to inform that a context was updated.
76 */ 82 */
77 GNUNET_CHAT_KIND_UPDATE = 4, /**< GNUNET_CHAT_KIND_UPDATE */ 83 GNUNET_CHAT_KIND_UPDATE = 5, /**< GNUNET_CHAT_KIND_UPDATE */
78 84
79 /** 85 /**
80 * The kind to inform that a contact has joined a chat. 86 * The kind to inform that a contact has joined a chat.
81 */ 87 */
82 GNUNET_CHAT_KIND_JOIN = 5, /**< GNUNET_CHAT_KIND_JOIN */ 88 GNUNET_CHAT_KIND_JOIN = 6, /**< GNUNET_CHAT_KIND_JOIN */
83 89
84 /** 90 /**
85 * The kind to inform that a contact has left a chat. 91 * The kind to inform that a contact has left a chat.
86 */ 92 */
87 GNUNET_CHAT_KIND_LEAVE = 6, /**< GNUNET_CHAT_KIND_LEAVE */ 93 GNUNET_CHAT_KIND_LEAVE = 7, /**< GNUNET_CHAT_KIND_LEAVE */
88 94
89 /** 95 /**
90 * The kind to inform that a contact has changed. 96 * The kind to inform that a contact has changed.
91 */ 97 */
92 GNUNET_CHAT_KIND_CONTACT = 7, /**< GNUNET_CHAT_KIND_CONTACT */ 98 GNUNET_CHAT_KIND_CONTACT = 8, /**< GNUNET_CHAT_KIND_CONTACT */
93 99
94 /** 100 /**
95 * The kind to describe an invitation to a different chat. 101 * The kind to describe an invitation to a different chat.
96 */ 102 */
97 GNUNET_CHAT_KIND_INVITATION = 8, /**< GNUNET_CHAT_KIND_INVITATION */ 103 GNUNET_CHAT_KIND_INVITATION = 9, /**< GNUNET_CHAT_KIND_INVITATION */
98 104
99 /** 105 /**
100 * The kind to describe a text message. 106 * The kind to describe a text message.
101 */ 107 */
102 GNUNET_CHAT_KIND_TEXT = 9, /**< GNUNET_CHAT_KIND_TEXT */ 108 GNUNET_CHAT_KIND_TEXT = 10, /**< GNUNET_CHAT_KIND_TEXT */
103 109
104 /** 110 /**
105 * The kind to describe a shared file. 111 * The kind to describe a shared file.
106 */ 112 */
107 GNUNET_CHAT_KIND_FILE = 10, /**< GNUNET_CHAT_KIND_FILE */ 113 GNUNET_CHAT_KIND_FILE = 11, /**< GNUNET_CHAT_KIND_FILE */
108 114
109 /** 115 /**
110 * The kind to inform about a deletion of a previous message. 116 * The kind to inform about a deletion of a previous message.
111 */ 117 */
112 GNUNET_CHAT_KIND_DELETION = 11, /**< GNUNET_CHAT_KIND_DELETION */ 118 GNUNET_CHAT_KIND_DELETION = 12, /**< GNUNET_CHAT_KIND_DELETION */
113 119
114 /** 120 /**
115 * The kind to tag a previous message. 121 * The kind to tag a previous message.
116 */ 122 */
117 GNUNET_CHAT_KIND_TAG = 12, /**< GNUNET_CHAT_KIND_TAG */ 123 GNUNET_CHAT_KIND_TAG = 13, /**< GNUNET_CHAT_KIND_TAG */
118 124
119 /** 125 /**
120 * An unknown kind of message. 126 * An unknown kind of message.