[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r937 - GNUnet-docs/WWW/test
From: |
durner |
Subject: |
[GNUnet-SVN] r937 - GNUnet-docs/WWW/test |
Date: |
Tue, 14 Jun 2005 12:14:19 -0700 (PDT) |
Author: durner
Date: 2005-06-14 12:14:14 -0700 (Tue, 14 Jun 2005)
New Revision: 937
Modified:
GNUnet-docs/WWW/test/protocol_p2p_afs.php3
GNUnet-docs/WWW/test/protocol_p2p_dht.php3
GNUnet-docs/WWW/test/protocol_p2p_rpc.php3
Log:
fix
Modified: GNUnet-docs/WWW/test/protocol_p2p_afs.php3
===================================================================
--- GNUnet-docs/WWW/test/protocol_p2p_afs.php3 2005-06-14 19:05:01 UTC (rev
936)
+++ GNUnet-docs/WWW/test/protocol_p2p_afs.php3 2005-06-14 19:14:14 UTC (rev
937)
@@ -71,8 +71,9 @@
W("The GAP protocol uses the ECRS-core to verify that a response matches a
query.");
W("The details of how replies are verified are discussed in the %s paper.",
extlink_("download/ecrs.ps","ECRS"));
+EP();
-echo "<table border=3>\n";
+echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
include("bittable.inc");
rowSizeType("36+20*n","16");
rowIntEntryNBO("type");
@@ -82,6 +83,7 @@
fiveRowIntEntries("query [n > 1]");
echo "</table>\n";
+BP();
W("The priority is used to determine the value of the query.");
W("Queries with lower priorities are more likely to be dropped.");
W("For details see the paper on the %s for GNUnet.",
@@ -105,7 +107,7 @@
ARRAY(extlink_("download/esed.ps","GNUnet encoding paper"),
extlink_("encoding.php3","encoding page")));
EP();
-echo "<table border=3>\n";
+echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
include("bittable.inc");
rowSizeType("28+N","17");
rowIntEntry("N bytes content");
Modified: GNUnet-docs/WWW/test/protocol_p2p_dht.php3
===================================================================
--- GNUnet-docs/WWW/test/protocol_p2p_dht.php3 2005-06-14 19:05:01 UTC (rev
936)
+++ GNUnet-docs/WWW/test/protocol_p2p_dht.php3 2005-06-14 19:14:14 UTC (rev
937)
@@ -17,6 +17,8 @@
// link to 'hacking_dht' here (once that part is written).
W("Since the DHT service uses RPC it does not define any new node-to-node
network messages but rather defines five RPC functions:");
+EP();
+
echo "<ul>\n";
LIV(extlink_("#ping","DHT_ping"));
LIV(extlink_("#findNode","DHT_findNode"));
@@ -25,6 +27,7 @@
LIV(extlink_("#remove","DHT_remove"));
echo "</ul>\n";
+BP();
W("GNUnets DHT implementation is based on ideas from %s.",
extlink_("http://en.wikipedia.org/wiki/Kademlia", "Kademlia"));
W("There are various differences between Kademlia and the implementation in
GNUnet.");
Modified: GNUnet-docs/WWW/test/protocol_p2p_rpc.php3
===================================================================
--- GNUnet-docs/WWW/test/protocol_p2p_rpc.php3 2005-06-14 19:05:01 UTC (rev
936)
+++ GNUnet-docs/WWW/test/protocol_p2p_rpc.php3 2005-06-14 19:14:14 UTC (rev
937)
@@ -15,11 +15,13 @@
W("How to use the RPC service is described on the %s page.",
intlink_("hacking_rpc.php3", "RPC hacking"));
W("The GNUnet node-to-node (or peer-to-peer) RPC procotol currently defines
three messages that must be supported by all peers that use RPC.");
+EP();
echo "<ul>\n";
LIV(extlink_("#REQ","REQ"));
LIV(extlink_("#RES","RES"));
LIV(extlink_("#ACK","ACK"));
echo "</ul>\n";
+BP();
W("The most basic sequence is that a peer sends a %s to any other host to
request the execution of some function.",
extlink_("#REQ","REQ"));
W("The recipient of the REQ sends back a %s to communicate the successful
execution and to return some response code.",
@@ -49,6 +51,7 @@
W("Future implementations of RPC will likely expose the priority to the RPC
function.");
W("The format of the REQ message is:");
+EP();
echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
include("bittable.inc");
rowSizeType("size","42");
@@ -60,6 +63,7 @@
rowIntEntry("Function name (variable size)");
rowIntEntry("Arguments (variable size)");
echo "</table>\n";
+BP();
W("The format of the arguments is first a zero-terminated parameter name,
followed by the size of the parameter (as an unsigned int in network byte
order) followed by the actual argument.");
W("The helper functions defined in %s should be used to serialize and
deserialize the arguments.",
extlink_("doxygen/html/gnunet__rpc__service_8h.html",
@@ -77,6 +81,7 @@
// W("<strong>Security considerations</strong>.");
W("The format of the RES message is:");
+EP();
echo "<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n";
include("bittable.inc");
rowSizeType("size","43");
@@ -87,6 +92,7 @@
shortEntry_("Error code (0 for success)", NBO_()));
rowIntEntry("Return values (variable size)");
echo "</table>\n";
+BP();
W("The number of return values must be 0 if a non-zero error code is
returned.");
W("The sequence number must be identical to the number from the REQ message.");
W("The format of the return values is first a zero-terminated return value
identifier, followed by the size of the return value (as an unsigned int in
network byte order) followed by the actual value.");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r937 - GNUnet-docs/WWW/test,
durner <=