--- libaitcli/inc/aitcli.h 2011/05/29 22:49:25 1.4 +++ libaitcli/inc/aitcli.h 2012/07/22 22:37:08 1.5 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitcli.h,v 1.4 2011/05/29 22:49:25 misho Exp $ +* $Id: aitcli.h,v 1.5 2012/07/22 22:37:08 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 +Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -51,7 +51,9 @@ SUCH DAMAGE. #include +#ifndef STRSIZ #define STRSIZ 256 +#endif /* Key definitions */ @@ -346,7 +348,7 @@ inline int cli_telnet_SetCmd(struct telnetAttrs *attr, * @nCaps = number of capability options * @attr = input attribute * @nAttr = number of input attributes - * @ans = output answered attributes, must be free() after use + * @ans = output answered attributes, must be io_free() after use * @Ans = number of output answered attributes * return: -1 can`t answer; !=-1 ok */ @@ -503,7 +505,7 @@ int cliInitLine(linebuffer_t * __restrict buffer); /* * cliReadLine() Read line from opened CLI session * @buffer = CLI buffer - * return: NULL if error or !=NULL readed line, must be free after use! + * return: NULL if error or !=NULL readed line, must be io_free after use! */ char *cliReadLine(linebuffer_t * __restrict buffer);