const
authorChristian Grothoff <christian@grothoff.org>
Tue, 19 Jul 2011 09:56:55 +0000 (09:56 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 19 Jul 2011 09:56:55 +0000 (09:56 +0000)
src/fs/fs_file_information.c
src/include/gnunet_fs_service.h

index b248fae44353d1440316ed52fba20714fa68fb31..e920bf46bfdd321e2002cc3d46d3bcc350b50a4c 100644 (file)
@@ -587,7 +587,7 @@ GNUNET_FS_file_information_create_from_directory (struct GNUNET_FS_Handle *h,
  * @return GNUNET_YES if so, GNUNET_NO if not
  */
 int
-GNUNET_FS_file_information_is_directory (struct GNUNET_FS_FileInformation *ent)
+GNUNET_FS_file_information_is_directory (const struct GNUNET_FS_FileInformation *ent)
 {
   return ent->is_directory;
 }
index 13b0cd2c5a422ad01598a23d7a45b14a28ef945c..04e7b606c5c7d1d301b61c1dbd2a44a98609097f 100644 (file)
@@ -1962,7 +1962,7 @@ GNUNET_FS_file_information_create_empty_directory (struct GNUNET_FS_Handle *h,
  * @return GNUNET_YES if so, GNUNET_NO if not
  */
 int
-GNUNET_FS_file_information_is_directory (struct GNUNET_FS_FileInformation *ent);
+GNUNET_FS_file_information_is_directory (const struct GNUNET_FS_FileInformation *ent);
 
 
 /**