aboutsummaryrefslogtreecommitdiff
path: root/include/gnunet/gnunet_chat_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gnunet/gnunet_chat_lib.h')
-rw-r--r--include/gnunet/gnunet_chat_lib.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/include/gnunet/gnunet_chat_lib.h b/include/gnunet/gnunet_chat_lib.h
index 0348579..35f9ec6 100644
--- a/include/gnunet/gnunet_chat_lib.h
+++ b/include/gnunet/gnunet_chat_lib.h
@@ -810,6 +810,40 @@ enum GNUNET_GenericReturnValue
810GNUNET_CHAT_contact_is_blocked (const struct GNUNET_CHAT_Contact *contact); 810GNUNET_CHAT_contact_is_blocked (const struct GNUNET_CHAT_Contact *contact);
811 811
812/** 812/**
813 * Tags a given <i>contact</i> by the current account with a specific
814 * <i>tag</i>.
815 *
816 * @param[in,out] contact Contact
817 * @param[in] tag Tag
818 */
819void
820GNUNET_CHAT_contact_tag (struct GNUNET_CHAT_Contact *contact,
821 const char *tag);
822
823/**
824 * Untags a given <i>contact</i> by the current account with a specific
825 * <i>tag</i>.
826 *
827 * @param[in,out] contact Contact
828 * @param[in] tag Tag
829 */
830void
831GNUNET_CHAT_contact_untag (struct GNUNET_CHAT_Contact *contact,
832 const char *tag);
833
834/**
835 * Returns if a given <i>contact</i> is tagged by the current account with
836 * a specific <i>tag</i>.
837 *
838 * @param[in] contact Contact
839 * @return #GNUNET_YES if the contact is tagged, #GNUNET_SYSERR on failure and
840 * #GNUNET_NO otherwise
841 */
842enum GNUNET_GenericReturnValue
843GNUNET_CHAT_contact_is_tagged (const struct GNUNET_CHAT_Contact *contact,
844 const char *tag);
845
846/**
813 * Iterates through the tickets of a given <i>contact</i> with a selected 847 * Iterates through the tickets of a given <i>contact</i> with a selected
814 * callback and custom closure. 848 * callback and custom closure.
815 * 849 *