Added functionality and resolved compilation issues.
Merge branch 'master' of github.com:heshbaugh/ccan