#ifndef CRPC_TEST_API #define CRPC_TEST_API #include #include "export.h" #ifdef __cplusplus extern "C" { #endif //cpp struct CRPC_EXPORT rpc_string; typedef rpc_string*(*callback_t)(rpc_string*); CRPC_EXPORT void crpc_test_init(); CRPC_EXPORT void crpc_test_deinit(); CRPC_EXPORT void crpc_test_add_method(callback_t cb, rpc_string* name); #ifdef __cplusplus } #endif //cpp #endif //CRPC_SERVER_API