--- libaitrpc/inc/aitrpc.h 2014/01/28 14:04:56 1.22.2.1 +++ libaitrpc/inc/aitrpc.h 2014/04/27 16:26:45 1.24 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitrpc.h,v 1.22.2.1 2014/01/28 14:04:56 misho Exp $ +* $Id: aitrpc.h,v 1.24 2014/04/27 16:26:45 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -246,6 +246,10 @@ typedef struct { * return: -1 error or >-1 success execution */ typedef int (*rpc_callback_t)(rpc_cli_t *, struct tagRPCCall *, array_t *); + +#define RPC_CALL_DEFINE(x) int (x)(rpc_cli_t*, struct tagRPCCall*, array_t*) +#define RPC_CALL_ARGS(arg1, arg2, arg3) rpc_cli_t* arg1, struct tagRPCCall* arg2, array_t* arg3 +#define RPC_CALL_STDARGS RPC_CALL_ARGS(cli, rpc, iv) /* ----------------------------------------------------------------------- */