--- libaitrpc/inc/aitrpc.h 2024/03/20 17:06:10 1.28.8.2 +++ libaitrpc/inc/aitrpc.h 2024/12/09 13:41:57 1.29.4.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitrpc.h,v 1.28.8.2 2024/03/20 17:06:10 misho Exp $ +* $Id: aitrpc.h,v 1.29.4.1 2024/12/09 13:41:57 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -156,6 +156,10 @@ typedef int (*rpc_callback_t)(rpc_cli_t *, struct tagR /* ----------------------------------------------------------------------- */ +#ifdef __cplusplus +extern "C" { +#endif + /* * rpc_register_srvPing() - Register ping service function * @@ -398,5 +402,8 @@ int rpc_srv_recvBLOB(rpc_cli_t * __restrict cli, rpc_b */ int rpc_srv_Return(rpc_cli_t *c); +#ifdef __cplusplus +} +#endif #endif