staticindex.php 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?php
  2. session_start();
  3. include('logo.html');
  4. include('menulist.html');
  5. include('static-configuration');
  6. ?>
  7. <h2>The Idea</h2>
  8. <p>
  9. That nice snippets of C code should be moved out of junkcode
  10. directories and exposed to a wider world, where they can become
  11. something useful.
  12. </p>
  13. <p>
  14. CCAN is loosely modelled after the successful <a href="http://cpan.org">CPAN project</a>
  15. for Perl code development and sharing.
  16. </p>
  17. <h2>Get The Code</h2>
  18. <p> You can get each module as a tarball (<a href="list.html">see
  19. list</a>), get a tarball of <a href="ccan.tar.bz2">the whole repository</a> with tools,
  20. or clone our <a href="http://git.ozlabs.org/?p=ccan">git repository</a> (<tt>git clone git://git.ozlabs.org/~ccan/ccan</tt>).
  21. </p>
  22. <h2>Use The Code</h2>
  23. <p>
  24. There are two ways to use it:
  25. <ol>
  26. <li> Put modules into a ccan/ subdirectory into your project. Add a "config.h" (like
  27. <a href="example-config.h">this example</a>) and compile every .c file
  28. in ccan/* (as in this <a href="Makefile-ccan">Makefile</a>)).
  29. <li> Alternatively, just hack whatever parts you want so it compiles in
  30. your project.
  31. </ol>
  32. </p>
  33. <h2>Add Code</h2>
  34. <p>
  35. We always welcome new code! Copy an existing module and run the "ccanlint"
  36. tool over it, or just send any code you have lying around any let someone
  37. else polish it up.
  38. </p>
  39. <p>Anyone can send code or a git pull request to
  40. the <a href="http://ozlabs.org/mailman/listinfo/ccan">friendly
  41. mailing list</a> or just <a href="upload.html">upload it using the web form</a>.
  42. </p>
  43. <p>
  44. "GPLv2 or later" and supersets thereof (eg. LGPLv2+ or BSD)
  45. licenses preferred.
  46. </p>
  47. <h2>Complaints, Ideas and Infrastructure</h2>
  48. <p>
  49. We have a <a href="http://ozlabs.org/mailman/listinfo/ccan">low volume
  50. mailing list</a> for discussion of CCAN in general, and you're welcome
  51. to join.
  52. </p>
  53. <p>
  54. We also have an IRC channel: #ccan on <a href="http://freenode.net">Freenode</a>.
  55. </p>
  56. <p>
  57. We also have a <a href="Wiki/">wiki</a>; feel free to enhance it.
  58. </p>
  59. <hr>
  60. </body></html>