That nice snippets of C code should be moved out of junkcode directories and exposed to a wider world, where they can become something useful.
CCAN is loosely modelled after the successful CPAN project for Perl code development and sharing.
You can get each module as a tarball (see list), get a tarball of the whole repository with tools, or clone our git repository (git clone git://git.ozlabs.org/~ccan/ccan).
There are two ways to use it:
We always welcome new code! Copy an existing module and run the "ccanlint" tool over it, or just send any code you have lying around any let someone else polish it up.
Anyone can send code or a git pull request to the friendly mailing list or just upload it using the web form.
"GPLv2 or later" and supersets thereof (eg. LGPLv2+ or BSD) licenses preferred.
We have a low volume mailing list for discussion of CCAN in general, and you're welcome to join.
We also have an IRC channel: #ccan on Freenode.
We also have a wiki; feel free to enhance it.