CCAN imported from http://ccodearchive.net.

CCAN version: init-2565-g3942778b
