CCAN imported from http://ccodearchive.net.

CCAN version: init-2549-gba79e21b
