8#if !defined(__MOS_KERNEL__) && defined(__cplusplus) && defined(__MOS_RPC_SERVER__)
9#define __rpc_have_cpp_server__
12#if !defined(__MOS_KERNEL__) && defined(__cplusplus) && defined(__MOS_RPC_CLIENT__)
13#define __rpc_have_cpp_client__
17#ifdef __rpc_have_cpp_server__
21#ifdef __rpc_have_cpp_client__
30#define USERFS_MANAGER_SERVICE_X(ARGS, PB, xarg) \
31 PB(xarg, 1, register_filesystem, REGISTER_FILESYSTEM, mosrpc_userfs_register_request, mosrpc_userfs_register_response) \
35#ifdef __rpc_have_cpp_client__
39#ifdef __rpc_have_cpp_server__
43#ifdef __MOS_RPC_SERVER__
44#define MOS_RPC_USERFS_MANAGER_SERVER(name) RPC_DECLARE_SERVER(name, USERFS_MANAGER_SERVICE_X)
47#ifdef __MOS_RPC_CLIENT__
48#define MOS_RPC_USERFS_MANAGER_CLIENT(name) RPC_DECLARE_CLIENT(name, USERFS_MANAGER_SERVICE_X)
51#undef __rpc_have_cpp_server__
52#undef __rpc_have_cpp_client__
#define RPC_DECL_SERVER_INTERFACE_CLASS(classname, X_MACRO)
#define RPC_CLIENT_DEFINE_STUB_CLASS(_class_name, X_MACRO)
#define USERFS_MANAGER_SERVICE_X(ARGS, PB, xarg)