--- libaitrpc/inc/aitrpc.h 2013/04/02 09:17:06 1.13.2.1 +++ libaitrpc/inc/aitrpc.h 2013/04/02 15:32:03 1.13.2.2 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitrpc.h,v 1.13.2.1 2013/04/02 09:17:06 misho Exp $ +* $Id: aitrpc.h,v 1.13.2.2 2013/04/02 15:32:03 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -570,10 +570,11 @@ int rpc_pkt_Receive(int sock, int type, sockaddr_t * _ * @tag = Function tag for execution * @vars = Function argument array of values, may be NULL * @noreply = We not want RPC reply + * @nocrc = Without CRC calculation * return: -1 error or != -1 prepared bytes into packet */ int rpc_pkt_Request(ait_val_t * __restrict pkt, rpc_sess_t * __restrict sess, - unsigned short tag, array_t * __restrict vars, int noreply); + unsigned short tag, array_t * __restrict vars, int noreply, int nocrc); /* * rpc_pkt_Replay() - Decode RPC Replay packet * @@ -581,10 +582,11 @@ int rpc_pkt_Request(ait_val_t * __restrict pkt, rpc_se * @sess = RPC session info * @tag = Function tag * @vars = Function argument array of values, may be NULL + * @nocrc = Without CRC calculation * return: -1 error or != -1 return value from function */ int rpc_pkt_Replay(ait_val_t * __restrict pkt, rpc_sess_t * __restrict sess, - unsigned short tag, array_t ** __restrict vars); + unsigned short tag, array_t ** __restrict vars, int nocrc); /* * rpc_cli_execCall() - Execute RPC call *