gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r11122 - gnunet/src/fs


From: gnunet
Subject: [GNUnet-SVN] r11122 - gnunet/src/fs
Date: Fri, 30 Apr 2010 00:52:46 +0200

Author: grothoff
Date: 2010-04-30 00:52:46 +0200 (Fri, 30 Apr 2010)
New Revision: 11122

Modified:
   gnunet/src/fs/fs.c
Log:
details on missing features

Modified: gnunet/src/fs/fs.c
===================================================================
--- gnunet/src/fs/fs.c  2010-04-29 22:48:11 UTC (rev 11121)
+++ gnunet/src/fs/fs.c  2010-04-29 22:52:46 UTC (rev 11122)
@@ -359,6 +359,11 @@
       ret->data.file.do_index = GNUNET_NO;
       ret->data.file.have_hash = GNUNET_NO;
       ret->data.file.index_start_confirmed = GNUNET_NO;
+      /* FIXME: what's our approach for dealing with the
+        'reader' and 'reader_cls' fields?  I guess the only
+        good way would be to dump "small" files into 
+        'rh' and to not support serialization of "large"
+        files (!?) */
       break;
     case 1: /* file-index, no hash */
       if (GNUNET_OK !=
@@ -368,6 +373,9 @@
       ret->data.file.do_index = GNUNET_YES;
       ret->data.file.have_hash = GNUNET_NO;
       ret->data.file.index_start_confirmed = GNUNET_NO;
+      /* FIXME: what's our approach for dealing with the
+        'reader' and 'reader_cls' fields? 
+        (should be easy for indexing since we must have a file) */
       break;
     case 2: /* file-index-with-hash */
       if ( (GNUNET_OK !=
@@ -379,6 +387,9 @@
       ret->data.file.do_index = GNUNET_YES;
       ret->data.file.have_hash = GNUNET_YES;
       ret->data.file.index_start_confirmed = GNUNET_NO;
+      /* FIXME: what's our approach for dealing with the
+        'reader' and 'reader_cls' fields? 
+        (should be easy for indexing since we must have a file) */
       break;
     case 3: /* file-index-with-hash-confirmed */
       if ( (GNUNET_OK !=
@@ -390,6 +401,9 @@
       ret->data.file.do_index = GNUNET_YES;
       ret->data.file.have_hash = GNUNET_YES;
       ret->data.file.index_start_confirmed = GNUNET_YES;
+      /* FIXME: what's our approach for dealing with the
+        'reader' and 'reader_cls' fields? 
+        (should be easy for indexing since we must have a file) */
       break;
     case 4: /* directory */
       if ( (GNUNET_OK !=





reply via email to

[Prev in Thread] Current Thread [Next in Thread]