[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r1461 - GNUnet-docs/WWW
From: |
grothoff |
Subject: |
[GNUnet-SVN] r1461 - GNUnet-docs/WWW |
Date: |
Tue, 12 Jul 2005 19:38:09 -0700 (PDT) |
Author: grothoff
Date: 2005-07-12 19:38:06 -0700 (Tue, 12 Jul 2005)
New Revision: 1461
Removed:
GNUnet-docs/WWW/bittable.inc
Modified:
GNUnet-docs/WWW/scripts.inc
Log:
bye
Deleted: GNUnet-docs/WWW/bittable.inc
===================================================================
--- GNUnet-docs/WWW/bittable.inc 2005-07-13 02:37:40 UTC (rev 1460)
+++ GNUnet-docs/WWW/bittable.inc 2005-07-13 02:38:06 UTC (rev 1461)
@@ -1,22 +0,0 @@
-<tr>
- <th class="tbl">
- <table>
- <tr>
- <th>00</th><th>01</th><th>02</th><th>03</th>
- <th>04</th><th>05</th><th>06</th><th>07</th>
- <th>08</th><th>09</th><th>10</th><th>11</th>
- <th>12</th><th>13</th><th>14</th><th>15</th>
- </tr>
- </table>
- </th>
- <th class="tbl">
- <table>
- <tr>
- <th>16</th><th>17</th><th>18</th><th>19</th>
- <th>20</th><th>21</th><th>22</th><th>23</th>
- <th>24</th><th>25</th><th>26</th><th>27</th>
- <th>28</th><th>29</th><th>30</th><th>31</th>
- </tr>
- </table>
- </th>
- </tr>
Modified: GNUnet-docs/WWW/scripts.inc
===================================================================
--- GNUnet-docs/WWW/scripts.inc 2005-07-13 02:37:40 UTC (rev 1460)
+++ GNUnet-docs/WWW/scripts.inc 2005-07-13 02:38:06 UTC (rev 1461)
@@ -41,6 +41,9 @@
// formats a struct for showStructLayout
// $elements is an (ordered!) list mapping a name
+// Todo: hack a bit more to give range for byte-offsets (i.e 4-13 bytes);
+// Also: for variable-size elements (size==0), improve "plusX" (and add
+// also "plusY, plusZ" etc if multiple var-size ones happen to be used)
function F($elements) {
$ret = ARRAY();
$offset = 0;
@@ -91,6 +94,9 @@
return $ret;
}
+// See the various protocol*.php3 files for how to use this
+// one. Rather complicated :-). Used to display the layout
+// of a struct when describing protocols.
function LAYOUT($structName,
$fieldArray) {
echo "<center>\n";
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r1461 - GNUnet-docs/WWW,
grothoff <=