Mem Cache related C++ wrapper on Mem Cache calls written in C