* }
* }
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* return 0;
* }
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* return 0;
* }
*
- * Licence: GPL (3 or any later version)
+ * License: GPL (3 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
*
* Author: Joey Adams
* Version: 0.1.1
- * Licence: BSD
+ * License: BSD
*/
int main(int argc, char *argv[])
{
* vals[i] = random();
* }
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
*
* This version uses macros to be typesafe on platforms which support it.
*
- * Licence: LGPL
+ * License: LGPL
* Author: Rusty Russell <rusty@rustcorp.com.au>
*
* Example:
*
* asort does both.
*
- * Licence: LGPL
+ * License: LGPL
* Author: Rusty Russell <rusty@rustcorp.com.au>
*
* Example:
*
* Author: Joey Adams
* Version: 0.1.0
- * Licence: BSD
+ * License: BSD
*/
int main(int argc, char *argv[])
{
* return (char *)foo;
* }
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* }
*
* Author: Joey Adams
- * Licence: MIT
+ * License: MIT
*/
int main(int argc, char *argv[])
{
* since they have to use sizeof() which can only distiguish between types of
* different size.
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* - IS_COMPILE_CONSTANT
* For using different tradeoffs for compiletime vs runtime evaluation.
*
- * Licence: LGPL (3 or any later version)
+ * License: LGPL (3 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*
* Example:
* return 0;
* }
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* exit(0);
* }
*
- * Licence: GPL (v2 or any later version)
+ * License: GPL (v2 or any later version)
* Author: Gary S. Brown, Clay Haapala
* Maintainer: Rusty Russell <rusty@rustcorp.com.au>
*/
* return 0;
* }
*
- * Licence: LGPL (v2 or any later version)
+ * License: LGPL (v2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* exit(0);
* }
*
- * Licence: BSD (2 clause, ie. MIT)
+ * License: BSD (2 clause, ie. MIT)
*/
int main(int argc, char *argv[])
{
* exit(0);
* }
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* return 0;
* }
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* The stable ones will always give the same results on any computer,
* and on any version of this package.
*
- * Licence: Public Domain
+ * License: Public Domain
* Maintainer: Rusty Russell <rusty@rustcorp.com.au>
* Author: Bob Jenkins <bob_jenkins@burtleburtle.net>
*/
* return 0;
* }
*
- * Licence: GPLv2 (or later)
+ * License: GPLv2 (or later)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* return 0;
* }
*
- * Licence: GPL (2 or any later version)
+ * License: GPL (2 or any later version)
* Maintainer: Rusty Russell <rusty@rustcorp.com.au>
* Author: Jim Houston <jim.houston@ccur.com>
*/
* help you annotate rare paths in your code for the convenience of the
* compiler and the reader.
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*
* Example:
* return 0;
* }
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* return 0;
* }
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
*/
int main(int argc, char *argv[])
{
* return true;
* }
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* return 0;
* }
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
*
*/
int main(int argc, char *argv[])
* return 0;
* }
*
- * Licence: GPL (3 or any later version)
+ * License: GPL (3 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* return 0;
* }
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* return 0;
* }
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* return 0;
* }
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* return 0;
* }
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* return 0;
* }
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* return 0;
* }
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
*/
int main(int argc, char *argv[])
{
* return 0;
* }
*
- * Licence: GPL (2 or any later version)
+ * License: GPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* return 0;
* }
*
- * Licence: LGPL (3 or any later version)
+ * License: LGPL (3 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
*
* Author: Andrew Tridgell, Jeremy Allison, Rusty Russell
*
- * Licence: LGPLv3 (or later)
+ * License: LGPLv3 (or later)
*
* Fails: valgrind-tests // valgrind breaks fcntl locks.
*/
*
* Author: Rusty Russell
*
- * Licence: LGPLv3 (or later)
+ * License: LGPLv3 (or later)
*
* Fails:
* valgrind-tests // hash needs --partial-loads-ok=yes.
* return 0;
* }
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au>
*/
int main(int argc, char *argv[])
* wwviaudio_cancel_all_sounds();
* wwviaduio_stop_portaudio();
*
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
*
*/
int main(int argc, char *argv[])
if (argc < 3)
errx(1, "Usage: doc_extract [--function=<funcname>] TYPE <file>...\n"
- "Where TYPE is functions|author|licence|maintainer|summary|description|example|all");
+ "Where TYPE is functions|author|license|maintainer|summary|description|example|all");
if (strstarts(argv[1], "--function=")) {
function = argv[1] + strlen("--function=");
$dependencies=htmlspecialchars(shell_exec('tools/ccan_depends --direct '.$module_path));
$extdepends=htmlspecialchars(shell_exec('tools/ccan_depends --compile --non-ccan '.$module_path));
$licence=extract_field('licence',$module_path);
+$license=extract_field('license',$module_path);
?>
<table align="center" bgcolor="lightblue" width="70%" border="0" cellpadding="3" cellspacing="1">
<tr align="center" bgcolor="FFFFCC">
if ($licence) {
?>
<tr align="left" bgcolor="FFFFCC">
-<td><h3>Licence: </h3> <?=$licence?></td>
+<td><h3>License: </h3> <?=$licence?></td>
+</tr>
+<?php
+}
+
+if ($license) {
+?>
+<tr align="left" bgcolor="FFFFCC">
+<td><h3>License: </h3> <?=$license?></td>
</tr>
<?php
}