DESC Add a conditional "extern C" to the header file so the library can be linked against C++ source. EDESC If we want the library to be linked against C++ source, we have to tell the compiler so, because of C++ name mangling. This patch adds the conditional "extern C" in the header to do so, and allows the library to be used inside C++.