CCAN imported from http://ccodearchive.net.

CCAN version: init-2582-g2d188544
