add client prototype with C++