Updated some C-style functions so they can be called from c++ sources
Merge pull request #15 from dmedov/dev_linux

Updated some C-style functions so they can be called from c++ sources