Co-authored-by: Rusty Russell <rusty@rustcorp.com.au>
CCAN imported from http://ccodearchive.net. CCAN version: init-2491-ga1f9c169