Fix to include in c++ projects

Added "extern "C" {" before function declarations
Fix to include in c++ projects

Added "extern "C" {" before function declarations
Fix to include in c++ projects

Added stdbool.h include
Merge pull request #1 from tinito/master

Add extern "C" { } for easy inclusion from C++ code