CCAN imported from http://ccodearchive.net.

CCAN version: init-2458-g8cc0749a