CCAN imported from http://ccodearchive.net.

CCAN version: init-2456-g9d2d2c49
