aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet_chat_lib_intern.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnunet_chat_lib_intern.c')
-rw-r--r--src/gnunet_chat_lib_intern.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gnunet_chat_lib_intern.c b/src/gnunet_chat_lib_intern.c
index a2db98a..1518f60 100644
--- a/src/gnunet_chat_lib_intern.c
+++ b/src/gnunet_chat_lib_intern.c
@@ -68,6 +68,20 @@ it_handle_iterate_groups (void *cls,
68 return it->cb(it->cls, it->handle, group); 68 return it->cb(it->cls, it->handle, group);
69} 69}
70 70
71struct GNUNET_CHAT_ContactFindRoom
72{
73 struct GNUNET_MESSENGER_Room *room;
74};
75
76int
77it_contact_find_room (void *cls, struct GNUNET_MESSENGER_Room *room,
78 GNUNET_UNUSED const struct GNUNET_MESSENGER_Contact *member)
79{
80 struct GNUNET_CHAT_ContactFindRoom *find = cls;
81 find->room = room;
82 return GNUNET_NO;
83}
84
71struct GNUNET_CHAT_GroupIterateContacts 85struct GNUNET_CHAT_GroupIterateContacts
72{ 86{
73 struct GNUNET_CHAT_Group *group; 87 struct GNUNET_CHAT_Group *group;