gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r3799 - GNUnet-docs/WWW


From: grothoff
Subject: [GNUnet-SVN] r3799 - GNUnet-docs/WWW
Date: Sun, 19 Nov 2006 21:39:39 -0800 (PST)

Author: grothoff
Date: 2006-11-19 21:39:36 -0800 (Sun, 19 Nov 2006)
New Revision: 3799

Modified:
   GNUnet-docs/WWW/hacking_application.php3
   GNUnet-docs/WWW/protocol_cs.php3
   GNUnet-docs/WWW/protocol_p2p.php3
   GNUnet-docs/WWW/protocol_p2p_core.php3
Log:
fixes

Modified: GNUnet-docs/WWW/hacking_application.php3
===================================================================
--- GNUnet-docs/WWW/hacking_application.php3    2006-11-20 05:33:21 UTC (rev 
3798)
+++ GNUnet-docs/WWW/hacking_application.php3    2006-11-20 05:39:36 UTC (rev 
3799)
@@ -52,7 +52,7 @@
 W("Do not use <tt>fork()</tt> or similar functions.");
 echo "</li>";
 echo "<li>";
-W("Use <tt>gnunet_util_sleep()</tt> instead of <tt>sleep()</tt>.");
+W("Use <tt>PTHREAD_SLEEP()</tt> instead of <tt>sleep()</tt>.");
 echo "</li>";
 echo "<li>";
 W("Use <tt>DIR_SEPARATOR</tt> and <tt>DIR_SEPARATOR_STR</tt> instead of plain 
slashes.");
@@ -61,17 +61,17 @@
 W("Use the uppercase macros defined in <tt>platform.h</tt> (for example, 
<tt>CHDIR()</tt> instead of <tt>chdir()</tt>, <tt>CONNECT()</tt> instead of 
<tt>connect()</tt>).");
 echo "</li>";
 echo "<li>";
-W("Use <tt>fileopen()</tt> instead of <tt>open()</tt>");
+W("Use <tt>disk_file_open()</tt> instead of <tt>open()</tt>");
 echo "</li>";
 echo "<li>";
-W("If an I/O function is missing in platform.h, ask the GNUnet developers.");
+W("If an I/O function is missing in <tt>platform.h</tt>, ask the GNUnet 
developers.");
 W("The desired function may exist on all platforms, but its behavior may be 
different.");
 echo "</li>";
 echo "<li>";
 W("Always expect I/O operations to fail with <tt>EWOULDBLOCK</tt>, even if 
<tt>SELECT()</tt> returned the descriptor as ready.");
 echo "</li>";
 echo "<li>";
-W("GTK functions may only be called from the main thread.  Use 
<tt>gtkSaveCall()</tt> from the <tt>gnunetgtk_comon</tt> library before making 
any GTK calls.");
+W("GTK functions may only be called from the main thread.  Use 
<tt>gtkSaveCall()</tt> from the <tt>gnunetgtk_common</tt> library before making 
any GTK calls.");
 echo "</li>";
 echo "</ul>";
 P();

Modified: GNUnet-docs/WWW/protocol_cs.php3
===================================================================
--- GNUnet-docs/WWW/protocol_cs.php3    2006-11-20 05:33:21 UTC (rev 3798)
+++ GNUnet-docs/WWW/protocol_cs.php3    2006-11-20 05:39:36 UTC (rev 3799)
@@ -10,7 +10,7 @@
 W("TCP is stream oriented, but GNUnet breaks the stream into records.");
 W("The different messages between GNUnet and the clients all have the 
following basic format:");
 EP();
-LAYOUT("CS_MESSAGE_HEADER",
+LAYOUT("MESSAGE_HEADER",
        F(ARRAY(N("message size", NBO_()) => 2,
                N("request type", NBO_()) => 2,
                N("(size - 4) bytes of data", "") => 0)));

Modified: GNUnet-docs/WWW/protocol_p2p.php3
===================================================================
--- GNUnet-docs/WWW/protocol_p2p.php3   2006-11-20 05:33:21 UTC (rev 3798)
+++ GNUnet-docs/WWW/protocol_p2p.php3   2006-11-20 05:39:36 UTC (rev 3799)
@@ -25,7 +25,7 @@
 W("Each of the messages in the plaintext packet has the following header:");
 EP();
 
-LAYOUT("P2P_MESSAGE_HEADER",
+LAYOUT("MESSAGE_HEADER",
        F(ARRAY(N("message size", NBO_()) => 2,
               N("request type", NBO_()) => 2,
               N("(size - 4) bytes of data", "") => 0)));

Modified: GNUnet-docs/WWW/protocol_p2p_core.php3
===================================================================
--- GNUnet-docs/WWW/protocol_p2p_core.php3      2006-11-20 05:33:21 UTC (rev 
3798)
+++ GNUnet-docs/WWW/protocol_p2p_core.php3      2006-11-20 05:39:36 UTC (rev 
3799)
@@ -253,7 +253,7 @@
 W("Noise should only be used in encrypted traffic.");
 W("The format for noise is:");
 EP();
-LAYOUT("P2P_MESSAGE_HEADER",
+LAYOUT("MESSAGE_HEADER",
        F(ARRAY(N("message size", NBO_()) => 2,
               V("request type", 6, NBO_()) => 2,
               N("(size - 4) random bytes", "") => 0)));





reply via email to

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