You could convert it to a C++ class, but if you need to use it from C, C++ and C# it is best to leave it as C. Accessing a C library from C++ is just the same as from ANSI C. Accessing from C# requires
a little extra work[
^], but is not too difficult.