Comprehensive C Archive Network

Upload Code Download Code About

List of all CCAN modules:

Note that two downloads are offered: the first includes with all the other ccan modules this module uses, the second is a standalone download.

Or you can just download the tarball of everything including CCAN tools (1272K).

Name Summary / Link to details Download
alignof ALIGNOF() macro to determine alignment of a type. 4K / 3K
alloc memory allocator routines 57K / 22K
antithread Accelerated Native Technology Implementation of "threads" 171K / 57K
array_size routine for safely deriving the size of a visible array. 4K / 3K
asearch typesafe binary search (bsearch) 16K / 11K
asort typesafe array sort (qsort) 19K / 14K
asprintf asprintf wrapper (and if necessary, implementation). 6K / 3K
autodata stash pointers in your binary for automatic registration 12K / 5K
avl Key-value dictionary based on AVL trees 8K / 8K
bdelta Generate and apply binary deltas 13K / 13K
block_pool An efficient allocator for blocks that don't need to be resized or freed. 100K / 5K
btree Efficient sorted associative container based on B-trees. 15K / 15K
build_assert routines for build-time assertions 2K / 2K
cast routines for safer casting. 13K / 12K
ccan_tokenizer A full-text lexer for C source files 438K / 32K
charset character set conversion and validation routines 9K / 9K
check_type routines for compile time type checking 4K / 3K
ciniparser easily parse and manipulate ini style configuration files 12K / 12K
compiler macros for common compiler extensions 4K / 4K
container_of routine for upcasting 5K / 3K
crc routines for crc of bytes 20K / 18K
crcsync routines to use crc for an rsync-like protocol. 31K / 16K
daemon_with_notify daemonize a process, can wait for child to signal readiness 5K / 5K
daemonize routine to turn a process into a well-behaved daemon. 4K / 4K
darray Generic resizable arrays 305K / 305K
dgraph simple directed graph module 28K / 11K
endian endian conversion macros for simple types 11K / 11K
failtest unit test helpers for testing malloc and other failures. 69K / 20K
foreach macro for simple iteration of arrays 24K / 8K
grab_file file helper routines 101K / 11K
hash routines for hashing bytes 16K / 15K
htable hash table routines 21K / 19K
idtree id allocation tree 104K / 11K
ilog Integer logarithm. 15K / 13K
isaac A fast, high-quality pseudo-random number generator. 29K / 16K
iscsi async library for iscsi functionality 30K / 28K
jmap map from indices to values (based on libJudy) 22K / 18K
jset set of pointers (based on libJudy) 18K / 13K
json Parse and generate JSON (JavaScript Object Notation) 14K / 14K
lbalance helpers for loadbalancing parallel tasks 36K / 17K
likely macros for annotating likely/unlikely branches in the code 40K / 13K
list double linked list routines 19K / 16K
md4 MD4 Message Digest Algorithm (RFC1320). 19K / 10K
net simple IPv4/IPv6 client library 5K / 5K
nfs nfs client library 45K / 43K
noerr routines for cleaning up without blatting errno 3K / 3K
objset unordered set of pointers. 38K / 12K
ogg_to_pcm decode ogg vorbis audio files to PCM data using libvorbis 9K / 9K
opt simple command line parsing 43K / 29K
ptr_valid test whether a pointer is safe to dereference. 7K / 6K
rbtree talloc-aware Red Black Tree 112K / 18K
read_write_all read_all and write_all routines. 11K / 11K
short_types shorter names for standard integer types 3K / 3K
sparse_bsearch search a sorted array with some invalid entries 17K / 11K
str string helper routines 6K / 5K
str_talloc string helper routines which use talloc 100K / 13K
stringmap Macros for mapping strings to things 106K / 8K
strmap an ordered map of strings to values 30K / 6K
strset an ordered set of strings 54K / 10K
talloc tree allocator routines 97K / 36K
talloc_link link helper for talloc 102K / 10K
tally running tally of integers 48K / 10K
tap Test Anything Protocol 13K / 11K
tcon routines for creating typesafe generic containers 3K / 3K
time routines for dealing with time 4K / 4K
tlist typesafe double linked list routines 24K / 7K
ttxml tiny XML library for parsing (trusted!) XML documents. 16K / 16K
typesafe_cb macros for safe callbacks. 14K / 14K
wwviaudio realtime playback and mixing of 16 bit signed PCM audio data. 13K / 12K

Contents of Junkcode:

(This is contributed code which was dumped here: these gems may need some polishing.)
codedr@gmail.com-grok.tar.bz2 (2K) Browse contents...
dongre.avinash@gmail.com-clibutils.tar.bz2 (410K) Browse contents...
fork0@users.sf.net-bitmaps.tar.bz2 (2K) Browse contents...
fork0@users.sf.net-pathexpand.tar.bz2 (2K) Browse contents...
fork0@users.sf.net-timeout.tar.bz2 (3K) Browse contents...
guerrilla_thought@gmx.de-bst.tar.bz2 (2K) Browse contents...
iasoule32@gmail.com-polynomial.tar.bz2 (6K) Browse contents...
mansourmoufid@gmail.com-endianness.tar.bz2 (1K) Browse contents...
swehack@gmail.com-snifstat.tar.bz2 (3K) Browse contents...
tinkertim@gmail.com-grawk.tar.bz2 (7K) Browse contents...
tterribe@email.unc.edu-nmbrthry.tar.bz2 (10K) Browse contents...