diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2022-01-10 18:35:45 +0100 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2022-01-10 18:35:45 +0100 |
commit | ba8fe8ba1afa40046b209b1ae8ba290a09c90050 (patch) | |
tree | 80ee3ea303848719036765a36af49200abc851c3 /include | |
parent | 382213363a709fc3a2f4dd2248985a83cea99020 (diff) | |
download | libgnunetchat-ba8fe8ba1afa40046b209b1ae8ba290a09c90050.tar.gz libgnunetchat-ba8fe8ba1afa40046b209b1ae8ba290a09c90050.zip |
Implemented function to get a files name
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/gnunet_chat_lib.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/gnunet_chat_lib.h b/include/gnunet_chat_lib.h index 785d3ff..d15af55 100644 --- a/include/gnunet_chat_lib.h +++ b/include/gnunet_chat_lib.h | |||
@@ -779,6 +779,15 @@ GNUNET_CHAT_message_delete (const struct GNUNET_CHAT_Message *message, | |||
779 | struct GNUNET_TIME_Relative delay); | 779 | struct GNUNET_TIME_Relative delay); |
780 | 780 | ||
781 | /** | 781 | /** |
782 | * Returns the name of a given <i>file</i> handle. | ||
783 | * | ||
784 | * @param[in] file File handle | ||
785 | * @return The file name of file | ||
786 | */ | ||
787 | const char* | ||
788 | GNUNET_CHAT_file_get_name (const struct GNUNET_CHAT_File *file); | ||
789 | |||
790 | /** | ||
782 | * Returns the hash of a given <i>file</i> handle. | 791 | * Returns the hash of a given <i>file</i> handle. |
783 | * | 792 | * |
784 | * @param[in] file File handle | 793 | * @param[in] file File handle |