--- libaitrpc/inc/aitrpc.h 2015/05/18 15:09:59 1.27 +++ libaitrpc/inc/aitrpc.h 2015/06/29 22:29:25 1.27.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitrpc.h,v 1.27 2015/05/18 15:09:59 misho Exp $ +* $Id: aitrpc.h,v 1.27.2.1 2015/06/29 22:29:25 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -311,6 +311,13 @@ ssize_t rpc_Read(int sock, int type, int flags, sockad ssize_t rpc_Write(int sock, int type, int flags, sockaddr_t * __restrict sa, ait_val_t * __restrict pkt, size_t blen); +/* + * rpc_pktFreeSpace() - Get free space for payload into RPC packet + * + * @c = RPC client + * return: remains free bytes from packet + */ +size_t rpc_pktFreeSpace(rpc_cli_t * __restrict c); /* * rpc_chkPktSession() - Check RPC session *