[ccan] CCAN Update for 2015-06

Rusty Russell rusty at rustcorp.com.au
Mon Jun 1 16:53:20 AEST 2015


Hi all!

        One minor (but useful!) change this month has been Travis
integration, thanks to Joel Stanley.  It already found a test bug I'm
chasing now!  You can see the current status here:

        https://travis-ci.org/rustyrussell/ccan

Module of the Month: ccan/ptrint
================================

It's fairly standard to have callback functions which take a void *, but
sometimes you actually want an integer.  ptrint provides nice wrappers
to do this portably for you, and also makes your code more readable
with int2ptr and ptr2int.

New modules:
============
        crypto/sha256: simple SHA256 routines (can use openssl)
        crypto/shachain: create a series on 256-bit values.
        ptrint: wrapper for documented ptr<->int conversion. (David Gibson)
        str/hex: string hexidecimal conversion routines

Minor updates & bugfixes:
========================
	htable: allow pre-sizing of table
        timer: fix nasty corruption in non-trivial timer setups.
        asearch: license fix and context pointer in callback (David Gibson)

Cheers,
Rusty.


        


More information about the ccan mailing list