summaryrefslogtreecommitdiff
path: root/include/gnunet_chat_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gnunet_chat_lib.h')
-rw-r--r--include/gnunet_chat_lib.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/include/gnunet_chat_lib.h b/include/gnunet_chat_lib.h
index 2590dd2..1f94391 100644
--- a/include/gnunet_chat_lib.h
+++ b/include/gnunet_chat_lib.h
@@ -688,8 +688,8 @@ void*
GNUNET_CHAT_contact_get_user_pointer (const struct GNUNET_CHAT_Contact *contact);
/**
- * Returns if a given <i>contact</i> is owned as account and whether it has
- * sent messages with.
+ * Returns if a given <i>contact</i> is owned by the current account and whether
+ * it has sent messages with.
*
* @param[in] contact Contact
* @return GNUNET_YES if the contact is owned, otherwise GNUNET_NO
@@ -775,6 +775,31 @@ GNUNET_CHAT_group_iterate_contacts (const struct GNUNET_CHAT_Group *group,
void *cls);
/**
+ * Sets a custom <i>user pointer</i> to a given <i>member</i> relative to a
+ * <i>group</i> so it can be accessed in member related callbacks.
+ *
+ * @param[in,out] group Chat group
+ * @param[in] member Contact
+ * @param[in] user_pointer Custom user pointer
+ */
+void
+GNUNET_CHAT_member_set_user_pointer (struct GNUNET_CHAT_Group *group,
+ const struct GNUNET_CHAT_Contact *member,
+ void *user_pointer);
+
+/**
+ * Returns the custom user pointer of a given <i>member</i> relative to a
+ * <i>group</i> or NULL if it was not set any.
+ *
+ * @param[in] group Chat group
+ * @param[in] member Contact
+ * @return Custom user pointer or NULL
+ */
+void*
+GNUNET_CHAT_member_get_user_pointer (const struct GNUNET_CHAT_Group *group,
+ const struct GNUNET_CHAT_Contact *member);
+
+/**
* Returns the chat context for a chat with a given <i>group</i>.
*
* @param[in,out] group Group
@@ -925,31 +950,6 @@ GNUNET_CHAT_context_iterate_files (struct GNUNET_CHAT_Context *context,
void *cls);
/**
- * Sets a custom <i>user pointer</i> to a given <i>member</i> relative to a
- * <i>context</i> so it can be accessed in member related callbacks.
- *
- * @param[in,out] context Chat context
- * @param[in] member Contact
- * @param[in] user_pointer Custom user pointer
- */
-void
-GNUNET_CHAT_member_set_user_pointer (struct GNUNET_CHAT_Context *context,
- const struct GNUNET_CHAT_Contact *member,
- void *user_pointer);
-
-/**
- * Returns the custom user pointer of a given <i>contact</i> or NULL if it was
- * not set any.
- *
- * @param[in] context Chat context
- * @param[in] member Contact
- * @return Custom user pointer or NULL
- */
-void*
-GNUNET_CHAT_member_get_user_pointer (const struct GNUNET_CHAT_Context *context,
- const struct GNUNET_CHAT_Contact *member);
-
-/**
* Returns the kind of a given <i>message</i> to determine its content and
* related usage.
*