gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r6380 - in GNUnet: . contrib


From: gnunet
Subject: [GNUnet-SVN] r6380 - in GNUnet: . contrib
Date: Mon, 18 Feb 2008 23:56:46 -0700 (MST)

Author: grothoff
Date: 2008-02-18 23:56:45 -0700 (Mon, 18 Feb 2008)
New Revision: 6380

Modified:
   GNUnet/contrib/hostlist.php
   GNUnet/todo
Log:
updated hostlist code to support new 'p' argument -- untested

Modified: GNUnet/contrib/hostlist.php
===================================================================
--- GNUnet/contrib/hostlist.php 2008-02-19 06:55:18 UTC (rev 6379)
+++ GNUnet/contrib/hostlist.php 2008-02-19 06:56:45 UTC (rev 6380)
@@ -3,7 +3,18 @@
 // Author: "Krasko Oleksandr" <address@hidden>
 // Minor improvements by Christian Grothoff <address@hidden>
 header("Content-Type: application/octet-stream\r\n\r\n");
-$extmas = array('2','3','4','5','6','8','12','17','23','25');
+$extmas = array();
+$pv=$_GET['p'];
+if (isset($pv))
+  {
+    for ($ii=0;$ii<64;$ii++)
+      if (0 != ($pv & (1 << $ii)))
+       $extmas[] = $ii;
+  }
+else
+  {
+    $extmas = array('2','3','4','5','6','8','12','17','23','25');
+  }
 $path = '/var/lib/gnunet/data/hosts/'; // adjust as necessary
 $dir = opendir($path);
 if (! $dir)

Modified: GNUnet/todo
===================================================================
--- GNUnet/todo 2008-02-19 06:55:18 UTC (rev 6379)
+++ GNUnet/todo 2008-02-19 06:56:45 UTC (rev 6380)
@@ -5,12 +5,12 @@
   PRE == to be done before a pre-release
 
 0.8.0 [6'08] (aka "advanced features"):
+- insert directory-name as metadata (#1240)
+- full support for FSUI pause/resume of search
+- power insert (#854)
+- clean up VPN code
 - tune GAP query planning code [RC]
 - gnunet-chat (CS-only)
-- power insert (#854)
-- clean up VPN code
-- full support for FSUI pause/resume of search
-- insert directory-name as metadata (#1240)
 
 TESTING:
 - test GAP code in general (still have one unexplained crazy crash!)





reply via email to

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