--- libaitio/inc/aitio.h 2013/12/12 14:56:38 1.38.10.13 +++ libaitio/inc/aitio.h 2013/12/12 15:20:22 1.38.10.14 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.h,v 1.38.10.13 2013/12/12 14:56:38 misho Exp $ +* $Id: aitio.h,v 1.38.10.14 2013/12/12 15:20:22 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -256,6 +256,14 @@ void ioCloseSocket(sock_t ** __restrict s); * return: 0 ok or !=0 error */ int ioCloseClient(sock_cli_t * __restrict c); +/* + * ioSetupProg() - Setup program pool to socket server + * + * @s = Socket + * @p = Program pool + * return: -1 error or 0 ok + */ +int ioSetupProg(sock_t * __restrict s, prog_t * __restrict p); /* * ioUpSocket() - Setup socket for use *