CCAN imported from http://ccodearchive.net.

CCAN version: init-2577-g1ae4c432
