--- libaitrpc/inc/aitrpc.h 2015/01/18 00:03:01 1.25.2.3 +++ libaitrpc/inc/aitrpc.h 2015/01/18 01:03:49 1.25.2.4 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitrpc.h,v 1.25.2.3 2015/01/18 00:03:01 misho Exp $ +* $Id: aitrpc.h,v 1.25.2.4 2015/01/18 01:03:49 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -735,6 +735,24 @@ rpc_cli_t *rpc_cli_openClient2(u_char InstID, int netB * return: none */ void rpc_cli_closeClient2(rpc_cli_t ** __restrict cli); + + +/* + * rpc_cli_openClientExt() - Connect to pipe RPC Server + * + * @InstID = InstID for RPC session request + * @netBuf = Network buffer length (min:512 bytes), if =0 == BUFSIZ (also meaning max RPC packet) + * @fd = File descriptor + * return: NULL == error or !=NULL connection to RPC server established + */ +rpc_cli_t *rpc_cli_openClientExt(u_char InstID, int netBuf, int fd); +/* + * rpc_cli_closeClientExt() - Close pipe connection to RPC server and free resources + * + * @cli = RPC Client session + * return: none + */ +void rpc_cli_closeClientExt(rpc_cli_t ** __restrict cli); #endif