CCAN imported from http://ccodearchive.net.

CCAN version: init-2503-g56d5c41f