--- libaitcli/inc/aitcli.h 2010/04/20 12:09:48 1.1.1.1.2.5 +++ libaitcli/inc/aitcli.h 2010/04/20 12:16:52 1.1.1.1.2.6 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitcli.h,v 1.1.1.1.2.5 2010/04/20 12:09:48 misho Exp $ +* $Id: aitcli.h,v 1.1.1.1.2.6 2010/04/20 12:16:52 misho Exp $ * *************************************************************************/ #ifndef __AITCLI_H @@ -83,9 +83,10 @@ inline int cli_ReadHistory(const char *csFile); /* * cli_WriteHistory() Write CLI History to file * @csFile = history file name, if NULL default history name is ".aitcli.history" + * @lineNum = save number of history entry lines, if -1 all lines saved without limit * return: -1 error; != -1 readed ok */ -inline int cli_WriteHistory(const char *csFile); +inline int cli_WriteHistory(const char *csFile, int lineNum); /*