CCAN imported from http://ccodearchive.net. CCAN version: init-2049-gc2966d1