diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2022-03-10 02:18:22 +0100 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2022-03-10 02:18:22 +0100 |
commit | fba50c0338fb76feec7fee5a12e27fc57df1972b (patch) | |
tree | 22dcdbf1d1c091d4f41a1b7e8b9f0ce12e9d9319 /include | |
parent | 807dec8e802737fb46d015c48a7859a6ec504f74 (diff) | |
download | libgnunetchat-fba50c0338fb76feec7fee5a12e27fc57df1972b.tar.gz libgnunetchat-fba50c0338fb76feec7fee5a12e27fc57df1972b.zip |
Replace local files with namestore usage
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/gnunet_chat_lib.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/gnunet_chat_lib.h b/include/gnunet_chat_lib.h index e09643e..10e36a4 100644 --- a/include/gnunet_chat_lib.h +++ b/include/gnunet_chat_lib.h | |||
@@ -781,6 +781,31 @@ GNUNET_CHAT_context_iterate_files (struct GNUNET_CHAT_Context *context, | |||
781 | void *cls); | 781 | void *cls); |
782 | 782 | ||
783 | /** | 783 | /** |
784 | * Sets a custom <i>user pointer</i> to a given <i>member</i> relative to a | ||
785 | * <i>context</i> so it can be accessed in member related callbacks. | ||
786 | * | ||
787 | * @param[in,out] context Chat context | ||
788 | * @param[in] member Contact | ||
789 | * @param[in] user_pointer Custom user pointer | ||
790 | */ | ||
791 | void | ||
792 | GNUNET_CHAT_member_set_user_pointer (struct GNUNET_CHAT_Context *context, | ||
793 | const struct GNUNET_CHAT_Contact *member, | ||
794 | void *user_pointer); | ||
795 | |||
796 | /** | ||
797 | * Returns the custom user pointer of a given <i>contact</i> or NULL if it was | ||
798 | * not set any. | ||
799 | * | ||
800 | * @param[in] context Chat context | ||
801 | * @param[in] member Contact | ||
802 | * @return Custom user pointer or NULL | ||
803 | */ | ||
804 | void* | ||
805 | GNUNET_CHAT_member_get_user_pointer (const struct GNUNET_CHAT_Context *context, | ||
806 | const struct GNUNET_CHAT_Contact *member); | ||
807 | |||
808 | /** | ||
784 | * Returns the kind of a given <i>message</i> to determine its content and | 809 | * Returns the kind of a given <i>message</i> to determine its content and |
785 | * related usage. | 810 | * related usage. |
786 | * | 811 | * |