aboutsummaryrefslogtreecommitdiff
path: root/src/messenger/messenger_api_room.h
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2021-05-24 01:30:17 +0200
committerTheJackiMonster <thejackimonster@gmail.com>2021-06-11 13:47:57 +0200
commitd0eec6097f79c7fb3ea8b5d8bb0dcca1da1f85a6 (patch)
treec0cc57a0f066bc1d3c528323c33903038747eca8 /src/messenger/messenger_api_room.h
parent2549225b825f34b0dfbe9f4a13f134963f3ba58d (diff)
downloadgnunet-d0eec6097f79c7fb3ea8b5d8bb0dcca1da1f85a6.tar.gz
gnunet-d0eec6097f79c7fb3ea8b5d8bb0dcca1da1f85a6.zip
-moved messenger service out of experimental
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com> -moved out of experimental, included protocol versions into ports and fixed byte-order of 32bit integers in messages Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/messenger/messenger_api_room.h')
-rw-r--r--src/messenger/messenger_api_room.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/messenger/messenger_api_room.h b/src/messenger/messenger_api_room.h
index eb41cf740..634052272 100644
--- a/src/messenger/messenger_api_room.h
+++ b/src/messenger/messenger_api_room.h
@@ -126,4 +126,15 @@ int
126iterate_room_members (struct GNUNET_MESSENGER_Room *room, GNUNET_MESSENGER_MemberCallback callback, 126iterate_room_members (struct GNUNET_MESSENGER_Room *room, GNUNET_MESSENGER_MemberCallback callback,
127 void* cls); 127 void* cls);
128 128
129/**
130 * Checks through all members of a given <i>room</i> if a specific <i>contact</i> is found and
131 * returns a result depending on that.
132 *
133 * @param[in] room Room
134 * @param[in] contact
135 * @return #GNUNET_YES if found, otherwise #GNUNET_NO
136 */
137int
138find_room_member (const struct GNUNET_MESSENGER_Room *room, const struct GNUNET_MESSENGER_Contact *contact);
139
129#endif //GNUNET_MESSENGER_API_ROOM_H 140#endif //GNUNET_MESSENGER_API_ROOM_H